:root {
    --blue: #2563eb;
    --blue-dark: #1849b5;
    --ink: #17243b;
    --muted: #758096;
    --line: #e9edf4;
    --soft-blue: #eef4ff;
    --cream: #f9f8f5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.announcement-bar {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    color: #fff;
    background: #1d3768;
    text-align: center;
}

.announcement-bar p {
    margin: 0;
    font-size: 11px;
    letter-spacing: .035em;
}

.announcement-bar span {
    padding: 0 7px;
    color: #a9c5ff;
}

.site-header {
    position: relative;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid #f0f2f6;
}

.navbar {
    min-height: 82px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font: 800 23px/1 "Manrope", sans-serif;
    letter-spacing: -1.3px;
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--blue);
    font-size: 17px;
}

.brand-easy {
    color: var(--blue);
}

.brand small {
    margin-left: -3px;
    color: #f3a55d;
    font-size: 25px;
}

.navbar-nav {
    gap: 27px;
}

.navbar .nav-link {
    padding: 10px 0;
    color: #68748a;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.search-form {
    display: flex;
    align-items: center;
    width: 215px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #8791a3;
    background: #fafbfc;
}

.search-form i {
    font-size: 14px;
}

.search-form input {
    width: 100%;
    min-width: 0;
    padding: 0 0 0 9px;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-size: 11px;
}

.search-form input::placeholder {
    color: #9aa3b3;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #536078;
    font-size: 12px;
    font-weight: 600;
}

.header-link:hover {
    color: var(--blue);
}

.logout-form {
    display: inline-flex;
    margin: 0;
}

.logout-button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
}

.header-link > i,
.cart-icon-wrap > i {
    font-size: 17px;
}

.cart-icon-wrap {
    position: relative;
    display: inline-flex;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -9px;
    display: grid;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 20px;
    color: white;
    background: var(--blue);
    font-size: 8px;
    line-height: 1;
}

.hero-section {
    display: grid;
    min-height: 465px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 46px;
    padding-top: 46px;
    padding-bottom: 46px;
}

.hero-copy {
    padding: 20px 0 20px 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #78849a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow-line {
    width: 20px;
    height: 2px;
    background: var(--blue);
}

.hero-copy h1 {
    margin: 20px 0 17px;
    color: #182743;
    font: 800 clamp(42px, 5vw, 61px)/1.12 "Manrope", sans-serif;
    letter-spacing: -3.4px;
}

.hero-copy h1 span {
    color: var(--blue);
}

.hero-copy > p {
    max-width: 405px;
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.btn-primary {
    border-color: var(--blue);
    color: #fff;
    background: var(--blue);
}

.btn-primary:hover {
    border-color: var(--blue-dark);
    color: #fff;
    background: var(--blue-dark);
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 19px;
    padding: 12px 17px 12px 21px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 7px 17px rgb(37 99 235 / 17%);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 29px;
    color: #7a8598;
    font-size: 10px;
}

.hero-note i {
    color: var(--blue);
    font-size: 14px;
}

.hero-visual {
    position: relative;
    padding: 8px 26px 26px 0;
}

.hero-image-frame {
    overflow: hidden;
    height: 356px;
    border-radius: 7px 80px 7px 7px;
    background: #e9eff9;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-sticker {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 88px;
    height: 88px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 5px solid #fff;
    border-radius: 50%;
    color: white;
    background: #f2a76f;
    text-align: center;
    transform: rotate(9deg);
}

.hero-sticker span {
    font: 800 11px/1.05 "Manrope", sans-serif;
    letter-spacing: .06em;
}

.hero-sticker i {
    font-size: 11px;
}

.hero-caption {
    position: absolute;
    right: 26px;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7b8598;
    font-size: 9px;
}

.hero-caption > span:last-child {
    margin-left: auto;
}

.caption-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f2a76f;
}

.section-space {
    padding-top: 58px;
    padding-bottom: 58px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.section-heading .eyebrow {
    font-size: 9px;
}

.section-heading h2 {
    margin: 6px 0 0;
    color: var(--ink);
    font: 750 27px/1.2 "Manrope", sans-serif;
    letter-spacing: -1.1px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 3px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.text-link:hover {
    color: var(--blue-dark);
}

.category-section {
    padding-top: 44px;
}

.category-card {
    position: relative;
    display: flex;
    min-height: 114px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 13px;
    overflow: hidden;
    padding: 18px 20px;
    border: 1px solid #eff1f5;
    border-radius: 8px;
    background: #fbfcfe;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #dce7ff;
    box-shadow: 0 12px 28px rgb(28 54 100 / 7%);
}

.category-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: var(--blue);
    background: #e9f0ff;
    font-size: 17px;
}

.category-2 .category-icon {
    color: #d58065;
    background: #fff0e8;
}

.category-3 .category-icon {
    color: #579786;
    background: #e8f5ef;
}

.category-4 .category-icon {
    color: #9977ca;
    background: #f2edfc;
}

.category-name {
    color: #25334b;
    font-size: 12px;
    font-weight: 700;
}

.category-arrow {
    position: absolute;
    top: 19px;
    right: 18px;
    color: #a9b2c2;
    font-size: 13px;
}

.featured-section {
    margin-top: 8px;
    background: #fafbfe;
}

.featured-section .section-heading {
    margin-bottom: 21px;
}

.search-status {
    min-height: 0;
    margin: -10px 0 14px;
    color: var(--muted);
    font-size: 12px;
}

.product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgb(23 36 59 / 8%);
}

.product-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f3f8;
}

.product-image-wrap > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-card:hover .product-image-wrap > img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    border-radius: 4px;
    color: #2453aa;
    background: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.quick-add {
    position: absolute;
    right: 11px;
    bottom: 11px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 3px 12px rgb(16 36 70 / 12%);
    transition: color .2s ease, background .2s ease;
}

.quick-add-form {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.quick-add-form .quick-add {
    pointer-events: auto;
}

.quick-add:hover {
    color: #fff;
    background: var(--blue);
}

.product-info {
    padding: 15px 15px 14px;
}

.product-category {
    color: #8d97a9;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-info h3 {
    min-height: 36px;
    margin: 6px 0 8px;
    color: #28354b;
    font: 700 13px/1.4 "Manrope", sans-serif;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.product-price {
    color: #1c2a43;
    font: 800 14px "Manrope", sans-serif;
}

.product-rating {
    color: #788398;
    font-size: 10px;
}

.product-rating i {
    margin-right: 2px;
    color: #f1ab53;
    font-size: 9px;
}

.btn-add-cart {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #dfe7f7;
    border-radius: 5px;
    color: var(--blue);
    background: #f7f9ff;
    font-size: 10px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.btn-add-cart:hover {
    border-color: var(--blue);
    color: #fff;
    background: var(--blue);
}

.btn-add-cart i {
    margin-right: 4px;
}

.no-results {
    padding: 45px 15px 55px;
    color: var(--muted);
    text-align: center;
}

.no-results > i {
    color: #aab8d2;
    font-size: 30px;
}

.no-results h3 {
    margin: 12px 0 6px;
    color: var(--ink);
    font: 700 19px "Manrope", sans-serif;
}

.no-results p {
    margin-bottom: 16px;
    font-size: 12px;
}

.no-results .btn {
    padding: 9px 14px;
    font-size: 11px;
}

.promise-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 31px;
    padding-bottom: 31px;
    border-bottom: 1px solid var(--line);
}

.promise-strip > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.promise-strip > div > i {
    color: var(--blue);
    font-size: 20px;
}

.promise-strip span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.promise-strip strong {
    color: #344158;
    font-size: 10px;
}

.promise-strip small {
    color: #8b95a6;
    font-size: 9px;
}

.site-footer {
    padding: 50px 0 0;
    background: #f8f9fc;
}

.footer-brand {
    font-size: 21px;
}

.footer-brand .brand-mark {
    width: 33px;
    height: 33px;
    border-radius: 10px;
    font-size: 15px;
}

.footer-description {
    max-width: 310px;
    margin: 18px 0 16px;
    color: #7b8597;
    font-size: 11px;
    line-height: 1.8;
}

.footer-about-heading {
    margin: 20px 0 0;
    color: #26344c;
    font: 700 12px "Manrope", sans-serif;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid #e8ebf1;
    border-radius: 50%;
    color: #637087;
    font-size: 12px;
}

.social-links a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.footer-links,
.footer-signin {
    padding-top: 6px;
}

.footer-links h2,
.footer-signin h2 {
    margin: 0 0 16px;
    color: #26344c;
    font: 700 12px "Manrope", sans-serif;
}

.footer-links a {
    display: block;
    width: fit-content;
    margin: 11px 0;
    color: #7b8597;
    font-size: 10px;
}

.footer-links a:hover,
.footer-login:hover {
    color: var(--blue);
}

.footer-signin p {
    max-width: 230px;
    color: #7b8597;
    font-size: 10px;
    line-height: 1.7;
}

.footer-login {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 38px;
    padding: 16px 0;
    border-top: 1px solid #e9ecf2;
    color: #929bad;
    font-size: 9px;
}

.footer-bottom i {
    margin-left: 3px;
    color: #e78d8c;
    font-size: 8px;
}

.cart-toast {
    position: fixed;
    z-index: 20;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 17px;
    border-radius: 7px;
    color: #fff;
    background: #1d3768;
    box-shadow: 0 8px 25px rgb(23 36 59 / 20%);
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-toast i {
    color: #9de0c1;
    font-size: 15px;
}

.products-intro {
    padding-top: 54px;
    padding-bottom: 30px;
}

.products-intro h1 {
    margin: 12px 0 8px;
    color: var(--ink);
    font: 800 clamp(32px, 4vw, 46px)/1.15 "Manrope", sans-serif;
    letter-spacing: -2px;
}

.products-intro h1 span {
    color: var(--blue);
}

.products-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.products-section {
    background: #fafbfe;
}

.product-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.category-filter {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #e4e9f2;
    border-radius: 20px;
    color: #66738a;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.category-filter:hover,
.category-filter.is-active {
    border-color: var(--blue);
    color: #fff;
    background: var(--blue);
}

.products-count {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 11px;
}

.cart-page {
    min-height: 65vh;
}

.cart-page-heading h1 {
    margin: 6px 0 0;
    color: var(--ink);
    font: 800 28px/1.2 "Manrope", sans-serif;
    letter-spacing: -1px;
}

.cart-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-messages .alert {
    font-size: 11px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 26px;
}

.cart-items {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}

.cart-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px;
}

.cart-item + .cart-item {
    border-top: 1px solid var(--line);
}

.cart-item-image {
    width: 104px;
    height: 104px;
    border-radius: 7px;
    background: #f0f3f8;
    object-fit: cover;
}

.cart-item-details h2 {
    margin: 5px 0;
    color: #28354b;
    font: 700 14px/1.4 "Manrope", sans-serif;
}

.cart-unit-price {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-controls form {
    margin: 0;
}

.quantity-button {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid #dfe5ef;
    border-radius: 5px;
    color: var(--blue);
    background: #fff;
}

.quantity-button:hover {
    border-color: var(--blue);
    background: var(--soft-blue);
}

.cart-quantity {
    min-width: 22px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.remove-item-form {
    margin-left: 9px !important;
}

.remove-item-button {
    padding: 4px 0;
    border: 0;
    color: #a3525a;
    background: transparent;
    font-size: 10px;
}

.remove-item-button:hover {
    color: #b42332;
}

.cart-line-total {
    align-self: start;
    padding-top: 5px;
    color: var(--ink);
    font: 800 14px "Manrope", sans-serif;
    white-space: nowrap;
}

.order-summary {
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}

.order-summary h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font: 750 16px "Manrope", sans-serif;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    color: #69758b;
    font-size: 11px;
}

.summary-row strong {
    color: var(--ink);
    font-weight: 700;
    text-align: right;
}

.summary-total {
    margin-top: 8px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.summary-total strong {
    font: 800 16px "Manrope", sans-serif;
}

.free-delivery {
    color: #24805c;
}

.delivery-hint {
    margin: 1px 0 8px;
    color: #788398;
    font-size: 10px;
}

.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 11px 15px;
    font-size: 12px;
    font-weight: 700;
}

.checkout-note {
    margin: 13px 0 0;
    color: #8993a5;
    font-size: 9px;
    text-align: center;
}

.checkout-note i {
    margin-right: 3px;
    color: var(--blue);
}

.empty-cart {
    max-width: 520px;
    margin: 35px auto 10px;
    padding: 45px 25px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.empty-cart-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 17px;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: var(--soft-blue);
    font-size: 25px;
}

.empty-cart h2 {
    color: var(--ink);
    font: 750 19px "Manrope", sans-serif;
}

.empty-cart p {
    margin: 8px auto 19px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.checkout-demo .checkout-items {
    margin: 18px 0 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.auth-page {
    min-height: 100vh;
    background: #f7f9fd;
}

.page-messages {
    padding-top: 16px;
}

.page-messages .alert {
    margin-bottom: 0;
    font-size: 11px;
}

.auth-main {
    display: flex;
    min-height: calc(100vh - 83px);
    align-items: flex-start;
    justify-content: center;
    padding-top: 55px;
    padding-bottom: 55px;
}

.auth-card,
.dashboard-card {
    width: 100%;
    max-width: 470px;
    padding: 35px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 35px rgb(23 36 59 / 6%);
}

.dashboard-card {
    max-width: 600px;
}

.auth-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 13px;
    color: var(--blue);
    background: var(--soft-blue);
    font-size: 21px;
}

.auth-card > .eyebrow,
.dashboard-card > .eyebrow {
    font-size: 9px;
}

.auth-card h1,
.dashboard-card h1 {
    margin: 8px 0;
    color: var(--ink);
    font: 800 26px/1.25 "Manrope", sans-serif;
    letter-spacing: -.8px;
}

.auth-subtitle {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.auth-card .form-label {
    margin-bottom: 6px;
    color: #344158;
    font-size: 11px;
    font-weight: 700;
}

.auth-card .form-control {
    min-height: 42px;
    border-color: #e3e8f0;
    border-radius: 6px;
    font-size: 12px;
}

.auth-card .form-control:focus {
    border-color: #8eaff9;
    box-shadow: 0 0 0 3px rgb(37 99 235 / 10%);
}

.auth-card .form-text {
    color: #8993a5;
    font-size: 10px;
}

.auth-submit {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.auth-card .auth-submit {
    width: 100%;
}

.auth-switch {
    margin: 20px 0 0;
    color: #788398;
    font-size: 11px;
    text-align: center;
}

.auth-switch a {
    color: var(--blue);
    font-weight: 700;
}

.auth-messages {
    margin-bottom: 18px;
    font-size: 11px;
}

.auth-messages .alert {
    margin-bottom: 8px;
}

.dashboard-details {
    margin: 22px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.dashboard-details > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
}

.dashboard-details > div + div {
    border-top: 1px solid var(--line);
}

.dashboard-details span {
    color: var(--muted);
    font-size: 11px;
}

.dashboard-details strong {
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.product-info h2 {
    min-height: 36px;
    margin: 6px 0 8px;
    color: #28354b;
    font: 700 13px/1.4 "Manrope", sans-serif;
}

.product-description {
    min-height: 42px;
    margin: 0 0 10px;
    color: #7b8597;
    font-size: 10px;
    line-height: 1.5;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1120px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 72px;
    }

    .navbar-collapse {
        padding: 12px 0 5px;
    }

    .navbar-nav {
        gap: 4px;
    }

    .header-actions {
        flex-wrap: wrap;
        gap: 17px;
        padding-top: 12px;
    }

    .search-form {
        order: 3;
        width: 100%;
    }

    .hero-section {
        min-height: 400px;
        gap: 22px;
    }

    .hero-copy {
        padding-left: 5px;
    }

    .hero-image-frame {
        height: 315px;
    }

    .product-image-wrap {
        height: 200px;
    }

    .cart-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 16px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 32px;
        padding-bottom: 38px;
    }

    .hero-copy {
        padding: 0;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 10vw, 55px);
    }

    .hero-copy > p {
        max-width: 480px;
        font-size: 13px;
    }

    .hero-visual {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-image-frame {
        height: clamp(220px, 58vw, 340px);
    }

    .section-space {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .category-section {
        padding-top: 38px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .product-image-wrap {
        height: clamp(145px, 38vw, 230px);
    }

    .product-info {
        padding: 12px 11px;
    }

    .promise-strip {
        gap: 12px;
    }

    .promise-strip > div {
        justify-content: flex-start;
        gap: 8px;
    }

    .promise-strip > div > i {
        font-size: 17px;
    }

    .promise-strip strong {
        font-size: 9px;
    }

    .promise-strip small {
        font-size: 8px;
    }

    .footer-main {
        padding-bottom: 5px;
    }

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

    .order-summary {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .announcement-bar p {
        font-size: 9px;
    }

    .navbar {
        padding-right: 16px;
        padding-left: 16px;
    }

    .brand {
        font-size: 21px;
    }

    .header-actions {
        column-gap: 22px;
    }

    .hero-copy h1 {
        letter-spacing: -2.5px;
    }

    .hero-visual {
        padding-right: 17px;
        padding-bottom: 24px;
    }

    .hero-image-frame {
        border-top-right-radius: 60px;
    }

    .hero-sticker {
        width: 73px;
        height: 73px;
        border-width: 4px;
    }

    .hero-sticker span {
        font-size: 9px;
    }

    .hero-caption {
        right: 17px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading .text-link {
        gap: 5px;
        padding-top: 9px;
        font-size: 9px;
        white-space: nowrap;
    }

    .section-heading h2 {
        font-size: 21px;
    }

    .category-card {
        min-height: 105px;
        padding: 14px;
    }

    .category-name {
        font-size: 10px;
    }

    .category-arrow {
        top: 14px;
        right: 12px;
    }

    .product-image-wrap {
        height: 155px;
    }

    .product-info h3 {
        min-height: 36px;
        font-size: 11px;
    }

    .product-info h2 {
        min-height: 36px;
        font-size: 11px;
    }

    .product-price {
        font-size: 12px;
    }

    .product-rating {
        font-size: 9px;
    }

    .btn-add-cart {
        padding: 7px 4px;
        font-size: 9px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        padding: 4px 6px;
        font-size: 7px;
    }

    .quick-add {
        right: 8px;
        bottom: 8px;
        width: 29px;
        height: 29px;
    }

    .promise-strip {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .promise-strip > div {
        justify-content: flex-start;
    }

    .promise-strip strong {
        font-size: 10px;
    }

    .promise-strip small {
        font-size: 9px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }

    .cart-toast {
        right: 14px;
        bottom: 14px;
    }

    .cart-header-actions {
        gap: 12px;
    }

    .cart-header-actions > .header-link {
        font-size: 10px;
    }

    .cart-page-heading {
        flex-direction: column;
    }

    .cart-page-heading h1 {
        font-size: 23px;
    }

    .cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 13px;
    }

    .cart-item-image {
        width: 74px;
        height: 74px;
    }

    .cart-item-details h2 {
        font-size: 12px;
    }

    .cart-line-total {
        grid-column: 2;
        grid-row: 2;
        padding: 0;
        font-size: 12px;
    }

    .cart-item-controls {
        flex-wrap: wrap;
    }

    .remove-item-form {
        margin-left: 2px !important;
    }

    .products-intro {
        padding-top: 38px;
        padding-bottom: 23px;
    }

    .auth-main {
        min-height: calc(100vh - 73px);
        padding: 30px 16px;
    }

    .auth-card,
    .dashboard-card {
        padding: 25px 20px;
    }

    .products-intro h1 {
        letter-spacing: -1.4px;
    }

    .product-filter-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .category-filters {
        gap: 7px;
    }

    .category-filter {
        min-height: 33px;
        padding: 7px 11px;
        font-size: 10px;
    }

    .product-description {
        min-height: 45px;
        font-size: 9px;
    }
}

/* Admin dashboard */
.admin-page {
    min-height: 100vh;
    background: #f5f7fb;
}

.admin-topbar {
    position: sticky;
    z-index: 10;
    top: 0;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 30px;
    border-bottom: 1px solid #e8edf5;
    background: #fff;
}

.admin-brand-label {
    margin-left: 9px;
    padding: 5px 7px;
    border-radius: 4px;
    color: #4266a7;
    background: #edf3ff;
    font: 700 8px "DM Sans", sans-serif;
    letter-spacing: .08em;
}

.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #6f7b91;
    font-size: 11px;
}

.admin-top-actions a:hover {
    color: var(--blue);
}

.admin-top-actions form {
    margin: 0;
}

.admin-top-actions button {
    padding: 7px 10px;
    border: 1px solid #e6eaf1;
    border-radius: 5px;
    color: #5d6980;
    background: #fff;
    font: 600 10px "DM Sans", sans-serif;
}

.admin-layout {
    display: grid;
    min-height: calc(100vh - 72px);
    grid-template-columns: 220px minmax(0, 1fr);
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 27px 14px;
    border-right: 1px solid #e8edf5;
    background: #fff;
}

.admin-sidebar-label {
    padding: 0 12px 10px;
    color: #9aa4b6;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
}

.admin-sidebar a {
    display: flex;
    min-height: 41px;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    border-radius: 6px;
    color: #6d788d;
    font-size: 11px;
    font-weight: 600;
}

.admin-sidebar a i {
    font-size: 14px;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    color: #245cce;
    background: #edf3ff;
}

.admin-main {
    min-width: 0;
    padding: 34px clamp(18px, 4vw, 52px) 55px;
}

.admin-flashes {
    margin-bottom: 20px;
}

.admin-flashes .alert {
    margin-bottom: 9px;
    font-size: 11px;
}

.admin-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.admin-kicker {
    color: #6481b5;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}

.admin-page-heading h1 {
    margin: 6px 0;
    color: #1d2b45;
    font: 800 25px/1.25 "Manrope", sans-serif;
    letter-spacing: -.6px;
}

.admin-page-heading p {
    margin: 0;
    color: #7d8799;
    font-size: 11px;
}

.admin-page-heading .btn,
.admin-form-actions .btn {
    font-size: 10px;
    font-weight: 700;
}

.admin-page-heading .btn i {
    margin-right: 4px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 24px;
}

.admin-stat-card,
.admin-panel {
    border: 1px solid #e9edf4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 16px rgb(22 46 83 / 3%);
}

.admin-stat-card {
    display: flex;
    min-height: 162px;
    flex-direction: column;
    align-items: flex-start;
    padding: 17px;
}

.admin-stat-icon {
    display: grid;
    width: 31px;
    height: 31px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 8px;
    font-size: 14px;
}

.admin-stat-icon.blue {
    color: #2f67d5;
    background: #edf3ff;
}

.admin-stat-icon.violet {
    color: #7956bd;
    background: #f3efff;
}

.admin-stat-icon.amber {
    color: #bd7d1e;
    background: #fff5e3;
}

.admin-stat-icon.green {
    color: #278462;
    background: #e9f8f1;
}

.admin-stat-label {
    color: #7b869a;
    font-size: 10px;
}

.admin-stat-card > strong {
    margin: 4px 0;
    color: #1d2b45;
    font: 800 22px "Manrope", sans-serif;
}

.admin-stat-note {
    color: #9aa3b2;
    font-size: 9px;
}

.admin-panel {
    overflow: hidden;
    padding: 20px;
}

.admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.admin-panel-heading h2,
.admin-order-aside h2 {
    margin: 0;
    color: #26344c;
    font: 750 14px "Manrope", sans-serif;
}

.admin-panel-heading p {
    margin: 4px 0 0;
    color: #8b95a6;
    font-size: 10px;
}

.admin-panel-heading > a {
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
}

.admin-table {
    margin: 0;
    color: #57647b;
    font-size: 10px;
}

.admin-table thead th {
    padding: 11px 10px;
    border-bottom-color: #e9edf4;
    color: #929bad;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 12px 10px;
    border-bottom-color: #f0f2f6;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-strong-link {
    color: #245cce;
    font-weight: 700;
}

.admin-status {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 20px;
    color: #53647d;
    background: #eff2f7;
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.status-demo {
    color: #986d16;
    background: #fff5dc;
}

.status-processing {
    color: #2d60ba;
    background: #edf3ff;
}

.status-shipped {
    color: #6650a3;
    background: #f1edff;
}

.status-delivered {
    color: #227754;
    background: #e8f7ef;
}

.status-cancelled {
    color: #a74d58;
    background: #fff0f1;
}

.admin-empty {
    padding: 32px 12px;
    color: #8792a5;
    font-size: 11px;
    text-align: center;
}

.admin-product-cell {
    display: flex;
    min-width: 185px;
    align-items: center;
    gap: 10px;
    color: #35435b;
}

.admin-product-cell img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 5px;
    object-fit: cover;
    background: #f0f3f8;
}

.admin-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.admin-row-actions .btn {
    font-size: 9px;
}

.admin-form-panel {
    max-width: 900px;
    padding: 25px;
}

.admin-form-panel .form-label,
.admin-order-aside .form-label {
    color: #35435b;
    font-size: 10px;
    font-weight: 700;
}

.admin-form-panel .form-control,
.admin-form-panel .form-select,
.admin-order-aside .form-select {
    min-height: 40px;
    border-color: #e1e6ef;
    font-size: 11px;
}

.admin-form-panel textarea.form-control {
    min-height: 100px;
}

.admin-form-panel .form-text {
    color: #8993a5;
    font-size: 9px;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 21px;
    padding-top: 17px;
    border-top: 1px solid #edf0f5;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    align-items: start;
    gap: 18px;
}

.admin-order-totals {
    max-width: 340px;
    margin: 10px 0 0 auto;
}

.admin-order-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    color: #7a8598;
    font-size: 10px;
}

.admin-order-totals strong {
    color: #26344c;
}

.admin-order-totals .grand {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #e9edf4;
    color: #26344c;
    font-size: 12px;
    font-weight: 700;
}

.admin-order-totals .grand strong {
    font: 800 15px "Manrope", sans-serif;
}

.admin-order-aside p {
    margin: 11px 0;
    color: #35435b;
    font-size: 11px;
}

.admin-muted {
    color: #8993a5 !important;
    font-size: 10px !important;
    overflow-wrap: anywhere;
}

.admin-order-aside hr {
    margin: 18px 0;
    border-color: #edf0f5;
}

.admin-order-aside h2 + p {
    margin-top: 12px;
}

.admin-user-card {
    display: grid;
    max-width: 720px;
    grid-template-columns: 55px minmax(0, 1fr) 100px 100px;
    align-items: center;
    gap: 18px;
    padding: 25px;
}

.admin-user-avatar {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: var(--soft-blue);
    font-size: 20px;
}

.admin-user-card > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-user-card > div strong {
    color: #35435b;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.admin-user-card > p {
    grid-column: 2 / -1;
    margin: 0;
}

.admin-login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 15% 15%, rgb(37 99 235 / 9%), transparent 31%),
        #f4f7fc;
}

.admin-login-card {
    width: 100%;
    max-width: 410px;
    padding: 36px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 55px rgb(21 48 91 / 9%);
}

.admin-login-eyebrow {
    display: block;
    margin-top: 30px;
    color: #6481b5;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
    text-align: center;
}

.admin-login-card h1 {
    margin: 7px 0;
    color: #1d2b45;
    font: 800 23px "Manrope", sans-serif;
    text-align: center;
}

.admin-login-card > p {
    margin: 0 0 23px;
    color: #7d8799;
    font-size: 10px;
    text-align: center;
}

.admin-login-card .form-label {
    color: #35435b;
    font-size: 10px;
    font-weight: 700;
}

.admin-login-card .form-control {
    min-height: 42px;
    border-color: #e1e6ef;
    font-size: 11px;
}

.admin-login-card .btn {
    min-height: 42px;
    font-size: 11px;
    font-weight: 700;
}

.admin-login-card .alert {
    font-size: 10px;
}

.admin-back-link {
    display: block;
    margin-top: 21px;
    color: #7b8597;
    font-size: 10px;
    text-align: center;
}

.admin-back-link:hover {
    color: var(--blue);
}

@media (max-width: 991.98px) {
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .admin-order-aside {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .admin-topbar {
        min-height: 64px;
        padding: 10px 16px;
    }

    .admin-top-actions {
        gap: 12px;
    }

    .admin-top-actions > span,
    .admin-top-actions > a {
        display: none;
    }

    .admin-layout {
        min-height: calc(100vh - 64px);
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: sticky;
        z-index: 5;
        top: 64px;
        flex-direction: row;
        gap: 5px;
        overflow-x: auto;
        padding: 8px 12px;
        border-right: 0;
        border-bottom: 1px solid #e8edf5;
    }

    .admin-sidebar-label {
        display: none;
    }

    .admin-sidebar a {
        min-height: 36px;
        flex: 0 0 auto;
        gap: 7px;
        padding: 0 10px;
        font-size: 10px;
    }

    .admin-main {
        padding: 24px 16px 40px;
    }

    .admin-user-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .admin-user-card > div:nth-of-type(2),
    .admin-user-card > div:nth-of-type(3) {
        grid-column: 2;
    }

    .admin-user-card > p {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .admin-topbar .brand {
        font-size: 18px;
    }

    .admin-topbar .brand-mark {
        width: 31px;
        height: 31px;
    }

    .admin-brand-label {
        margin-left: 3px;
        font-size: 7px;
    }

    .admin-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page-heading h1 {
        font-size: 22px;
    }

    .admin-stat-grid {
        gap: 9px;
    }

    .admin-stat-card {
        min-height: 148px;
        padding: 13px;
    }

    .admin-stat-card > strong {
        font-size: 19px;
    }

    .admin-stat-note {
        font-size: 8px;
    }

    .admin-panel {
        padding: 14px;
    }

    .admin-form-panel {
        padding: 17px;
    }

    .admin-login-card {
        padding: 28px 22px;
    }
}
