@font-face {
    font-family: "JF Open Huninn";
    src: url("/r2/assets/fonts/jf-openhuninn-2.1.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #1d4466;
    --blue-dark: #183954;
    --purple: #8224e3;
    --button: #44515e;
    --ink: #222;
    --text: #444;
    --muted: #777;
    --line: #eee;
    --footer: #3d2626;
    --cream: #efeee3;
    --font-sans: "JF Open Huninn", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button:disabled {
    cursor: not-allowed;
    opacity: .62;
}
.col-full { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.topbar-wrapper { border-bottom: 1px solid var(--line); background: #fff; }
.top-bar .col-full {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    min-height: 40px;
    gap: 18px;
    color: #121313;
    font-size: 14px;
}
.top-bar-center { text-align: center; }
.top-bar-right { text-align: right; }
.top-bar-right a { color: #1e68c4; }

.site-header { position: relative; background: #fff; }
.main-header {
    display: grid;
    grid-template-columns: 270px minmax(260px, 1fr) auto auto;
    gap: 24px;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
.site-branding { display: flex; align-items: center; gap: 14px; }
.site-branding.menu-toggle-right { justify-content: space-between; }
.site-search { min-width: 0; }
.menu-toggle {
    display: none;
    width: 42px;
    border: 0;
    background: transparent;
    color: #1e73be;
}
.menu-toggle .bar { display: block; width: 24px; height: 2px; margin: 5px 0; background: #1e73be; }
.bar-text { font-size: 12px; }
.custom-logo-link { display: grid; line-height: 1; color: #111; }
.logo-large { font-weight: 900; font-size: 32px; letter-spacing: 0; }
.logo-sub { margin-top: 7px; color: #777; font-weight: 700; font-size: 13px; }
.site-logo-image {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 58px;
    object-fit: contain;
}

.woocommerce-product-search {
    display: grid;
    grid-template-columns: 1fr 92px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid #ddd;
}
.search-field {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    outline: 0;
}
.woocommerce-product-search button,
.button,
.elementor-button,
.checkout-section button,
.wm-dialog button {
    border: 0;
    background: var(--button);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}
.secondary-navigation .menu {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #404040;
    font-size: 14px;
}
.secondary-navigation a.is-member {
    color: #1769aa;
    font-weight: 900;
}
.site-header-cart { justify-self: end; }
.cart-contents {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
}
.count {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    color: #81d742;
    border: 2px solid #81d742;
    border-radius: 99px;
    font-weight: 700;
}

.col-full-nav { background: var(--blue); }
.shoptimizer-primary-navigation { min-height: 60px; display: flex; align-items: center; }
.main-navigation .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-navigation a {
    display: block;
    padding: 20px 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.main-navigation a:hover { background: var(--blue-dark); }
.main-navigation li {
    position: relative;
}
.main-navigation .sub-menu-wrapper {
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    min-width: 235px;
    padding-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    pointer-events: none;
}
.main-navigation .sub-menu-wrapper .sub-menu-wrapper {
    top: 0;
    left: 100%;
    padding-top: 0;
    transform: translateX(8px);
}
.main-navigation li:hover > .sub-menu-wrapper,
.main-navigation li:focus-within > .sub-menu-wrapper,
.main-navigation li.dropdown-open > .sub-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
    pointer-events: auto;
}
.main-navigation .sub-menu {
    display: block;
    min-width: 235px;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e7edf2;
    box-shadow: 0 16px 34px rgba(24, 43, 61, .18);
    list-style: none;
}
.main-navigation .sub-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 18px;
    color: #323232;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.main-navigation .sub-menu a:hover {
    color: #dc9814;
    background: #f7f9fb;
}
.main-navigation .caret {
    display: inline-block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .9;
}
.main-navigation .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.main-navigation .sub-menu .caret {
    margin-left: auto;
    color: #738394;
    transform: rotate(-45deg);
}
.main-navigation .sub-menu .menu-item-has-children > a {
    padding-right: 34px;
}

.site-content { background: #fff; }
.archive-header {
    background: var(--cream);
    padding: 16px 0;
}
.archive .archive-header {
    padding: 24px 0;
}
.archive .archive-header h1 {
    margin: 8px 0;
    color: #111;
    font-size: 32px;
    line-height: 1.2;
}
.archive .archive-header p {
    margin: 0;
    color: #555;
}
.woocommerce-breadcrumb {
    color: #666;
    font-size: 14px;
}
.breadcrumb-separator { margin: 0 8px; color: #999; }
.home-banner { padding-top: 18px; }
.hero-banner {
    display: block;
    min-height: var(--hero-min-height, 430px);
    padding: 52px 58px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.28)),
        url("https://images.unsplash.com/photo-1464965911861-746a04b4bca6?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero-banner div { max-width: 560px; }
.hero-banner span { color: #dc9814; font-size: 18px; font-weight: 800; }
.hero-banner h1 {
    margin: 12px 0;
    color: #111;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 600;
}
.hero-banner p { line-height: 1.7; }
.hero-banner strong { display: inline-block; margin-top: 12px; color: #111; }

.home-section { padding: 34px 0 18px; }
.archive-products { padding: 32px 0 52px; }
.promo-section { background: #f8f8f8; margin-top: 28px; }
.home-section h2,
.archive-products h2 {
    margin: 0 0 22px;
    color: #222;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
}
.promo-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.promo-row article {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
}
.promo-row strong,
.promo-row span { display: block; }
.promo-row span { margin-top: 5px; color: var(--muted); font-size: 14px; }

.woocommerce ul.products,
.related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
li.product {
    position: relative;
    min-width: 0;
    background: #fff;
}
.woocommerce-image__wrapper {
    position: relative;
    overflow: hidden;
    background: #f6f6f6;
    border-radius: 10px;
}
.woocommerce-image__wrapper img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .2s ease;
}
li.product:hover img { transform: scale(1.035); }
.product-label {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    min-width: 48px;
    padding: 7px 8px;
    color: #fff;
    background: var(--purple);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.product-state-label {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    min-width: 52px;
    padding: 7px 9px;
    color: #fff;
    background: #b42318;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}
.woocommerce-card__header { padding: 12px 0 0; }
.product__categories {
    min-height: 34px;
    margin: 0 0 7px;
    color: #888;
    font-size: 12px;
    line-height: 1.45;
}
.product__categories a { color: #777; }
.woocommerce-loop-product__title {
    min-height: 42px;
    margin-bottom: 8px;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}
.price {
    display: block;
    min-height: 26px;
    margin-bottom: 10px;
    color: #000;
    font-size: 17px;
    font-weight: 700;
}
.price del {
    margin-right: 5px;
    color: #999;
    font-weight: 400;
}
.price ins { color: #000; text-decoration: none; }
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.add_to_cart_button,
.buy-now-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 14px;
}
.buy-now-button { background: #1d4466; }
.add_to_cart_button:disabled,
.buy-now-button:disabled,
.single_add_to_cart_button:disabled,
.dialog-actions button:disabled {
    background: #c7cdd3 !important;
    color: #66727f !important;
    box-shadow: none !important;
}
.add_to_cart_button:hover,
.elementor-button:hover,
.checkout-section button:hover,
.wm-dialog button:hover { background: #000; }
.wpced {
    margin-top: 10px;
    color: #666;
    font-size: 13px;
}
.wpced-inner {
    display: inline-block;
    padding: 7px 9px;
    background: #f7f7f7;
    border-left: 3px solid #dc9814;
}
.ws-note {
    margin: -12px 0 20px;
    color: #777;
    text-align: center;
    font-size: 14px;
}
.more-wrap { text-align: center; margin-top: 28px; }
.elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 3px;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    color: #333;
    font-weight: 700;
}
.pagination a.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.testimonial-section { background: #fff; }
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.testimonials article {
    padding: 22px;
    border: 1px solid var(--line);
    text-align: center;
}
.testimonials strong,
.testimonials span { display: block; }
.testimonials span { margin-top: 8px; color: #777; }

.checkout-section {
    margin-top: 28px;
    padding: 34px 0;
    background: var(--cream);
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 32px;
    align-items: start;
}
.checkout-section h2 { margin-top: 0; color: #222; font-size: 30px; }
.checkout-section form {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: #fff;
    border: 1px solid #ddd;
}
label { display: grid; gap: 6px; color: #555; font-size: 14px; font-weight: 600; }
input, select, textarea {
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    background: #fff;
}
.checkout-section button { min-height: 44px; }
.checkout-content {
    background: #f5f8fb;
}
.checkout-content .checkout-section {
    margin-top: 0;
    padding-top: 30px;
    padding-bottom: 56px;
    background: transparent;
}
.checkout-content .checkout-section > h1 {
    margin: 0 0 20px;
    color: #13212f;
    font-size: 28px;
    line-height: 1.25;
}
.checkout-content .checkout-grid {
    grid-template-columns: minmax(0, 920px);
    justify-content: center;
    gap: 22px;
}
.checkout-order-panel,
.checkout-form {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 22px;
    border: 1px solid #d9e3eb;
    background: #fff;
    box-shadow: 0 12px 32px rgba(25, 45, 65, .06);
}
.checkout-content .checkout-section h2 {
    margin: 0;
    color: #13212f;
    font-size: 20px;
    line-height: 1.3;
}
.checkout-content .checkout-section form {
    padding: 22px;
    border-color: #d9e3eb;
}
.checkout-form label {
    gap: 8px;
    color: #29445c;
    font-size: 14px;
    font-weight: 900;
}
.checkout-form input,
.checkout-form select {
    width: 100%;
    min-height: 46px;
    border-color: #cbd8e2;
    color: #13212f;
    font-weight: 700;
}
.checkout-form button[type="submit"] {
    min-height: 48px;
    margin-top: 4px;
    background: #1769aa;
    color: #fff;
    font-weight: 900;
}
.checkout-payment-group {
    display: grid;
    gap: 10px;
}
.checkout-payment-group > span {
    color: #29445c;
    font-size: 14px;
    font-weight: 900;
}
.checkout-payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.checkout-section .checkout-payment-option {
    min-height: 50px;
    padding: 10px 12px;
    border: 1px solid #d9e3eb;
    border-radius: 5px;
    background: #fff;
    color: #29445c;
    text-align: center;
    cursor: pointer;
    font-weight: 900;
    line-height: 1.35;
    box-shadow: none;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.checkout-section .checkout-payment-option:hover {
    border-color: #008f5a;
    background: #eefaf4;
    color: #006b45;
}
.checkout-section .checkout-payment-option.selected {
    border-color: #008f5a;
    background: #008f5a;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 143, 90, .18);
}
.checkout-section .checkout-payment-option.selected:hover {
    background: #00784d;
    color: #fff;
}
.checkout-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e1e8ef;
    background: #fbfdff;
}
.checkout-item-thumb {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    overflow: hidden;
    background: #f3f6f8;
    border: 1px solid #dfe7ee;
}
.checkout-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checkout-item-name {
    display: block;
    color: #1e68c4;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.checkout-item span,
.checkout-item small {
    display: block;
    margin-top: 4px;
    color: #637487;
    font-weight: 800;
}
.checkout-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.checkout-item-remove {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #f3c3bd;
    background: #fff5f3;
    color: #b42318;
    cursor: pointer;
    font-weight: 900;
}
.checkout-item-remove:hover {
    background: #b42318;
    color: #fff;
}
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 0;
    border-top: 1px solid #dfe7ee;
    color: #13212f;
    font-weight: 900;
}
.checkout-total-row strong {
    font-size: 24px;
}
.checkout-grand-total {
    padding-top: 12px;
    border-top: 2px solid #cbd8e2;
}
.checkout-empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed #cbd8e2;
    background: #fff;
    color: #637487;
    font-weight: 900;
}
.order-complete-card {
    display: grid;
    gap: 16px;
    max-width: 760px;
    padding: 22px;
    border: 1px solid #d9e3eb;
    background: #fff;
}
.order-complete-card p {
    margin: 0;
    color: #29445c;
    font-weight: 800;
}
.order-complete-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}
.order-complete-card dl div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    background: #f7fafc;
}
.order-complete-card dt {
    color: #637487;
    font-weight: 900;
}
.order-complete-card dd {
    margin: 0;
    color: #13212f;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.checkout-cvs-picker {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #b7d9f2;
    background: #f7fbff;
}
.checkout-cvs-picker[hidden] {
    display: none;
}
.checkout-cvs-picker h3 {
    margin: 0;
    color: #13212f;
    font-size: 17px;
}
.checkout-cvs-picker p {
    margin: 0;
    color: #29445c;
    font-weight: 800;
    line-height: 1.45;
}
.checkout-cvs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.checkout-section .checkout-cvs-breadcrumb button,
.checkout-section .checkout-cvs-option {
    min-height: 42px;
    border: 1px solid #d9e3eb;
    border-radius: 5px;
    background: #fff;
    color: #29445c;
    cursor: pointer;
    font-weight: 900;
}
.checkout-section .checkout-cvs-breadcrumb button:hover,
.checkout-section .checkout-cvs-option:hover,
.checkout-section .checkout-cvs-store:hover {
    background: #eefaf4;
    color: #006b45;
}
.checkout-section .checkout-cvs-breadcrumb button {
    padding: 0 10px;
}
.checkout-section .checkout-cvs-breadcrumb button.active,
.checkout-section .checkout-cvs-option:hover {
    border-color: #008f5a;
    color: #006b45;
}
.checkout-section .checkout-cvs-breadcrumb button.active {
    background: #008f5a;
    border-color: #008f5a;
    color: #fff;
}
.checkout-section .checkout-cvs-breadcrumb button:disabled {
    color: #99a7b5;
    background: #eef3f8;
    cursor: not-allowed;
}
.checkout-section .checkout-cvs-breadcrumb button:disabled:hover {
    background: #eef3f8;
    color: #99a7b5;
}
.checkout-cvs-options,
.checkout-cvs-stores {
    display: grid;
    gap: 8px;
}
.checkout-cvs-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.checkout-section .checkout-cvs-option {
    padding: 10px;
    text-align: center;
}
.checkout-section .checkout-cvs-store {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9e3eb;
    border-radius: 6px;
    background: #fff;
    color: #13212f;
    text-align: left;
    cursor: pointer;
}
.checkout-section .checkout-cvs-store.selected {
    border-color: #008f5a;
    background: #008f5a;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 143, 90, .18);
}
.checkout-section .checkout-cvs-store.selected:hover {
    background: #00784d;
    color: #fff;
}
.checkout-section .checkout-cvs-store.disabled,
.checkout-section .checkout-cvs-store:disabled {
    background: #f1f3f5;
    color: #8d99a5;
    cursor: not-allowed;
}
.checkout-section .checkout-cvs-store.disabled:hover,
.checkout-section .checkout-cvs-store:disabled:hover {
    background: #f1f3f5;
    color: #8d99a5;
}
.checkout-cvs-store span {
    color: #008f5a;
    font-weight: 900;
}
.checkout-cvs-store.selected span,
.checkout-cvs-store.selected small {
    color: #fff;
}
.checkout-cvs-store small {
    color: #637487;
    font-weight: 700;
    line-height: 1.4;
}
.checkout-cvs-store em {
    color: #9a3a31;
    font-style: normal;
    font-weight: 800;
}
.checkout-plugin-fields {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #f7fafc;
}
.checkout-plugin-fields[hidden] {
    display: none;
}
.checkout-plugin-fields h3 {
    margin: 0;
    color: #13212f;
    font-size: 17px;
}
.checkout-plugin-check {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    align-items: center;
    gap: 10px !important;
    padding: 10px 12px;
    border: 1px solid #d9e3eb;
    background: #fff;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.checkout-plugin-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.product-content .col-full {
    max-width: calc(1400px + 5.2325em);
}
.product-details-wrapper {
    display: grid;
    grid-template-columns: minmax(360px, .92fr) minmax(360px, 1fr);
    gap: 46px;
    align-items: start;
    padding: 36px 0 28px;
    background: #f8f8f8;
}
.woocommerce-product-gallery,
.summary {
    background: #fff;
}
.woocommerce-product-gallery {
    padding: 18px;
}
.woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}
.product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.product-thumbs button {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}
.product-thumbs button.selected,
.product-thumbs button:hover { border-color: var(--blue); }
.product-thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
}
.summary {
    position: relative;
    padding: 22px 24px;
}
.onsale {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 9px;
    color: #fff;
    background: var(--purple);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.product_title {
    margin: 0 0 12px;
    color: #111;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
}
.summary > .product-label {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
}
.woocommerce-product-details__short-description {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    line-height: 1.75;
}
.product-detail-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}
.variations {
    width: 100%;
    border-collapse: collapse;
}
.variations th,
.variations td {
    padding: 10px 0;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.variations th {
    width: 92px;
    color: #222;
    text-align: left;
}
.swatchly-type-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.swatchly-swatch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
}
.swatchly-swatch:hover,
.swatchly-swatch.swatchly-selected {
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
}
.swatchly-swatch.swatchly-disabled,
.swatchly-swatch:disabled {
    color: #999;
    background: #f1f1f1;
    border-color: #e1e1e1;
    box-shadow: none;
    cursor: not-allowed;
    opacity: .62;
}
.swatchly-swatch.swatchly-disabled:hover,
.swatchly-swatch:disabled:hover {
    border-color: #e1e1e1;
    box-shadow: none;
}
.swatchly-swatch.swatchly-selected {
    background: #111;
    color: #fff;
}
.selected-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 6px;
    background: #dc9814;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.variant-select {
    width: 100%;
    min-height: 42px;
}
.quantity {
    display: inline-flex;
    align-items: center;
}
.quantity .qty {
    width: 86px;
    text-align: center;
}
.single-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.single_add_to_cart_button {
    width: fit-content;
    min-height: 46px;
    padding: 0 26px;
    border-radius: 8px;
}
.variation-message {
    min-height: 22px;
    margin: 0;
    color: #2f7a4f;
    font-size: 14px;
}
.variation-message.error { color: #b42318; }
.direct-buy-note {
    margin: 0;
    padding: 12px;
    background: #f7f7f7;
    border-left: 3px solid #dc9814;
}
.product-widget {
    margin-top: 18px;
    padding: 16px;
    background: #fbfbfb;
    border: 1px solid var(--line);
}
.product-widget ul { margin-bottom: 0; padding-left: 20px; }
.woocommerce-tabs {
    margin-top: 20px;
    background: #fff;
}
.wc-tabs {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--line);
}
.wc-tabs a {
    display: block;
    padding: 15px 18px;
    color: #222;
    font-weight: 700;
}
.wc-tabs a:hover { color: #1e68c4; }
.wc-tab {
    padding: 24px 0;
    line-height: 1.75;
}
.shop_attributes {
    width: 100%;
    border-collapse: collapse;
}
.shop_attributes th,
.shop_attributes td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
}
.related.products {
    margin: 28px 0 50px;
}
.related.products h2 {
    margin-bottom: 20px;
    text-align: center;
}

.shoptimizer-mini-cart-wrap {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 220;
    display: none;
    width: min(390px, 92vw);
    height: 100dvh;
    max-height: 100vh;
    padding: 0;
    background: #f7fafc;
    box-shadow: -18px 0 50px rgba(0,0,0,.2);
    overflow: hidden;
}
.shoptimizer-mini-cart-wrap.open {
    display: flex;
    flex-direction: column;
}
.cart-drawer-head {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 16px 18px;
    background: #fff;
    border-bottom: 1px solid #dfe7ee;
}
.cart-drawer-head div {
    display: grid;
    gap: 4px;
}
.cart-drawer-head span {
    color: #637487;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.cart-drawer-head strong {
    color: #13212f;
    font-size: 22px;
    line-height: 1.2;
}
.close-drawer {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: #eef3f8;
    color: #29445c;
    cursor: pointer;
    font-weight: 900;
}
.cart-drawer-items {
    display: grid;
    align-content: start;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 14px;
}
.cart-drawer-items.widget_shopping_cart_content {
    max-height: none;
}
.cart-drawer-items > p {
    margin: 0;
    padding: 18px;
    color: #637487;
    background: #fff;
    border: 1px dashed #cbd8e2;
    text-align: center;
    font-weight: 800;
}
.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 22px 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: #fff;
    border: 1px solid #e1e8ef;
    box-shadow: 0 8px 20px rgba(25, 45, 65, .06);
}
.cart-item.is-disabled {
    opacity: .58;
    filter: grayscale(.35);
}
.cart-item-check {
    width: 18px;
    height: 18px;
}
.cart-item-remove {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 26px;
    height: 26px;
    border: 0;
    background: #b42318;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}
.cart-item-thumb {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    overflow: hidden;
    background: #f3f6f8;
    border: 1px solid #e1e7ed;
}
.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-thumb span {
    color: #637487;
    font-size: 12px;
    font-weight: 900;
}
.cart-item-body {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.cart-item-name {
    color: #1e68c4;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.cart-item-name:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cart-item-spec {
    color: #5f6f7f;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.cart-item-body > span:last-child {
    color: #111;
    font-weight: 900;
}
.cart-item-stock {
    color: #b42318;
    font-size: 13px;
    font-weight: 900;
}
.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.cart-item-bottom > span {
    color: #111;
    font-weight: 900;
}
.cart-qty {
    display: grid;
    grid-template-columns: 30px 44px 30px;
    align-items: center;
}
.cart-qty button,
.cart-qty input {
    width: 100%;
    min-height: 30px;
    padding: 0;
    border: 1px solid #cbd8e2;
    text-align: center;
}
.cart-qty button {
    background: #eef3f8;
    color: #29445c;
    cursor: pointer;
    font-weight: 900;
}
.cart-drawer-footer {
    flex: 0 0 auto;
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-top: 1px solid #dfe7ee;
    box-shadow: 0 -10px 30px rgba(25, 45, 65, .08);
}
.cart-shipping-note {
    min-height: 34px;
    padding: 9px 10px;
    border: 1px solid #d9e3eb;
    background: #f7fafc;
    color: #29445c;
    font-size: 13px;
    font-weight: 900;
}
.cart-shipping-row strong {
    font-size: 18px;
}
.mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #111;
}
.mini-cart-total span {
    color: #637487;
    font-size: 13px;
    font-weight: 900;
}
.mini-cart-total strong {
    color: #13212f;
    font-size: 22px;
}
.cart-checkout-button {
    width: 100%;
    min-height: 44px;
    border: 0;
    background: #1769aa;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}
.cart-checkout-button:disabled {
    background: #c7cdd3;
    color: #66727f;
    cursor: not-allowed;
}

.wm-dialog {
    width: min(520px, calc(100vw - 28px));
    padding: 0;
    border: 0;
    background: transparent;
}
.product-option-dialog { width: min(640px, calc(100vw - 28px)); }
.wm-dialog::backdrop { background: rgba(0,0,0,.45); }
.dialog-shell {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 22px 80px rgba(0,0,0,.26);
}
.dialog-shell h2 {
    margin: 0;
    color: #111;
    font-size: 26px;
}
.dialog-message {
    margin: 0;
    color: #666;
    line-height: 1.65;
}
.dialog-message.error { color: #b42318; }
.dialog-grid { display: grid; gap: 12px; }
.auth-shell { gap: 16px; }
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
}
.auth-tabs button {
    min-height: 42px;
    background: #fff;
    color: #333;
}
.auth-tabs button:hover {
    background: #f7fbff;
    color: #183954;
}
.auth-tabs button.active {
    background: #e9f4ff;
    color: #183954;
    box-shadow: inset 0 -3px 0 #1e68c4;
}
.auth-panel {
    display: none;
    gap: 12px;
}
.auth-panel.active { display: grid; }
.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.account-orders {
    display: grid;
    gap: 12px;
    max-height: 54vh;
    overflow: auto;
}
.account-empty {
    margin: 0;
    color: #637487;
    font-weight: 800;
}
.account-order-card {
    display: grid;
    gap: 8px;
    padding: 13px;
    border: 1px solid #d9e3eb;
    background: #f8fbfd;
}
.account-order-card > a {
    color: #0c4a6e;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.account-order-card div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #33495d;
    font-weight: 800;
}
.account-order-card ul {
    margin: 0;
    padding-left: 18px;
    color: #52677a;
}
.account-order-card li span {
    color: #718497;
}
.password-meter {
    display: grid;
    gap: 7px;
}
.password-meter::before {
    content: "";
    display: block;
    height: 8px;
    background: #eee;
}
.password-meter span {
    display: block;
    height: 8px;
    width: 0;
    margin-top: -15px;
    background: #b42318;
    transition: width .18s ease, background .18s ease;
}
.password-meter.medium span { background: #dc9814; }
.password-meter.strong span { background: #2f7a4f; }
.password-meter strong,
.password-hint {
    margin: 0;
    color: #666;
    font-size: 13px;
}
.option-dialog-head {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: center;
    padding-right: 58px;
}
.option-dialog-head img {
    width: 96px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f6f6f6;
}
.option-dialog-head .price {
    margin: 8px 0 0;
    min-height: auto;
}
.option-group {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.confirm-dialog .dialog-shell {
    max-width: 480px;
}
.confirm-dialog .dialog-actions .secondary {
    background: #eef3f8;
    color: #29445c;
}
.confirm-dialog .dialog-actions .danger {
    background: #b42318;
    color: #fff;
}
.dialog-shell button {
    min-height: 44px;
    padding: 0 16px;
}
.dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    min-height: 34px !important;
    padding: 0 10px !important;
    background: #f1f1f1 !important;
    color: #333 !important;
}

.wm-toast {
    position: fixed;
    z-index: 120;
    right: 22px;
    bottom: 22px;
    max-width: min(380px, calc(100vw - 32px));
    padding: 13px 16px;
    background: #111;
    color: #fff;
    box-shadow: 0 14px 46px rgba(0,0,0,.28);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    transform: translateY(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}
.wm-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.platform-home {
    min-height: 100vh;
    background: #f5f8fb;
}
.platform-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 20px;
}
.platform-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 42px;
    align-items: center;
}
.platform-kicker {
    margin: 0 0 12px;
    color: #1e68c4;
    font-weight: 900;
}
.platform-hero h1 {
    margin: 0 0 18px;
    color: #111;
    font-size: 46px;
    line-height: 1.15;
}
.platform-hero p {
    max-width: 620px;
    line-height: 1.8;
}
.platform-create-form {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
}
.platform-create-form label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #30475a;
    font-weight: 900;
}
.platform-create-form input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d9e3eb;
    background: #fff;
    color: #13212f;
}
.platform-create-form h2 {
    margin: 0;
    color: #111;
}
.platform-create-form button {
    min-height: 46px;
    border: 0;
    background: #1d4466;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}
.subdomain-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-width: 0;
    border: 1px solid #ddd;
    background: #fff;
}
.subdomain-input input {
    width: 100%;
    min-width: 0;
    border: 0;
}
.subdomain-input em {
    padding: 0 10px;
    color: #666;
    font-style: normal;
    white-space: nowrap;
}
.platform-create-form .error {
    color: #b42318;
    font-weight: 700;
}
.platform-create-form .success {
    color: #2f7a4f;
    font-weight: 700;
}

.site-footer,
.copyright {
    background: var(--footer);
    color: #fff;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 34px;
}
.widget-title {
    display: block;
    margin-bottom: 12px;
    color: #1e73be;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 7px 0; }
.site-footer p { margin: 0; line-height: 1.7; }
.copyright .col-full {
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: 14px;
}
.copyright-left .col-full { text-align: left; }
.copyright-center .col-full { text-align: center; }
.copyright-right .col-full { text-align: right; }

.admin-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 56px;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.topbar nav {
    display: flex;
    gap: 14px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111;
    font-weight: 800;
}
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: #1d4466;
    color: #fff;
}
.admin-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
    background: #f6f7f8;
}
.admin-login-form {
    display: grid;
    gap: 14px;
    width: min(420px, 100%);
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
}
.admin-login-form h1 { margin: 0; color: #111; font-size: 26px; }
.admin-login-form button {
    min-height: 44px;
    border: 0;
    background: var(--button);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}
.admin-error {
    margin: 0;
    color: #b42318;
    font-weight: 700;
}
.admin-grid { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: start; }
.admin-form, .admin-table {
    display: grid;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
}
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 11px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.admin-table-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.admin-table-heading h2 { margin: 0; }
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.admin-actions button,
.admin-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 0;
    background: var(--button);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}
.admin-button.secondary {
    background: #f1f1f1;
    color: #333;
}
.admin-button.small {
    min-height: 32px;
    padding: 0 10px;
}
.admin-product-link {
    color: #1e68c4;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-height: 32px;
}
.admin-row-actions form { margin: 0; }
.admin-row-actions button {
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    background: #b42318;
    color: #fff;
    cursor: pointer;
}
.admin-help {
    margin: 0;
    color: #666;
    line-height: 1.6;
}
.nav-builder {
    display: grid;
    gap: 8px;
}
.nav-palette {
    display: grid;
    gap: 10px;
    padding: 14px;
    background: #f8fbfd;
    border: 1px solid #d9e3eb;
}
.nav-palette strong {
    color: #1c3549;
}
.nav-palette div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nav-palette button {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #cbd8e2;
    background: #fff;
    color: #29445c;
    cursor: grab;
    font-weight: 900;
}
.nav-palette button:hover {
    background: #eaf6ff;
    border-color: #1e73be;
}
.nav-root-drop {
    padding: 10px;
    color: #666;
    background: #f6f7f8;
    border: 1px dashed #bbb;
    font-size: 13px;
}
.nav-row {
    display: grid;
    grid-template-columns: 28px minmax(90px, 1fr) minmax(120px, 1.3fr) auto auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
}
.nav-row.depth-1,
.nav-row.depth-2,
.nav-row.depth-3 {
    margin-left: 24px;
    background: #f9fbfd;
}
.nav-row.depth-2 { margin-left: 48px; }
.nav-row.depth-3 { margin-left: 72px; }
.nav-row.drop-target {
    border-color: #1e68c4;
    box-shadow: inset 0 0 0 1px #1e68c4;
}
.drag-handle {
    color: #777;
    cursor: grab;
    font-weight: 900;
}
.nav-row input {
    width: 100%;
    min-width: 0;
}
.nav-row button {
    min-height: 36px;
    border: 0;
    background: #eef3f8;
    color: #333;
    cursor: pointer;
    font-weight: 700;
}
.nav-children {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
}

.admin-body {
    min-height: 100vh;
    color: #1f2933;
    background: #eef3f7;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 12px 24px;
    border-bottom: 1px solid #d8e1ea;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 30px rgba(27, 47, 65, .08);
}
.admin-topbar nav {
    display: flex;
    gap: 10px;
}
.admin-topbar nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #25435c;
    background: #f4f8fb;
    border: 1px solid #d8e1ea;
    font-weight: 800;
}
.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    max-width: 1420px;
    margin: 0 auto;
    padding: 16px 24px 24px;
}
.admin-sidebar {
    position: sticky;
    top: 76px;
    align-self: start;
    display: grid;
    gap: 14px;
}
.admin-store-card,
.admin-panel,
.admin-quick-grid a {
    background: #fff;
    border: 1px solid #d9e3eb;
    box-shadow: 0 18px 45px rgba(25, 45, 65, .07);
}
.admin-store-card {
    display: grid;
    gap: 6px;
    padding: 18px;
}
.admin-store-card span,
.admin-eyebrow,
.admin-stats span {
    color: #637487;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.admin-store-card strong {
    color: #13212f;
    font-size: 20px;
}
.admin-store-card small {
    color: #506275;
    overflow-wrap: anywhere;
}
.admin-menu {
    display: grid;
    gap: 8px;
    padding: 10px;
    background: #fff;
    border: 1px solid #d9e3eb;
}
.admin-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    color: #33495d;
    font-weight: 900;
    border-left: 4px solid transparent;
}
.admin-menu a:hover,
.admin-menu a.active {
    color: #0c4a6e;
    background: #eaf6ff;
    border-left-color: #1e73be;
}
.admin-content {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}
.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    min-height: 0;
    margin: 0;
}
.admin-page-head h1 {
    margin: 0;
    color: #13212f;
    font-size: 30px;
    line-height: 1.18;
}
.admin-eyebrow {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.2;
}
.admin-page-head + .admin-panel,
.admin-page-head + .admin-form,
.admin-page-head + .plugin-edit-layout {
    margin-top: 0;
}
.admin-message {
    margin: 0;
    justify-self: start;
    padding: 8px 12px;
    color: #14532d;
    background: #eaf8ef;
    border: 1px solid #bfe8c9;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}
.admin-stats,
.admin-quick-grid,
.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.settings-focused-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
}
.settings-page-panel {
    gap: 20px;
}
.settings-page-panel .settings-focused-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
.settings-page-panel .store-settings-grid,
.settings-page-panel .frontend-settings-grid {
    grid-template-columns: 1fr;
}
.settings-page-panel .admin-form {
    display: grid;
    gap: 16px;
    min-width: 0;
    align-content: start;
}
.settings-page-panel .admin-form > h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid #d9e3eb;
}
.settings-page-panel .admin-form > .discount-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.settings-page-panel .admin-form > .discount-box > strong,
.settings-page-panel .admin-form > .discount-box > .admin-help,
.settings-page-panel .admin-form > .discount-box > .variant-check {
    grid-column: 1 / -1;
}
.settings-page-panel .settings-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}
.settings-page-panel .settings-section > h3,
.settings-page-panel .settings-section > .variant-check,
.settings-page-panel .settings-section > .admin-help,
.settings-page-panel .settings-section > label {
    grid-column: 1 / -1;
}
.settings-page-panel .settings-section > .discount-box {
    min-width: 0;
}
.settings-page-panel .settings-section > .discount-box label {
    min-width: 0;
}
.admin-stats article {
    display: grid;
    gap: 8px;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e3eb;
}
.admin-stats strong {
    color: #12273a;
    font-size: 32px;
    line-height: 1;
}
.admin-quick-grid a {
    display: grid;
    gap: 8px;
    padding: 20px;
    color: #263b50;
}
.admin-quick-grid strong {
    color: #0f2d42;
    font-size: 18px;
}
.admin-quick-grid span {
    color: #5a6c7d;
    line-height: 1.6;
}
.admin-panel {
    display: grid;
    gap: 16px;
    padding: 20px;
}
.admin-panel h2 {
    margin: 0;
    color: #152839;
    font-size: 20px;
}
.settings-section {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #d9e3eb;
    background: #f8fbfd;
}
.settings-section h3 {
    margin: 0;
    color: #152839;
    font-size: 17px;
}
.admin-pretty-form {
    max-width: 1060px;
}
.admin-payment-panel {
    display: grid;
    gap: 18px;
}
.payment-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.payment-toggle-card {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px 10px !important;
    align-items: center;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #fff;
}
.payment-toggle-card input {
    grid-row: span 2;
}
.payment-toggle-card span {
    color: #13212f;
    font-weight: 900;
}
.payment-toggle-card small {
    color: #637487;
    font-weight: 800;
}
.admin-form {
    padding: 0;
    border: 0;
    background: transparent;
}
.admin-product-editor {
    display: grid;
    gap: 18px;
}
.admin-form label {
    display: grid;
    gap: 7px;
    color: #30475a;
    font-size: 14px;
    font-weight: 900;
}
.admin-form label small {
    color: #637487;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}
.admin-form input:not([type="checkbox"]),
.admin-form select,
.admin-form textarea,
.nav-row input {
    border: 1px solid #cbd8e2;
    background: #fbfdff;
}
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.nav-row input:focus {
    border-color: #1e73be;
    box-shadow: 0 0 0 3px rgba(30, 115, 190, .16);
    outline: 0;
}
.admin-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.admin-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-checks label {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: #f4f8fb;
    border: 1px solid #d8e1ea;
}
.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid #d9e3eb;
}
.members-panel {
    gap: 8px;
}
.members-panel h2 {
    margin-bottom: 0;
}
.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    padding: 12px;
    background: #f7fafc;
    border: 1px solid #d9e3eb;
}
.admin-filter-bar label {
    display: grid;
    gap: 6px;
    color: #30475a;
    font-size: 13px;
    font-weight: 900;
}
.admin-filter-bar select {
    min-width: 180px;
    border: 1px solid #cbd8e2;
    background: #fff;
}
.admin-filter-bar button {
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    border-radius: 4px;
    background: #1769aa;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}
.admin-filter-bar span {
    margin-left: auto;
    color: #506275;
    font-weight: 800;
}
.admin-panel table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
}
.admin-panel th,
.admin-panel td {
    padding: 13px;
    text-align: left;
    border-bottom: 1px solid #e4ebf1;
}
.admin-panel th {
    color: #516679;
    background: #f7fafc;
    font-size: 12px;
    text-transform: uppercase;
}
.admin-panel tr:hover td {
    background: #fbfdff;
}
.admin-text-link {
    color: #0f5f9f;
    font-weight: 900;
    text-decoration: none;
}
.admin-text-link:hover {
    color: #0a7ac2;
    text-decoration: underline;
}
.member-detail-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.member-detail-summary > div {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #f8fbfd;
}
.member-detail-summary span {
    color: #5b7183;
    font-size: 12px;
    font-weight: 900;
}
.member-detail-summary strong {
    color: #15283a;
    overflow-wrap: anywhere;
}
.billing-status-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}
.billing-status-card > div {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #fff;
}
.billing-status-card span {
    color: #5b7183;
    font-size: 12px;
    font-weight: 900;
}
.billing-status-card strong {
    color: #15283a;
    overflow-wrap: anywhere;
}
.billing-status-card small {
    color: #5b7183;
    line-height: 1.5;
}
.billing-confirm-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #f8fbfd;
}
.billing-confirm-form button {
    width: fit-content;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: #1769aa;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}
.billing-confirm-form button:disabled,
.admin-actions button:disabled {
    cursor: not-allowed;
    background: #c7d1dc;
    color: #6b7f91;
    box-shadow: none;
}
.admin-checkbox-line {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: #29445c;
    font-weight: 800;
    line-height: 1.55;
}
.admin-checkbox-line input {
    margin-top: 4px;
}
.billing-warning {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #f0d29b;
    background: #fff8e8;
    color: #6f4d12;
    font-weight: 800;
}
.plugin-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.plugin-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #d9e3eb;
    background: #fff;
}
.plugin-card span {
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 4px;
    background: #eef7ff;
    color: #1769aa;
    font-size: 12px;
    font-weight: 900;
}
.plugin-card .plugin-badge {
    margin-left: 6px;
}
.plugin-card .plugin-badge.official {
    background: #eaf8ef;
    color: #006b45;
}
.plugin-card .plugin-badge.custom {
    background: #fff7df;
    color: #8a5a00;
}
.plugin-card h2 {
    margin: 8px 0 6px;
}
.plugin-card p,
.plugin-card small,
.plugin-docs p {
    color: #5d7083;
    line-height: 1.65;
}
.plugin-card-meta {
    display: grid;
    gap: 4px;
    padding: 12px;
    background: #f7fafc;
    border: 1px solid #e0e8ef;
}
.plugin-edit-layout {
    display: grid;
    gap: 16px;
    max-width: 1120px;
}
.plugin-edit-panel,
.plugin-source-panel {
    max-width: none;
}
.floating-plugin-settings {
    display: grid;
    gap: 14px;
}
.floating-plugin-general,
.floating-plugin-service-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #d9e3eb;
    background: #f8fbfd;
}
.floating-plugin-general h3 {
    margin: 0;
    color: #152839;
    font-size: 17px;
}
.floating-plugin-services {
    display: grid;
    gap: 14px;
}
.floating-plugin-service-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d9e3eb;
}
.floating-plugin-service-head strong {
    color: #13212f;
    font-size: 18px;
}
.floating-plugin-service-head .variant-check {
    min-height: 34px;
}
.floating-plugin-service-main {
    display: grid;
    gap: 14px;
}
.admin-field-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.floating-plugin-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}
.plugin-dev-note {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #f7fafc;
}
.plugin-docs {
    max-width: 1060px;
}
.plugin-source-panel p {
    margin: 0;
    color: #5d7083;
    line-height: 1.65;
}
.plugin-source-form,
.plugin-delete-form {
    padding: 0;
    border: 0;
    background: transparent;
}
.plugin-delete-form button {
    min-height: 42px;
    border: 0;
    border-radius: 4px;
    background: #b42318;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}
.plugin-docs h3 {
    margin: 10px 0 0;
    color: #152839;
}
.plugin-docs pre,
.plugin-source-panel pre {
    overflow-x: auto;
    margin: 0;
    padding: 16px;
    border: 1px solid #d9e3eb;
    background: #0f1f2d;
    color: #e6f0f8;
}
.plugin-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.plugin-doc-grid article {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #fff;
}
.plugin-doc-grid strong {
    color: #13212f;
}
.admin-product-cell {
    display: grid;
    grid-template-columns: 58px minmax(180px, 1fr);
    gap: 12px;
    align-items: center;
}
.admin-product-cell small {
    display: block;
    margin-top: 4px;
    color: #637487;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.admin-product-thumb {
    width: 58px;
    height: 58px;
    object-fit: cover;
    background: #eef3f7;
    border: 1px solid #d9e3eb;
}
.admin-product-thumb.empty {
    display: grid;
    place-items: center;
    color: #637487;
    font-size: 12px;
    font-weight: 900;
}
.admin-empty-row {
    color: #637487;
    font-weight: 800;
    text-align: center;
}
.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.admin-pagination a {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #25435c;
    background: #fff;
    border: 1px solid #cbd8e2;
    font-weight: 900;
}
.admin-pagination a.active,
.admin-pagination a:hover {
    color: #fff;
    background: #1769aa;
    border-color: #1769aa;
}
.order-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.order-status-tabs a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    color: #29445c;
    background: #fff;
    border: 1px solid #cbd8e2;
    font-weight: 900;
    text-decoration: none;
}
.order-status-tabs a span {
    color: #60778d;
    font-size: 12px;
}
.order-status-tabs a.active,
.order-status-tabs a:hover {
    color: #fff;
    background: #1769aa;
    border-color: #1769aa;
}
.order-status-tabs a.active span,
.order-status-tabs a:hover span {
    color: #dcefff;
}
.shipment-import-form {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #f8fbfd;
}
.shipment-import-form div {
    display: grid;
    gap: 4px;
}
.shipment-import-form strong {
    color: #15283a;
    font-weight: 900;
}
.shipment-import-form span {
    color: #5b7183;
    font-size: 13px;
    font-weight: 700;
}
.shipment-import-form input[type="file"] {
    max-width: 260px;
}
.admin-role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.admin-role-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d9e3eb;
    background: #f8fbfd;
}
.permission-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.permission-check-grid label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #29445c;
    font-size: 13px;
    font-weight: 800;
}
.admin-form-grid {
    display: grid;
    gap: 14px;
}
.admin-button,
.admin-actions button {
    border-radius: 4px;
    background: #1769aa;
    box-shadow: 0 8px 18px rgba(23, 105, 170, .18);
}
.admin-button:hover,
.admin-actions button:hover {
    background: #0f568d;
}
.admin-button.secondary {
    border: 1px solid #cdd9e4;
    background: #fff;
    color: #29445c;
    box-shadow: none;
}
.admin-button.secondary:hover {
    background: #f4f8fb;
}
.admin-button.danger-button {
    border-color: #f0b8b8;
    color: #b32626;
}
.admin-button.danger-button:hover {
    background: #fff1f1;
}
.admin-link-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #1769aa;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    text-decoration: underline;
}
.admin-media-attach-dialog {
    width: min(760px, calc(100vw - 28px));
    max-height: calc(100vh - 32px);
    overflow: hidden;
}
.admin-media-attach-dialog .dialog-shell {
    width: auto;
    max-height: calc(100vh - 32px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.admin-media-attach-dialog form {
    display: grid;
    gap: 12px;
    overflow: hidden;
}
.media-attach-preview {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}
.media-attach-preview img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #d9e3eb;
    background: #eef3f7;
}
.media-attach-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px;
}
.media-product-tags {
    max-height: min(260px, 34vh);
    overflow: auto;
    padding-right: 4px;
}
.media-attach-tags button {
    border: 1px solid #cdd9e4;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: #29445c;
    font-weight: 900;
    cursor: pointer;
}
.media-attach-tags button.active {
    border-color: #1769aa;
    background: #eaf4ff;
    color: #0f568d;
}
.media-attach-tags button[hidden] {
    display: none;
}
.admin-media-attach-dialog .dialog-actions {
    margin-top: 0;
}
.media-billing-note {
    padding: 12px 14px;
    border: 1px solid #cfe1f5;
    background: #f1f7ff;
    color: #29445c;
    font-weight: 800;
}
.media-billing-note strong {
    color: #0f568d;
}
.domain-date-cell small {
    display: block;
    white-space: nowrap;
    color: #52677a;
    font-weight: 800;
}
.domain-record-table {
    min-width: 1080px;
    table-layout: fixed;
}
.domain-record-table th:nth-child(1),
.domain-record-table td:nth-child(1) {
    width: 210px;
}
.domain-record-table th:nth-child(2),
.domain-record-table td:nth-child(2) {
    width: 210px;
}
.domain-record-table th:nth-child(3),
.domain-record-table td:nth-child(3) {
    min-width: 220px;
    width: 360px;
}
.domain-record-table th:nth-child(4),
.domain-record-table td:nth-child(4) {
    min-width: 110px;
    width: 110px;
    white-space: nowrap;
}
.domain-record-table th:nth-child(5),
.domain-record-table td:nth-child(5) {
    min-width: 90px;
    width: 90px;
    white-space: nowrap;
}
.domain-record-table th:nth-child(6),
.domain-record-table td:nth-child(6) {
    min-width: 90px;
    width: 90px;
    white-space: nowrap;
}
.domain-record-table td:nth-child(3) span {
    overflow-wrap: anywhere;
}
.domain-record-meta {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}
.admin-status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    color: #7c2d12;
    background: #fff3e8;
    font-weight: 900;
}
.admin-status.is-active,
.admin-status.is-published {
    color: #166534;
    background: #e7f8ee;
}
.admin-status.is-sold_out {
    color: #92400e;
    background: #fff7d6;
}
.admin-status.is-discontinued {
    color: #7f1d1d;
    background: #fee2e2;
}
.admin-status.is-unpublished {
    color: #475569;
    background: #e8eef4;
}
.admin-inline-status {
    margin: 0;
}
.admin-status-select {
    min-height: 34px;
    min-width: 92px;
    padding: 0 30px 0 10px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}
.admin-status-select.is-published {
    color: #166534;
    background: #e7f8ee;
}
.admin-status-select.is-pending_shipment,
.admin-status-select.is-preparing {
    color: #92400e;
    background: #fff7d6;
}
.admin-status-select.is-shipped,
.admin-status-select.is-picked_up {
    color: #166534;
    background: #e7f8ee;
}
.admin-status-select.is-return_requested {
    color: #7c2d12;
    background: #fff3e8;
}
.admin-status-select.is-returned,
.admin-status-select.is-cancelled {
    color: #475569;
    background: #f1f5f9;
}
.admin-status-select.is-sold_out {
    color: #92400e;
    background: #fff7d6;
}
.admin-status-select.is-discontinued {
    color: #7f1d1d;
    background: #fee2e2;
}
.admin-status-select.is-unpublished {
    color: #475569;
    background: #e8eef4;
}
.markdown-editor-shell {
    display: grid;
    overflow: hidden;
    border: 1px solid #cbd8e2;
    background: #fff;
}
.markdown-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: #f4f8fb;
    border-bottom: 1px solid #d9e3eb;
}
.markdown-editor-toolbar button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #cbd8e2;
    background: #fff;
    color: #29445c;
    cursor: pointer;
    font-weight: 900;
}
.markdown-editor-toolbar button:hover {
    background: #eaf6ff;
    border-color: #1e73be;
}
.markdown-editor-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 430px;
}
.markdown-editor-shell:not(.is-previewing) .markdown-editor-body {
    grid-template-columns: 1fr;
}
.markdown-editor-body textarea {
    min-height: 430px;
    border: 0;
    border-right: 1px solid #d9e3eb;
    resize: vertical;
}
.markdown-preview {
    min-height: 430px;
    padding: 18px;
    overflow: auto;
    background: #fff;
}
.markdown-preview img,
.markdown-content img {
    max-width: 100%;
    height: auto;
}
.md-image {
    margin: 18px 0;
}
.md-image img {
    display: block;
}
.md-image-wrap-left {
    float: left;
    width: min(42%, 320px);
    margin: 4px 18px 12px 0;
}
.md-image-wrap-right {
    float: right;
    width: min(42%, 320px);
    margin: 4px 0 12px 18px;
}
.md-image-text-first {
    margin-top: 28px;
    text-align: right;
}
.md-image-text-first img {
    margin-left: auto;
}
.md-image-image-first {
    margin-bottom: 28px;
}
.markdown-content::after,
.markdown-preview::after {
    content: "";
    display: block;
    clear: both;
}
.variant-builder {
    display: grid;
    gap: 16px;
}
.discount-box {
    display: grid;
    gap: 12px;
    padding: 14px;
    background: #f8fbfd;
    border: 1px solid #d9e3eb;
}
.variant-builder-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}
.variant-pricing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.variant-builder-head h3 {
    margin: 0;
    color: #1c3549;
    font-size: 16px;
}
.variant-builder-head button,
.variant-option-row button,
.variant-row button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #cbd8e2;
    background: #fff;
    color: #29445c;
    cursor: pointer;
    font-weight: 900;
}
.variant-builder-head button:hover,
.variant-option-row button:hover,
.variant-row button:hover {
    background: #eaf6ff;
    border-color: #1e73be;
}
.variant-linked-box {
    display: grid;
    grid-template-columns: minmax(180px, .55fr) minmax(220px, .8fr) minmax(320px, 1.6fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    background: #fff;
    border: 1px solid #cfe0ec;
    box-shadow: 0 10px 24px rgba(18, 39, 58, .05);
}
.variant-linked-box label {
    min-width: 0;
}
.variant-linked-box textarea {
    min-height: 132px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.variant-linked-box small {
    display: block;
    margin-top: 6px;
    color: #5d7182;
    line-height: 1.55;
}
.variant-option-list,
.variant-list {
    display: grid;
    gap: 10px;
}
.variant-option-row,
.variant-row {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 14px;
    background: #f8fbfd;
    border: 1px solid #d9e3eb;
}
.variant-option-row {
    grid-template-columns: minmax(120px, .8fr) minmax(220px, 1.4fr) auto auto;
    align-items: end;
}
.variant-promotion-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(130px, .7fr) minmax(220px, 1fr) minmax(260px, 1.2fr);
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #d8e5ef;
    background: #fff;
}
.variant-promotion-empty {
    margin: 0;
    color: #6a7d8d;
    font-size: 13px;
    font-weight: 800;
}
.variant-promotion-panel strong {
    color: #1c3549;
}
.variant-promotion-check {
    min-height: 36px;
    flex-wrap: wrap;
    justify-content: flex-start;
    white-space: normal;
}
.variant-promotion-check input[type="number"] {
    width: 82px;
    min-height: 34px;
    padding: 6px 8px;
}
.variant-promotion-check input:disabled {
    background: #edf2f7;
    color: #8a9baa;
}
.variant-check {
    min-height: 40px;
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    white-space: nowrap;
}
.variant-check input[type="checkbox"] {
    flex: 0 0 auto;
}
.variant-required-badge {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: #166534;
    background: #e7f8ee;
    border: 1px solid #bfe8c9;
    font-size: 13px;
    font-weight: 900;
}
.variant-row {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    align-items: end;
    padding-top: 42px;
}
.variant-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    min-height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    background: #b42318 !important;
    color: #fff !important;
    cursor: pointer;
    font-weight: 900;
}
.variant-row > label {
    min-width: 0;
}
.variant-row > label input {
    width: 100%;
    min-width: 0;
}
.variant-row-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2px;
}
.variant-row-actions .variant-check {
    flex: 0 0 auto;
    margin: 0;
}
.variant-row-actions button {
    flex: 0 0 auto;
}
.variant-combo-fields {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.tag-manager {
    display: grid;
    gap: 12px;
    padding: 14px;
    background: #f8fbfd;
    border: 1px solid #d9e3eb;
}
.tag-manager > strong {
    color: #17324a;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 36px;
    align-items: center;
}
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 6px 0 11px;
    color: #17324a;
    background: #eaf6ff;
    border: 1px solid #b7d9f2;
    font-size: 13px;
    font-weight: 900;
}
.tag-chip button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #385066;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}
.tag-chip button:hover {
    background: #b42318;
    color: #fff;
}
.tag-add {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 8px;
}
.tag-add button {
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: #1769aa;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}
.tag-add button:hover {
    background: #0f568d;
}
.r2-uploader {
    display: grid;
    gap: 6px;
    padding: 18px;
    color: #385066;
    background: #f8fbfd;
    border: 2px dashed #b8c9d8;
    cursor: pointer;
}
.r2-uploader strong {
    color: #17324a;
}
.r2-uploader span {
    color: #637487;
    line-height: 1.5;
}
.r2-uploader::after {
    content: attr(data-status);
    color: #1769aa;
    font-weight: 900;
}
.r2-uploader.dragover,
.r2-uploader.uploading {
    background: #eaf6ff;
    border-color: #1e73be;
}
.r2-uploader.error::after {
    color: #b42318;
}
.r2-uploader.compact {
    padding: 14px;
}
.plugin-image-field {
    display: grid;
    gap: 10px;
}
.plugin-image-field input[readonly] {
    background: #f8fbfd;
    color: #385066;
}
.single-media-manager {
    display: grid;
    gap: 8px;
}
.single-media-grid {
    grid-template-columns: minmax(150px, 220px);
}
.single-media-thumb span {
    color: #385066;
    font-size: 12px;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.admin-hidden-field {
    display: none !important;
}
.gallery-manager {
    display: grid;
    gap: 12px;
}
.content-image-manager {
    display: grid;
    gap: 12px;
}
.gallery-manager-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.gallery-manager-head strong {
    color: #17324a;
}
.gallery-manager-head span,
.gallery-empty {
    color: #637487;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.gallery-thumb {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 8px;
    background: #f8fbfd;
    border: 1px solid #d9e3eb;
}
.gallery-thumb.is-main {
    border-color: #1769aa;
    box-shadow: 0 0 0 2px rgba(23, 105, 170, .16);
}
.gallery-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #eef3f7;
}
.content-image-thumb span {
    color: #385066;
    font-size: 12px;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.gallery-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    border: 0;
    background: #b42318;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}
.gallery-main {
    min-height: 34px;
    border: 1px solid #cbd8e2;
    background: #fff;
    color: #29445c;
    cursor: pointer;
    font-weight: 900;
}
.gallery-thumb.is-main .gallery-main {
    background: #1769aa;
    color: #fff;
    border-color: #1769aa;
}
.gallery-picker {
    width: min(760px, calc(100vw - 28px));
    border: 0;
    padding: 0;
    box-shadow: 0 22px 70px rgba(10, 25, 41, .28);
}
.gallery-picker::backdrop {
    background: rgba(12, 22, 32, .45);
}
.gallery-picker-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #d9e3eb;
}
.gallery-picker-head button {
    min-height: 34px;
    border: 1px solid #cbd8e2;
    background: #fff;
    cursor: pointer;
    font-weight: 900;
}
.gallery-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    max-height: 70vh;
    overflow: auto;
    padding: 16px;
}
.gallery-picker-grid button {
    display: grid;
    gap: 8px;
    padding: 8px;
    border: 1px solid #d9e3eb;
    background: #f8fbfd;
    cursor: pointer;
    font-weight: 900;
}
.gallery-picker-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.admin-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.floating-contact-widget {
    position: fixed;
    right: 18px;
    bottom: 92px;
    z-index: 80;
    display: grid;
    gap: 10px;
}
.floating-contact-button {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(12, 28, 44, .22);
    transition: transform .18s ease, box-shadow .18s ease;
}
.floating-contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(12, 28, 44, .28);
}
.floating-contact-button span {
    font-size: 12px;
    font-weight: 1000;
    line-height: 1;
}
.floating-contact-button img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 8px;
}
.floating-contact-button.is-line {
    background: #06c755;
}
.floating-contact-button.is-telegram {
    background: #229ed9;
}
.floating-contact-button.is-beein {
    background: #1f2937;
}
.floating-contact-dialog .dialog-shell {
    text-align: center;
}
.floating-contact-dialog img {
    display: block;
    width: min(280px, 70vw);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 12px auto 0;
    border: 1px solid #d9e3eb;
    border-radius: 12px;
    background: #fff;
}
.floating-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 14px;
    padding: 0 18px;
    border-radius: 999px;
    background: #1769aa;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}
.review-message.error,
[data-review-message].error {
    color: #b42318;
    font-weight: 900;
}

@media (max-width: 992px) {
    .site-header {
        position: relative;
        z-index: 80;
        box-shadow: 0 1px 0 rgba(20, 37, 56, .08);
    }
    .top-bar .col-full { grid-template-columns: 1fr; text-align: center; padding-top: 9px; padding-bottom: 9px; }
    .top-bar-right { text-align: center; }
    .main-header { grid-template-columns: 1fr auto; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
    .menu-toggle {
        display: block;
        min-height: 42px;
        cursor: pointer;
        border-radius: 8px;
    }
    .menu-toggle[aria-expanded="true"] {
        background: #eef6fc;
    }
    .site-branding.menu-toggle-right {
        width: 100%;
    }
    .site-branding.menu-toggle-right .menu-toggle {
        order: 2;
        margin-left: auto;
    }
    .site-branding.menu-toggle-left .menu-toggle {
        order: 0;
    }
    .site-search, .secondary-navigation { grid-column: 1 / -1; min-width: 0; }
    .woocommerce-product-search {
        grid-template-columns: minmax(0, 1fr) 78px;
    }
    .col-full-nav {
        display: block;
        position: absolute;
        z-index: 79;
        top: 100%;
        left: 10px;
        right: 10px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px) scale(.985);
        background: transparent;
        border-radius: 16px;
        box-shadow: 0 24px 60px rgba(17, 35, 52, .28);
        transition: max-height .24s ease, opacity .18s ease, transform .18s ease;
    }
    body.mobile-menu-open .col-full-nav {
        max-height: min(74vh, 620px);
        overflow-y: auto;
        opacity: 1;
        transform: translateY(8px) scale(1);
    }
    .shoptimizer-primary-navigation {
        display: block;
        min-height: 0;
        padding: 10px;
        background: rgba(255,255,255,.98);
        border: 1px solid rgba(210, 221, 231, .96);
        border-radius: 16px;
        backdrop-filter: blur(14px);
    }
    .main-navigation .menu { display: grid; grid-template-columns: 1fr; width: 100%; gap: 8px; }
    .main-navigation .menu .menu {
        position: static;
        display: block;
        min-width: 0;
        box-shadow: none;
    }
    .main-navigation li { width: 100%; }
    .main-navigation a {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        min-height: 52px;
        padding: 0 14px;
        border-radius: 12px;
        background: #f7f9fc;
        color: #203244;
        font-size: 15px;
        font-weight: 900;
        box-shadow: inset 0 0 0 1px rgba(221, 230, 238, .9);
    }
    .main-navigation a:hover {
        background: #eef6ff;
        color: #1769aa;
    }
    .main-navigation .menu-item-has-children > a {
        display: flex;
        width: 100%;
    }
    .main-navigation .sub-menu-wrapper {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        padding: 8px 0 0 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
    .main-navigation .sub-menu-wrapper .container {
        width: 100%;
    }
    .main-navigation .sub-menu .sub-menu-wrapper {
        padding-left: 16px;
    }
    .main-navigation li.dropdown-open > .sub-menu-wrapper {
        display: block;
    }
    .main-navigation li:hover > .sub-menu-wrapper,
    .main-navigation li:focus-within > .sub-menu-wrapper {
        transform: none;
    }
    .main-navigation .sub-menu {
        width: 100%;
        min-width: 0;
        padding: 8px;
        border: 0;
        border-radius: 14px;
        background: #f3f6fa;
        box-shadow: none;
    }
    .main-navigation .sub-menu a {
        min-height: 46px;
        background: #fff;
        color: #29394a;
        font-size: 14px;
        font-weight: 800;
        white-space: normal;
    }
    .main-navigation .sub-menu .sub-menu {
        background: #e9eff5;
    }
    .main-navigation .sub-menu .caret {
        transform: rotate(45deg) translateY(-2px);
    }
    .hero-banner { min-height: var(--hero-mobile-min-height, 330px); padding: 34px 24px; }
    .woocommerce ul.products, .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
    .checkout-grid, .admin-grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; padding: 16px; }
    .admin-sidebar { position: static; }
    .admin-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-stats, .admin-quick-grid, .admin-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .markdown-editor-body { grid-template-columns: 1fr; }
    .markdown-editor-body textarea { border-right: 0; border-bottom: 1px solid #d9e3eb; }
    .variant-linked-box, .variant-option-row, .variant-row, .variant-combo-fields, .variant-promotion-panel { grid-template-columns: 1fr; }
    .footer-widgets, .testimonials { grid-template-columns: repeat(2, 1fr); }
    .product-details-wrapper { grid-template-columns: 1fr; gap: 18px; }
    .product_title { font-size: 28px; }
    .platform-hero { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .col-full { padding-left: 14px; padding-right: 14px; }
    .logo-large { font-size: 24px; }
    .site-logo-image { max-width: 170px; max-height: 48px; }
    .woocommerce ul.products, .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .product__categories { display: none; }
    .woocommerce-loop-product__title { font-size: 13px; }
    .price { font-size: 15px; }
    .product-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
    .product-actions .add_to_cart_button,
    .product-actions .buy-now-button {
        width: 100%;
        min-width: 0;
        min-height: 38px;
        padding: 0 4px;
        font-size: 12px;
        white-space: nowrap;
    }
    .woocommerce-image__wrapper { border-radius: 8px; }
    .wpced { font-size: 11px; }
    .promo-row, .footer-widgets, .testimonials { grid-template-columns: 1fr; }
    .admin-topbar, .admin-page-head { align-items: stretch; flex-direction: column; }
    .admin-menu, .admin-stats, .admin-quick-grid, .admin-settings-grid, .settings-focused-grid, .settings-page-panel .admin-form > .discount-box, .settings-page-panel .settings-section, .admin-field-grid, .admin-field-grid.compact, .plugin-card-grid, .plugin-doc-grid, .payment-toggle-grid, .floating-plugin-media-grid, .billing-status-card { grid-template-columns: 1fr; }
    .checkout-content .checkout-section {
        padding-top: 20px;
        padding-bottom: 36px;
    }
    .checkout-content .checkout-section > h1 {
        font-size: 23px;
    }
    .checkout-content .checkout-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .checkout-order-panel,
    .checkout-form,
    .checkout-content .checkout-section form {
        padding: 16px;
    }
    .checkout-item {
        grid-template-columns: 68px minmax(0, 1fr);
        align-items: start;
    }
    .checkout-item-thumb {
        width: 68px;
        height: 68px;
    }
    .checkout-item > strong {
        grid-column: 2;
        justify-self: start;
    }
    .checkout-item-actions {
        align-items: flex-start;
    }
    .checkout-payment-options,
    .checkout-cvs-options {
        grid-template-columns: 1fr;
    }
    .shoptimizer-mini-cart-wrap {
        inset: 10px;
        width: auto;
        height: calc(100dvh - 20px);
        max-height: calc(100vh - 20px);
        border: 1px solid #d9e3eb;
        box-shadow: 0 22px 70px rgba(10, 25, 41, .28);
    }
    .cart-drawer-head {
        min-height: 68px;
        padding: 14px;
    }
    .cart-drawer-head strong {
        font-size: 20px;
    }
    .cart-drawer-items {
        padding: 12px;
    }
    .cart-item {
        grid-template-columns: 20px 64px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 8px;
    }
    .cart-item-thumb {
        width: 64px;
        height: 64px;
    }
    .cart-item-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .cart-qty {
        grid-template-columns: 34px 56px 34px;
    }
    .cart-drawer-footer {
        padding: 14px;
    }
    .floating-contact-widget {
        right: 14px;
        bottom: 84px;
    }
    .floating-contact-button {
        width: 50px;
        height: 50px;
    }
}

.draft-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 11px 14px;
    border: 1px solid #d8e3ed;
    border-radius: 10px;
    background: #f8fbff;
    color: #365066;
    font-size: 14px;
    font-weight: 800;
}

.draft-status button {
    border: 1px solid #bfd0df;
    border-radius: 8px;
    background: #fff;
    color: #27445c;
    font-weight: 900;
    padding: 8px 12px;
}

.variant-option-row textarea {
    min-height: 132px;
    resize: vertical;
}
