:root {
    --kori-ink: #17120f;
    --kori-muted: #6f6258;
    --kori-cream: #f7efe5;
    --kori-cream-2: #fbf6ef;
    --kori-tan: #e8d8c2;
    --kori-border: #dfd1bf;
    --kori-brown: #71431f;
    --kori-brown-dark: #3a2215;
    --kori-orange: #e95f21;
    --kori-black: #111111;
    --kori-white: #ffffff;
    --shadow-soft: 0 14px 34px rgba(58, 34, 21, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body.kori-body {
    margin: 0;
    color: var(--kori-ink);
    background: var(--kori-cream-2);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.35;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.kori-container {
    width: min(1220px, calc(100% - 48px));
    margin-inline: auto;
}

.trust-bar {
    background: #080808;
    color: #fff;
    font-size: 13px;
}

.trust-bar__items {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    white-space: nowrap;
    overflow: hidden;
}

.trust-bar__items span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-bar__items i {
    color: #fff;
    font-size: 12px;
}

.contact-strip {
    background: #f7f2ea;
    border-bottom: 1px solid var(--kori-border);
    color: #34241b;
    font-size: 14px;
}

.contact-strip__grid {
    min-height: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 18px;
}

.contact-strip__grid span {
    text-align: center;
    font-weight: 600;
}

.contact-strip__grid a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-strip__grid a:last-child {
    justify-self: end;
}

.header-main {
    background: #fffaf3;
    border-bottom: 1px solid var(--kori-border);
}

.header-main__grid {
    min-height: 92px;
    display: grid;
    grid-template-columns: minmax(340px, 1fr) auto minmax(250px, 1fr);
    align-items: center;
    gap: 30px;
}

.mobile-menu-toggle,
.mobile-menu-close {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--kori-border);
    background: var(--kori-white);
    color: var(--kori-ink);
    align-items: center;
    justify-content: center;
}

.search-box {
    display: grid;
    grid-template-columns: 145px 1fr 44px;
    height: 40px;
    border: 1px solid var(--kori-border);
    background: var(--kori-white);
    overflow: hidden;
}

.search-box select,
.search-box input {
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--kori-ink);
    padding: 0 14px;
    outline: 0;
}

.search-box select {
    border-right: 1px solid var(--kori-border);
    font-size: 13px;
}

.search-box input {
    font-size: 13px;
}

.search-box button {
    border: 0;
    background: var(--kori-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.brand-lockup {
    display: grid;
    justify-items: center;
    line-height: 1;
    gap: 4px;
}

.brand-lockup img {
    width: clamp(150px, 14vw, 210px);
    height: 58px;
    object-fit: contain;
}

.brand-lockup small {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    margin-top: 5px;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
}

.header-actions a {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 3px;
    color: var(--kori-ink);
    font-size: 12px;
    font-weight: 600;
}

.header-actions i {
    font-size: 26px;
    line-height: 1;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: 11px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--kori-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.main-nav {
    position: relative;
    z-index: 30;
    background: #efe3d3;
    border-bottom: 1px solid #dac8b2;
}

.main-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.main-menu > li > a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    color: #21160f;
    border-bottom: 3px solid transparent;
}

.main-menu > li > a:hover,
.main-menu > li > a.active {
    color: #111;
    border-bottom-color: var(--kori-orange);
}

.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    left: 50%;
    top: 48px;
    width: min(980px, calc(100vw - 60px));
    transform: translateX(-50%) translateY(10px);
    display: none;
    grid-template-columns: 260px 1fr 230px;
    background: rgba(255, 250, 243, 0.98);
    border: 1px solid var(--kori-border);
    box-shadow: var(--shadow-soft);
    z-index: 50;
}

.has-mega.is-open .mega-menu {
    display: grid;
    transform: translateX(-50%) translateY(0);
}

.mega-sidebar {
    padding: 14px;
    border-right: 1px solid var(--kori-border);
}

.mega-sidebar a {
    min-height: 38px;
    display: grid;
    grid-template-columns: 26px 1fr 18px;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    color: #2a2019;
    font-size: 14px;
    border-radius: 6px;
}

.mega-sidebar a:hover {
    background: #f2e5d5;
}

.mega-sidebar i {
    font-size: 18px;
}

.mega-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 22px 28px;
}

.mega-columns h6,
.mega-feature h6 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
}

.mega-columns a {
    display: block;
    color: #4d4037;
    font-size: 13px;
    margin-bottom: 11px;
}

.mega-view-all {
    color: var(--kori-orange) !important;
    font-weight: 700;
}

.mega-feature {
    padding: 18px;
    border-left: 1px solid var(--kori-border);
}

.mega-feature img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 14px;
}

.mega-feature p {
    color: var(--kori-muted);
    font-size: 13px;
    margin-bottom: 12px;
}

.mini-cta,
.primary-cta,
.secondary-cta,
.outline-cta {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
}

.mini-cta,
.primary-cta,
.secondary-cta {
    background: var(--kori-orange);
    color: #fff;
}

.outline-cta {
    border: 1px solid var(--kori-brown);
    background: transparent;
    color: var(--kori-brown);
}

.mobile-menu-panel {
    display: none;
}

.hero-section {
    position: relative;
    min-height: 400px;
    background: #efe0cf;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 239, 229, 0.96) 0%, rgba(247, 239, 229, 0.82) 42%, rgba(247, 239, 229, 0.24) 100%);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 400px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
    gap: 32px;
}

.hero-copy {
    padding: 100px 0 40px 82px;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5.3vw, 74px);
    line-height: 0.92;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 370px;
    margin: 0 0 22px;
    color: #3d3027;
    font-weight: 600;
}

.hero-product {
    position: relative;
    justify-self: stretch;
    align-self: stretch;
    min-height: 400px;
}

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

.hero-product__tag {
    position: absolute;
    right: 34px;
    bottom: 26px;
    display: grid;
    gap: 4px;
    background: rgba(255, 250, 243, 0.9);
    border: 1px solid var(--kori-border);
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: var(--shadow-soft);
}

.hero-product__tag span {
    font-size: 12px;
    color: var(--kori-muted);
}

.hero-product__tag strong {
    font-size: 18px;
}

.hero-arrow,
.carousel-arrow {
    position: absolute;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 1px solid #e8dfd4;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--kori-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hero-arrow {
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
}

.hero-arrow--left {
    left: 44px;
}

.hero-arrow--right {
    right: 44px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 6;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
}

.hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b7aa9c;
}

.hero-dots span.active {
    background: var(--kori-orange);
}

.category-strip {
    background: #fffaf3;
    border-bottom: 1px solid var(--kori-border);
}

.category-strip__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.category-pill {
    min-height: 92px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    border-left: 1px solid var(--kori-border);
    color: var(--kori-ink);
}

.category-pill:last-child {
    border-right: 1px solid var(--kori-border);
}

.category-pill span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #efe5d8;
    border: 1px solid var(--kori-border);
    color: var(--kori-brown);
    font-size: 22px;
    transition: transform 160ms ease, background 160ms ease;
}

.category-pill strong {
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
}

.category-pill small {
    color: var(--kori-orange);
    font-size: 11px;
    font-weight: 800;
}

.category-pill:hover span {
    background: var(--kori-orange);
    color: #fff;
    transform: translateY(-2px);
}

.product-section {
    background: #fffaf3;
    padding: 14px 0 16px;
    overflow: hidden;
}

.product-section--dark {
    background: #111;
    color: #fff;
    padding: 18px 0 20px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.section-title-row h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.section-title-row a {
    font-size: 13px;
    font-weight: 800;
    color: var(--kori-ink);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-section--dark .section-title-row a {
    color: #f1c8aa;
}

.carousel-wrap {
    position: relative;
    padding: 0 4px;
}

.product-carousel {
    display: block;
    width: 100%;
    padding: 0 2px 2px;
}

.product-carousel:not(.owl-loaded) {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-carousel:not(.owl-loaded) .product-card {
    flex: 0 0 calc((100% - 64px) / 5);
}

.product-carousel:not(.owl-loaded)::-webkit-scrollbar {
    display: none;
}

.product-carousel .owl-stage {
    display: flex;
}

.product-carousel .owl-item {
    display: flex;
}

.product-carousel .owl-item .product-card {
    width: 100%;
    height: 100%;
}

.carousel-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    font-size: 20px;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.carousel-arrow:hover {
    background: var(--kori-orange);
    border-color: var(--kori-orange);
    color: #fff;
}

.carousel-arrow--prev {
    left: -46px;
}

.carousel-arrow--next {
    right: -46px;
}

.product-section--dark .carousel-arrow {
    border-color: rgba(255, 255, 255, 0.55);
    background: #181818;
    color: #fff;
}

.product-card {
    min-width: 0;
    background: #fffaf3;
    border: 1px solid #e5d7c7;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #d5bea7;
    box-shadow: var(--shadow-soft);
}

.product-card--dark {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.product-image {
    position: relative;
    height: 126px;
    display: block;
    background: #f2e8dc;
    overflow: hidden;
}

.product-card--dark .product-image {
    background: #202020;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

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

.product-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
    background: var(--kori-orange);
    color: #fff;
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: 900;
}

.wishlist-button {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: #3a2b22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.wishlist-button.is-active {
    color: var(--kori-orange);
}

.product-card__body {
    padding: 10px 11px 12px;
}

.product-title {
    min-height: 34px;
    display: block;
    color: var(--kori-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.product-card--dark .product-title {
    color: #fff;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 0;
    font-size: 12px;
}

.product-meta span {
    font-weight: 900;
}

.product-meta del {
    color: #958578;
}

.product-card__actions {
    display: flex;
    gap: 7px;
}

.home-page .product-card__actions {
    display: none;
}

.product-card__actions form {
    flex: 1;
}

.product-card__actions button,
.product-card__actions a {
    width: 100%;
    min-height: 28px;
    border: 1px solid var(--kori-border);
    border-radius: 5px;
    background: #fff7ef;
    color: var(--kori-brown);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.product-card__actions button:hover,
.product-card__actions a:hover {
    background: var(--kori-orange);
    color: #fff;
    border-color: var(--kori-orange);
}

.product-card--dark .product-card__actions button,
.product-card--dark .product-card__actions a {
    background: #242424;
    border-color: #4a4a4a;
    color: #f1c8aa;
}

.promise-section {
    background: #ead8c3;
    border-top: 1px solid var(--kori-border);
}

.promise-grid {
    min-height: 170px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.7fr;
    align-items: stretch;
}

.promise-image img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
}

.promise-copy {
    padding: 24px 36px;
}

.promise-copy span,
.page-hero span,
.eyebrow,
.auth-panel span {
    color: var(--kori-orange);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 12px;
}

.promise-copy h2 {
    font-family: Georgia, "Times New Roman", serif;
    margin: 4px 0 8px;
    font-size: 30px;
}

.promise-copy p {
    color: #4b3b2f;
    margin-bottom: 14px;
}

.promise-list {
    display: grid;
    align-content: center;
    gap: 18px;
    border-left: 1px solid #cfbca5;
    padding-left: 28px;
}

.promise-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.promise-list i {
    font-size: 28px;
    color: var(--kori-brown);
}

.newsletter-band {
    background: #191919;
    color: #fff;
    border-bottom: 1px solid #363636;
}

.newsletter-band__grid {
    min-height: 84px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.newsletter-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.newsletter-title i {
    width: 50px;
    height: 50px;
    border: 1px solid #6b6b6b;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.newsletter-title h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.newsletter-title p {
    margin: 0;
    color: #cfcfcf;
    font-size: 13px;
}

.newsletter-form,
.footer-mini-form {
    display: flex;
    min-height: 42px;
}

.newsletter-form input,
.footer-mini-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0 16px;
    outline: 0;
}

.newsletter-form button,
.footer-mini-form button {
    border: 0;
    background: var(--kori-orange);
    color: #fff;
    padding: 0 26px;
    font-weight: 800;
}

.footer-main {
    background: #111;
    color: #ddd;
}

.footer-main__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
    gap: 34px;
    padding: 28px 0 24px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    display: inline-block;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-logo img {
    width: 138px;
    height: auto;
}

.footer-main p {
    color: #bdbdbd;
    font-size: 13px;
}

.footer-main h6 {
    color: #fff;
    font-weight: 900;
    margin-bottom: 12px;
}

.footer-main a:not(.footer-logo) {
    display: block;
    color: #c8c8c8;
    font-size: 13px;
    margin-bottom: 8px;
}

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

.social-icons a {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #555;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
}

.footer-mini-form {
    min-height: 32px;
    margin-bottom: 12px;
}

.footer-mini-form input {
    font-size: 12px;
}

.footer-mini-form button {
    padding: 0 12px;
    font-size: 12px;
}

.payment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.payment-row span {
    background: #fff;
    color: #1a1a1a;
    border-radius: 4px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 900;
}

.footer-bottom {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #a8a8a8;
    font-size: 12px;
}

.page-hero {
    background: #e9d8c1;
}

.page-hero.compact .kori-container {
    padding: 48px 0 42px;
}

.page-hero h1 {
    max-width: 780px;
    margin: 6px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
}

.page-hero p {
    max-width: 620px;
    margin: 0;
    color: #4f4035;
    font-weight: 600;
}

.listing-page,
.cart-page,
.checkout-page,
.quote-page,
.account-page,
.product-detail,
.detail-flow {
    padding: 38px 0;
}

.listing-page {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
}

.filter-panel,
.summary-card,
.form-card,
.account-card,
.quote-flow,
.detail-flow {
    background: #fff;
    border: 1px solid var(--kori-border);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(58, 34, 21, 0.06);
}

.filter-panel {
    align-self: start;
    padding: 18px;
}

.filter-panel h3,
.summary-card h2,
.form-card h2,
.account-card h2,
.quote-flow h2,
.detail-flow h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 900;
}

.filter-panel > a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    color: #4a3a30;
    border-radius: 6px;
    padding: 0 10px;
    font-weight: 700;
}

.filter-panel > a.active,
.filter-panel > a:hover {
    background: #f2e3d3;
    color: var(--kori-brown);
}

.filter-quote {
    margin-top: 18px;
    padding: 14px;
    background: #17120f;
    color: #fff;
    border-radius: 8px;
}

.filter-quote p {
    color: #d9d0c5;
    font-size: 13px;
}

.filter-quote a {
    color: #f8be93;
    font-weight: 900;
}

.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.listing-toolbar h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
}

.listing-toolbar p {
    margin: 4px 0 0;
    color: var(--kori-muted);
}

.toolbar-search {
    display: grid;
    grid-template-columns: 1fr 42px;
    width: min(320px, 100%);
    border: 1px solid var(--kori-border);
    background: #fff;
}

.toolbar-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 12px;
}

.toolbar-search button {
    border: 0;
    background: var(--kori-orange);
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) 1.1fr;
    gap: 44px;
    align-items: center;
}

.product-detail__media {
    background: #fff;
    border: 1px solid var(--kori-border);
    border-radius: 8px;
    padding: 18px;
}

.product-detail__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
}

.product-detail__content h1 {
    margin: 6px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 56px);
}

.product-detail__content p {
    color: var(--kori-muted);
    font-size: 17px;
    max-width: 620px;
}

.detail-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 18px 0;
}

.detail-price strong {
    font-size: 34px;
}

.detail-price del {
    color: #957e6c;
    font-size: 20px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.bulk-note {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--kori-brown);
    font-weight: 800;
    margin-bottom: 18px;
}

.detail-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.detail-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-highlights i {
    color: var(--kori-orange);
}

.detail-flow {
    padding: 24px;
    margin-bottom: 38px;
}

.flow-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.flow-cards div {
    border: 1px solid var(--kori-border);
    border-radius: 8px;
    padding: 16px;
    background: #fffaf3;
}

.flow-cards i {
    font-size: 28px;
    color: var(--kori-orange);
}

.flow-cards strong {
    display: block;
    margin: 8px 0 4px;
}

.flow-cards p {
    margin: 0;
    color: var(--kori-muted);
}

.cart-page,
.checkout-page,
.quote-page {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.cart-lines {
    display: grid;
    gap: 14px;
}

.cart-line {
    display: grid;
    grid-template-columns: 104px 1fr 132px 90px;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--kori-border);
    border-radius: 8px;
    padding: 14px;
}

.cart-line img {
    width: 104px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-line h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 900;
}

.cart-line p {
    margin: 0 0 6px;
    color: var(--kori-muted);
}

.cart-line a {
    color: var(--kori-orange);
    font-weight: 900;
    font-size: 13px;
}

.qty-stepper {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    border: 1px solid var(--kori-border);
}

.qty-stepper button,
.qty-stepper input {
    min-width: 0;
    height: 34px;
    border: 0;
    background: #fffaf3;
    text-align: center;
}

.summary-card {
    padding: 20px;
    display: grid;
    gap: 12px;
}

.summary-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--kori-muted);
}

.summary-card .summary-total {
    border-top: 1px solid var(--kori-border);
    padding-top: 14px;
    color: var(--kori-ink);
    font-size: 20px;
}

.checkout-form,
.quote-form {
    display: grid;
    gap: 18px;
}

.form-card {
    padding: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.auth-panel input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--kori-border);
    border-radius: 6px;
    background: #fffaf3;
    padding: 12px 14px;
    outline: 0;
}

.span-2 {
    grid-column: span 2;
}

.auth-page {
    min-height: 650px;
    background: #ead8c3;
    display: grid;
    place-items: center;
    padding: 48px 24px;
}

.auth-shell {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #fff;
    border: 1px solid var(--kori-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.auth-panel {
    padding: clamp(28px, 5vw, 54px);
}

.auth-panel--muted {
    background: #17120f;
    color: #fff;
}

.auth-panel h1,
.auth-panel h2 {
    margin: 8px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
}

.auth-panel p {
    color: var(--kori-muted);
}

.auth-panel--muted p {
    color: #d4c8be;
}

.auth-panel form {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.account-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.account-card {
    padding: 22px;
}

.account-row,
.admin-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--kori-border);
    padding: 14px 0;
}

.account-row:first-of-type,
.admin-row:first-of-type {
    border-top: 0;
}

.account-row div,
.admin-row div {
    display: grid;
    gap: 3px;
}

.account-row span,
.admin-row span {
    color: var(--kori-muted);
    font-size: 13px;
}

.account-row a {
    min-height: 32px;
    padding: 0 13px;
    background: var(--kori-orange);
    color: #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
}

.quote-flow {
    padding: 20px;
}

.quote-flow ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 12px;
    color: #4b3b2f;
    font-weight: 700;
}

.alert {
    border-radius: 6px;
}

.admin-body {
    margin: 0;
    min-height: 100vh;
    background: #f3f5f8;
    color: #1f2937;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    background: #10141c;
    color: #d8dee9;
    padding: 22px 18px;
}

.admin-logo {
    display: block;
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 24px;
}

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

.admin-sidebar a {
    min-height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d8dee9;
    padding: 0 12px;
    font-weight: 700;
}

.admin-sidebar a:hover {
    background: #1d2531;
    color: #fff;
}

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

.admin-shell {
    margin-left: 260px;
}

.admin-topbar {
    min-height: 82px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
}

.admin-topbar span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-topbar h1 {
    margin: 4px 0 0;
    font-size: 26px;
    font-weight: 900;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user img {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    object-fit: cover;
}

.admin-main {
    padding: 30px 34px;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.admin-metrics article,
.admin-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.admin-metrics article {
    padding: 18px;
    display: grid;
    gap: 8px;
}

.admin-metrics span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.admin-metrics strong {
    font-size: 24px;
}

.admin-grid.two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.admin-card {
    padding: 22px;
}

.admin-card h2 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 900;
}

.admin-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-card__head h2 {
    margin: 0;
}

.admin-card__head button,
.admin-row button {
    min-height: 34px;
    border: 0;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    padding: 0 14px;
    font-weight: 800;
}

.admin-table {
    display: grid;
    overflow-x: auto;
}

.admin-table__head,
.admin-table__row {
    display: grid;
    grid-template-columns: 1.5fr 1.1fr 0.7fr 0.7fr 0.7fr;
    gap: 14px;
    min-width: 760px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table__head {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.admin-category-grid article {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.admin-category-grid i {
    font-size: 28px;
    color: #2563eb;
}

.admin-category-grid h3 {
    margin: 8px 0 6px;
    font-size: 16px;
    font-weight: 900;
}

.admin-category-grid p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.workflow-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    margin-bottom: 16px;
    color: #1d4ed8;
    font-weight: 800;
}

.report-card {
    min-height: 320px;
}

.report-bars {
    height: 220px;
    display: flex;
    align-items: end;
    gap: 18px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.report-bars span {
    flex: 1;
    background: #2563eb;
    border-radius: 6px 6px 0 0;
}

.donut-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin: 18px auto 0;
    border: 28px solid #bfdbfe;
    border-top-color: #2563eb;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.donut-placeholder strong {
    font-size: 34px;
}

.donut-placeholder span {
    color: #64748b;
}

@media (max-width: 1180px) {
    .header-main__grid {
        grid-template-columns: 1fr auto 1fr;
        gap: 18px;
    }

    .main-menu > li > a {
        padding: 0 10px;
        font-size: 13px;
    }

    .product-carousel:not(.owl-loaded) .product-card {
        flex-basis: calc((100% - 28px) / 3);
    }

    .carousel-arrow--prev {
        left: -18px;
    }

    .carousel-arrow--next {
        right: -18px;
    }
}

@media (max-width: 960px) {
    .kori-container {
        width: min(100% - 28px, 860px);
    }

    .trust-bar__items {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .contact-strip__grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 6px;
        padding: 10px 0;
    }

    .contact-strip__grid a:last-child {
        justify-self: center;
    }

    .header-main__grid {
        min-height: auto;
        grid-template-columns: 44px 1fr auto;
        padding: 14px 0;
    }

    .mobile-menu-toggle,
    .mobile-menu-close {
        display: inline-flex;
    }

    .search-box {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin-top: 12px;
    }

    .brand-lockup {
        justify-self: start;
    }

    .brand-lockup img {
        width: 140px;
        height: 46px;
    }

    .brand-lockup small {
        font-size: 14px;
    }

    .header-actions {
        gap: 14px;
    }

    .header-actions span:not(.cart-count) {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-panel {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 100;
        width: min(340px, 86vw);
        background: #fffaf3;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
        transform: translateX(-100%);
        transition: transform 180ms ease;
        display: block;
        padding: 18px;
        overflow-y: auto;
    }

    .mobile-menu-panel.is-visible {
        transform: translateX(0);
    }

    .mobile-menu-panel__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    .mobile-menu-panel > a,
    .mobile-menu-panel__categories a {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 40px;
        border-bottom: 1px solid var(--kori-border);
        color: var(--kori-ink);
        font-weight: 800;
    }

    .mobile-menu-panel__categories {
        margin-top: 18px;
    }

    .hero-grid,
    .product-detail,
    .cart-page,
    .checkout-page,
    .quote-page,
    .account-page,
    .promise-grid,
    .newsletter-band__grid,
    .footer-main__grid,
    .listing-page,
    .admin-grid.two {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 52px 0 26px;
    }

    .hero-product {
        min-height: 260px;
    }

    .hero-arrow {
        display: none;
    }

    .category-strip__grid {
        grid-template-columns: repeat(5, minmax(120px, 1fr));
        overflow-x: auto;
    }

    .product-carousel:not(.owl-loaded) .product-card {
        flex-basis: calc((100% - 28px) / 3);
    }

    .promise-list {
        border-left: 0;
        border-top: 1px solid #cfbca5;
        padding: 22px 0 22px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-line {
        grid-template-columns: 88px 1fr;
    }

    .cart-line img {
        width: 88px;
        height: 70px;
    }

    .qty-stepper {
        width: 132px;
    }

    .flow-cards {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        width: auto;
    }

    .admin-shell {
        margin-left: 0;
    }

    .admin-metrics,
    .admin-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .search-box {
        grid-template-columns: 1fr 42px;
    }

    .search-box select {
        display: none;
    }

    .header-actions a:nth-child(1) {
        display: none;
    }

    .hero-section,
    .hero-grid {
        min-height: auto;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-product__tag {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .product-carousel:not(.owl-loaded) .product-card {
        flex-basis: calc((100% - 12px) / 2);
    }

    .product-grid,
    .form-grid,
    .auth-shell,
    .admin-metrics,
    .admin-category-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: auto;
    }

    .newsletter-form,
    .footer-mini-form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .newsletter-form input,
    .newsletter-form button,
    .footer-mini-form input,
    .footer-mini-form button {
        min-height: 40px;
    }

    .footer-bottom {
        display: grid;
        justify-content: start;
        gap: 8px;
        padding: 14px 0;
    }

    .account-row,
    .admin-row {
        grid-template-columns: 1fr;
        align-items: start;
    }
}
