:root {
    --gold: #b87b20;
    --gold-2: #d5a247;
    --ink: #151515;
    --muted: #6f6a63;
    --line: #ece7df;
    --cream: #fbf5ed;
    --soft: #f6eee4;
    --green: #188b4d;
    --blue: #1769d1;
    --danger: #d93535;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.topbar {
    background: linear-gradient(90deg, #dfb671, #f2d3a1);
    color: #1b140b;
    font-size: 12px;
    padding: 5px 6%;
}
.topbar-inner, .header-main, .nav-inner, .container {
    max-width: 1280px;
    margin: 0 auto;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.topbar-links { display: flex; gap: 24px; }
.topbar span { max-width: 100%; overflow-wrap: anywhere; }
.header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}
.header-main {
    display: grid;
    grid-template-columns: 300px minmax(360px, 1fr) 280px;
    align-items: center;
    gap: 20px;
    padding: 8px 24px 7px;
    width: 100%;
}
.logo {
    color: #9e6218;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    letter-spacing: 8px;
    line-height: .9;
    text-align: center;
}
.logo img {
    max-width: 230px;
    max-height: 112px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 1px #ffffff) drop-shadow(0 4px 10px #b87b2030);
}
.logo span {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 7px;
    margin-top: 8px;
}
.search {
    display: block;
    min-width: 0;
    width: 100%;
    position: relative;
}
.search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid #d8d0c5;
    padding: 0 64px 0 16px;
    background: linear-gradient(to right, #fff calc(100% - 52px), var(--gold) calc(100% - 52px));
}
.search button, .btn {
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    color: #fff;
    border: 0;
    min-height: 46px;
    min-width: 54px;
    padding: 0 26px;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .2px;
    border-radius: 7px;
    box-shadow: 0 10px 18px #b87b2030, inset 0 1px 0 #ffffff40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
    flex: 0 0 auto;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px #b87b2038, inset 0 1px 0 #ffffff55;
    filter: saturate(1.04);
}
.btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px #b87b2028, inset 0 1px 0 #ffffff30;
}
.search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 42px;
    width: 52px;
    min-width: 52px;
    padding: 0;
    display: grid;
    place-items: center;
    opacity: 1;
    border-radius: 0 6px 6px 0;
    box-shadow: none;
}
.search button:hover {
    transform: none;
    box-shadow: none;
}
.search-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.search-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    overflow: hidden;
    border: 1px solid #e1d7ca;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 36px #00000018;
    z-index: 80;
}
.search-suggestions.show {
    display: block;
}
.search-suggestion {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
}
.search-suggestion:hover {
    background: #fff8ed;
}
.search-suggestion img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--soft);
}
.search-suggestion b {
    display: block;
    color: #171717;
    font-size: 14px;
    line-height: 1.25;
}
.search-suggestion small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}
.search-suggestion strong {
    color: #7a4d12;
    font-size: 13px;
    white-space: nowrap;
}
.search-all,
.search-empty {
    display: block;
    padding: 12px;
    color: #7a4d12;
    background: #fffaf2;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}
.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    font-size: 13px;
}
.action {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
}
.action b { display: block; font-size: 13px; }
.action span { color: var(--muted); font-size: 12px; }
.icon {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    color: var(--gold);
    font-size: 22px;
    line-height: 1;
}
.cart-badge {
    background: var(--gold);
    color: #fff;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    font-size: 11px;
    margin-left: -8px;
    margin-top: -14px;
}
.catbar {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    position: relative;
    z-index: 30;
}
.menu-toggle, .category-toggle { position: absolute; opacity: 0; pointer-events: none; }
.mobile-menu-btn { display: none; }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    min-height: 52px;
    white-space: nowrap;
}
.nav-inner a, .category-menu-btn {
    color: #171717;
    letter-spacing: 0;
    line-height: 1;
}
.nav-inner a:first-child { color: var(--gold); }
.nav-dropdown { position: relative; display: flex; align-items: center; min-height: 52px; }
.category-menu-btn {
    cursor: pointer;
    padding: 16px 0;
    font: inherit;
    text-transform: uppercase;
}
.nav-dropdown:after {
    content: "";
    position: absolute;
    left: -18px;
    right: -18px;
    top: 100%;
    height: 14px;
}
.category-menu-btn:after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
.nav-dropdown-menu {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 540px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px #00000018;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 11px 12px;
    border-radius: 6px;
    color: #202020;
    font-size: 12px;
    line-height: 1.25;
    text-transform: none;
    white-space: normal;
    border: 1px solid transparent;
}
.nav-dropdown-menu a:hover { background: #faf3e7; border-color: #efd8b0; color: var(--gold); }
main { min-height: 58vh; }
.hero {
    position: relative;
    min-height: 430px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: heroSlide 24s infinite;
}
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-single .hero-slide {
    opacity: 1;
    animation: none;
}
.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}
.hero-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fff7ed 0%, #fff7edd9 36%, #fff7ed33 68%, transparent 100%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 1;
    min-height: 430px;
    display: flex;
    align-items: center;
    padding: 64px 24px;
}
.hero-copy {
    max-width: 430px;
    color: #2a1d12;
}
.eyebrow {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    margin: 0 0 4px;
}
.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 56px;
    line-height: 1;
    letter-spacing: 8px;
    margin: 0 0 18px;
    color: #7a4c18;
    font-weight: 400;
}
.hero p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 24px;
}
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    display: flex;
    gap: 9px;
}
.hero-dots span {
    width: 9px;
    height: 9px;
    background: #cfaa72;
    border-radius: 50%;
    opacity: .55;
    animation: heroDot 24s infinite;
}
.hero-dots span:nth-child(2) { animation-delay: 6s; }
.hero-dots span:nth-child(3) { animation-delay: 12s; }
.hero-dots span:nth-child(4) { animation-delay: 18s; }
@keyframes heroSlide {
    0%, 21% { opacity: 1; }
    27%, 94% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes heroDot {
    0%, 21% { background: #202020; opacity: 1; transform: scale(1.12); }
    27%, 94% { background: #cfaa72; opacity: .55; transform: scale(1); }
    100% { background: #202020; opacity: 1; transform: scale(1.12); }
}
.benefits {
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.benefits .container {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    max-width: 1440px;
}
.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 100px;
    padding: 16px 12px;
    border-right: 1px solid var(--line);
}
.benefit .icon {
    width: 38px;
    height: 38px;
    border: 1px solid #d9ad63;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #9e6218;
    font-size: 12px;
    font-weight: 800;
    flex: 0 0 auto;
}
.benefit:last-child { border-right: 0; }
.benefit strong {
    display: block;
    font-size: 11px;
    line-height: 1.25;
    text-transform: uppercase;
}
.benefit span {
    color: var(--muted);
    display: block;
    font-size: 11px;
    line-height: 1.4;
}
.section {
    padding: 46px 24px;
}
.section-title {
    text-align: center;
    margin-bottom: 28px;
}
.section-title h2 {
    margin: 0 0 8px;
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title p {
    margin: 0;
    color: var(--muted);
}
.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.product {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    min-width: 0;
    transition: transform .16s ease, box-shadow .16s ease;
}
.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px #00000012;
}
.product img {
    width: 100%;
    aspect-ratio: 1 / .83;
    object-fit: cover;
    display: block;
    background: var(--soft);
}
.product .info {
    padding: 18px;
}
.product h3 {
    margin: 0 0 12px;
    font-size: 15px;
}
.product p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.45;
    min-height: 40px;
}
.price {
    font-weight: 800;
    font-size: 18px;
}
.installment {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}
.old {
    color: #999;
    text-decoration: line-through;
    margin-bottom: 3px;
}
.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #6b4718;
    color: #fff;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}
.promo-band {
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.page-head {
    background: var(--cream);
    padding: 34px 24px;
    border-bottom: 1px solid var(--line);
}
.page-head h1 {
    max-width: 1280px;
    margin: 0 auto 8px;
    font-size: 30px;
}
.page-head p {
    max-width: 1280px;
    margin: 0 auto;
    color: var(--muted);
}
.contact-section {
    background: #fff;
}
.contact-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
}
.contact-info,
.contact-card {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 14px 40px #0000000a;
}
.contact-info {
    padding: 28px;
    background: linear-gradient(180deg, #fffaf2, #fff);
}
.contact-info .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.contact-info h2,
.contact-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
}
.contact-info p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.6;
}
.contact-list {
    display: grid;
    gap: 12px;
}
.contact-list div {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.contact-list div:last-child {
    border-bottom: 0;
}
.contact-list strong {
    font-size: 12px;
    color: #6b4718;
    text-transform: uppercase;
}
.contact-list span {
    color: #1b1b1b;
    overflow-wrap: anywhere;
}
.contact-card {
    padding: 28px;
}
.contact-form {
    display: grid;
    gap: 16px;
}
.contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.contact-form label {
    display: grid;
    gap: 7px;
    color: #2b2520;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #d8d0c5;
    border-radius: 6px;
    background: #fff;
    color: #1d1d1d;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
}
.contact-form input {
    height: 44px;
    padding: 0 12px;
}
.contact-form textarea {
    min-height: 122px;
    padding: 12px;
    resize: vertical;
}
.contact-form .btn {
    justify-self: start;
    min-width: 220px;
}
.cart-layout, .checkout-layout, .product-detail {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 26px;
}
.cart-layout { grid-template-columns: 1fr 360px; }
.checkout-layout { grid-template-columns: 1fr 360px; align-items: start; }
.card, .panel, .form-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 40px #0000000a;
}
.cart-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    background: var(--soft);
}
.qty {
    display: inline-grid;
    grid-template-columns: 32px 36px 32px;
    border: 1px solid var(--line);
    height: 32px;
    text-align: center;
    align-items: center;
    margin-top: 10px;
}
.qty a { color: var(--muted); }
.qty form { margin: 0; height: 100%; }
.qty button, .remove-link, .drawer-item form button {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}
.qty button { width: 100%; height: 100%; }
.remove-link { padding: 0; margin-top: 8px; }
.product-actions form, .detail-actions form, .drawer-item form { margin: 0; }
.product-actions form .btn, .detail-actions form .btn { width: 100%; }
.summary {
    padding: 22px;
    position: sticky;
    top: 150px;
}
.summary h2 {
    margin: 0 0 20px;
    font-size: 20px;
    text-transform: uppercase;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    color: var(--muted);
}
.summary-row.total {
    color: var(--ink);
    font-weight: 800;
    font-size: 24px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}
.summary .btn, .form-card .btn { width: 100%; }
.notice { padding: 14px 18px; background: #fff8e8; color: #87530c; border-bottom: 1px solid #ead5a8; }
.coupon-form { display: grid; grid-template-columns: 1fr 88px; gap: 8px; margin-bottom: 10px; }
.coupon-form input { height: 40px; border: 1px solid var(--line); padding: 0 10px; min-width: 0; }
.coupon-form button { border: 0; background: var(--gold); color: #fff; font-weight: 700; cursor: pointer; }
.btn.disabled { opacity: .65; pointer-events: none; }
.cart-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: #0007; opacity: 0; transition: opacity .18s ease; }
.drawer-panel { position: absolute; right: 0; top: 0; width: min(430px, 92vw); height: 100%; background: #fff; padding: 24px; box-shadow: -20px 0 50px #0002; transform: translateX(100%); transition: transform .22s ease; overflow-y: auto; }
.cart-drawer:target { pointer-events: auto; }
.cart-drawer:target .drawer-backdrop { opacity: 1; }
.cart-drawer:target .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.drawer-head h2 { margin: 0; text-transform: uppercase; font-size: 20px; }
.drawer-head a { font-size: 28px; color: #555; }
.drawer-item { display: grid; grid-template-columns: 74px 1fr 24px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-item img { width: 74px; height: 74px; object-fit: cover; background: var(--soft); }
.drawer-item span, .drawer-empty { color: var(--muted); display: block; margin-top: 6px; }
.drawer-summary { padding: 18px 0; }
.drawer-summary div { display: flex; justify-content: space-between; margin-bottom: 10px; }
.drawer-summary div:last-child { font-size: 22px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 14px; }
.drawer-panel .btn { width: 100%; text-align: center; }
.drawer-link { display: block; text-align: center; margin-top: 14px; color: var(--gold); text-transform: uppercase; font-size: 12px; font-weight: 700; }
.account-section {
    display: grid;
    place-items: start center;
}
.account-notice {
    width: min(960px, 100%);
    margin: 0 auto 16px;
}
.account-card {
    width: min(460px, 100%);
}
.account-card .notice {
    margin: -18px -18px 18px;
    border-bottom: 1px solid #ead5a8;
}
.account-dashboard {
    width: min(960px, 100%);
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 22px;
}
.account-panel {
    padding: 24px;
}
.account-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.account-head h2,
.account-panel h2 {
    margin: 0 0 6px;
    font-size: 22px;
}
.account-head p {
    margin: 0;
    color: var(--muted);
}
.account-data {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}
.account-data div {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.account-data strong {
    color: #6b4718;
    font-size: 12px;
    text-transform: uppercase;
}
.account-data span {
    color: #1d1d1d;
    overflow-wrap: anywhere;
}
.account-orders {
    display: grid;
    gap: 10px;
}
.account-orders a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    align-items: center;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
}
.account-orders a:hover {
    background: #fff8ed;
}
.account-orders span {
    font-weight: 800;
}
.account-orders small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-weight: 400;
}
.account-orders strong {
    color: #7a4d12;
}
.account-orders em {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}
.customer-shell {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.customer-sidebar {
    position: sticky;
    top: 18px;
    border: 1px solid var(--line);
    background: #fff;
}
.customer-profile {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}
.customer-profile > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff3dc;
    color: #8a5714;
    font-size: 18px;
    font-weight: 800;
}
.customer-profile strong,
.customer-profile small {
    display: block;
    overflow-wrap: anywhere;
}
.customer-profile small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.customer-nav { display: grid; padding: 8px; }
.customer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 9px 10px;
    border-left: 3px solid transparent;
    color: #2d3742;
    font-size: 13px;
    font-weight: 700;
}
.customer-nav a:hover { border-left-color: var(--gold); background: #fff8ed; color: #7a4d12; }
.customer-nav b { min-width: 22px; padding: 3px 6px; border-radius: 99px; background: #f2e5cf; text-align: center; font-size: 11px; }
.customer-content { display: grid; gap: 22px; min-width: 0; }
.customer-section {
    scroll-margin-top: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    background: #fff;
}
.customer-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.customer-title span { display: block; margin-bottom: 4px; color: #9a681f; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.customer-title h2 { margin: 0; font-size: 22px; }
.customer-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.customer-metrics div,
.customer-summary div,
.order-detail-grid div {
    padding: 16px;
    border: 1px solid var(--line);
    background: #fffaf3;
}
.customer-metrics small,
.customer-summary small,
.order-detail-grid small,
.customer-orders small,
.protected-data small {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.customer-metrics strong { display: block; color: #713f08; font-size: 20px; }
.customer-metrics div:last-child strong { font-size: 14px; }
.customer-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.customer-summary strong, .customer-summary span, .customer-summary small { display: block; }
.customer-summary span { margin: 8px 0 4px; }
.customer-orders { display: grid; gap: 10px; }
.customer-orders article {
    display: grid;
    grid-template-columns: .7fr 1.2fr 1fr 1.4fr minmax(150px, auto);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
}
.customer-orders article > div { min-width: 0; }
.customer-orders article strong,
.customer-orders article span { display: block; overflow-wrap: anywhere; }
.customer-orders article span { color: #8a5714; font-size: 12px; font-weight: 700; }
.customer-orders .btn { white-space: nowrap; }
.customer-order-actions { display: grid; gap: 7px; }
.customer-payment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1.4fr) auto;
    gap: 18px;
    align-items: end;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #e0bb7d;
    background: #fff7e8;
}
.customer-payment > div > span { color: #9a681f; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.customer-payment h3 { margin: 4px 0 8px; }
.customer-payment p { margin: 0; color: #67543c; }
.customer-payment label { color: #6b4718; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pix-key {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    margin-top: 7px;
    padding: 8px 8px 8px 12px;
    border: 1px solid #dfc18e;
    background: #fff;
    text-transform: none;
}
.pix-key b { overflow-wrap: anywhere; color: #2d3742; }
.pix-key button { border: 0; background: #263544; color: #fff; padding: 9px 11px; font-weight: 700; cursor: pointer; }
.customer-empty { padding: 28px; border: 1px dashed #dec9a7; background: #fffaf3; text-align: center; }
.customer-empty p { color: var(--muted); }
.protected-data { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.protected-data div { padding: 14px; border: 1px solid #ead5a8; background: #fff8e8; }
.protected-data p { grid-column: 1 / -1; margin: 0; color: #87530c; font-size: 12px; }
.customer-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.customer-form label { color: #46341f; font-size: 12px; font-weight: 700; }
.customer-form input {
    width: 100%;
    min-height: 42px;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fff;
}
.customer-form .wide { grid-column: span 2; }
.customer-form .btn { align-self: end; min-height: 42px; }
.password-form { grid-template-columns: 1fr 1fr auto; }
.order-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.order-detail-grid strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.customer-table-wrap { margin-top: 16px; overflow-x: auto; }
.customer-table { width: 100%; min-width: 580px; border-collapse: collapse; }
.customer-table th, .customer-table td { padding: 11px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; }
.customer-history { display: grid; gap: 8px; margin-top: 18px; }
.customer-history p { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; margin: 0; padding: 10px 10px 10px 24px; border-left: 1px solid #dcbf91; }
.customer-history b { position: absolute; left: -5px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.customer-history span { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.customer-history small { color: var(--muted); font-size: 11px; }
.checkout-steps {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.checkout-account {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: #fffaf2;
}
.checkout-account strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}
.checkout-account span {
    color: var(--muted);
    font-size: 14px;
}
.checkout-account-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.form-card {
    padding: 18px;
}
.form-card h3 {
    margin: 0 0 16px;
    font-size: 16px;
    text-transform: uppercase;
}
.form-card input, .form-card textarea, .form-card select, .panel input, .panel textarea, .panel select {
    width: 100%;
    height: 40px;
    border: 1px solid var(--line);
    margin: 0 0 12px;
    padding: 0 12px;
}
.form-card textarea {
    min-height: 92px;
    padding-top: 10px;
}
.radio-line {
    display: block;
    border: 1px solid var(--line);
    padding: 13px;
    margin-bottom: 10px;
}
.product-detail { grid-template-columns: .95fr 1.05fr; align-items: start; }
.product-detail img {
    width: 100%;
    background: var(--soft);
    border: 1px solid var(--line);
}
.product-copy h1 {
    font-size: 34px;
    margin: 0 0 16px;
}
.product-copy p {
    color: var(--muted);
    line-height: 1.7;
}
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.detail-actions .btn {
    min-width: 150px;
    min-height: 48px;
    font-size: 13px;
}
.detail-buy:before {
    content: "+";
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff28;
    font-size: 16px;
    line-height: 1;
}
.footer {
    background: #141414;
    color: #fff;
    padding: 48px 24px;
}
.footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
}
.footer h3 {
    color: #d6a55a;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 5px;
}
.footer p, .footer a { color: #d4d1cc; line-height: 1.7; }
.brand-signature { margin: 0 0 14px; font-size: 34px; line-height: 1; letter-spacing: 1px !important; text-transform: none; }
.brand-signature span { display: block; margin-top: 9px; color: #f0d39d; font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-style: italic; letter-spacing: 4px; text-transform: uppercase; }
.footer-social-row { display: flex !important; justify-content: flex-end; margin-top: 28px !important; padding-top: 22px; border-top: 1px solid #ffffff1f; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #d6a55a88; border-radius: 50%; color: #f0d39d; transition: transform .18s ease, background .18s ease; }
.social-links a:hover { background: #d6a55a; color: #141414; transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-links a[aria-label="Facebook"] svg, .social-links a[aria-label="TikTok"] svg { fill: currentColor; stroke: none; }
.video-showcase { padding-top: 54px; padding-bottom: 54px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px #0000000d; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; object-fit: contain; }
.video-card div { padding: 15px 17px 18px; }
.video-card span { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.video-card h3 { margin: 6px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; }
.whats {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    background: #21bf5b;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    z-index: 30;
    box-shadow: 0 10px 24px #0002;
}
.admin-body { background: #f7f8fa; }
.admin-menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.admin-shell { display: grid; grid-template-columns: 276px 1fr; min-height: 100vh; background: #f7f8fa; }
.adminbar { background: linear-gradient(180deg, #0d1b29, #10283a); color: #fff; padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid #1f394d; }
.admin-logo { display: block; text-align: center; color: #d3a44f; font-family: Georgia, "Times New Roman", serif; font-size: 28px; letter-spacing: 7px; line-height: .9; margin: 0 0 28px; }
.admin-logo span { display: block; font-family: Arial, Helvetica, sans-serif; font-size: 10px; letter-spacing: 6px; margin-top: 8px; }
.admin-logo img { max-width: 230px; max-height: 115px; object-fit: contain; display: block; margin: 0 auto; filter: drop-shadow(0 4px 10px #0004); }
.admin-user-card { display: flex; align-items: center; gap: 14px; padding: 0 6px 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #d9e9ff, #7da9d7); color: #fff; font-weight: 800; box-shadow: inset 0 0 0 4px #ffffff55; }
.avatar.small { width: 38px; height: 38px; }
.admin-user-card strong, .admin-top-user strong { display: block; font-size: 15px; }
.admin-user-card span, .admin-top-user span { display: block; color: #b8c5d2; font-size: 13px; margin-top: 4px; }
.admin-nav { display: grid; gap: 3px; }
.admin-nav p { color: #91a0ad; font-size: 11px; font-weight: 800; letter-spacing: .8px; margin: 18px 10px 7px; text-transform: uppercase; }
.admin-link {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 14px;
    align-items: center;
    min-height: 38px;
    color: #dce8f2;
    padding: 9px 12px 9px 16px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}
.admin-link:before {
    content: "";
    position: absolute;
    left: 6px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 99px;
    background: transparent;
}
.admin-link i {
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: .45;
    transform: rotate(45deg);
    justify-self: end;
}
.admin-link:hover {
    background: #183247;
    border-color: #24445c;
    color: #fff;
}
.admin-link.active {
    background: linear-gradient(180deg, #d8a449, #be7d20);
    border-color: #e0b15c;
    color: #fff;
    box-shadow: 0 12px 26px #0000002b;
}
.admin-link.active:before {
    background: #fff4d8;
}
.admin-link.active i,
.admin-link:hover i {
    opacity: .9;
}
.admin-main { min-width: 0; padding: 0 28px 26px; }
.admin-top { height: 70px; margin: 0 -28px 26px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e7eaf0; box-shadow: 0 2px 12px #00000008; }
.admin-menu-btn { border: 0; background: none; font-size: 13px; cursor: pointer; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 6px; color: #263544; font-weight: 800; text-transform: uppercase; }
.admin-menu-btn:before { content: ""; width: 18px; height: 2px; margin-right: 8px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.admin-top-actions { display: flex; align-items: center; gap: 16px; }
.admin-top-user { display: flex; align-items: center; gap: 12px; }
.admin-top-user span b { display: inline-block; width: 8px; height: 8px; background: #19a65a; border-radius: 50%; margin-right: 6px; }
.admin-logout-btn, .admin-user-logout { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 13px; border: 1px solid #dfe4ea; border-radius: 6px; color: #405060; background: #fff; font-size: 13px; font-weight: 700; }
.admin-logout-btn:hover, .admin-user-logout:hover { color: #fff; background: #d64545; border-color: #d64545; }
.admin-user-logout { height: 28px; margin-top: 9px; color: #d7e0ea; background: #172b3c; border-color: #294358; }
.admin-page-head { display: flex; align-items: start; justify-content: space-between; margin-bottom: 22px; }
.admin-page-head h1 { margin: 0 0 10px; font-size: 27px; }
.breadcrumb { color: #555; font-size: 14px; }
.date-filter { height: 50px; padding: 0 20px; background: #fff; border: 1px solid #dfe3e8; border-radius: 7px; color: #222; }
.admin-stats { display: grid; gap: 22px; margin-bottom: 24px; }
.admin-stats.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat-card { position: relative; min-height: 138px; padding: 24px; border: 1px solid #e3e7ed; border-radius: 7px; background: #fff; box-shadow: 0 8px 20px #00000008; overflow: hidden; }
.stat-card small { display: block; font-size: 13px; color: #1c2b3a; margin-bottom: 14px; }
.stat-card strong { display: block; font-size: 25px; margin-bottom: 18px; }
.stat-card a { font-size: 13px; color: #0059b8; }
.stat-card > span { position: absolute; right: 24px; top: 40px; color: currentColor; font-size: 46px; opacity: .85; }
.stat-card.gold { background: #fff8ec; color: #a56a1b; }
.stat-card.green { background: #f0fbf0; color: #1f9e55; }
.stat-card.blue { background: #f0f8ff; color: #1769d1; }
.stat-card.purple { background: #fbf5ff; color: #7f51c4; }
.stat-card.yellow { background: #fff8dc; color: #c98400; }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.35fr .76fr .78fr; gap: 22px; }
.dash-panel { background: #fff; border: 1px solid #e1e5eb; border-radius: 8px; padding: 24px; box-shadow: 0 8px 22px #00000008; min-width: 0; }
.dash-panel h2 { margin: 0 0 22px; font-size: 18px; }
.sales-panel, .orders-panel { grid-column: span 1; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.panel-head h2 { margin: 0; }
.panel-head select { height: 40px; border: 1px solid #dfe3e8; border-radius: 6px; padding: 0 12px; background: #fff; }
.donut-wrap { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 24px; }
.donut { width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(#fb8500 0 25%, #35a962 25% 70%, #1d71c9 70% 90%, #9068d8 90%); position: relative; }
.donut:after { content: ""; position: absolute; inset: 45px; background: #fff; border-radius: 50%; }
.status-list { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.status-list li { margin: 0 0 14px; }
.status-list b { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.orange { background: #fb8500; } .green-dot { background: #35a962; } .blue-dot { background: #1d71c9; } .purple-dot { background: #9068d8; }
.status-list span { color: #6c7480; }
.finance-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf0f3; }
.finance-row i { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; font-style: normal; }
.finance-row .ok { background: #e8f8ed; color: #219653; } .finance-row .bad { background: #ffecec; color: #e54848; } .finance-row .info { background: #eaf4ff; color: #1769d1; }
.finance-row.total { border-bottom: 0; }
.finance-row.total strong { color: #199451; font-size: 20px; }
.pill { display: inline-block; background: #e8f8ed; color: #19864a; padding: 7px 12px; border-radius: 6px; font-size: 12px; }
.view-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid #dfe3e8; border-radius: 6px; }
.admin-wide-btn { display: block; text-align: center; margin-top: 22px; padding: 13px; background: #fbf0df; border: 1px solid #ead5b7; color: #9a5b11; border-radius: 6px; }
.top-products > div { display: grid; grid-template-columns: 24px 58px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.top-products img { width: 58px; height: 58px; object-fit: cover; background: #f4eadf; border-radius: 5px; }
.top-products span { font-size: 14px; }
.top-products small { display: block; color: #7a7f87; margin-top: 4px; }
.timeline { border-left: 2px solid #d8e1ea; margin-left: 10px; padding-left: 18px; }
.timeline p { position: relative; margin: 0 0 21px; font-size: 14px; }
.timeline p b { position: absolute; left: -26px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #32a36a; box-shadow: 0 0 0 4px #e9f8f0; }
.timeline p:first-child b { background: #1769d1; box-shadow: 0 0 0 4px #eaf4ff; }
.timeline span { display: block; color: #7a7f87; margin-top: 5px; font-size: 12px; }
.admin-footer { display: flex; justify-content: space-between; color: #555; font-size: 12px; margin-top: 26px; padding: 10px 0; }
.admin-list-page { background: #fff; border: 1px solid #e1e5eb; border-radius: 8px; padding: 22px; box-shadow: 0 8px 22px #00000008; overflow-x: auto; }
.bulk-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding: 12px 14px; background: #f8fafc; border: 1px solid #e4e9ef; border-radius: 8px; }
.client-bulk-actions {
    padding: 14px 16px;
}
.bulk-action-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.selection-count {
    color: #263544;
    font-size: 14px;
    font-weight: 700;
}
.selection-count b {
    color: var(--danger);
}
.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.check-line { display: inline-flex; align-items: center; gap: 8px; color: #2d3742; font-size: 14px; font-weight: 700; }
.check-line input, .order-check { width: 16px; height: 16px; accent-color: var(--danger); }
.admin-form-row { display: flex; gap: 12px; margin-bottom: 18px; }
.admin-form-row input { max-width: 360px; }
.actions-cell { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.actions-cell form { margin: 0; }
.products-table {
    min-width: 1400px;
    table-layout: fixed;
}
.products-table th,
.products-table td {
    overflow-wrap: normal;
}
.products-table .col-check { width: 46px; text-align: center; }
.products-table .col-id { width: 62px; text-align: center; white-space: nowrap; }
.products-table .col-image { width: 86px; }
.products-table .col-product { width: 220px; }
.products-table .col-category {
    width: 340px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}
.products-table .col-price { width: 120px; padding-left: 20px; white-space: nowrap; }
.products-table .col-stock { width: 88px; text-align: center; white-space: nowrap; }
.products-table .col-status { width: 100px; text-align: center; }
.products-table .col-actions { width: 286px; }
.products-table th.col-actions,
.products-table td.col-actions {
    position: sticky;
    right: 0;
    z-index: 3;
    background: #fff;
    box-shadow: -10px 0 16px #26354412;
}
.products-table th.col-actions {
    z-index: 4;
    background: #fafafa;
}
.products-table tr:hover td.col-actions { background: #fffaf3; }
.products-table .status {
    min-width: 72px;
    text-align: center;
}
.products-table .actions-cell {
    justify-content: flex-start;
}
.products-new-btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 11px;
}
.products-bulk-actions {
    padding: 9px 11px;
}
.products-bulk-actions .btn {
    min-height: 34px;
    padding: 0 13px;
    font-size: 10px;
}
.products-table .actions-cell {
    gap: 6px;
}
.products-table .actions-cell .btn {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 10px;
}
.clients-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
}
.clients-table th,
.clients-table td {
    overflow-wrap: normal;
    padding-left: 8px;
    padding-right: 8px;
}
.clients-table .col-check { width: 36px; text-align: center; }
.clients-table .col-client { width: 15%; font-weight: 700; }
.clients-table .col-doc { width: 116px; white-space: nowrap; }
.clients-table .col-email { width: 15%; white-space: normal; overflow-wrap: anywhere; }
.clients-table .col-phone { width: 108px; white-space: nowrap; }
.clients-table .col-orders { width: 62px; text-align: center; }
.clients-table .col-total { width: 100px; white-space: nowrap; }
.clients-table .col-origin { width: 82px; }
.clients-table .col-actions { width: 184px; }
.clients-table .pill {
    min-width: 70px;
    text-align: center;
    white-space: nowrap;
}
.clients-table .actions-cell {
    justify-content: flex-start;
    gap: 4px;
}
.clients-table .actions-cell .btn {
    min-height: 34px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 10px;
}
.orders-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
}
.orders-table th,
.orders-table td { padding-left: 8px; padding-right: 8px; }
.orders-table .col-check { width: 38px; text-align: center; }
.orders-table .col-id { width: 48px; text-align: center; }
.orders-table .col-customer { width: 16%; line-height: 1.3; }
.orders-table .col-customer small { overflow-wrap: anywhere; }
.orders-table .col-total { width: 92px; white-space: nowrap; }
.orders-table .col-status { width: 250px; }
.orders-table .col-payment { width: 88px; }
.orders-table .col-date { width: 132px; white-space: nowrap; }
.orders-table .col-actions { width: 66px; text-align: center; }
.orders-table .status-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
}
.orders-table .status-form select { min-width: 0; width: 100%; }
.orders-table .status-form .btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
}
.orders-table .col-actions .btn {
    min-width: 48px;
    min-height: 36px;
    padding: 0 10px;
    white-space: nowrap;
}
.admin-users-table { min-width: 980px; }
.orders-table td:nth-child(2),
.orders-table td:nth-child(4),
.orders-table td:nth-child(7),
.admin-users-table td:nth-child(2),
.admin-users-table td:nth-child(5) {
    white-space: nowrap;
}
.bulk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.settings-form { box-shadow: none; border: 0; max-width: 1040px; }
.client-form { max-width: none; }
.admin-only-note {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #ead5a8;
    border-radius: 6px;
    background: #fff8e8;
    color: #87530c;
    font-size: 13px;
    font-weight: 700;
}
.client-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 22px;
}
.client-form-grid label {
    display: grid;
    gap: 7px;
    color: #243242;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}
.client-form-grid label small {
    color: #8b95a1;
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
}
.client-form-grid input,
.client-form-grid textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #d8dee7;
    border-radius: 6px;
    background: #fff;
    color: #1d2733;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
}
.client-form-grid input {
    height: 42px;
    padding: 0 12px;
}
.client-form-grid textarea {
    min-height: 96px;
    padding: 11px 12px;
    resize: vertical;
}
.client-notes {
    grid-column: 1 / -1;
}
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.btn.outline {
    background: #fff;
    color: #7a4d12;
    border: 1px solid #d6a55a;
    box-shadow: 0 8px 16px #7a4d1214;
}
.btn.outline:hover {
    background: #fff8ed;
    color: #5d390b;
}
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 24px; align-items: start; }
.video-admin-help h2, .video-admin-list h2 { margin-top: 0; }
.video-upload-form { max-width: none; }
.video-upload-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0; }
.admin-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-video-grid article { padding: 14px; border: 1px solid #dfe5ec; border-radius: 8px; background: #f9fbfd; }
.admin-video-grid video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #111; border-radius: 6px; }
.admin-video-grid h3 { margin: 12px 0 5px; }
.admin-video-grid p { min-height: 38px; color: #65717e; font-size: 12px; line-height: 1.5; }
.settings-grid h3, .settings-maintenance h3, .payment-box h3 { margin: 0 0 14px; text-transform: uppercase; font-size: 15px; }
.settings-logo-preview { width: 220px; max-height: 130px; object-fit: contain; display: block; margin: 0 0 14px; background: #faf7f2; border: 1px solid var(--line); padding: 10px; }
.settings-maintenance { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.settings-maintenance textarea { min-height: 92px; }
.admin-help { color: #697380; font-size: 13px; line-height: 1.5; margin: 6px 0 0; }
.payments-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.payment-box { border: 1px solid var(--line); padding: 16px; background: #fffdf9; }
.payment-instructions { display: inline-block; margin: 8px 0 18px; padding: 14px 18px; background: #fff8e8; border: 1px solid #ead5a8; color: #87530c; font-weight: 700; }
.thankyou-card { max-width: 760px; margin: 0 auto; }
.maintenance-body { min-height: 100vh; background: linear-gradient(135deg, #fffaf3, #f2dfbd); display: grid; place-items: center; }
.maintenance-page { width: min(620px, calc(100vw - 32px)); text-align: center; padding: 56px 28px; background: #fff; border: 1px solid #eadbc2; box-shadow: 0 24px 70px #7a4c1820; }
.maintenance-lock { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #1e1e1e; color: #fff; font-size: 34px; }
.maintenance-logo { max-width: 300px; max-height: 140px; object-fit: contain; margin-bottom: 20px; }
.maintenance-page h1 { margin: 0 0 12px; text-transform: uppercase; letter-spacing: 1px; }
.maintenance-page p { margin: 0 auto; max-width: 460px; color: var(--muted); line-height: 1.7; }
.empty-state { color: #697380; background: #f8fafc; border: 1px dashed #d8e0e8; border-radius: 8px; padding: 28px; text-align: center; }
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.admin-list-page table {
    min-width: 920px;
}
th, td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
}
.admin-list-page td {
    overflow-wrap: anywhere;
}
.admin-list-page .clients-table th,
.admin-list-page .clients-table td,
.admin-list-page .products-table th,
.admin-list-page .products-table td {
    overflow-wrap: normal;
    word-break: normal;
}
.admin-list-page .clients-table .col-client {
    white-space: normal;
    line-height: 1.35;
}
.admin-list-page .clients-table .col-doc,
.admin-list-page .clients-table .col-phone,
.admin-list-page .clients-table .col-total,
.admin-list-page .clients-table .col-origin,
.admin-list-page .clients-table .col-actions,
.admin-list-page .products-table .col-id,
.admin-list-page .products-table .col-price,
.admin-list-page .products-table .col-stock,
.admin-list-page .products-table .col-status,
.admin-list-page .products-table .col-actions {
    white-space: nowrap;
}
th {
    background: #fafafa;
    color: #555;
    text-transform: uppercase;
    font-size: 11px;
}
.table-img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    background: var(--soft);
}
.status {
    color: var(--green);
    background: #e7f7ed;
    padding: 5px 9px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
}
.btn.small {
    height: 32px;
    padding: 0 11px;
    min-width: 0;
    display: inline-grid;
    place-items: center;
}
.btn.blue { background: var(--blue); }
.btn.red { background: var(--danger); }
@media (max-width: 980px) {
    .header { position: relative; }
    .header-main { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
    .logo img { max-width: 250px; max-height: 125px; }
    .header-actions { justify-content: center; gap: 18px; }
    .catbar { padding: 0 16px 12px; }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 44px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: #171717;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        cursor: pointer;
    }
    .mobile-menu-btn span,
    .mobile-menu-btn span:before,
    .mobile-menu-btn span:after {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--gold);
        content: "";
    }
    .mobile-menu-btn span { position: relative; }
    .mobile-menu-btn span:before { position: absolute; top: -6px; }
    .mobile-menu-btn span:after { position: absolute; top: 6px; }
    .nav-inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin-top: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        font-size: 13px;
        transition: max-height .22s ease;
    }
    .menu-toggle:checked ~ .nav-inner { max-height: 900px; }
    .nav-inner > a, .category-menu-btn {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 16px;
        border-bottom: 1px solid var(--line);
    }
    .nav-inner > a:last-child { border-bottom: 0; }
    .nav-dropdown { display: block; min-height: 0; position: relative; }
    .nav-dropdown:after { display: none; }
    .category-menu-btn { justify-content: space-between; }
    .category-menu-btn:after { margin-left: auto; }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        width: auto;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: max-height .22s ease;
        background: #fffaf3;
    }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu { transform: none; }
    .category-toggle:checked ~ .nav-dropdown-menu { max-height: 620px; border-bottom: 1px solid var(--line); }
    .nav-dropdown-menu a {
        min-height: 42px;
        border-radius: 0;
        border: 0;
        border-top: 1px solid #f0dfc5;
        padding: 10px 22px;
    }
    .hero-slide img { object-position: 62% center; }
    .hero-slide:after { background: linear-gradient(90deg, #fff9 0%, #fff8 54%, transparent); }
    .benefits .container, .grid, .form-grid, .metric-grid, .video-grid, .admin-video-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 18px; }
    .cart-layout, .checkout-layout, .product-detail { grid-template-columns: 1fr; }
    .admin-shell { display: block; min-height: 100vh; }
    .adminbar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(310px, 86vw);
        height: 100vh;
        transform: translateX(calc(-100% - 24px));
        visibility: hidden;
        pointer-events: none;
        transition: transform .2s ease;
        z-index: 120;
        box-shadow: 18px 0 42px #00000030;
    }
    .admin-menu-toggle:checked ~ .adminbar { transform: translateX(0); visibility: visible; pointer-events: auto; }
    .admin-main { padding: 0 16px 22px; }
    .admin-top {
        position: sticky;
        top: 0;
        z-index: 90;
        height: auto;
        min-height: 62px;
        margin: 0 -16px 18px;
        padding: 10px 16px;
        gap: 10px;
    }
    .admin-top-actions { gap: 10px; }
    .admin-top-user { display: none; }
    .admin-page-head { display: grid; gap: 12px; margin-bottom: 16px; }
    .admin-page-head h1 { font-size: 24px; }
    .date-filter { width: 100%; height: 44px; padding: 0 12px; }
    .admin-stats.five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .stat-card { min-height: 118px; padding: 18px; }
    .stat-card > span { right: 16px; top: 32px; font-size: 38px; }
    .admin-dashboard-grid { grid-template-columns: 1fr; gap: 14px; }
    .dash-panel { padding: 18px; overflow-x: auto; }
    .donut-wrap { grid-template-columns: 1fr; justify-items: center; text-align: left; }
    .admin-list-page { padding: 14px; overflow-x: auto; }
    .admin-body table { min-width: 760px; }
    .client-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .settings-form { max-width: none; }
    .settings-grid, .payments-grid { grid-template-columns: 1fr; }
    .admin-form-row { display: grid; grid-template-columns: 1fr; }
    .admin-form-row input { max-width: none; }
    .bulk-actions { align-items: stretch; }
    .client-bulk-actions { display: grid; }
    .bulk-action-tools { display: grid; justify-content: stretch; }
    .bulk-actions .btn { width: 100%; }
    .admin-footer { display: grid; gap: 8px; text-align: center; }
}
@media (max-width: 640px) {
    .topbar { text-align: center; padding: 7px 12px; font-size: 11px; }
    .topbar-inner { display: flex; align-items: center; justify-content: center; padding: 0; }
    .topbar-links { display: none; }
    .logo { font-size: 34px; }
    .logo img { max-width: 160px; max-height: 92px; }
    .header-main { max-width: 100vw; overflow: visible; padding: 11px 14px 10px; gap: 10px; }
    .header-main .search { max-width: none; width: 100%; justify-self: stretch; }
    .search input { height: 40px; padding-left: 12px; font-size: 13px; }
    .search button { height: 40px; }
    .header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        justify-content: stretch;
        gap: 8px;
        width: 100%;
        padding-top: 0;
        border-top: 0;
    }
    .action { justify-content: center; gap: 7px; min-height: 42px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px; background: #fffdf9; }
    .action b { font-size: 12px; }
    .action span { font-size: 11px; }
    .icon { width: 20px; height: 20px; font-size: 18px; }
    .cart-badge { min-width: 16px; height: 16px; font-size: 10px; margin-left: -6px; margin-top: -12px; }
    .catbar { padding: 0 14px 10px; }
    .mobile-menu-btn { min-height: 42px; border-radius: 6px; }
    .nav-inner { font-size: 12px; margin-top: 8px; border-radius: 6px; }
    .search input { background: linear-gradient(to right, #fff 0 calc(100vw - 88px), var(--gold) calc(100vw - 88px) calc(100vw - 36px)); }
    .search button { width: 48px; padding: 0; right: auto; left: calc(100vw - 66px); }
    .search-suggestions { top: calc(100% + 6px); }
    .search-suggestion { grid-template-columns: 44px 1fr; }
    .search-suggestion img { width: 44px; height: 44px; }
    .search-suggestion strong { grid-column: 2; }
    .hero { min-height: 0; height: clamp(360px, 112vw, 460px); }
    .hero-slider, .hero-slide { height: 100%; }
    .hero-slide img { object-position: center center; }
    .hero-slide:after { background: linear-gradient(90deg, #fff7edee 0%, #fff7edcc 56%, #fff7ed44 100%); }
    .hero .container { min-height: 100%; height: 100%; padding: 34px 18px 44px; align-items: center; }
    .hero-copy { width: min(82vw, 330px); max-width: none; }
    .eyebrow { font-size: clamp(20px, 7vw, 30px); }
    .hero h1 { font-size: clamp(34px, 11vw, 48px); letter-spacing: clamp(3px, 1.4vw, 7px); }
    .hero p { font-size: clamp(14px, 4vw, 17px); max-width: 300px; line-height: 1.55; }
    .hero .btn { height: 38px; padding: 0 16px; font-size: 11px; }
    .hero-dots { bottom: 14px; transform: translateX(-50%); }
    .benefits .container, .grid, .form-grid, .metric-grid, .footer .container, .video-grid, .admin-video-grid, .video-upload-form .form-grid { grid-template-columns: 1fr; }
    .contact-info, .contact-card { padding: 20px; }
    .contact-fields { grid-template-columns: 1fr; gap: 12px; }
    .contact-form .btn { width: 100%; min-width: 0; }
    .account-dashboard, .customer-shell { grid-template-columns: 1fr; }
    .account-head { display: grid; }
    .customer-sidebar { position: static; }
    .customer-nav { grid-template-columns: repeat(2, 1fr); }
    .customer-metrics, .customer-summary, .order-detail-grid, .protected-data, .customer-form, .password-form, .customer-payment { grid-template-columns: 1fr; }
    .customer-form .wide, .protected-data p { grid-column: auto; }
    .customer-orders article { grid-template-columns: 1fr 1fr; }
    .customer-order-actions { grid-column: 1 / -1; }
    .customer-orders article .btn { width: 100%; text-align: center; }
    .customer-title { align-items: stretch; flex-direction: column; }
    .customer-title .btn { width: 100%; text-align: center; }
    .checkout-account { display: grid; gap: 12px; }
    .checkout-account-actions { justify-content: stretch; }
    .checkout-account-actions .btn { flex: 1; }
    .settings-grid, .payments-grid { grid-template-columns: 1fr; }
    .benefit { border-right: 0; border-bottom: 1px solid var(--line); }
    .footer-social-row { justify-content: center; }
    .cart-item { grid-template-columns: 78px 1fr; }
    .cart-item > strong { grid-column: 2; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-main { padding: 0 12px 20px; }
    .admin-top { margin: 0 -12px 16px; padding: 9px 12px; }
    .admin-menu-btn, .admin-logout-btn { height: 36px; padding: 0 11px; font-size: 12px; }
    .admin-stats.five { grid-template-columns: 1fr; }
    .stat-card { min-height: 104px; padding: 16px; }
    .stat-card strong { font-size: 22px; margin-bottom: 12px; }
    .dash-panel { padding: 14px; }
    .panel-head { display: grid; gap: 10px; align-items: start; }
    .panel-head select { width: 100%; }
    .admin-list-page { padding: 12px; border-radius: 6px; }
    .admin-body table { min-width: 680px; }
    .client-form-grid { grid-template-columns: 1fr; }
    .form-actions { display: grid; grid-template-columns: 1fr; }
    .form-actions .btn { width: 100%; }
    th, td { padding: 11px; font-size: 13px; }
    .top-products > div { grid-template-columns: 22px 46px 1fr; }
    .top-products strong { grid-column: 3; }
    .top-products img { width: 46px; height: 46px; }
    .whats { width: 48px; height: 48px; left: 18px; bottom: 18px; }
}
@media (max-width: 380px) {
    .logo img { max-width: 142px; max-height: 82px; }
    .header-main { padding-left: 12px; padding-right: 12px; }
    .catbar { padding-left: 12px; padding-right: 12px; }
    .action { min-height: 40px; padding: 6px; }
    .action b { font-size: 11px; }
    .action span { font-size: 10px; }
    .hero { height: clamp(350px, 118vw, 430px); }
    .hero .container { padding-left: 16px; padding-right: 16px; }
    .hero-copy { width: min(86vw, 300px); }
    .adminbar { width: min(292px, 88vw); }
    .admin-body table { min-width: 620px; }
    .admin-logo img { max-width: 190px; max-height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-dots span { animation: none; }
    .hero-slide:first-child { opacity: 1; }
    .hero-dots span:first-child { background: #202020; opacity: 1; transform: scale(1.12); }
}
