:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    color: #17212b;
    background: #f5f7fa;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
}

a {
    color: inherit;
}

.container {
    width: min(100% - 2rem, 1200px);
    margin: 0 auto;
}

.topbar {
    padding: 0.7rem 1.25rem;
    background: #112a46;
    color: #fff;
    text-align: center;
    font-size: 0.875rem;
}

.site-header {
    background: #fff;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem max(1.25rem, calc((100% - 1120px) / 2));
    border-bottom: 1px solid #e5eaf0;
}

.site-nav,
.site-nav form {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.site-nav a,
.nav-button {
    color: #24496d;
    font: inherit;
    font-size: 0.9rem;
}

.nav-button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.brand {
    color: #112a46;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
}

.page {
    width: min(100% - 2.5rem, 1120px);
    margin: 3.5rem auto;
}

.hero {
    padding: clamp(2rem, 7vw, 5rem);
    border-radius: 1rem;
    background: #112a46;
    color: #fff;
}

.hero h1 {
    max-width: 720px;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.1;
}

.hero p {
    max-width: 680px;
    margin: 0;
    color: #d9e5f2;
    font-size: 1.1rem;
    line-height: 1.7;
}

.notice {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #d7e0e9;
    border-radius: 0.75rem;
    background: #fff;
    line-height: 1.6;
}

.notice-error {
    border-color: #e7b6b6;
    background: #fff4f4;
    color: #7d1f1f;
}

.notice-success {
    border-color: #b6dbc4;
    background: #f0fff5;
    color: #185b32;
}

.auth-card {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid #e0e6ed;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 12px 35px rgb(17 42 70 / 6%);
}

.auth-card h1 {
    margin-top: 0;
    color: #112a46;
}

.auth-card form:not(.site-nav form) {
    display: grid;
    gap: 0.65rem;
}

.auth-card label {
    margin-top: 0.55rem;
    font-weight: 700;
}

.auth-card input {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #bdc9d5;
    border-radius: 0.4rem;
    font: inherit;
}

.auth-card input:focus {
    border-color: #27649a;
    outline: 3px solid rgb(39 100 154 / 15%);
}

.auth-card button {
    min-height: 2.8rem;
    margin-top: 0.8rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 0.4rem;
    background: #174e7d;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-card button:hover {
    background: #103c62;
}

.auth-card .button-secondary {
    background: #536577;
}

.auth-switch {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e0e6ed;
    text-align: center;
}

.auth-switch p {
    margin: 0 0 0.6rem;
    color: #536577;
}

.auth-switch-link {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: 2px solid #174e7d;
    border-radius: 0.4rem;
    color: #174e7d;
    font-weight: 700;
    text-decoration: none;
}

.auth-switch-link:hover {
    background: #174e7d;
    color: #fff;
}

.account-details {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1rem;
}

.account-details dt {
    font-weight: 700;
}

.account-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.account-orders {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-orders li {
    display: grid;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.account-orders li > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.account-orders p {
    margin: 0;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .page {
        margin: 1.5rem auto;
    }

    .hero {
        border-radius: 0.75rem;
    }
}

.admin-page h1,
.admin-page h2 {
    color: #112a46;
}

.admin-page h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.admin-page h2 {
    margin: 1.75rem 0 0.9rem;
}

.admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-heading p {
    margin: 0.25rem 0 0;
    color: #526273;
}

.admin-heading .eyebrow {
    margin-bottom: 0.6rem;
    color: #526273;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.admin-heading .eyebrow a {
    text-decoration: none;
}

.admin-heading form {
    margin: 0;
}

.admin-stats,
.admin-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.stat-card,
.module-card,
.admin-panel {
    border: 1px solid #e0e6ed;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 8px 24px rgb(17 42 70 / 4%);
}

.stat-card {
    display: grid;
    gap: 0.5rem;
    padding: 1.25rem;
    color: #24496d;
    text-decoration: none;
}

.stat-card strong {
    color: #112a46;
    font-size: 1.8rem;
}

.module-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 120ms ease, transform 120ms ease;
}

.module-card:hover {
    transform: translateY(-2px);
    border-color: #8ba9c4;
}

.module-card strong,
.module-card small {
    display: block;
}

.module-card small {
    margin-top: 0.45rem;
    color: #526273;
    line-height: 1.5;
}

.module-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.6rem;
    background: #eaf2f9;
    color: #174e7d;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-role,
.muted {
    color: #526273;
    font-size: 0.9rem;
}

.admin-role {
    margin-top: 1.5rem;
}

.button-link,
.filter-bar button,
.admin-form button {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 0.4rem;
    background: #174e7d;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button-link:hover,
.filter-bar button:hover,
.admin-form button:hover {
    background: #103c62;
}

.button-link-secondary {
    background: #536577;
}

.button-link-secondary:hover {
    background: #405161;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #e0e6ed;
    border-radius: 0.75rem;
    background: #fff;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e8edf2;
    vertical-align: middle;
}

.admin-table th {
    background: #f7f9fb;
    color: #526273;
    font-size: 0.8rem;
    white-space: nowrap;
}

.admin-table td {
    font-size: 0.9rem;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table td small {
    display: block;
    margin-top: 0.25rem;
    color: #526273;
}

.table-action {
    color: #174e7d;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.55rem;
    border-radius: 99px;
    background: #eaf2f9;
    color: #174e7d;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.empty-state {
    padding: 2rem !important;
    color: #526273;
    text-align: center;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.filter-bar label,
.admin-form label {
    font-weight: 700;
}

.filter-bar select,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    min-height: 2.7rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid #bdc9d5;
    border-radius: 0.4rem;
    background: #fff;
    color: #17212b;
    font: inherit;
}

.filter-bar select {
    width: auto;
    min-width: 190px;
}

.admin-form {
    display: grid;
    gap: 0.65rem;
}

.admin-panel {
    padding: 1.25rem;
}

.admin-panel h2:first-child {
    margin-top: 0;
}

.admin-form textarea {
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.form-grid > div {
    display: grid;
    align-content: start;
    gap: 0.55rem;
}

.category-picker {
    margin: 0.5rem 0;
    padding: 1rem;
    border: 1px solid #d9e1e9;
    border-radius: 0.5rem;
}

.category-picker legend {
    padding: 0 0.35rem;
    font-weight: 700;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400 !important;
}

.checkbox-label input {
    width: auto;
    min-height: 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.form-actions .button-secondary {
    background: #536577;
}

.admin-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    align-items: start;
    gap: 1rem;
}

.order-totals {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem 1rem;
    margin: 1rem 0 0;
}

.order-totals dd {
    margin: 0;
    text-align: right;
}

.address-card {
    margin: 0.75rem 0;
    padding: 0.85rem;
    border-radius: 0.5rem;
    background: #f7f9fb;
    line-height: 1.5;
}

.address-card p {
    margin-bottom: 0;
}

.history-panel {
    margin-top: 1rem;
}

.history-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding-left: 1.4rem;
}

.history-list p {
    margin: 0.35rem 0;
}

.history-list small {
    color: #526273;
}

@media (max-width: 600px) {
    .admin-heading,
    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-bar select {
        width: 100%;
    }

    .form-grid,
    .admin-columns {
        grid-template-columns: 1fr;
    }
}

:root {
    --admin-ink: #162b3f;
    --admin-muted: #738296;
    --admin-line: #e8edf2;
    --admin-blue: #1769aa;
    --admin-surface: #fff;
    --admin-canvas: #f4f7fa;
}

.admin-body {
    min-height: 100vh;
    background: var(--admin-canvas);
    color: var(--admin-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.admin-layout {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 258px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    padding: 1.55rem 1.1rem 1rem;
    background: #12283b;
    color: #dbe6f0;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.45rem 1.8rem;
    color: #fff;
    text-decoration: none;
}

.admin-brand-mark {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border-radius: 0.8rem;
    background: #e7a849;
    color: #172d40;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

.admin-brand small {
    margin-top: 0.22rem;
    color: #aab9c8;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.sidebar-caption {
    padding: 0 0.7rem;
    color: #8093a5;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.admin-nav {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.8rem;
}

.admin-nav a,
.sidebar-bottom > a {
    display: flex;
    min-height: 2.85rem;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.55rem;
    color: #c5d1dd;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease;
}

.admin-nav a:hover,
.sidebar-bottom > a:hover {
    background: rgb(255 255 255 / 7%);
    color: #fff;
}

.admin-nav a.is-active {
    background: #1e405d;
    color: #fff;
    box-shadow: inset 3px 0 #e7a849;
}

.nav-icon {
    display: inline-grid;
    width: 1.35rem;
    flex: 0 0 auto;
    place-items: center;
    color: #98b0c4;
    font-size: 1.15rem;
}

.is-active .nav-icon {
    color: #f1bd6b;
}

.sidebar-bottom {
    display: grid;
    gap: 0.65rem;
    margin-top: auto;
}

.sidebar-user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.25rem 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
}

.user-avatar {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 50%;
    background: #274760;
    color: #fff;
    font-weight: 700;
}

.sidebar-user-info {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 0.2rem;
}

.sidebar-user-info strong,
.sidebar-user-info small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-info strong {
    color: #fff;
    font-size: 0.78rem;
}

.sidebar-user-info small {
    color: #aab9c8;
    font-size: 0.68rem;
}

.sidebar-user form {
    margin: 0;
}

.sidebar-logout {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: #afbfce;
    font: inherit;
    cursor: pointer;
}

.sidebar-logout:hover {
    background: rgb(255 255 255 / 9%);
    color: #fff;
}

.admin-workspace {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    min-height: 4.2rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 2.5rem;
    border-bottom: 1px solid var(--admin-line);
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(12px);
}

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #8b98a7;
    font-size: 0.82rem;
}

.admin-breadcrumb strong {
    color: #334a60;
    font-weight: 600;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #51687d;
    font-size: 0.8rem;
    text-decoration: none;
}

.store-link:hover {
    color: var(--admin-blue);
}

.admin-main {
    width: min(100%, 1540px);
    margin: 0 auto;
    padding: 2.25rem 2.5rem 3rem;
}

.admin-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 2.5rem;
    border-top: 1px solid var(--admin-line);
    color: #8a97a5;
    font-size: 0.72rem;
}

.dashboard-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-welcome h1 {
    margin: 0.55rem 0 0.5rem;
    color: #142b40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 2.65rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.dashboard-welcome h1 span {
    font-family: Arial, sans-serif;
    font-size: 1.65rem;
}

.dashboard-welcome > div > p:last-child {
    margin: 0;
    color: var(--admin-muted);
    font-size: 0.92rem;
}

.dashboard-welcome .eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: #75869a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.eyebrow-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #a4b0bc;
}

.dashboard-primary-action {
    min-height: 2.9rem;
    padding: 0.7rem 1.05rem;
    border-radius: 0.55rem;
    background: #1769aa;
    box-shadow: 0 5px 12px rgb(23 105 170 / 15%);
    font-size: 0.83rem;
}

.dashboard-primary-action span {
    margin-right: 0.35rem;
    font-size: 1.15rem;
}

.dashboard-section-heading {
    margin: 0 0 0.9rem;
}

.dashboard-section-heading h2,
.panel-heading h2 {
    margin: 0;
    color: #1c344b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.dashboard-section-heading p,
.panel-heading p {
    margin: 0.3rem 0 0;
    color: #8a97a5;
    font-size: 0.78rem;
}

.admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    position: relative;
    display: flex;
    min-height: 140px;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.15rem 1.1rem;
    border: 1px solid #e9edf1;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 4px 14px rgb(29 51 72 / 3%);
    color: var(--admin-ink);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgb(29 51 72 / 8%);
}

.stat-icon {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.7rem;
    background: #eaf2fa;
    color: #2877b5;
}

.stat-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.stat-pending .stat-icon {
    background: #fff4df;
    color: #bd7b17;
}

.stat-products .stat-icon {
    background: #eaf6f1;
    color: #328567;
}

.stat-categories .stat-icon {
    background: #f2effb;
    color: #7965b2;
}

.stat-copy {
    display: grid;
    min-width: 0;
    gap: 0.25rem;
    padding-top: 0.05rem;
}

.stat-copy > span {
    color: #617285;
    font-size: 0.78rem;
}

.stat-copy strong {
    margin: 0.1rem 0;
    color: #172f45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.1;
}

.stat-copy small {
    color: #96a1ad;
    font-size: 0.68rem;
}

.stat-arrow {
    position: absolute;
    top: 1.1rem;
    right: 1rem;
    color: #9aa8b6;
    font-size: 0.88rem;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(270px, 0.85fr);
    align-items: start;
    gap: 1rem;
    margin-top: 1.35rem;
}

.dashboard-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8edf1;
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 4px 14px rgb(29 51 72 / 3%);
}

.panel-heading {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.panel-heading h2 {
    font-size: 1.12rem;
}

.panel-heading > a {
    color: #2675b1;
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.panel-heading > a:hover {
    color: #124d7b;
}

.dashboard-table-wrap {
    border: 0;
    border-top: 1px solid #edf0f3;
    border-radius: 0;
    box-shadow: none;
}

.dashboard-table {
    min-width: 580px;
}

.dashboard-table th {
    padding: 0.75rem 1.1rem;
    background: #fbfcfd;
    color: #8a97a5;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
}

.dashboard-table td {
    padding: 0.8rem 1.1rem;
    color: #42566b;
    font-size: 0.76rem;
}

.dashboard-table td small {
    color: #99a4b0;
    font-size: 0.67rem;
}

.dashboard-table .order-number {
    color: #263f56;
    font-size: 0.76rem;
}

.dashboard-table .amount-cell {
    color: #263f56;
    font-weight: 600;
    white-space: nowrap;
}

.dashboard-table .amount-cell small {
    display: inline;
}

.status-badge {
    padding: 0.32rem 0.55rem;
    border: 1px solid transparent;
    border-radius: 99px;
    background: #eef2f5;
    color: #687889;
    font-size: 0.65rem;
    font-weight: 600;
}

.status-processing,
.status-in_production {
    border-color: #f3e2bb;
    background: #fff7e9;
    color: #a86b0d;
}

.status-shipped {
    border-color: #d7e7f5;
    background: #eff7fd;
    color: #2872a9;
}

.status-delivered {
    border-color: #d4ebdf;
    background: #eff9f3;
    color: #26734e;
}

.status-cancelled,
.status-failed {
    border-color: #f1d9d7;
    background: #fff3f2;
    color: #ac5149;
}

.row-arrow {
    display: inline-grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: 50%;
    color: #8291a0;
    text-decoration: none;
}

.row-arrow:hover {
    background: #edf4f9;
    color: #1769aa;
}

.dashboard-table .empty-state {
    height: 170px;
}

.empty-state strong,
.empty-state small {
    display: block;
    margin-top: 0.4rem;
}

.empty-state strong {
    color: #52677b;
}

.empty-icon {
    color: #aab7c3;
    font-size: 1.5rem;
}

.quick-actions .panel-heading {
    border-bottom: 1px solid #edf0f3;
}

.quick-link-list {
    display: grid;
    padding: 0 1rem;
}

.quick-link-list > a {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 0.15rem;
    border-bottom: 1px solid #edf0f3;
    text-decoration: none;
}

.quick-link-list > a:last-child {
    border-bottom: 0;
}

.quick-link-list > a > span:nth-child(2) {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 0.25rem;
}

.quick-link-list strong {
    color: #344b60;
    font-size: 0.76rem;
    font-weight: 600;
}

.quick-link-list small {
    color: #8a97a5;
    font-size: 0.67rem;
}

.quick-link-icon {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.62rem;
    background: #edf4fa;
    color: #337db4;
    font-size: 1rem;
}

.quick-products {
    background: #edf7f2;
    color: #328567;
}

.quick-categories {
    background: #f3effa;
    color: #7965b2;
}

.quick-chevron {
    color: #a0acb8;
    transition: transform 140ms ease;
}

.quick-link-list > a:hover .quick-chevron {
    transform: translateX(3px);
    color: #1769aa;
}

.admin-page h1 {
    color: #172f45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -0.025em;
}

.admin-page h2 {
    color: #233b51;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
}

.admin-page .eyebrow {
    color: #73869a;
}

.admin-page .admin-heading {
    margin-bottom: 1.5rem;
}

.admin-page .admin-heading > div > p:last-child {
    color: var(--admin-muted);
    font-size: 0.88rem;
}

.admin-page .button-link,
.admin-page .filter-bar button,
.admin-page .admin-form button {
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgb(23 105 170 / 12%);
}

.admin-page .table-wrap,
.admin-page .admin-panel {
    border-color: #e8edf1;
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgb(29 51 72 / 3%);
}

.admin-page .admin-table th {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    background: #f8fafb;
    color: #7e8c9a;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

.admin-page .admin-table td {
    color: #43576b;
}

.admin-page .admin-table tbody tr:hover {
    background: #fbfcfd;
}

.admin-page .filter-bar {
    padding: 0.9rem 1rem;
    border: 1px solid #e8edf1;
    border-radius: 0.7rem;
    background: #fff;
}

.admin-page .filter-bar label {
    color: #5f7183;
    font-size: 0.8rem;
    white-space: nowrap;
}

.admin-page .filter-bar select,
.admin-page .admin-form input,
.admin-page .admin-form select,
.admin-page .admin-form textarea {
    border-color: #d9e1e8;
    border-radius: 0.45rem;
}

.admin-page .admin-form input:focus,
.admin-page .admin-form select:focus,
.admin-page .admin-form textarea:focus,
.admin-page .filter-bar select:focus {
    border-color: #4388bd;
    outline: 3px solid rgb(67 136 189 / 13%);
}

.admin-page .category-picker {
    border-color: #e0e7ed;
}

.admin-page .notice {
    margin: 0 0 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 0.6rem;
    font-size: 0.86rem;
}

@media (max-width: 1180px) {
    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-content-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.9fr);
    }
}

@media (max-width: 900px) {
    .admin-layout {
        grid-template-columns: 215px minmax(0, 1fr);
    }

    .admin-sidebar {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .admin-main {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .admin-topbar {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .admin-footer {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        padding: 0.75rem 1rem;
    }

    .admin-brand {
        padding: 0.15rem 0.2rem 0.8rem;
    }

    .admin-brand-mark {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.25rem;
    }

    .sidebar-caption,
    .sidebar-bottom {
        display: none;
    }

    .admin-nav {
        display: flex;
        overflow-x: auto;
        gap: 0.35rem;
        margin: 0;
        padding-bottom: 0.15rem;
        scrollbar-width: none;
    }

    .admin-nav::-webkit-scrollbar {
        display: none;
    }

    .admin-nav a {
        min-height: 2.5rem;
        flex: 0 0 auto;
        padding: 0.55rem 0.7rem;
        font-size: 0.75rem;
    }

    .admin-nav .nav-icon {
        width: auto;
    }

    .admin-topbar {
        position: static;
        min-height: 3.4rem;
        padding: 0 1rem;
    }

    .admin-breadcrumb {
        gap: 0.4rem;
        font-size: 0.72rem;
    }

    .store-link {
        font-size: 0.72rem;
    }

    .admin-main {
        padding: 1.45rem 1rem 2rem;
    }

    .admin-footer {
        padding: 0.85rem 1rem;
        font-size: 0.65rem;
    }

    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .dashboard-welcome h1 {
        font-size: 2rem;
    }

    .admin-stats {
        gap: 0.65rem;
    }

    .stat-card {
        min-height: 120px;
        gap: 0.65rem;
        padding: 0.85rem 0.7rem;
    }

    .stat-icon {
        width: 2rem;
        height: 2rem;
        border-radius: 0.55rem;
    }

    .stat-icon svg {
        width: 1.1rem;
        height: 1.1rem;
    }

    .stat-copy > span {
        font-size: 0.68rem;
    }

    .stat-copy strong {
        font-size: 1.5rem;
    }

    .stat-copy small {
        font-size: 0.62rem;
    }

    .stat-arrow {
        top: 0.7rem;
        right: 0.65rem;
    }

    .admin-page .admin-heading {
        align-items: flex-start;
    }

    .admin-page .form-grid,
    .admin-page .admin-columns {
        grid-template-columns: 1fr;
    }

    .admin-page .filter-bar {
        align-items: stretch;
    }

    .admin-page .filter-bar select {
        width: 100%;
    }
}

.storefront-body {
    background: #fbfaf7;
    color: #263746;
    font-family: "Segoe UI", Arial, sans-serif;
}

.storefront-body .topbar {
    display: flex;
    min-height: 2.1rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: #17364a;
    color: #e9edf0;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.store-utility-inner {
    display: flex;
    width: min(100% - 3rem, 1240px);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto;
}

.store-utility-inner > div {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.store-utility-inner a {
    color: #d3dde5;
    text-decoration: none;
}

.store-utility-inner a:hover {
    color: #ffffff;
}

.topbar-mark {
    color: #e7a849;
}

.topbar-divider {
    color: #8095a3;
}

.store-header {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid #ece9e2;
    background: #fffefa;
}

.store-header-main {
    display: flex;
    width: min(100% - 3rem, 1240px);
    min-height: 5.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
}

.storefront-body .brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.65rem;
    color: #1d394a;
    text-decoration: none;
}

.store-logo {
    display: block;
    height: 3.4rem;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.store-brand-mark {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: 0.65rem;
    background: #e8af5d;
    color: #17364a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.store-brand-name {
    display: grid;
    color: #17364a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1;
}

.store-brand-name small {
    margin-top: 0.28rem;
    color: #75818a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.store-search {
    display: flex;
    flex: 1 1 auto;
    max-width: 560px;
    align-items: center;
    gap: 0.45rem;
    height: 2.65rem;
    padding: 0.3rem 0.32rem 0.3rem 0.8rem;
    border: 1px solid #d9e1e8;
    border-radius: 0.55rem;
    background: #ffffff;
}

.store-search input {
    width: 100%;
    border: 0;
    font: inherit;
    font-size: 0.9rem;
    color: #405667;
    background: transparent;
}

.store-search input:focus {
    outline: none;
}

.store-search-icon {
    color: #97a7b4;
    font-size: 1rem;
}

.store-search button {
    min-width: 4.2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.45rem;
    background: #ef8d2f;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.store-search button:hover {
    background: #de7f25;
}

.store-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1rem;
}

.store-actions form {
    margin: 0;
}

.header-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #2e4351;
    font-size: 0.84rem;
    text-decoration: none;
}

.header-action-icon {
    font-size: 1.05rem;
}

.header-cart-action {
    position: relative;
}

.header-logout-form .nav-button {
    color: #586d7a;
    font-size: 0.82rem;
}

.header-logout-form .nav-button:hover {
    color: #1d6b70;
}

.store-category-nav {
    border-top: 1px solid #edf0f2;
    border-bottom: 1px solid #edf0f2;
    background: #ffffff;
}

.store-category-nav-inner {
    display: flex;
    flex-wrap: wrap;
    width: min(100% - 3rem, 1240px);
    margin: 0 auto;
    overflow: visible;
}

.store-category-nav {
    position: relative;
    z-index: 50;
}

.store-category-nav-inner > a,
.store-category-nav-inner > .nav-item > a {
    display: inline-flex;
    min-height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 1rem;
    border-right: 1px solid #eef1f4;
    color: #1e3243;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.store-category-nav-inner > a:hover,
.store-category-nav-inner > .nav-item:hover > a {
    background: #faf6f0;
    color: #d6842c;
}

.store-category-nav-inner .nav-item {
    position: relative;
}

.store-category-nav-inner .nav-dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    padding: 0.35rem 0;
    background: #fff;
    border: 1px solid #e3e7ea;
    border-radius: 0 0 0.6rem 0.6rem;
    box-shadow: 0 14px 30px rgba(15, 35, 50, 0.16);
    z-index: 100;
}

.store-category-nav-inner .nav-item:hover > .nav-dropdown,
.store-category-nav-inner .nav-item:focus-within > .nav-dropdown {
    display: block;
}

.store-category-nav-inner .nav-dropdown a {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    color: #1e3243;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.store-category-nav-inner .nav-dropdown a:hover {
    background: #faf6f0;
    color: #d6842c;
}

.store-category-nav-inner .nav-sub-item > .nav-dropdown {
    left: 100%;
    top: 0;
    border-radius: 0.6rem;
}

.store-cta {
    display: inline-flex;
    min-height: 2.55rem;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.4rem;
    background: #1d5260;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.store-cta:hover {
    background: #163e49;
}

.store-cta span {
    color: #e8bc78;
}

.storefront-body .page {
    width: 100%;
    max-width: none;
    margin: 0;
}

.home-hero {
    position: relative;
    display: grid;
    width: min(100% - 3rem, 1240px);
    min-height: 520px;
    grid-template-columns: 1fr 0.92fr;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    margin: 1.5rem auto 0;
    padding: 3.4rem 4.2rem 4.3rem;
    border-radius: 0.4rem;
    background: #e9eee8;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.hero-kicker,
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #648080;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.hero-kicker-line {
    width: 1.6rem;
    height: 1px;
    background: #c08c4c;
}

.hero-copy h1 {
    margin: 1.1rem 0 1rem;
    color: #19384a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5.1vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.hero-copy h1 em,
.section-heading h2 em,
.promise-copy h2 em {
    color: #39736e;
    font-weight: 500;
}

.hero-copy > p {
    max-width: 420px;
    margin: 0;
    color: #62777d;
    font-size: 0.95rem;
    line-height: 1.8;
}

.hero-button {
    display: inline-flex;
    min-height: 3.1rem;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.6rem;
    padding: 0.7rem 1rem;
    border-radius: 0.35rem;
    background: #1c5260;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 140ms ease, transform 140ms ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    background: #143d49;
}

.hero-button span {
    color: #e9bb75;
    font-size: 1.1rem;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.8rem;
    color: #6e8286;
    font-size: 0.65rem;
}

.hero-note-stars {
    color: #c48d43;
    font-size: 0.61rem;
    letter-spacing: 0.12em;
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 390px;
    place-items: center;
    isolation: isolate;
}

.hero-art-orbit {
    position: absolute;
    z-index: -1;
    width: min(35vw, 380px);
    aspect-ratio: 1;
    border: 1px solid rgb(73 114 106 / 19%);
    border-radius: 50%;
}

.orbit-two {
    width: min(28vw, 300px);
    border-style: dashed;
    border-color: rgb(73 114 106 / 14%);
}

.hero-art-sun {
    position: absolute;
    z-index: -2;
    top: 8%;
    right: 8%;
    width: 110px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ddbd83;
    opacity: 0.8;
}

.print-sheet {
    position: absolute;
    display: flex;
    width: 205px;
    height: 290px;
    flex-direction: column;
    box-shadow: 0 22px 45px rgb(40 56 55 / 20%);
}

.sheet-back {
    z-index: -1;
    transform: translate(52px, 12px) rotate(8deg);
    padding: 1.6rem 1.2rem;
    background: #bd765f;
    color: #f8e8d3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 0.96;
}

.sheet-back i {
    width: 2rem;
    height: 2rem;
    margin-top: auto;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 50%;
}

.sheet-back b {
    position: absolute;
    right: 1.2rem;
    bottom: 1.5rem;
    width: 3.5rem;
    height: 1px;
    background: rgb(255 255 255 / 65%);
}

.sheet-front {
    z-index: 1;
    transform: translate(-16px, 0) rotate(-5deg);
    padding: 1.1rem;
    background: #f7f1e6;
    color: #274e53;
}

.sheet-eyebrow {
    color: #aa7a45;
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.sheet-front strong {
    margin-top: 2.5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.45rem;
    letter-spacing: -0.06em;
    line-height: 0.86;
}

.sheet-front strong em {
    color: #b86f58;
    font-size: 1.8rem;
    font-style: normal;
}

.sheet-footer {
    margin-top: auto;
    color: #8a958b;
    font-size: 0.46rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.65;
}

.sheet-stamp {
    position: absolute;
    right: 1.1rem;
    bottom: 1.15rem;
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 1px solid #b97056;
    border-radius: 50%;
    color: #b97056;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.75rem;
    font-style: normal;
}

.hero-art-caption {
    position: absolute;
    right: 1%;
    bottom: 4%;
    color: #82918a;
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.7;
    text-align: right;
}

.hero-art-spark {
    position: absolute;
    color: #b97c3e;
}

.spark-one {
    top: 18%;
    left: 10%;
    font-size: 1.4rem;
}

.spark-two {
    right: 13%;
    bottom: 18%;
    color: #6f9489;
    font-size: 1.1rem;
}

.hero-bottom-line {
    position: absolute;
    right: 4.2rem;
    bottom: 1.35rem;
    left: 4.2rem;
    display: flex;
    justify-content: space-between;
    color: #82918a;
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.home-categories {
    width: min(100% - 3rem, 1240px);
    margin: 5rem auto 5.5rem;
    scroll-margin-top: 2rem;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.65rem;
}

.section-heading .section-eyebrow,
.promise-copy .section-eyebrow {
    margin: 0 0 0.7rem;
    color: #9b8057;
    font-size: 0.59rem;
}

.section-heading h2,
.promise-copy h2 {
    margin: 0;
    color: #1d394a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.section-heading > p {
    margin: 0 0 0.2rem;
    color: #74818a;
    font-size: 0.78rem;
    line-height: 1.7;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.category-card {
    overflow: hidden;
    border: 1px solid #e8e7e0;
    border-radius: 0.45rem;
    background: #fffefa;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 25px rgb(31 53 61 / 9%);
}

.category-card-art {
    position: relative;
    display: grid;
    min-height: 175px;
    overflow: hidden;
    place-items: center;
    isolation: isolate;
    background: #dce8df;
}

.category-sage .category-card-art {
    background: #dce8df;
}

.category-terracotta .category-card-art {
    background: #eadbd1;
}

.category-blue .category-card-art {
    background: #dbe5ea;
}

.category-lilac .category-card-art {
    background: #e7e1ec;
}

.category-sand .category-card-art {
    background: #eee5d5;
}

.category-rose .category-card-art {
    background: #eadcdd;
}

.category-art-number {
    position: absolute;
    z-index: 2;
    top: 0.8rem;
    left: 0.85rem;
    color: rgb(32 58 64 / 60%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.75rem;
}

.category-art-label {
    position: absolute;
    z-index: 2;
    right: 0.85rem;
    bottom: 0.8rem;
    max-width: 70%;
    color: rgb(32 58 64 / 70%);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: right;
}

.category-art-shape {
    position: absolute;
    z-index: -1;
    display: block;
}

.category-art-shape.shape-one {
    width: 134px;
    height: 88px;
    transform: rotate(-9deg);
    border: 1px solid rgb(44 82 80 / 48%);
    background: rgb(248 245 234 / 72%);
    box-shadow: 12px 12px 0 rgb(52 90 82 / 12%), 24px 24px 0 rgb(52 90 82 / 8%);
}

.category-art-shape.shape-two {
    width: 68px;
    height: 68px;
    transform: translate(49px, -24px);
    border: 1px solid rgb(187 124 75 / 48%);
    border-radius: 50%;
}

.category-terracotta .shape-one {
    transform: rotate(8deg);
    border-color: rgb(139 82 64 / 45%);
}

.category-terracotta .shape-two {
    border-color: rgb(139 82 64 / 48%);
}

.category-blue .shape-one {
    transform: rotate(-4deg);
    border-color: rgb(57 98 119 / 45%);
}

.category-blue .shape-two {
    border-radius: 0.2rem;
}

.category-lilac .shape-one {
    transform: rotate(6deg);
    border-color: rgb(103 88 132 / 45%);
}

.category-lilac .shape-two {
    border-color: rgb(103 88 132 / 45%);
}

.category-sand .shape-one {
    transform: rotate(-7deg);
    border-color: rgb(136 108 70 / 45%);
}

.category-rose .shape-one {
    transform: rotate(5deg);
    border-color: rgb(140 81 88 / 45%);
}

.category-rose .shape-two {
    border-color: rgb(140 81 88 / 45%);
}

.category-art-glyph {
    display: grid;
    width: 4.2rem;
    height: 4.2rem;
    place-items: center;
    border: 1px solid rgb(42 76 75 / 48%);
    border-radius: 50%;
    background: rgb(248 245 234 / 88%);
    color: #315d58;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.1rem;
    box-shadow: 0 8px 20px rgb(33 56 55 / 12%);
}

.category-terracotta .category-art-glyph {
    color: #9b5947;
}

.category-blue .category-art-glyph {
    color: #446e82;
}

.category-lilac .category-art-glyph {
    color: #74688d;
}

.category-sand .category-art-glyph {
    color: #92764d;
}

.category-rose .category-art-glyph {
    color: #9c6267;
}

.category-card-info {
    padding: 1rem 1.1rem 1.1rem;
}

.category-card-index {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #9a805b;
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.category-card-index i {
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: #bd9a69;
}

.category-card-info h3 {
    margin: 0.55rem 0 0.4rem;
    color: #254052;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    font-weight: 600;
}

.category-card-info p {
    min-height: 2.7rem;
    margin: 0;
    color: #77838b;
    font-size: 0.72rem;
    line-height: 1.65;
}

.category-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.85rem;
    padding-top: 0.7rem;
    border-top: 1px solid #eeeee9;
}

/* Settings Page Styles */
.settings-page .page-heading {
    margin-bottom: 2rem;
}

.settings-page .page-heading h1 {
    margin: 0;
}

.settings-section {
    background: var(--color-surface);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-large);
    margin-bottom: var(--spacing-large);
}

.section-heading h2 {
    margin: 0 0 var(--spacing-large) 0;
    font-size: 1.25rem;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-medium);
}

@media (min-width: 48rem) {
    .settings-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-text-strong);
}

.form-group small {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    font-weight: normal;
    margin-left: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group textarea {
    padding: var(--spacing-small) var(--spacing-medium);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.9375rem;
}

.form-group input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-group label:has(> input[type="checkbox"]) {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: var(--spacing-medium);
    margin-top: var(--spacing-large);
}

.button-cta {
    background: var(--color-accent);
    color: white;
}

.button-cta:hover {
    background: var(--color-accent-dark);
}

.button-secondary {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.button-secondary:hover {
    background: var(--color-border);
}

.button-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Enhanced Settings Page Styles */
.settings-page {
    max-width: 1200px;
    margin: 0 auto;
}

.brand-section {
    background: linear-gradient(135deg, var(--color-accent) 0%, rgba(182, 95, 54, 0.1) 100%) !important;
    border: 2px solid var(--color-accent) !important;
}

.brand-section .section-heading h2 {
    color: var(--color-accent);
}

.upload-group {
    position: relative;
}

.upload-box {
    border: 2px dashed var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-large);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--color-surface);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-medium);
}

.upload-box:hover {
    border-color: var(--color-accent);
    background: rgba(182, 95, 54, 0.02);
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-small);
    color: var(--color-text-light);
}

.placeholder-icon {
    font-size: 3rem;
    line-height: 1;
}

.placeholder-icon + p {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 500;
}

.image-preview {
    width: 100%;
    max-width: 150px;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: white;
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.favicon-preview {
    max-width: 64px;
}

.file-input {
    display: none;
}

.upload-box small {
    display: block;
    margin-top: var(--spacing-small);
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.payment-section {
    border-left: 4px solid #d4c240 !important;
}

.payment-section .section-heading h2 {
    color: #d4c240;
}

.social-section {
    background: rgba(59, 130, 246, 0.02) !important;
    border-left: 4px solid #3b82f6 !important;
}

.social-section .section-heading h2 {
    color: #3b82f6;
}

.social-input input {
    padding-left: 2.5rem;
    background-position: 0.75rem center;
    background-repeat: no-repeat;
}

.email-section {
    background: rgba(34, 197, 94, 0.02) !important;
    border-left: 4px solid #22c55e !important;
}

.email-section .section-heading h2 {
    color: #22c55e;
}

.char-counter {
    display: block;
    text-align: right;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

/* Refined admin settings page */
.settings-page {
    --settings-ink: #17364a;
    --settings-muted: #718096;
    --settings-line: #e5ebf0;
    --color-accent: #8f6328;
    --color-accent-dark: #724d1e;
    --color-surface: #fff;
    --color-border: #e5ebf0;
    --color-text: #17212b;
    --color-text-light: #718096;
    --border-width: 1px;
    --border-radius: 14px;
    --spacing-small: 0.5rem;
    --spacing-medium: 1rem;
    --spacing-large: 1.5rem;
}

.settings-page .page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.75rem 2rem;
    border: 1px solid #e8edf1;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 95% 0%, rgba(232, 175, 93, 0.18), transparent 36%),
        linear-gradient(120deg, #fff 0%, #f8fafb 100%);
}

.settings-eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: #a97b3d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.settings-page .page-heading h1 {
    color: var(--settings-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.settings-page .page-heading p {
    margin: 0.55rem 0 0;
    color: var(--settings-muted);
    font-size: 0.9rem;
}

.settings-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    padding: 0.55rem 0.8rem;
    border: 1px solid #dcebe2;
    border-radius: 999px;
    background: #f4faf6;
    color: #427556;
    font-size: 0.74rem;
    font-weight: 600;
}

.settings-status span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #54a56e;
    box-shadow: 0 0 0 3px rgba(84, 165, 110, 0.13);
}

.settings-quick-nav {
    position: sticky;
    top: 0.75rem;
    z-index: 20;
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    padding: 0.6rem;
    overflow-x: auto;
    border: 1px solid rgba(225, 232, 238, 0.9);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(28, 49, 66, 0.06);
    backdrop-filter: blur(12px);
}

.settings-quick-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    color: #526577;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.settings-quick-nav a span {
    color: #a78351;
    font-size: 0.65rem;
    font-weight: 800;
}

.settings-quick-nav a:hover {
    background: #f7f1e7;
    color: var(--settings-ink);
}

.settings-section {
    scroll-margin-top: 5.5rem;
    margin-bottom: 1.1rem;
    padding: 1.5rem;
    border: 1px solid var(--settings-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 52, 68, 0.035);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-section:target {
    border-color: rgba(212, 160, 82, 0.65);
    box-shadow: 0 0 0 3px rgba(232, 175, 93, 0.12);
}

.settings-section .section-heading {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf0f2;
}

.settings-section .section-heading h2 {
    margin: 0;
    color: var(--settings-ink);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.settings-section .section-heading p {
    margin: 0.3rem 0 0;
    color: var(--settings-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.settings-section-index {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #f1dfc1;
    border-radius: 8px;
    background: #fcf6ec;
    color: #a97b3d;
    font-size: 0.7rem;
    font-weight: 800;
}

.settings-page .form-group label {
    margin-bottom: 0.42rem;
    color: #34495b;
    font-size: 0.8rem;
    font-weight: 650;
}

.settings-page .form-group input[type="text"],
.settings-page .form-group input[type="email"],
.settings-page .form-group input[type="url"],
.settings-page .form-group input[type="tel"],
.settings-page .form-group input[type="number"],
.settings-page .form-group input[type="password"],
.settings-page .form-group textarea {
    min-height: 2.75rem;
    padding: 0.72rem 0.85rem;
    border: 1px solid #dfe5ea;
    border-radius: 8px;
    background: #fbfcfd;
    color: #263b4c;
    font-size: 0.86rem;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.settings-page .form-group textarea {
    min-height: auto;
    line-height: 1.55;
}

.settings-page .form-group input:focus,
.settings-page .form-group textarea:focus {
    outline: none;
    border-color: #d4a052;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232, 175, 93, 0.15);
}

.settings-page .form-group input::placeholder,
.settings-page .form-group textarea::placeholder {
    color: #a1acb6;
}

.settings-page .brand-section {
    border: 1px solid #eadcc6 !important;
    background: linear-gradient(140deg, #fff 0%, #fffaf2 100%) !important;
}

.settings-page .brand-section .section-heading h2,
.settings-page .payment-section .section-heading h2,
.settings-page .social-section .section-heading h2,
.settings-page .email-section .section-heading h2 {
    color: var(--settings-ink);
}

.settings-page .payment-section,
.settings-page .social-section,
.settings-page .email-section {
    border-left-width: 3px !important;
}

.settings-page .upload-box {
    min-height: 190px;
    padding: 1.25rem;
    border: 1px dashed #d8c5a7;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
}

.settings-page .upload-box:hover {
    border-color: #d4a052;
    background: #fff;
}

.settings-page .image-preview {
    display: grid;
    width: 100%;
    max-width: none;
    height: 100px;
    place-items: center;
    background: #fff;
}

.settings-page .image-preview img {
    width: auto;
    max-width: 85%;
    max-height: 86px;
    object-fit: contain;
}

.settings-page .favicon-preview {
    max-width: 64px;
}

.settings-page .form-actions {
    position: sticky;
    bottom: 0.75rem;
    z-index: 15;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding: 0.85rem;
    border: 1px solid rgba(225, 232, 238, 0.95);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 28px rgba(28, 49, 66, 0.1);
    backdrop-filter: blur(12px);
}

.settings-page .button-large {
    min-height: 2.8rem;
    border-radius: 8px;
}

.account-page .form-actions {
    position: static;
    justify-content: flex-end;
    margin-top: 1.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
}

.account-page .section-heading {
    justify-content: flex-start;
}

@media (max-width: 700px) {
    .settings-page .page-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.3rem;
    }

    .settings-page .settings-section {
        padding: 1.1rem;
    }

    .settings-quick-nav {
        top: 0.35rem;
        margin-right: -0.5rem;
        margin-left: -0.5rem;
        border-radius: 9px;
    }

    .settings-page .form-actions {
        bottom: 0.35rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr !important;
    }
    
    .upload-group {
        grid-column: 1 / -1 !important;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .button-link {
        width: 100%;
        text-align: center;
    }
    color: #547773;
    font-size: 0.67rem;
    font-weight: 600;
}

.category-card-link span {
    color: #9a805b;
    font-size: 0.9rem;
}

.categories-empty {
    padding: 3rem 1rem;
    border: 1px dashed #d8ded8;
    border-radius: 0.5rem;
    color: #728079;
    text-align: center;
}

.categories-empty > span {
    color: #a78351;
    font-size: 1.6rem;
}

.categories-empty h3 {
    color: #284355;
    font-family: Georgia, "Times New Roman", serif;
}

.categories-empty p {
    font-size: 0.8rem;
}

.home-promise {
    position: relative;
    display: flex;
    min-height: 280px;
    align-items: center;
    gap: 2.3rem;
    overflow: hidden;
    margin: 0 auto 4.5rem;
    padding: 3rem max(1.5rem, calc((100% - 1240px) / 2));
    background: #19394a;
    color: #fff;
    scroll-margin-top: 2rem;
}

.promise-mark {
    display: grid;
    width: 7.5rem;
    height: 7.5rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgb(231 184 113 / 60%);
    border-radius: 50%;
    color: #e5b369;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.2rem;
    font-weight: 700;
}

.promise-copy {
    position: relative;
    z-index: 1;
    max-width: 580px;
}

.promise-copy .section-eyebrow {
    color: #dfb46d;
}

.promise-copy h2 {
    color: #f7f2e8;
    font-size: clamp(2rem, 3.6vw, 2.7rem);
}

.promise-copy h2 em {
    color: #a9c4b7;
}

.promise-copy > p:not(.section-eyebrow) {
    max-width: 520px;
    color: #c1d0d2;
    font-size: 0.78rem;
    line-height: 1.75;
}

.promise-copy > a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.4rem;
    color: #f0c37e;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.promise-stamp {
    position: absolute;
    right: max(2rem, calc((100% - 1180px) / 2));
    display: grid;
    width: 8rem;
    height: 8rem;
    place-items: center;
    border: 1px solid rgb(220 234 222 / 30%);
    border-radius: 50%;
    color: #c9d8cc;
    text-align: center;
    transform: rotate(10deg);
}

.promise-stamp span {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.6;
}

.promise-stamp i {
    position: absolute;
    top: 0.35rem;
    color: #dfb46d;
    font-size: 0.9rem;
    font-style: normal;
}

.store-footer-inner {
    display: flex;
    width: min(100% - 3rem, 1240px);
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto;
}

.store-footer-inner .footer-brand .store-brand-mark {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.1rem;
}

.store-footer-inner .store-brand-name {
    font-size: 0.85rem;
}

.store-footer-inner small,
.store-footer-inner > a:last-child {
    color: #849097;
    font-size: 0.68rem;
    text-decoration: none;
}

.store-footer-inner > a:last-child:hover {
    color: #1d6b70;
}

@media (max-width: 900px) {
    .store-header-main {
        width: min(100% - 2rem, 1240px);
        gap: 1rem;
    }
    
    .store-utility-inner {
        width: min(100% - 2rem, 1240px);
    }

    .store-search {
        max-width: 420px;
    }

    .home-hero {
        width: min(100% - 2rem, 1240px);
        min-height: 460px;
        padding: 2.7rem 2.5rem 4rem;
    }

    .hero-art {
        transform: scale(0.9);
    }

    .home-categories {
        width: min(100% - 2rem, 1240px);
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promise-stamp {
        right: 2rem;
        opacity: 0.55;
    }
}

@media (max-width: 640px) {
    .storefront-body .topbar {
        min-height: 1.9rem;
        font-size: 0.64rem;
    }

    .store-utility-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .store-utility-inner > div {
        gap: 0.7rem;
    }

    .store-utility-inner > span {
        display: none;
    }

    .store-category-nav-inner {
        width: min(100% - 1rem, 1240px);
        justify-content: center;
    }

    .store-category-nav-inner > a,
    .store-category-nav-inner > .nav-item > a {
        min-height: 2rem;
        padding: 0.35rem 0.55rem;
        font-size: 0.68rem;
        letter-spacing: 0;
    }

    .store-header-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding: 0.75rem 0;
    }

    .store-brand-mark {
        width: 2rem;
        height: 2rem;
        font-size: 1.15rem;
    }

    .store-logo {
        height: 3rem;
        max-width: 160px;
    }

    .store-brand-name {
        font-size: 1rem;
    }

    .store-search {
        max-width: none;
        width: 100%;
    }

    .store-actions {
        gap: 0.6rem;
        justify-content: flex-start;
    }

    .store-cta {
        min-height: 2rem;
        padding: 0.45rem 0.6rem;
        font-size: 0.74rem;
    }

    .header-action {
        font-size: 0.76rem;
    }

    .home-hero {
        display: flex;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        margin-top: 0.75rem;
        padding: 2.3rem 1.35rem 3rem;
    }

    .hero-copy h1 {
        margin-top: 0.85rem;
        font-size: clamp(2.8rem, 13vw, 3.8rem);
    }

    .hero-copy > p {
        font-size: 0.85rem;
    }

    .hero-note {
        margin-top: 1.1rem;
    }

    .hero-art {
        min-height: 285px;
        margin-top: 0.2rem;
        transform: none;
    }

    .hero-art-orbit {
        width: 250px;
    }

    .orbit-two {
        width: 205px;
    }

    .hero-art-sun {
        top: 4%;
        right: 12%;
        width: 80px;
    }

    .print-sheet {
        width: 155px;
        height: 220px;
    }

    .sheet-back {
        padding: 1.2rem 0.9rem;
        font-size: 2rem;
    }

    .sheet-front {
        padding: 0.85rem;
    }

    .sheet-front strong {
        margin-top: 1.7rem;
        font-size: 1.9rem;
    }

    .sheet-front strong em {
        font-size: 1.4rem;
    }

    .sheet-stamp {
        width: 1.9rem;
        height: 1.9rem;
    }

    .hero-art-caption {
        right: 0;
        bottom: 0;
    }

    .hero-bottom-line {
        right: 1.35rem;
        bottom: 1rem;
        left: 1.35rem;
        font-size: 0.45rem;
    }

    .home-categories {
        width: min(100% - 2rem, 1240px);
        margin: 3.5rem auto;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
        margin-bottom: 1.2rem;
    }

    .section-heading h2,
    .promise-copy h2 {
        font-size: 2.2rem;
    }

    .section-heading > p {
        font-size: 0.74rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .category-card-art {
        min-height: 165px;
    }

    .home-promise {
        min-height: 340px;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2.5rem;
        padding: 2.25rem 1.25rem;
    }

    .promise-mark {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 2rem;
    }

    .promise-stamp {
        right: 1.2rem;
        bottom: 1rem;
        width: 5.3rem;
        height: 5.3rem;
        opacity: 0.45;
    }

    .promise-stamp span {
        font-size: 0.42rem;
    }

    .store-footer-inner {
        width: calc(100% - 2rem);
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.85rem 0;
    }

    .store-footer-inner small {
        order: 3;
        width: 100%;
        text-align: center;
    }
}

/* ===== NEW HOMEPAGE DESIGN ===== */

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    background: #f5f7fa;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem max(2rem, calc((100% - 1200px) / 2));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slider-item.active {
    opacity: 1;
    visibility: visible;
}

.slider-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(90deg, rgba(10, 25, 35, 0.35) 0%, rgba(10, 25, 35, 0) 60%);
    pointer-events: none;
}

.slider-content {
    flex: 1;
    padding-left: 4.2rem;
    color: white;
    z-index: 2;
}

.slider-content h1,
.slider-content h2 {
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.slider-content p {
    font-size: 1.25rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    max-width: 34rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.slider-button {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: #E8AF5D;
    color: #17364A;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.slider-button:hover {
    background: #F2C27A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slider-image-link {
    text-decoration: none;
}

.slider-stamp-photo {
    width: 100%;
    max-width: 340px;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    padding: 1rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.home-slide-image-preview {
    display: grid;
    justify-items: start;
    gap: 0.75rem;
}

.home-slide-image-preview img {
    width: min(100%, 360px);
    max-height: 220px;
    object-fit: contain;
    border: 1px solid #e0e6ed;
    border-radius: 0.5rem;
}

.slider-image svg {
    width: 100%;
    height: auto;
    max-width: 400px;
}

.slider-image .svg-placeholder {
    width: 230px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    font-size: 5.5rem;
    line-height: 1;
    opacity: 1;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    width: 28px;
    border-radius: 999px;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 24px;
    color: #17364A;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: white;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Categories Menu */
.categories-menu {
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.menu-items {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.menu-items::-webkit-scrollbar {
    height: 4px;
}

.menu-items::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.menu-items::-webkit-scrollbar-thumb {
    background: #E8AF5D;
    border-radius: 2px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #17364A;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    background: #E8AF5D;
    color: white;
    border-color: #E8AF5D;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(232, 175, 93, 0.2);
}

.menu-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 175, 93, 0.2);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
}

.menu-item:hover .menu-icon {
    background: rgba(255, 255, 255, 0.3);
}

.menu-text {
    display: none;
}

@media (min-width: 640px) {
    .menu-text {
        display: inline;
    }
}

@media (max-width: 768px) {
    .categories-menu {
        padding: 0.75rem 1rem;
    }

    .menu-items {
        gap: 0.25rem;
    }

    .menu-item {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }

    .menu-icon {
        width: 24px;
        height: 24px;
    }
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.category-item h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    color: #17364A;
}

.category-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Products Section */
.products-section {
    padding: 2rem 2rem 5rem;
    background: #f7f5f0;
}

.products-section h2 {
    text-align: center;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: #17364A;
}

.products-section h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 2px;
    background: #E8AF5D;
}

.search-result-caption {
    margin: -1.8rem 0 2rem;
    text-align: center;
    color: #6e7f8c;
    font-size: 0.9rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border: 1px solid #ece8df;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(23, 54, 74, 0.06);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 12px 28px rgba(23, 54, 74, 0.14);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 270px;
    background: linear-gradient(145deg, #f8f6f1, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-image {
    background: #fff;
}

.product-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    object-fit: contain;
    padding: 0.5rem;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8AF5D 0%, #D4A052 100%);
    font-size: 3rem;
    color: white;
    font-weight: 700;
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: #17364A;
    font-weight: 600;
}

.product-category {
    color: #E8AF5D;
    font-size: 0.85rem;
    margin: 0 0 0.3rem 0;
    font-weight: 500;
}

.product-sku {
    color: #999;
    font-size: 0.8rem;
    margin: 0.3rem 0;
}

.product-summary {
    min-height: 2.6em;
    margin: 0.45rem 0;
    color: #667789;
    font-size: 0.86rem;
    line-height: 1.45;
}

.product-price {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E8AF5D;
}

.price-tax-note {
    display: block;
    margin-top: 0.2rem;
    color: #687889;
    font-size: 0.78rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-unavailable {
    flex: 1;
    display: grid;
    place-items: center;
    border: 1px solid #e6e9ed;
    border-radius: 4px;
    color: #778391;
    font-size: 0.85rem;
    font-weight: 600;
}

.ebayi-image-sync {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgb(23 54 74 / 5%);
}

.ebayi-image-sync p {
    margin: 0.35rem 0;
    color: #667789;
    font-size: 0.86rem;
}

.ebayi-image-sync progress {
    display: block;
    width: min(460px, 100%);
    height: 0.6rem;
    accent-color: #b57928;
}

.btn-add-cart,
.btn-view {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-add-cart {
    background: #E8AF5D;
    color: white;
}

.btn-add-cart:hover {
    background: #D4A052;
}

.btn-view {
    background: #f5f5f5;
    color: #17364A;
    border: 1px solid #ddd;
}

.btn-view:hover {
    background: #17364A;
    color: white;
}

.empty-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #999;
}

.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
    background: linear-gradient(180deg, #17364A 0%, #112a46 100%);
    color: #d7e0ea;
    font-size: 0.95rem;
}

.footer-container {
    width: min(100% - 2.5rem, 1120px);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(150px, 1fr));
    gap: 2.5rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-name {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #E8AF5D;
    text-decoration: none;
}

.footer-brand p {
    max-width: 30ch;
    margin: 0 0 1.25rem;
    color: #aebdcc;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    border-color: #E8AF5D;
    background: #E8AF5D;
    color: #112a46;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-col h4 {
    position: relative;
    margin: 0 0 1.1rem;
    padding-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: #E8AF5D;
}

.footer-col ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li {
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.footer-col a {
    color: #aebdcc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: #E8AF5D;
}

.footer-bottom {
    display: grid;
    justify-items: center;
    gap: 1.1rem;
    padding-top: 1.5rem;
    color: #8fa1b5;
    font-size: 0.875rem;
    text-align: center;
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-payments svg {
    display: block;
    width: 46px;
    height: 30px;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
}

.footer-legal a {
    color: #c8d3df;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        height: 480px;
    }

    .slider-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.25rem 3.5rem;
    }

    .slider-content h1,
    .slider-content h2 {
    }

    .slider-content p {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
    }

    .slider-content {
        padding-left: 0;
    }

    .slider-image {
        margin-top: 0.5rem;
    }

    .slider-image .svg-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .slider-stamp-photo {
        max-width: 200px;
        max-height: 170px;
        padding: 0.6rem;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .products-section {
        padding: 1.5rem 1rem 3.5rem;
    }

    .products-section h2 {
        font-size: 1.7rem;
        margin-bottom: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
}

/* Slider Background Colors */
.slider-item-gold {
    background: linear-gradient(135deg, #E8AF5D 0%, #D4A052 100%);
}

.slider-item-blue {
    background: linear-gradient(135deg, #17364A 0%, #2A5A7D 100%);
}

.slider-item-brown {
    background: linear-gradient(135deg, #8B6F47 0%, #5A4A35 100%);
}

.svg-placeholder {
    font-size: 5rem;
    opacity: 0.7;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #E8AF5D 0%, #D4A052 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.95;
}

.about-content {
    padding: 4rem 2rem;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-section {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #E8AF5D;
}

.about-section h2 {
    color: #17364A;
    font-size: 1.8rem;
    margin-top: 0;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    margin: 1rem 0;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 0.75rem 0;
    color: #666;
    line-height: 1.6;
    border-bottom: 1px solid #ddd;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list strong {
    color: #E8AF5D;
}

/* Why Us Section */
.why-us {
    margin: 4rem 0;
    text-align: center;
}

.why-us h2 {
    font-size: 2.5rem;
    color: #17364A;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #E8AF5D;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #17364A;
    font-size: 1.3rem;
    margin: 0.5rem 0;
}

.feature-card p {
    color: #666;
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

/* Contact Section */
.about-contact {
    background: linear-gradient(135deg, #17364A 0%, #112a46 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.about-contact h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #E8AF5D;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.info-item {
    padding: 1.5rem;
}

.info-item strong {
    display: block;
    color: #E8AF5D;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin: 0;
    color: #ddd;
    line-height: 1.6;
}

.info-item a {
    color: #fff;
    text-decoration: none;
    word-break: break-word;
}

.info-item a:hover {
    color: #E8AF5D;
}

.contact-page {
    padding: 4rem 2rem;
    background: #f7f5f0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-cards h2 {
    color: #17364A;
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
}

.contact-cards .contact-info {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.contact-cards .info-item {
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border-top: 3px solid #E8AF5D;
    box-shadow: 0 2px 10px rgba(23, 54, 74, 0.08);
}

.contact-cards .info-item strong {
    color: #17364A;
}

.contact-cards .info-item p {
    color: #555;
}

.contact-cards .info-item a {
    color: #17364A;
}

.contact-cards .info-item a:hover {
    color: #B07A2A;
}

.contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-chip {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #17364A;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-form {
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid #E8AF5D;
    box-shadow: 0 2px 10px rgba(23, 54, 74, 0.08);
}

.contact-form h2 {
    color: #17364A;
    font-size: 2rem;
    margin: 0 0 1.5rem 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1rem;
}

@media (min-width: 600px) {
    .contact-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-field {
    display: block;
    margin-bottom: 1rem;
}

.contact-field span {
    display: block;
    margin-bottom: 0.4rem;
    color: #17364A;
    font-weight: 600;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    border: 1px solid #d6dde3;
    border-radius: 6px;
    background: #fbfbfb;
    font: inherit;
    color: #222;
}

.contact-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #E8AF5D;
    box-shadow: 0 0 0 3px rgba(232, 175, 93, 0.2);
}

.contact-submit {
    width: 100%;
    border: 0;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.contact-empty {
    color: #555;
    margin: 0;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.contact-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    background: #E8AF5D;
    color: #17364A;
    font-weight: 600;
    text-decoration: none;
}

.contact-button:hover {
    filter: brightness(1.05);
}

.contact-cards .info-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-cards .info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(23, 54, 74, 0.12);
}

.contact-cards .info-item-wide {
    grid-column: 1 / -1;
}

.contact-cards .info-item-wide p {
    columns: 1;
    break-inside: avoid;
}

@media (min-width: 600px) {
    .contact-cards .info-item-wide p {
        columns: 2;
        column-gap: 2rem;
    }
}

.contact-map {
    margin-top: 2.5rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(23, 54, 74, 0.1);
}

.contact-map-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 3px solid #E8AF5D;
}

.contact-map-head h2 {
    color: #17364A;
    font-size: 1.6rem;
    margin: 0 0 0.35rem 0;
}

.contact-map-head p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.contact-map-head .contact-button {
    margin-top: 0;
    white-space: nowrap;
}

.contact-map-frame {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 600px) {
    .contact-map-frame {
        height: 300px;
    }

    .contact-map-head {
        padding: 1.25rem;
    }
}

/* Shop: product detail & cart */
.product-cart-form {
    flex: 1;
    display: flex;
}

.product-cart-form .btn-add-cart {
    width: 100%;
}

a.btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cart-link {
    position: relative;
    text-decoration: none;
    color: #17364A;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cart-badge {
    display: inline-block;
    min-width: 1.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: #E8AF5D;
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
}

.shop-page {
    padding: 2rem 0 3rem;
}

.shop-title {
    margin: 0 0 1.5rem;
    color: #17364A;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #667;
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: none;
    color: #24496d;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
}

.product-placeholder-lg {
    min-height: 380px;
    border-radius: 10px;
    font-size: 6rem;
}

.product-main-zoom {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.image-lightbox {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 1.5rem;
    border: 0;
    background: transparent;
    box-sizing: border-box;
}

.image-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox::backdrop {
    background: rgba(10, 20, 30, 0.9);
}

.image-lightbox img {
    width: 92vw;
    height: 92vh;
    object-fit: contain;
    cursor: zoom-out;
}

.product-detail-info h1 {
    margin: 0.25rem 0 0.5rem;
    color: #17364A;
    font-size: 2rem;
}

.product-lead {
    color: #556;
    line-height: 1.7;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.product-detail-price .price {
    font-size: 2.2rem;
}

.price-old {
    color: #999;
    text-decoration: line-through;
}

.product-detail-price small {
    color: #667;
}

.stock-badge {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-ok {
    background: #e6f6ec;
    color: #1d7a3e;
}

.stock-out {
    background: #fdeaea;
    color: #b42323;
}

.add-to-cart-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.qty-input {
    width: 90px;
    padding: 0.7rem;
    border: 1px solid #ccd3dc;
    border-radius: 6px;
    font: inherit;
}

.btn-primary,
.btn-secondary,
.btn-buy,
.btn-whatsapp {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #E8AF5D;
    color: #fff;
}

.btn-primary:hover {
    background: #D4A052;
}

.btn-secondary {
    background: #f5f5f5;
    border-color: #ddd;
    color: #17364A;
}

.btn-secondary:hover {
    background: #17364A;
    color: #fff;
}

.btn-buy {
    background: #17364A;
    color: #fff;
}

.btn-buy:hover {
    background: #0f2636;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe5b;
}

.product-buy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.product-buy-buttons > * {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .product-buy-buttons > .btn-primary,
    .product-buy-buttons > .btn-buy {
        flex: 1 1 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .product-buy-buttons > .btn-whatsapp {
        flex: 1 1 100%;
    }
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    padding: 0;
    border: 0;
    background: none;
    color: #b42323;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.product-perks {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    color: #445;
    line-height: 2;
}

.product-description,
.related-products {
    margin-top: 2rem;
}

.product-description {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    line-height: 1.8;
}

.product-description h2,
.related-products h2 {
    margin-top: 0;
    color: #17364A;
}

.cart-flash {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    background: #e6f6ec;
    color: #1d7a3e;
    font-weight: 600;
}

.cart-empty {
    padding: 4rem 2rem;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    text-align: center;
}

.cart-empty-icon {
    font-size: 3.5rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
}

.cart-item-thumb {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #E8AF5D, #D4A052);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cart-item-info a {
    color: #17364A;
    font-weight: 600;
    text-decoration: none;
}

.cart-item-info small,
.cart-item-unit {
    color: #778;
    font-size: 0.85rem;
}

.cart-qty-form {
    display: flex;
    gap: 0.5rem;
}

.cart-qty-form .qty-input {
    width: 76px;
    padding: 0.5rem;
}

.cart-qty-form .btn-secondary {
    padding: 0.5rem 0.9rem;
}

.cart-item-total {
    min-width: 110px;
    text-align: right;
    color: #17364A;
}

.cart-remove {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    color: #b42323;
    cursor: pointer;
}

.cart-remove:hover {
    background: #fdeaea;
}

.cart-summary {
    position: sticky;
    top: 5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
}

.cart-summary h2 {
    margin-top: 0;
    color: #17364A;
}

.cart-summary dl {
    margin: 0 0 1rem;
}

.cart-summary dl div {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
}

.cart-summary dt {
    color: #667;
}

.cart-summary dd {
    margin: 0;
    font-weight: 600;
}

.cart-summary .cart-total {
    border-bottom: 0;
    font-size: 1.2rem;
}

.cart-summary .cart-total dd {
    color: #D4A052;
}

.cart-note {
    color: #778;
    font-size: 0.85rem;
    line-height: 1.5;
}

.btn-gap {
    margin-top: 0.6rem;
}

.btn-link-plain {
    display: block;
    margin-top: 1rem;
    text-align: center;
    color: #24496d;
    text-decoration: none;
}

.form-card {
    margin: 0 0 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
}

.form-card legend {
    padding: 0 0.5rem;
    font-weight: 700;
    color: #17364A;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.form-grid .form-field {
    margin-bottom: 0;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #17364A;
}

.form-field input,
.form-field textarea {
    padding: 0.7rem;
    border: 1px solid #ccd3dc;
    border-radius: 6px;
    font: inherit;
}

.form-field.has-error input,
.form-field.has-error textarea {
    border-color: #b42323;
}

.field-error {
    color: #b42323;
}

.legal-consent {
    display: grid;
    gap: 0.6rem;
    margin: 1rem 0;
}

.legal-consent-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.legal-consent-item input {
    flex: 0 0 auto;
    margin-top: 0.25rem;
    width: auto;
}

.legal-consent-item a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.legal-body {
    max-width: 860px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.legal-body h2 {
    margin: 1.8rem 0 0.6rem;
    font-size: 1.2rem;
}

.legal-body p,
.legal-body ul,
.legal-body ol {
    margin: 0 0 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
}

.summary-lines {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.summary-lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.order-number {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: #fdf3e1;
    color: #17364A;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.order-complete h1 {
    color: #17364A;
}

@media (max-width: 860px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

@media (max-width: 860px) {
    .product-detail,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 56px minmax(0, 1fr) auto;
    }

    .cart-qty-form {
        grid-column: 1 / -1;
    }

    .cart-summary {
        position: static;
    }
}

.product-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.8rem;margin-bottom:1rem}
.product-image-item{display:grid;gap:.4rem;padding:.5rem;border:1px solid #ddd;border-radius:10px;text-align:center}
.product-image-item img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}
.product-images input[type=file]{padding:.6rem;border:1px dashed #999;border-radius:10px;width:100%}
.product-main-image{width:100%;border-radius:14px;aspect-ratio:1;object-fit:cover}
.product-thumbs{display:flex;gap:.5rem;margin-top:.6rem;flex-wrap:wrap}
.product-thumb{padding:0;border:2px solid transparent;border-radius:10px;background:none;cursor:pointer;line-height:0}
.product-thumb img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #ddd}
.product-thumb[aria-pressed="true"]{border-color:#e8a84b}
.product-thumb:focus-visible{outline:2px solid #e8a84b;outline-offset:2px}
.product-image img{width:100%;height:100%;object-fit:cover}
.cart-item-thumb img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.inline-delete-form{display:inline;margin-left:.5rem}
.inline-delete-form button.table-action{background:none;border:0;cursor:pointer;color:#c0392b;font:inherit;padding:0}
.category-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:1.25rem;align-items:start}
.category-main{display:grid;gap:1.25rem}
.category-side{position:sticky;top:1rem}
.cat-card{background:#fff;border:1px solid #e8edf1;border-radius:.75rem;box-shadow:0 4px 14px rgb(29 51 72/4%);padding:1.25rem}
.cat-card-head{display:flex;gap:.8rem;align-items:center;margin-bottom:1rem;padding-bottom:.9rem;border-bottom:1px solid #eef2f5}
.cat-card-head h2{margin:0;font-size:1.05rem;color:#17354a}
.cat-card-head p{margin:.15rem 0 0;color:#7e8c9a;font-size:.85rem}
.cat-card-icon{display:grid;place-items:center;flex:none;width:2.4rem;height:2.4rem;border-radius:.6rem;background:#eaf3fb;color:#1769aa;font-size:1.1rem}
.cat-card label{display:block;margin:1rem 0 .35rem;font-weight:600;color:#33485b;font-size:.9rem}
.cat-card-head+label{margin-top:0}
.cat-card .req{color:#c0392b}
.field-hint{margin:.4rem 0 0;color:#7e8c9a;font-size:.8rem;line-height:1.4}
.child-dropdown{margin-top:1.2rem;border:1px solid #e3e9ee;border-radius:.6rem;background:#fff}
.child-dropdown>summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem .9rem;cursor:pointer;font-weight:600;color:#33485b;font-size:.9rem;list-style:none}
.child-dropdown>summary::-webkit-details-marker{display:none}
.child-dropdown>summary::after{content:"";width:.5rem;height:.5rem;border-right:2px solid #1769aa;border-bottom:2px solid #1769aa;transform:rotate(45deg);transition:transform .15s;margin-left:auto;flex:none}
.child-dropdown[open]>summary::after{transform:rotate(-135deg)}
.child-dropdown>summary:hover{background:#f6fafd}
.child-dropdown>summary:focus-visible{outline:2px solid #1769aa;outline-offset:-2px;border-radius:.6rem}
.child-dropdown>summary>span:first-child{flex:1}
.child-dropdown .child-picker-list{margin:0 .9rem .5rem}
.category-form .child-picker-item input[type=checkbox]{width:1rem;height:1rem;min-height:0;margin:0;padding:0;flex:none}
.child-dropdown .field-hint{margin:.4rem .9rem .9rem}
.category-form .child-picker-list{max-height:280px;padding:.4rem;border:1px solid #e3e9ee;border-radius:.6rem;background:#fafcfd}
.category-form .child-picker-item{display:flex;align-items:center;gap:.6rem;padding:.5rem .6rem;border-radius:.45rem;margin:0;font-weight:500}
.category-form .child-picker-item:hover{background:#eef5fb}
.category-form .child-picker-item:has(input:checked){background:#e3f0fb}
.child-picker-name{flex:1}
.cat-save{width:100%;margin-top:1.2rem;padding:.8rem 1rem;font-weight:700}
.cat-cancel{display:block;margin-top:.7rem;text-align:center;color:#5f7183;text-decoration:none;font-size:.9rem}
.cat-cancel:hover{color:#1769aa}
@media (max-width:900px){.category-layout{grid-template-columns:1fr}.category-side{position:static}}
.child-picker{border:1px solid #e3e7ea;border-radius:8px;padding:1rem;margin:.5rem 0 1rem}
.child-picker legend{padding:0 .4rem;font-weight:600;color:#17354a}
.child-picker-list{display:grid;gap:.4rem;max-height:320px;overflow-y:auto;margin-top:.5rem}
.child-picker-item{display:flex;align-items:center;gap:.5rem;font-weight:normal;margin:0;cursor:pointer}
.child-picker-item input{width:auto;margin:0}
.child-picker-item small{color:#6b7a86}
.breadcrumb{display:flex;gap:.5rem;flex-wrap:wrap;font-size:.85rem;color:#6b7a86;margin-bottom:1rem}
.breadcrumb a{color:#1e3243;text-decoration:none}
.category-page h1{margin:0 0 .5rem;color:#17354a}
.category-page .search-result-caption{margin:0 0 1rem;text-align:left}
.subcategory-links{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0 1.5rem}
.subcategory-links a{padding:.4rem .9rem;border:1px solid #e3e7ea;border-radius:999px;color:#1e3243;text-decoration:none;font-size:.85rem}
.subcategory-links a:hover{background:#faf6f0;color:#d6842c}
.product-info h3 a{color:inherit;text-decoration:none}
