:root {
    --gold: #d4af37;
    --dark: #121212;
    --muted: #6d6d6d;
    --bg-light: #f7f7f7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Jost", sans-serif;
    color: #222;
    background: #fff;
    padding-top: 128px;
}

h1, h2, h3, h4, h5 {
    font-family: "Cormorant", serif;
}

.brand-logo-text {
    font-family: "Cormorant", serif;
    font-size: 2.15rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.brand-wrap {
    display: grid;
    gap: 2px;
}

.brand-subtitle {
    font-size: .62rem;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #8f8a82;
    font-weight: 600;
}

.top-contact-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1051;
    background: #111;
    color: #f2f2f2;
    font-size: .82rem;
    border-bottom: 1px solid #242424;
}

.top-contact-bar a {
    color: var(--gold);
    text-decoration: none;
}

.top-contact-phone {
    white-space: nowrap;
}

main {
    position: relative;
    z-index: 1;
}

/* Floating offer codes — all public pages (footer include) */
.offers-float-wrap {
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    z-index: 1080;
    font-family: "Jost", sans-serif;
}

.offers-float {
    margin: 0;
}

.offers-float-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, #1c1c1c, #2e2a24);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(212, 175, 55, 0.55);
    user-select: none;
}

.offers-float-summary::-webkit-details-marker {
    display: none;
}

.offers-float-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1508;
    font-weight: 800;
    font-size: 0.85rem;
}

.offers-float-title {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.offers-float-badge {
    margin-left: auto;
    background: rgba(212, 175, 55, 0.25);
    color: #ffe9a8;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0 6px;
}

.offers-float[open] .offers-float-summary {
    border-radius: 14px 14px 0 0;
    box-shadow: none;
}

.offers-float-panel {
    background: #fffdf9;
    border: 1px solid #e8dfd0;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    padding: 12px 14px 14px;
    width: min(300px, calc(100vw - 28px));
    max-height: min(52vh, 400px);
    overflow-y: auto;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.offers-float-hint {
    color: #5c5348;
}

.offers-float-hint a {
    color: #6b5420;
    font-weight: 600;
}

.offers-float-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee6d8;
}

.offers-float-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.offers-float-code-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #7a6b58;
    margin-bottom: 4px;
}

.offers-float-code {
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #1a1508;
}

.offers-float-note {
    color: #4a4338;
    margin-top: 4px;
}

.offers-float-offer {
    color: #6b5a48;
    margin-top: 4px;
}

.offers-float-time {
    margin-top: 6px;
    color: #8a4a1c;
    line-height: 1.35;
}

.offers-float-time-label {
    font-weight: 600;
    color: #5c3d18;
}

.public-coupons-box-list .public-coupons-box-item:last-child {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.public-coupon-label {
    font-weight: 600;
    letter-spacing: 0.06em;
}

.public-coupon-code-pill {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff9e6 0%, #f5e6bc 100%);
    border: 2px dashed #c9a227;
    color: #1a1508;
}

.public-coupon-timing {
    color: #7a4a18;
}

.booksaw-instagram-cta {
    background: linear-gradient(180deg, #faf7f2 0%, #fff 100%);
}

.site-header {
    top: 30px;
}

.main-nav-shell {
    border-radius: 0;
    min-height: 84px;
}

.nav-wide {
    padding-inline: clamp(16px, 4vw, 64px);
}

.navbar .nav-link {
    color: #222;
    font-size: .95rem;
    letter-spacing: .3px;
}

.navbar-toggler {
    width: 46px;
    height: 46px;
    border: 1px solid #d8d8d8 !important;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    padding: 0 !important;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--gold) !important;
}

.navbar-toggler-icon {
    width: 20px;
    height: 14px;
    background-image: linear-gradient(#222, #222), linear-gradient(#222, #222), linear-gradient(#222, #222) !important;
    background-size: 20px 2px, 20px 2px, 20px 2px;
    background-position: 0 0, 0 6px, 0 12px;
    background-repeat: no-repeat;
}

.nav-pill {
    border-radius: 999px;
    padding: 9px 14px !important;
    transition: .2s ease;
}

.navbar .nav-link.nav-pill:hover {
    background: #f8f4ec;
    color: #222;
}

.navbar .nav-link.nav-pill.active {
    background: #fff6df;
    color: var(--gold);
    border: 1px solid #f0dfae;
}

.header-actions .btn {
    border-radius: 999px;
    padding-inline: 16px;
    padding-block: 7px;
    min-width: 88px;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:hover {
    background: #fff6df;
    color: #8a6a06;
}

.hero-banner {
    min-height: 68vh;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55));
}

.hero-content {
    position: relative;
    max-width: 760px;
    padding: 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-content p {
    color: #f4e6ca;
    font-size: 1.18rem;
}

.booksaw-hero {
    background: linear-gradient(145deg, #f7f0e2 0%, #fff 50%, #efe5d4 100%);
}

.booksaw-kicker {
    display: inline-block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a6a06;
    font-weight: 600;
}

.booksaw-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

.booksaw-subtitle {
    color: #5b5b5b;
    font-size: 1.02rem;
}

.booksaw-page-hero {
    background: linear-gradient(145deg, #f7f0e2 0%, #fff 50%, #efe5d4 100%);
}

.booksaw-page-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.booksaw-page-hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.booksaw-breadcrumb-list {
    background: transparent;
    padding: 0;
    --bs-breadcrumb-divider-color: #9a8b78;
}

.booksaw-breadcrumb-list .breadcrumb-item a {
    color: #6b5a42;
    text-decoration: none;
}

.booksaw-breadcrumb-list .breadcrumb-item a:hover {
    text-decoration: underline;
}

.booksaw-breadcrumb-list .breadcrumb-item.active {
    color: #3d3529;
}

.booksaw-hero-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.booksaw-hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.booksaw-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.booksaw-strip > div {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    padding: 14px;
    text-align: center;
}

.booksaw-strip strong {
    display: block;
    font-size: 1.2rem;
}

.booksaw-strip span {
    color: #6d6d6d;
    font-size: .88rem;
}

.section-header.align-center {
    text-align: center;
    margin-bottom: 32px;
}

.section-lead {
    color: #5b5b5b;
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 40rem;
    margin: 0.65rem auto 0;
}

.booksaw-home-hero .booksaw-hero-text {
    max-width: 36rem;
}

.booksaw-home-hero .booksaw-subtitle {
    max-width: 36rem;
}

.booksaw-trust-row {
    padding-top: 0;
    padding-bottom: 36px;
}

.booksaw-trust-item {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    height: 100%;
    border: 1px solid #eee8dc;
}

.booksaw-trust-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.booksaw-trust-text {
    color: #5c5c5c;
    font-size: 0.95rem;
    line-height: 1.55;
}

.booksaw-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .09);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.booksaw-card-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    flex-shrink: 0;
}

.booksaw-card-content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.booksaw-card-title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.booksaw-card-desc {
    color: #555;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.booksaw-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.booksaw-card-price {
    font-family: "Cormorant", serif;
    font-size: 1.15rem;
    color: #2a2418;
}

.booksaw-best-copy {
    max-width: 38rem;
}

.booksaw-best-desc {
    line-height: 1.65;
    color: #454545;
    font-size: 1.02rem;
}

.booksaw-card-content h5,
.booksaw-card-content h6 {
    margin-bottom: 8px;
}

.booksaw-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.booksaw-tabs span {
    border: 1px solid #d9d3c6;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .84rem;
    color: #5f5747;
}

.booksaw-tabs span.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.booksaw-quote {
    max-width: 900px;
    margin-inline: auto;
}

.booksaw-quote p {
    font-size: clamp(1.2rem, 2.8vw, 2rem);
    font-family: "Cormorant", serif;
    margin-bottom: 10px;
}

.booksaw-quote footer {
    color: #6b6b6b;
}

/* Customer voice: centered spotlight + review cards */
.booksaw-customer-voice .section-header {
    margin-bottom: 2.25rem;
}

.booksaw-spotlight-quote {
    max-width: 760px;
    margin-bottom: 3rem;
    padding: 2.5rem 2rem 2.25rem;
    background: linear-gradient(180deg, #fff 0%, #fdfbf7 100%);
    border-radius: 20px;
    border: 1px solid #ebe2d4;
    box-shadow: 0 16px 48px rgba(45, 36, 20, 0.08);
    position: relative;
    text-align: center;
}

.booksaw-spotlight-mark {
    display: block;
    font-family: "Cormorant", Georgia, serif;
    font-size: clamp(3rem, 8vw, 4.25rem);
    line-height: 0.85;
    color: var(--gold);
    margin-bottom: 0.35rem;
    opacity: 0.9;
}

.booksaw-quote-centered {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
    max-width: 100%;
}

.booksaw-quote-centered .booksaw-quote-text {
    font-size: clamp(1.25rem, 2.6vw, 1.85rem);
    font-family: "Cormorant", serif;
    line-height: 1.45;
    color: #2a2418;
    margin: 0 auto 1.25rem;
    max-width: 36rem;
    text-align: center;
    font-weight: 500;
}

.booksaw-quote-attribution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    color: #6b5a48;
    font-style: normal;
    font-family: "Jost", sans-serif;
}

.booksaw-quote-line {
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.booksaw-reviews-row {
    margin-top: 0.5rem;
}

.booksaw-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.35rem 1.4rem;
    height: 100%;
    border: 1px solid #ece6dc;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booksaw-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.booksaw-stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 0.85rem;
    text-align: center;
}

.booksaw-review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #454545;
    margin: 0 0 1.15rem;
    text-align: center;
}

.booksaw-review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.25rem;
    border-top: 1px solid #f0ebe3;
}

.booksaw-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f7efd8, #e8dcc4);
    color: #5c4a2e;
    font-size: 0.8rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.booksaw-review-author strong {
    display: block;
    font-size: 0.92rem;
    color: #1a1a1a;
}

.booksaw-review-meta {
    display: block;
    font-size: 0.8rem;
    color: #8a7a68;
    margin-top: 2px;
}

.item-price .prev-price {
    text-decoration: line-through;
    margin-right: 6px;
    color: #8a8a8a;
}

.booksaw-post {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    padding: 20px;
    height: 100%;
}

.section-wrap {
    padding: 70px 0;
}

.bg-soft {
    background: var(--bg-light);
}

.title-block {
    text-align: center;
    margin-bottom: 36px;
}

.title-block h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 10px;
}

.gold-text {
    color: var(--gold);
}

.icon-feature {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    height: 100%;
}

.icon-feature .icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    margin-bottom: 14px;
    color: var(--gold);
}

.split-image {
    border-radius: 14px;
    width: 100%;
    object-fit: cover;
    min-height: 300px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .1);
}

.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .09);
    transition: .25s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: 16px;
}

.price {
    color: #555;
    font-weight: 600;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #7a6a4f;
    font-size: .82rem;
}

.product-meta span {
    background: #f7f0e0;
    border-radius: 999px;
    padding: 4px 10px;
}

.badge-gold {
    background: var(--gold);
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    display: inline-block;
    font-size: .85rem;
    letter-spacing: .5px;
}

.contact-block, .form-block {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.gold-btn {
    background: var(--gold);
    border: 0;
    color: #111;
    font-weight: 600;
}

.gold-btn:hover {
    background: #b8921f;
    color: #fff;
}

.dark-cta {
    background: linear-gradient(135deg, #0d0d0d, #2b2a28, #0d0d0d);
    color: #fff;
    text-align: center;
    border-radius: 16px;
    padding: 50px clamp(20px, 4vw, 48px);
    max-width: 960px;
    margin-inline: auto;
}

.dark-cta p {
    color: #f3e7cf;
}

.dark-cta-lead {
    max-width: 36rem;
    line-height: 1.65;
    font-size: 1.05rem;
}

.dark-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.dark-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

#footer {
    background: #111;
    color: #f2f2f2;
}

#footer .widget-title,
#footer .brand-foot {
    color: var(--gold);
}

#footer a {
    color: #e8e8e8;
    text-decoration: none;
}

#footer a:hover {
    color: var(--gold);
}

#footer-bottom {
    background: #0b0b0b;
    color: #ddd;
    text-align: center;
}

#footer-bottom .copyright p {
    letter-spacing: .4px;
    font-size: .95rem;
    color: #d9d9d9;
}

.breadcrumb-wrap {
    background: #fff;
    padding: 14px 0;
}

.breadcrumb a {
    color: var(--gold);
    font-weight: 600;
}

.faq-list details {
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    background: #fff;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
}

.cart-table .form-control {
    max-width: 90px;
}

.table-wrap {
    overflow-x: auto;
}

.actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thank-you-card {
    max-width: 560px;
    margin: 80px auto;
}

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f6f6f6;
    padding-top: 0;
}

.admin-body {
    padding-top: 0;
    background: #f6f7fb;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.auth-card {
    width: min(460px, 92%);
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.auth-card h1 {
    margin-bottom: 6px;
}

.auth-sub {
    color: #6f6f6f;
    margin-bottom: 18px;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    background: #f6f7fb;
}

.admin-menu-toggle,
.admin-sidebar-backdrop,
.admin-sidebar-close {
    display: none;
}

.admin-sidebar {
    background: #101218;
    color: #fff;
    padding: 22px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-brand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-brand-text {
    min-width: 0;
}

.admin-brand h3 {
    margin: 0;
    color: #fff;
}

.admin-brand small {
    color: #b4bdcf;
}

.admin-nav {
    margin-top: 20px;
    display: grid;
    gap: 8px;
}

.admin-nav a {
    color: #dfe5f1;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 500;
}

.admin-nav a:hover {
    background: #1d2533;
    color: #fff;
}

.admin-nav a.active {
    background: #2a364b;
    color: #fff;
    border-left: 3px solid var(--gold);
}

.admin-content {
    padding: 24px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Bootstrap .row negative margins extend past padded parents — avoids horizontal scroll on admin */
.admin-content .row {
    margin-left: 0;
    margin-right: 0;
}

.admin-content .table-responsive {
    max-width: 100%;
}

@media (max-width: 991px) {
    body:not(.admin-body) { padding-top: 82px; }
    .top-contact-bar { display: none; }
    .site-header { top: 0; }
    .brand-subtitle { display: none; }
    .main-nav-shell { border-radius: 0; }
    .hero-banner { min-height: 60vh; }
    .booksaw-hero-image img { height: 300px; }
    .booksaw-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-image { height: 220px; }
    .split-image { min-height: 220px; }
    .nav-wide {
        padding-inline: 12px;
        flex-wrap: wrap;
    }
    #mainNavbar {
        width: 100%;
        background: #fff;
        border-top: 1px solid #ececec;
        margin-top: 12px;
        padding: 8px 0 4px;
    }
    #mainNavbar .navbar-nav {
        width: 100%;
        gap: 4px;
    }
    #mainNavbar .nav-pill {
        border-radius: 10px;
        width: 100%;
        text-align: left;
        padding: 10px 12px !important;
    }
    .header-actions {
        width: 100%;
        justify-content: stretch !important;
    }
    .header-actions .btn {
        flex: 1;
    }
    .admin-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: max(12px, env(safe-area-inset-top, 0px));
        left: max(12px, env(safe-area-inset-left, 0px));
        z-index: 1050;
        width: 46px;
        height: 46px;
        padding: 0;
        border: none;
        border-radius: 12px;
        background: #101218;
        color: #fff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

    .admin-menu-toggle-bars,
    .admin-menu-toggle-bars::before,
    .admin-menu-toggle-bars::after {
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
        position: relative;
    }

    .admin-menu-toggle-bars::before,
    .admin-menu-toggle-bars::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .admin-menu-toggle-bars::before {
        top: -6px;
    }

    .admin-menu-toggle-bars::after {
        top: 6px;
    }

    .admin-layout.admin-sidebar-open .admin-menu-toggle-bars {
        background: transparent;
    }

    .admin-layout.admin-sidebar-open .admin-menu-toggle-bars::before {
        top: 0;
        transform: rotate(45deg);
    }

    .admin-layout.admin-sidebar-open .admin-menu-toggle-bars::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .admin-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1030;
        background: rgba(15, 18, 24, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .admin-sidebar-backdrop[hidden] {
        display: none !important;
    }

    .admin-layout.admin-sidebar-open .admin-sidebar-backdrop {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }

    .admin-sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        margin: -6px -6px 0 0;
        padding: 0;
        border: none;
        border-radius: 10px;
        background: #1d2533;
        color: #fff;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
    }

    .admin-sidebar-close:hover {
        background: #2a364b;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(288px, 88vw);
        height: 100vh;
        height: 100dvh;
        z-index: 1040;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
        border-bottom: none;
        border-right: 1px solid #222b3b;
    }

    .admin-layout.admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-nav {
        display: grid;
        gap: 8px;
    }

    .admin-nav a {
        white-space: normal;
    }

    .admin-content {
        padding: 12px;
        padding-top: 68px;
        padding-left: max(12px, calc(env(safe-area-inset-left, 0px) + 12px + 46px + 8px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
    }

    .admin-content .contact-block,
    .admin-content .form-block {
        padding: 16px 14px;
        border-radius: 12px;
    }

    .admin-content .icon-feature {
        padding: 18px 14px;
    }

    .admin-content .contact-block > .d-flex.justify-content-between {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

    .admin-content .contact-block > .d-flex.justify-content-between .btn {
        width: 100%;
    }

    body.admin-sidebar-active {
        overflow: hidden;
    }
}
