﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;500;600&display=swap');

/* File: Content/site.css */
/* OWE minimalist fashion design system */
:root {
    --owe-black: #111111;
    --owe-ink: #1f1f1f;
    --owe-muted: #6f6f6f;
    --owe-soft: #f6f4f1;
    --owe-surface: #ffffff;
    --owe-border: #e8e3dc;
    --owe-border-strong: #d7d0c7;
    --owe-sale: #b4232a;
    --owe-sale-soft: #fff1f1;
    --owe-radius-sm: 6px;
    --owe-radius-md: 12px;
    --owe-radius-lg: 20px;
    --owe-shadow-sm: 0 6px 18px rgba(17, 17, 17, 0.06);
    --owe-shadow-md: 0 16px 40px rgba(17, 17, 17, 0.12);
    --owe-transition: 0.25s ease;
    --owe-display-font: 'Noto Serif', 'Times New Roman', serif;

    --primary-color: var(--owe-black);
    --secondary-color: var(--owe-soft);
    --text-color: var(--owe-ink);
    --accent-color: var(--owe-black);
    --border-color: var(--owe-border);

    --bs-primary: #111111;
    --bs-primary-rgb: 17, 17, 17;
    --bs-danger: #b4232a;
    --bs-danger-rgb: 180, 35, 42;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
    background-color: var(--secondary-color);
    color: var(--text-color);
    letter-spacing: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--owe-transition);
}

a:hover {
    color: var(--owe-muted);
}

.header-spacer {
    height: 80px;
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.text-danger {
    color: var(--bs-danger) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn-primary,
.btn-dark {
    background-color: var(--owe-black);
    border-color: var(--owe-black);
    color: var(--owe-surface);
    transition: all var(--owe-transition);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-dark:hover,
.btn-dark:focus {
    background-color: var(--owe-black);
    border-color: var(--owe-black);
    color: var(--owe-surface);
    transform: translateY(-2px);
    box-shadow: var(--owe-shadow-sm);
}

.btn-outline-primary,
.btn-outline-dark {
    color: var(--owe-black);
    border-color: var(--owe-black);
    transition: all var(--owe-transition);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-dark:hover,
.btn-outline-dark:focus {
    color: var(--owe-surface);
    background-color: var(--owe-black);
    border-color: var(--owe-black);
}

.btn-link {
    color: var(--owe-black);
}

.btn-link:hover {
    color: var(--owe-muted);
}

/* Header / Navbar */
#mainHeader {
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: none;
}

#mainHeader.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-navbar {
    background-color: #fff !important;
    position: fixed;
    z-index: 1020;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.main-navbar .navbar-brand {
    color: var(--owe-black);
    letter-spacing: 0.08em;
}

.main-navbar .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px !important;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--owe-ink) !important;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--owe-black) !important;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 2px;
    background-color: var(--owe-black);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    pointer-events: none;
}

.main-navbar .nav-item.dropdown:hover > .nav-link::after,
.main-navbar .nav-item.dropdown.show > .nav-link::after,
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link:focus::after,
.main-navbar .nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

.hide-arrow::after,
.main-navbar .dropdown-toggle.hide-arrow::after {
    display: none !important;
}

.search-form {
    min-width: 230px;
}

.search-form .input-group {
    border-color: var(--owe-border) !important;
    background-color: #fafafa !important;
}

.search-form .form-control,
.search-form .btn,
#userDropdown,
.header-user-name,
.header-user-email,
#chat-box,
#chat-box .btn,
#chat-box .form-control {
    font-family: var(--bs-body-font-family) !important;
}

.search-form .form-control {
    font-size: 0.9rem;
}

.header-user-name,
.header-user-email {
    max-width: 150px;
}

/* Dropdown / flyout menu */
.main-navbar .navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    position: relative;
}

.main-navbar .dropdown-menu {
    left: 0;
    right: auto;
    text-align: left;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 8px;
    min-width: 240px;
    z-index: 1021;
    position: absolute;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.main-navbar .dropdown-menu-end {
    left: auto;
    right: 0;
}

.main-navbar .dropdown-menu-end::before {
    left: auto;
    right: 28px;
}

.main-navbar .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 28px;
    width: 12px;
    height: 12px;
    background: var(--owe-surface);
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    z-index: -1;
}

.main-navbar .dropdown-item,
.main-navbar .dropdown-submenu > a {
    padding: 10px 16px;
    color: var(--owe-ink);
    font-size: 0.9rem;
    transition: all 0.18s ease;
    border-radius: 6px;
    margin: 0 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 12px);
    white-space: normal;
    word-wrap: break-word;
    text-decoration: none;
    cursor: pointer;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-submenu > a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--owe-black);
    transform: translateX(4px);
}

.main-navbar .dropdown-item i {
    flex-shrink: 0;
}

.main-navbar .dropdown-submenu > a i {
    margin-left: auto;
    padding-left: 10px;
}

.main-navbar .dropdown-submenu {
    position: relative;
    z-index: 1021;
}

.main-navbar .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 8px;
    margin-top: 0;
    position: absolute;
    z-index: 1022;
    min-width: 200px;
}

.main-navbar .nav-item.dropdown.show > .dropdown-menu,
.main-navbar .dropdown-submenu.show > .dropdown-menu,
.main-navbar .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto;
}

@media (min-width: 992px) {
    .main-navbar .nav-item.dropdown:hover > .dropdown-menu,
    .main-navbar .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

@media (max-width: 991px) {
    .main-navbar .offcanvas {
        border-left: 0;
    }

    .main-navbar .dropdown-menu,
    .main-navbar .dropdown-submenu > .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        border-radius: 0;
        border: 0;
    }

    .main-navbar .dropdown-menu.show,
    .main-navbar .nav-item.dropdown.show > .dropdown-menu,
    .main-navbar .dropdown-submenu.show > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .main-navbar .dropdown-menu::before {
        display: none;
    }

    .main-navbar .dropdown-item {
        padding-left: 20px;
    }

    .main-navbar .dropdown-submenu > .dropdown-item {
        padding-left: 28px;
    }
}

/* Product card */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: var(--owe-radius-md);
    overflow: hidden;
    background-color: var(--owe-surface);
    transition: transform var(--owe-transition), box-shadow var(--owe-transition), border-color var(--owe-transition);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--owe-border-strong);
    box-shadow: var(--owe-shadow-md);
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background-color: var(--owe-soft);
}

.product-img,
.product-card .card-img-top {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img,
.product-card:hover .card-img-top {
    transform: scale(1.045);
}

.product-card .card-title a {
    font-size: 1rem;
    font-weight: 700;
}

.product-card .card-title a:hover {
    text-decoration: underline;
}

.product-card .card-footer {
    background-color: var(--owe-surface);
    padding: 0.5rem 1rem;
}

.product-card .action-buttons {
    display: flex;
    gap: 10px;
}

.product-card .action-buttons .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.product-action-bar {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    z-index: 5;
}

.product-card:hover .product-action-bar,
.product-card:focus-within .product-action-bar {
    opacity: 1;
    transform: translateY(0);
}

.btn-action {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--owe-surface);
    color: var(--owe-black);
    border: 1px solid var(--owe-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-action:hover {
    background-color: var(--owe-black);
    color: var(--owe-surface);
    border-color: var(--owe-black);
}

.badge-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
}

.badge-soldout {
    background-color: var(--owe-muted);
    color: var(--owe-surface);
}

.badge-sale {
    background-color: var(--owe-sale);
    color: var(--owe-surface);
}

/* Product listing / filter */
.products-page {
    padding: 18px 0 42px;
}

.products-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 34px;
    border: 1px solid var(--owe-border);
    border-radius: var(--owe-radius-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f8f5ef 100%);
    box-shadow: var(--owe-shadow-sm);
}

.products-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.05em;
}

.products-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    padding: 10px 16px;
    border: 1px solid var(--owe-border);
    border-radius: 999px;
    background-color: var(--owe-surface);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--owe-ink);
}

.filter-panel {
    position: sticky;
    top: 104px;
    padding: 22px;
    border: 1px solid var(--owe-border);
    border-radius: var(--owe-radius-lg);
    background-color: var(--owe-surface);
    box-shadow: var(--owe-shadow-sm);
}

.filter-panel-header,
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.filter-panel-header {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--owe-border);
}

.filter-panel-header h4 {
    font-weight: 800;
    letter-spacing: -0.04em;
}

.filter-reset-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid var(--owe-border);
    border-radius: 999px;
    color: var(--owe-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.filter-reset-link:hover {
    color: var(--owe-surface);
    background-color: var(--owe-black);
    border-color: var(--owe-black);
}

.filter-section {
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--owe-border);
}

.filter-section:last-of-type {
    margin-bottom: 20px;
}

.filter-title {
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.modern-category-list {
    display: grid;
    gap: 6px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--owe-ink);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all var(--owe-transition);
}

.category-link:hover {
    background-color: var(--owe-soft);
    color: var(--owe-black);
    transform: translateX(2px);
}

.category-link.active {
    color: var(--owe-surface);
    background-color: var(--owe-black);
}

.category-link.child-category {
    justify-content: flex-start;
    margin-left: 12px;
    color: var(--owe-muted);
    font-size: 0.86rem;
    font-weight: 500;
}

.category-link.child-category::before {
    content: '';
    width: 14px;
    height: 1px;
    background-color: var(--owe-border-strong);
}

.category-link.child-category.active {
    color: var(--owe-surface);
}

.filter-option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--owe-border);
    border-radius: 999px;
    background-color: var(--owe-surface);
    color: var(--owe-ink);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--owe-transition);
    user-select: none;
}

.filter-chip:hover {
    border-color: var(--owe-black);
    transform: translateY(-1px);
}

.filter-check-input:checked + .filter-chip {
    color: var(--owe-surface);
    background-color: var(--owe-black);
    border-color: var(--owe-black);
    box-shadow: var(--owe-shadow-sm);
}

.filter-check-input:focus + .filter-chip {
    outline: 3px solid rgba(17, 17, 17, 0.14);
    outline-offset: 2px;
}

.color-swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 0;
    border: 2px solid var(--owe-surface);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--owe-border-strong);
    vertical-align: middle;
}

.filter-check-input:checked + .color-chip .color-swatch {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.size-option-list {
    gap: 8px;
}

.size-chip {
    min-width: 44px;
    justify-content: center;
}

.filter-apply-btn {
    min-height: 46px;
}

.products-toolbar {
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid var(--owe-border);
    border-radius: var(--owe-radius-md);
    background-color: var(--owe-surface);
    box-shadow: var(--owe-shadow-sm);
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-control label {
    color: var(--owe-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sort-control .form-select {
    min-width: 170px;
    border-radius: 999px;
    border-color: var(--owe-border);
    font-weight: 600;
}

.empty-product-state {
    padding: 54px 24px;
    border: 1px dashed var(--owe-border-strong);
    border-radius: var(--owe-radius-lg);
    background-color: var(--owe-surface);
    color: var(--owe-muted);
    text-align: center;
}

.empty-product-state h4 {
    color: var(--owe-ink);
    font-weight: 800;
}

.pagination .page-link {
    color: var(--owe-black);
    border-color: var(--owe-border);
}

.pagination .page-item.active .page-link {
    color: var(--owe-surface);
    background-color: var(--owe-black);
    border-color: var(--owe-black);
}

@media (max-width: 991px) {
    .products-hero,
    .products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-panel {
        position: static;
        margin-bottom: 10px;
    }

    .sort-control {
        width: 100%;
        justify-content: space-between;
    }

    .sort-control .form-select {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 575px) {
    .products-hero {
        padding: 24px;
    }

    .products-count-badge {
        width: 100%;
    }

    .filter-panel {
        padding: 18px;
    }
}

.payment-result-page {
    display: grid;
    min-height: 64vh;
    place-items: center;
    padding: 64px 20px;
    background: var(--owe-surface-soft);
}

.payment-result {
    width: min(620px, 100%);
    text-align: center;
}

.payment-result-icon {
    display: inline-grid;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border: 1px solid currentColor;
    border-radius: 50%;
    place-items: center;
    font-size: 28px;
}

.payment-result-icon.is-success {
    color: #16794b;
}

.payment-result-icon.is-failed {
    color: var(--owe-sale);
}

.payment-result h1 {
    margin-bottom: 12px;
    font-size: 46px;
    letter-spacing: 0;
}

.payment-result > p:not(.section-kicker) {
    color: var(--owe-text-muted);
}

.payment-result-details {
    margin: 32px 0;
    border-top: 1px solid var(--owe-border);
    border-bottom: 1px solid var(--owe-border);
}

.payment-result-details > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding: 14px 0;
    text-align: left;
}

.payment-result-details > div + div {
    border-top: 1px solid var(--owe-border);
}

.payment-result-details dt {
    color: var(--owe-text-muted);
    font-weight: 500;
}

.payment-result-details dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.payment-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 575px) {
    .payment-result h1 {
        font-size: 32px;
    }

    .payment-result-details > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .payment-result-actions .btn {
        width: 100%;
    }
}

/* ========================================================================== */
/* FashionHub customer storefront refresh                                    */
/* ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: #fff;
    color: var(--owe-ink);
}

body,
button,
input,
select,
textarea {
    font-family: var(--bs-body-font-family);
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--owe-black);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10000;
    padding: 10px 14px;
    color: #fff;
    background: #111;
    transform: translateY(-150%);
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

.btn {
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    box-shadow: none;
}

.btn:hover,
.btn:focus {
    transform: none;
}

.form-control,
.form-select {
    min-height: 44px;
    border-color: var(--owe-border-strong);
    border-radius: 2px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--owe-black);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.site-main {
    min-height: 52vh;
    padding-top: 28px;
    padding-bottom: 72px;
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--owe-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

/* Stable header */
.header-spacer {
    height: 76px;
}

#mainHeader,
#mainHeader.scrolled {
    height: 76px;
    padding: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: none;
    backdrop-filter: blur(12px);
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

#mainHeader.scrolled {
    box-shadow: 0 8px 30px rgba(17, 17, 17, 0.07);
}

.main-navbar .navbar {
    height: 100%;
    padding: 0;
}

.main-navbar .navbar > .container {
    height: 100%;
}

.main-navbar .navbar-brand {
    margin: 0;
    color: #111;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.main-navbar .navbar-nav {
    align-items: center;
    gap: 8px;
}

.main-navbar .nav-link {
    padding: 10px 12px !important;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}

.main-navbar .nav-link::after {
    right: 12px;
    bottom: 5px;
    left: 12px;
}

.nav-products-trigger {
    display: flex;
    align-items: center;
}

.nav-category-toggle {
    display: inline-grid;
    width: 26px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 0;
    color: #111;
    background: transparent;
}

.nav-category-toggle i {
    font-size: 0.72rem;
    transition: transform 180ms ease;
}

.nav-category-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search {
    display: flex;
    width: 210px;
    height: 40px;
    align-items: center;
    border-bottom: 1px solid var(--owe-border-strong);
}

.header-search:focus-within {
    border-color: #111;
}

.header-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    color: #111;
    background: transparent;
    font-size: 0.84rem;
}

.header-search button,
.header-icon-button,
.navbar-toggler {
    display: inline-grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #111;
    background: transparent;
}

.header-search button {
    width: 34px;
}

.header-icon-button:hover,
.header-icon-button:focus,
.navbar-toggler:hover,
.navbar-toggler:focus {
    background: #f3f1ee;
}

.header-icon-button i {
    font-size: 1.2rem;
}

.header-cart-button {
    position: relative;
}

.cart-count-badge {
    position: absolute;
    top: 0;
    right: -2px;
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #111;
    font-size: 0.62rem;
    font-weight: 700;
}

.header-login-link {
    padding: 8px 2px;
    border-bottom: 1px solid #111;
    color: #111;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.header-mobile-actions {
    display: none;
    align-items: center;
}

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

.main-navbar .dropdown-menu {
    min-width: 230px;
    padding: 8px;
    border: 1px solid var(--owe-border);
    border-radius: 2px;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
}

.main-navbar .dropdown-item {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 0;
    font-size: 0.86rem;
}

.header-account-summary {
    display: grid;
    max-width: 230px;
    padding: 10px 12px 14px;
    border-bottom: 1px solid var(--owe-border);
}

.header-account-summary strong,
.header-account-summary span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-account-summary span {
    color: var(--owe-muted);
    font-size: 0.76rem;
}

.site-breadcrumb {
    padding-top: 20px;
    font-size: 0.76rem;
}

.site-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #aaa;
    content: "/";
}

.site-breadcrumb .breadcrumb-item.active {
    color: var(--owe-muted);
}

/* Home */
.home-page {
    display: grid;
    gap: 88px;
}

.home-hero {
    display: grid;
    min-height: 620px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    background: #f0ede8;
}

.home-hero-copy {
    display: flex;
    padding: clamp(40px, 6vw, 84px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.home-hero-copy h1 {
    max-width: 620px;
    margin: 0;
    color: #111;
    font-family: var(--owe-display-font);
    font-size: clamp(3.1rem, 5.4vw, 5.7rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.home-hero-copy > p:not(.section-kicker) {
    max-width: 520px;
    margin: 26px 0 0;
    color: #56524d;
    font-size: 1.02rem;
    line-height: 1.7;
}

.home-hero-actions {
    display: flex;
    margin-top: 32px;
    align-items: center;
    gap: 24px;
}

.home-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 28px;
}

.home-text-link {
    border-bottom: 1px solid #111;
    font-size: 0.85rem;
    font-weight: 600;
}

.home-hero-notes {
    display: grid;
    width: 100%;
    margin: 52px 0 0;
    grid-template-columns: repeat(3, 1fr);
}

.home-hero-notes div {
    padding-right: 12px;
    border-right: 1px solid rgba(17, 17, 17, 0.15);
}

.home-hero-notes div + div {
    padding-left: 18px;
}

.home-hero-notes div:last-child {
    border-right: 0;
}

.home-hero-notes dt {
    font-size: 0.76rem;
    font-weight: 700;
}

.home-hero-notes dd {
    margin: 2px 0 0;
    color: var(--owe-muted);
    font-size: 0.72rem;
}

.home-hero-media {
    position: relative;
    display: block;
    min-height: 620px;
    overflow: hidden;
    background: #ddd8d1;
}

.home-hero-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.home-hero-media:hover > img {
    transform: scale(1.02);
}

.home-hero-caption {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    padding: 18px 20px;
    color: #111;
    background: rgba(255, 255, 255, 0.94);
}

.home-hero-caption small {
    color: var(--owe-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.home-hero-caption strong {
    margin-top: 4px;
    font-size: 0.92rem;
}

.home-section {
    scroll-margin-top: 96px;
}

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

.section-heading h2 {
    margin: 0;
    font-family: var(--owe-display-font);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.018em;
    line-height: 1.2;
}

.section-heading > a {
    padding-bottom: 5px;
    border-bottom: 1px solid #111;
    font-size: 0.82rem;
    font-weight: 600;
}

.home-category-grid {
    display: grid;
    border-top: 1px solid var(--owe-border-strong);
    grid-template-columns: repeat(4, 1fr);
}

.home-category-link {
    display: grid;
    min-height: 170px;
    padding: 24px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    border-right: 1px solid var(--owe-border-strong);
    border-bottom: 1px solid var(--owe-border-strong);
    transition: color 180ms ease, background 180ms ease;
}

.home-category-link:first-child {
    border-left: 1px solid var(--owe-border-strong);
}

.home-category-link > span {
    color: var(--owe-muted);
    font-size: 0.7rem;
}

.home-category-link strong {
    align-self: end;
    font-family: var(--owe-display-font);
    font-size: 1.5rem;
    font-weight: 400;
}

.home-category-link i {
    align-self: end;
}

.home-category-link:hover,
.home-category-link:focus {
    color: #fff;
    background: #111;
}

.home-editorial-section {
    display: grid;
    padding: 48px;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    color: #fff;
    background: #161616;
}

.home-editorial-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.home-editorial-copy .section-kicker {
    color: #aaa;
}

.home-editorial-copy h2 {
    margin: 0;
    font-family: var(--owe-display-font);
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.home-editorial-copy > p:not(.section-kicker) {
    margin: 22px 0 28px;
    color: #c6c6c6;
    line-height: 1.7;
}

.home-sale-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-sale-products .product-card-body a,
.home-sale-products .product-card-price {
    color: #fff;
}

.home-sale-products .product-card-price del {
    color: #aaa;
}

.home-brand-section {
    padding: 42px 0;
    border-top: 1px solid var(--owe-border);
    border-bottom: 1px solid var(--owe-border);
}

.home-brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 38px;
}

.home-brand-list a {
    color: #111;
    font-family: var(--owe-display-font);
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    letter-spacing: -0.04em;
}

.home-brand-list a:hover {
    color: #888;
}

.home-service-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--owe-border);
}

.home-service-strip > div {
    display: flex;
    padding: 28px 24px;
    align-items: center;
    gap: 16px;
    border-right: 1px solid var(--owe-border);
}

.home-service-strip > div:last-child {
    border-right: 0;
}

.home-service-strip i {
    font-size: 1.4rem;
}

.home-service-strip span {
    display: grid;
    color: var(--owe-muted);
    font-size: 0.78rem;
}

.home-service-strip strong {
    color: #111;
    font-size: 0.88rem;
}

/* Product cards */
.product-card {
    height: 100%;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
}

.product-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f2f0ed;
}

.product-card-media > a {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 9px;
    color: #fff;
    background: #111;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card-badge.sale {
    background: var(--owe-sale);
}

.product-card-badge.sold-out {
    background: #686868;
}

.product-card-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover .product-card-actions,
.product-card:focus-within .product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-card-actions .btn {
    display: inline-flex;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
}

.product-card-body {
    padding: 14px 0 0;
}

.product-card-body h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
}

.product-card-body h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: #111;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card-price {
    display: flex;
    min-height: 25px;
    margin-top: 6px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #111;
}

.product-card-price strong {
    color: inherit;
    font-size: 0.9rem;
}

.product-card-price del {
    color: var(--owe-muted);
    font-size: 0.76rem;
}

/* Catalog */
.products-page {
    padding: 0;
}

.products-hero {
    display: flex;
    margin-bottom: 48px;
    padding: clamp(34px, 4vw, 56px);
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(28px, 5vw, 72px);
    border: 1px solid var(--owe-border-strong);
    border-radius: 16px;
    background: var(--owe-surface);
    box-shadow: 0 12px 34px rgba(17, 17, 17, 0.05);
}

.products-hero > div:first-child {
    display: grid;
    max-width: 760px;
    gap: 18px;
}

.products-hero .section-kicker {
    margin: 0;
}

.products-hero h1 {
    margin: 0;
    font-family: var(--owe-display-font);
    font-size: clamp(3rem, 5vw, 5.4rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.products-hero > div:first-child > p:last-child {
    margin: 0;
    color: var(--owe-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.products-result-count {
    display: grid;
    flex: 0 0 auto;
    padding-bottom: 4px;
    gap: 5px;
    text-align: right;
}

.products-result-count strong {
    font-family: var(--owe-display-font);
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1;
}

.products-result-count span {
    color: var(--owe-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.products-mobile-tools {
    display: none;
}

.catalog-filter-shell .offcanvas-body {
    padding: 0;
}

.filter-panel {
    position: sticky;
    top: 98px;
    padding: 0 24px 0 0;
    border: 0;
    border-right: 1px solid var(--owe-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.filter-panel-header {
    padding: 0 0 18px;
}

.filter-panel-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.filter-section {
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid var(--owe-border);
}

.filter-title {
    float: none;
    width: 100%;
    margin-bottom: 12px;
    color: #111;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filter-radio-list,
.filter-check-list {
    display: grid;
    gap: 9px;
}

.filter-radio-list label,
.filter-check-list label {
    display: flex;
    margin: 0;
    align-items: center;
    gap: 9px;
    color: #4f4f4f;
    font-size: 0.84rem;
    cursor: pointer;
}

.filter-radio-list label.is-child {
    padding-left: 22px;
}

.filter-radio-list input,
.filter-check-list input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    accent-color: #111;
}

.filter-option-list {
    gap: 7px;
}

.filter-chip {
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 2px;
    font-size: 0.76rem;
}

.size-chip {
    min-width: 42px;
    justify-content: center;
}

.price-filter-inputs {
    display: grid;
    align-items: end;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
}

.price-filter-inputs label {
    display: grid;
    gap: 5px;
}

.price-filter-inputs label > span {
    color: var(--owe-muted);
    font-size: 0.7rem;
}

.price-filter-inputs .form-control {
    min-width: 0;
    min-height: 38px;
    padding: 7px;
    font-size: 0.75rem;
}

.filter-apply-btn {
    margin-top: 20px;
}

.products-toolbar {
    display: grid;
    margin-bottom: 26px;
    padding: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.catalog-search {
    position: relative;
    max-width: 440px;
}

.catalog-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--owe-muted);
    transform: translateY(-50%);
}

.catalog-search .form-control {
    padding-left: 42px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-control label {
    color: var(--owe-muted);
    font-size: 0.74rem;
    white-space: nowrap;
}

.sort-control .form-select {
    min-width: 160px;
}

.catalog-empty {
    display: grid;
    min-height: 380px;
    padding: 52px 24px;
    place-items: center;
    align-content: center;
    border: 1px solid var(--owe-border);
    text-align: center;
}

.catalog-empty.compact {
    min-height: 180px;
}

.catalog-empty > i {
    margin-bottom: 18px;
    color: #aaa;
    font-size: 2.2rem;
}

.catalog-empty h2 {
    margin: 0 0 8px;
    font-family: var(--owe-display-font);
    font-size: 1.8rem;
    font-weight: 400;
}

.catalog-empty p {
    max-width: 480px;
    color: var(--owe-muted);
}

.catalog-pagination {
    display: flex;
    margin-top: 42px;
    justify-content: center;
    gap: 5px;
}

.catalog-pagination .page-link {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--owe-border-strong);
    border-radius: 0;
    color: #111;
    background: #fff;
    font-size: 0.8rem;
}

.catalog-pagination .page-link.active {
    color: #fff;
    border-color: #111;
    background: #111;
}

.catalog-pagination .page-link:disabled {
    color: #bbb;
    background: #fafafa;
}

/* Cart */
.cart-page {
    padding-top: 8px;
}

.cart-page-heading,
.checkout-heading,
.account-page-heading,
.policy-heading {
    display: flex;
    margin-bottom: 38px;
    padding-bottom: 28px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--owe-border-strong);
}

.cart-page-heading h1,
.checkout-heading h1,
.account-page-heading h1,
.policy-heading h1 {
    margin: 0;
    font-family: var(--owe-display-font);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.05em;
}

.cart-page-heading > p {
    margin: 0;
    color: var(--owe-muted);
    font-size: 0.82rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    align-items: start;
    gap: 60px;
}

.cart-items-panel {
    border-top: 1px solid var(--owe-border);
}

.cart-line-item {
    position: relative;
    display: grid;
    padding: 24px 0;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 22px;
    border-bottom: 1px solid var(--owe-border);
}

.cart-line-image {
    display: block;
    height: 154px;
    overflow: hidden;
    background: #f2f0ed;
}

.cart-line-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-line-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cart-line-heading h2 {
    margin: 0;
    font-size: 1rem;
}

.cart-line-heading h2 a {
    color: #111;
}

.cart-line-heading p {
    margin: 7px 0 0;
    color: var(--owe-muted);
    font-size: 0.8rem;
}

.cart-line-heading > strong {
    display: none;
    font-size: 0.85rem;
}

.cart-line-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cart-quantity-control,
.offcanvas-quantity-control {
    display: grid;
    overflow: hidden;
    grid-template-columns: 34px 42px 34px;
    border: 1px solid var(--owe-border-strong);
}

.cart-quantity-control button,
.offcanvas-quantity-control button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: #fff;
}

.cart-quantity-control button:hover,
.offcanvas-quantity-control button:hover {
    background: #f3f1ee;
}

.cart-quantity-control input {
    width: 42px;
    height: 34px;
    padding: 0;
    border: 0;
    outline: 0;
    text-align: center;
    appearance: textfield;
}

.cart-quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.cart-stock-note {
    color: var(--owe-muted);
    font-size: 0.72rem;
}

.cart-remove-button {
    padding: 4px 0;
    border: 0;
    color: var(--owe-muted);
    background: transparent;
    font-size: 0.76rem;
}

.cart-remove-button:hover {
    color: var(--owe-sale);
}

.cart-line-total {
    align-self: start;
    font-size: 0.92rem;
    white-space: nowrap;
}

.cart-summary,
.checkout-summary {
    position: sticky;
    top: 102px;
    padding: 28px;
    border: 1px solid var(--owe-border-strong);
    background: #faf9f7;
}

.cart-summary h2,
.checkout-summary h2 {
    margin: 0 0 24px;
    font-family: var(--owe-display-font);
    font-size: 1.75rem;
    font-weight: 400;
}

.cart-summary dl {
    margin-bottom: 24px;
}

.cart-summary dl > div,
.checkout-totals > div {
    display: flex;
    padding: 10px 0;
    justify-content: space-between;
    gap: 16px;
    color: var(--owe-muted);
    font-size: 0.82rem;
}

.cart-summary dd,
.checkout-totals dd {
    margin: 0;
    color: #111;
    text-align: right;
}

.cart-summary-total,
.checkout-grand-total {
    margin-top: 8px;
    padding-top: 18px !important;
    border-top: 1px solid var(--owe-border-strong);
    color: #111 !important;
    font-size: 0.96rem !important;
    font-weight: 700;
}

.cart-continue-link {
    display: flex;
    margin-top: 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.78rem;
}

.cart-summary-note,
.checkout-security-note {
    display: flex;
    margin: 24px 0 0;
    align-items: flex-start;
    gap: 8px;
    color: var(--owe-muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

.cart-empty-state,
.account-empty-state {
    display: grid;
    min-height: 430px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.cart-empty-state > span {
    display: grid;
    width: 84px;
    height: 84px;
    margin-bottom: 26px;
    place-items: center;
    border: 1px solid var(--owe-border-strong);
    border-radius: 50%;
}

.cart-empty-state > span i {
    font-size: 1.7rem;
}

.cart-empty-state h2,
.account-empty-state h2 {
    margin: 0;
    font-family: var(--owe-display-font);
    font-size: 2.4rem;
    font-weight: 400;
}

.cart-empty-state > p:not(.section-kicker),
.account-empty-state p {
    max-width: 460px;
    margin: 12px 0 24px;
    color: var(--owe-muted);
}

/* Cart offcanvas */
.cart-offcanvas {
    width: min(440px, 100vw) !important;
}

.offcanvas-quantity-control {
    grid-template-columns: 28px 32px 28px;
}

.offcanvas-quantity-control button {
    width: 28px;
    height: 28px;
}

.offcanvas-quantity-control span {
    display: grid;
    place-items: center;
    font-size: 0.72rem;
}

/* Checkout */
.checkout-heading > a {
    display: inline-flex;
    padding-bottom: 5px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #111;
    font-size: 0.8rem;
}

.checkout-alert {
    border-radius: 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.75fr);
    align-items: start;
    gap: 60px;
}

.checkout-sections {
    display: grid;
    gap: 52px;
}

.checkout-section {
    border-top: 1px solid var(--owe-border-strong);
}

.checkout-section-heading {
    display: grid;
    padding: 24px 0;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
}

.checkout-section-heading > span {
    color: var(--owe-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.checkout-section-heading h2 {
    margin: 0;
    font-size: 1.12rem;
}

.checkout-section-heading p {
    margin: 5px 0 0;
    color: var(--owe-muted);
    font-size: 0.78rem;
}

.checkout-address-list,
.checkout-payment-list {
    display: grid;
    gap: 10px;
}

.checkout-choice-card {
    position: relative;
    display: grid;
    min-height: 92px;
    margin: 0;
    padding: 18px;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    border: 1px solid var(--owe-border);
    cursor: pointer;
}

.checkout-choice-card:hover {
    border-color: #aaa;
}

.checkout-choice-card:has(input:checked) {
    border-color: #111;
    background: #faf9f7;
}

.checkout-choice-card > input {
    position: absolute;
    opacity: 0;
}

.checkout-choice-card:has(input:focus-visible) {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.checkout-choice-indicator {
    display: block;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    border: 1px solid #aaa;
    border-radius: 50%;
}

.checkout-choice-card input:checked + .checkout-choice-indicator {
    border: 5px solid #111;
}

.checkout-choice-card > span:not(.checkout-choice-indicator) {
    display: grid;
}

.checkout-choice-card strong {
    font-size: 0.88rem;
}

.checkout-choice-card small {
    margin-top: 3px;
    color: var(--owe-muted);
    font-size: 0.75rem;
    font-weight: 400;
}

.checkout-choice-card em {
    margin-top: 8px;
    color: #555;
    font-size: 0.78rem;
    font-style: normal;
    line-height: 1.5;
}

.checkout-choice-card > b {
    padding: 4px 7px;
    color: #fff;
    background: #111;
    font-size: 0.62rem;
    font-weight: 600;
}

.checkout-choice-card.payment {
    grid-template-columns: 20px 28px minmax(0, 1fr);
    align-items: center;
}

.checkout-choice-card.payment > i {
    font-size: 1.25rem;
}

.checkout-empty-address {
    display: flex;
    padding: 22px;
    align-items: center;
    gap: 16px;
    border: 1px dashed var(--owe-border-strong);
}

.checkout-empty-address i {
    font-size: 1.4rem;
}

.checkout-empty-address p {
    margin: 3px 0 0;
    color: var(--owe-muted);
    font-size: 0.78rem;
}

.checkout-add-address {
    display: inline-flex;
    width: max-content;
    margin-top: 8px;
    padding: 8px 0;
    align-items: center;
    gap: 8px;
    border: 0;
    border-bottom: 1px solid #111;
    color: #111;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
}

.checkout-summary {
    padding: 26px;
}

.checkout-order-items {
    display: grid;
    max-height: 310px;
    overflow-y: auto;
}

.checkout-order-items article {
    display: grid;
    padding: 12px 0;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--owe-border);
}

.checkout-order-items img {
    width: 58px;
    height: 74px;
    object-fit: cover;
    background: #eee;
}

.checkout-order-items h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.checkout-order-items p {
    margin: 5px 0 0;
    color: var(--owe-muted);
    font-size: 0.68rem;
}

.checkout-order-items strong {
    font-size: 0.75rem;
    white-space: nowrap;
}

.checkout-coupon {
    margin: 22px 0 12px;
}

.checkout-coupon > label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 700;
}

.checkout-coupon > div {
    display: flex;
}

.checkout-coupon .form-control {
    min-width: 0;
}

.checkout-coupon .btn {
    flex: 0 0 auto;
}

.checkout-coupon > p {
    min-height: 20px;
    margin: 6px 0 0;
    font-size: 0.7rem;
}

.checkout-totals {
    margin: 0 0 20px;
}

.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Reviews and quick view */
.product-reviews {
    display: grid;
    margin-top: 72px;
    padding: 56px 0;
    grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr);
    gap: 56px;
    border-top: 1px solid var(--owe-border-strong);
}

.product-review-summary {
    display: flex;
    margin-bottom: 26px;
    align-items: center;
    gap: 18px;
}

.product-review-summary > strong {
    font-family: var(--owe-display-font);
    font-size: 3.2rem;
    font-weight: 400;
}

.product-review-summary > span {
    display: grid;
    grid-template-columns: repeat(5, auto);
    color: #111;
    gap: 2px;
}

.product-review-summary small {
    margin-top: 5px;
    grid-column: 1 / -1;
    color: var(--owe-muted);
}

.product-review-list {
    display: grid;
    border-top: 1px solid var(--owe-border);
}

.product-review-list article {
    padding: 22px 0;
    border-bottom: 1px solid var(--owe-border);
}

.product-review-list header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.product-review-list header span {
    font-size: 0.76rem;
}

.product-review-list p {
    margin: 12px 0 8px;
    color: #555;
    line-height: 1.65;
}

.product-review-list time {
    color: var(--owe-muted);
    font-size: 0.7rem;
}

.product-review-empty {
    display: flex;
    padding: 28px;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--owe-border);
}

.product-review-empty > i {
    font-size: 1.8rem;
}

.product-review-empty h3 {
    margin: 0;
    font-size: 1rem;
}

.product-review-empty p {
    margin: 4px 0 0;
    color: var(--owe-muted);
    font-size: 0.8rem;
}

.quick-view-loading {
    display: grid;
    min-height: 380px;
    place-items: center;
    align-content: center;
    gap: 16px;
}

.quick-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: 30px;
}

.quick-view-gallery > img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    background: #eee;
}

.quick-view-thumbnails {
    display: flex;
    margin-top: 10px;
    gap: 7px;
    overflow-x: auto;
}

.modal-thumbnail {
    width: 58px;
    height: 70px;
    padding: 0;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid transparent;
    background: #eee;
}

.modal-thumbnail.active {
    border-color: #111;
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-details h3 {
    margin: 0 0 14px;
    font-family: var(--owe-display-font);
    font-size: 1.9rem;
    font-weight: 400;
}

.quick-view-details > strong {
    display: block;
    margin-bottom: 24px;
}

.quick-view-details fieldset {
    margin: 0 0 18px;
}

.quick-view-details legend,
.quick-view-quantity label {
    margin-bottom: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.quick-view-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.quick-view-options .btn {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 0.76rem;
}

.quick-view-quantity {
    display: grid;
    width: 110px;
}

.quick-view-quantity input {
    height: 40px;
    border: 1px solid var(--owe-border-strong);
    text-align: center;
}

.quick-view-details > small {
    display: block;
    margin-top: 8px;
    color: var(--owe-muted);
}

/* Account and policies */
.account-page {
    padding-top: 8px;
}

.account-page-heading > div > p:last-child,
.policy-heading > p {
    margin: 10px 0 0;
    color: var(--owe-muted);
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.address-item {
    display: flex;
    min-height: 240px;
    padding: 24px;
    flex-direction: column;
    border: 1px solid var(--owe-border);
}

.address-item.is-default {
    border-color: #111;
}

.address-item > header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.address-item h2 {
    margin: 0;
    font-size: 1rem;
}

.address-item header a {
    display: inline-block;
    margin-top: 4px;
    color: var(--owe-muted);
    font-size: 0.78rem;
}

.address-item header > span {
    align-self: flex-start;
    padding: 4px 7px;
    color: #fff;
    background: #111;
    font-size: 0.62rem;
}

.address-item > p {
    margin: 22px 0;
    color: #555;
    font-size: 0.84rem;
    line-height: 1.65;
}

.address-item > footer {
    display: flex;
    margin-top: auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.address-item > footer a,
.address-item > footer button {
    display: inline-flex;
    padding: 4px 0;
    align-items: center;
    gap: 6px;
    border: 0;
    border-bottom: 1px solid transparent;
    color: #111;
    background: transparent;
    font-size: 0.74rem;
}

.address-item > footer a:hover,
.address-item > footer button:hover {
    border-color: #111;
}

.address-item > footer form {
    margin: 0;
}

.account-back-link {
    display: inline-flex;
    margin-top: 32px;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
}

.policy-heading {
    display: block;
}

.policy-heading > p {
    max-width: 600px;
}

.policy-nav {
    display: flex;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 8px;
}

.policy-nav a {
    padding: 9px 14px;
    border: 1px solid var(--owe-border-strong);
    font-size: 0.76rem;
}

.policy-section {
    display: grid;
    padding: 40px 0;
    grid-template-columns: 80px minmax(0, 1fr);
    border-top: 1px solid var(--owe-border);
    scroll-margin-top: 100px;
}

.policy-section > span {
    color: var(--owe-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.policy-section h2 {
    margin: 0 0 16px;
    font-family: var(--owe-display-font);
    font-size: 2rem;
    font-weight: 400;
}

.policy-section p {
    max-width: 760px;
    color: #555;
    line-height: 1.75;
}

/* Footer */
.main-footer {
    padding: 68px 0 26px;
    color: #d8d8d8;
    background: #111;
}

.footer-grid {
    display: grid;
    padding-bottom: 54px;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
    gap: 48px;
}

.footer-brand > a {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.footer-brand p {
    max-width: 340px;
    margin: 20px 0 0;
    color: #aaa;
    font-size: 0.84rem;
    line-height: 1.7;
}

.main-footer h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-footer ul {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 10px;
    list-style: none;
}

.main-footer a {
    color: #aaa;
    font-size: 0.8rem;
}

.main-footer a:hover,
.main-footer a:focus {
    color: #fff;
}

.footer-contact p {
    margin: 0 0 4px;
    color: #aaa;
    font-size: 0.75rem;
}

.footer-contact .footer-phone {
    color: #fff;
    font-family: var(--owe-display-font);
    font-size: 1.3rem;
}

.footer-contact > div {
    display: flex;
    margin-top: 16px;
    gap: 16px;
}

.footer-bottom {
    display: flex;
    padding-top: 22px;
    justify-content: space-between;
    border-top: 1px solid #2f2f2f;
    color: #777;
    font-size: 0.7rem;
}

/* Feedback, chat and authentication alignment */
#alert-container {
    z-index: 1100;
}

.app-toast {
    border: 1px solid var(--owe-border);
    border-radius: 2px;
    box-shadow: var(--owe-shadow-md);
}

.chat-row {
    display: flex;
    margin-bottom: 12px;
}

.chat-row.is-user {
    justify-content: flex-end;
}

.chat-row.is-assistant {
    justify-content: flex-start;
}

.chat-row .chat-message {
    max-width: 84%;
    padding: 10px 12px;
    border: 1px solid var(--owe-border);
    border-radius: 10px;
    color: #333;
    background: #fff;
    font-size: 0.82rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.chat-row.is-user .chat-message {
    color: #fff;
    border-color: #111;
    background: #111;
}

.auth-page {
    background: #f4f1ed;
}

.auth-wrapper {
    display: grid;
    min-height: 100vh;
    padding: 40px 18px;
    place-items: center;
}

.auth-card .card {
    border-radius: 2px;
    box-shadow: 0 20px 70px rgba(17, 17, 17, 0.12) !important;
}

.auth-logo {
    letter-spacing: 0.18em;
}

@media (min-width: 992px) {
    .main-navbar .nav-products:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 1199px) {
    .header-search {
        width: 170px;
    }

    .main-navbar .nav-link {
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    .home-hero {
        min-height: 560px;
    }

    .home-hero-media {
        min-height: 560px;
    }

    .cart-layout,
    .checkout-layout {
        gap: 34px;
    }
}

@media (max-width: 991px) {
    #mainHeader,
    #mainHeader.scrolled {
        backdrop-filter: none;
    }

    .header-mobile-actions {
        display: flex;
    }

    .header-cart-desktop {
        display: none;
    }

    .main-navbar .navbar-toggler {
        display: inline-grid;
        font-size: 1.35rem;
    }

    .main-navbar .offcanvas {
        top: 0;
        bottom: 0;
        height: 100dvh;
        max-width: min(390px, 92vw);
        background: #fff;
    }

    .main-navbar .offcanvas-header {
        min-height: 76px;
        padding: 16px 20px;
        border-bottom: 1px solid var(--owe-border);
    }

    .main-navbar .offcanvas-title {
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: 0.12em;
    }

    .main-navbar .offcanvas-body {
        display: flex;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .main-navbar .navbar-nav {
        width: 100%;
        margin: 0 !important;
        align-items: stretch;
        gap: 0;
    }

    .main-navbar .nav-item {
        border-bottom: 1px solid var(--owe-border);
    }

    .main-navbar .nav-link {
        padding: 16px 0 !important;
    }

    .nav-products-trigger {
        justify-content: space-between;
    }

    .nav-category-toggle {
        width: 48px;
        height: 48px;
    }

    .main-navbar .dropdown-menu {
        position: static !important;
        width: 100%;
        margin: 0 0 12px !important;
        padding: 0 0 8px 12px;
        border: 0;
        transform: none !important;
        box-shadow: none;
    }

    .main-navbar .dropdown-submenu > .dropdown-menu {
        padding-left: 12px;
    }

    .main-navbar .nav-products > .dropdown-menu.show .dropdown-submenu > .dropdown-menu {
        display: block !important;
        margin: 0 !important;
        padding: 0 0 8px 24px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .main-navbar .nav-products > .dropdown-menu.show .dropdown-submenu > .dropdown-item {
        font-weight: 800;
    }

    .main-navbar .nav-products > .dropdown-menu.show .dropdown-submenu > .dropdown-item i {
        display: none;
    }

    .header-tools {
        display: grid;
        width: 100%;
        margin-top: 20px;
        padding-top: 24px;
        border-top: 1px solid var(--owe-border);
        grid-template-columns: 1fr auto;
    }

    .header-search {
        width: 100%;
        grid-column: 1 / -1;
    }

    .header-login-link {
        justify-self: start;
    }

    .header-account-desktop {
        display: none;
    }

    .mobile-menu-account {
        display: block;
        padding-top: 22px;
    }

    .mobile-account-summary {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--owe-border);
    }

    .mobile-account-avatar {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid var(--owe-border-strong);
        border-radius: 50%;
    }

    .mobile-account-summary strong,
    .mobile-account-summary small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-account-summary strong {
        font-size: 0.9rem;
    }

    .mobile-account-summary small {
        margin-top: 2px;
        color: var(--owe-muted);
        font-size: 0.74rem;
    }

    .mobile-account-links {
        display: grid;
    }

    .mobile-account-links a,
    .mobile-account-links button {
        display: flex;
        width: 100%;
        min-height: 46px;
        padding: 12px 0;
        align-items: center;
        gap: 12px;
        border: 0;
        border-bottom: 1px solid var(--owe-border);
        color: var(--owe-ink);
        background: transparent;
        font-size: 0.82rem;
        font-weight: 700;
        text-align: left;
    }

    .mobile-account-links button {
        color: var(--owe-sale);
    }

    .mobile-account-links i {
        width: 18px;
        font-size: 1rem;
        text-align: center;
    }

    .mobile-account-label {
        margin: 0 0 12px;
        color: var(--owe-muted);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .mobile-auth-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mobile-auth-actions .btn {
        min-width: 0;
        padding: 11px 8px;
        border-radius: 2px;
        font-size: 0.78rem;
        font-weight: 800;
    }

    .home-page {
        gap: 64px;
    }

    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-hero-copy {
        min-height: 500px;
    }

    .home-hero-media {
        min-height: 620px;
    }

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

    .home-category-link:nth-child(3) {
        border-left: 1px solid var(--owe-border-strong);
    }

    .home-editorial-section {
        grid-template-columns: 1fr;
    }

    .products-mobile-tools {
        display: flex;
        margin-bottom: 18px;
        align-items: center;
        justify-content: space-between;
    }

    .catalog-clear-link {
        border-bottom: 1px solid #111;
        font-size: 0.76rem;
    }

    .catalog-filter-shell .offcanvas-body {
        padding: 0 20px 24px;
    }

    .filter-panel {
        position: static;
        padding: 0;
        border-right: 0;
    }

    .filter-panel-header {
        display: none;
    }

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

    .cart-summary,
    .checkout-summary {
        position: static;
    }

    .checkout-summary {
        grid-row: 1;
    }

    .checkout-sections {
        grid-row: 2;
    }

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

    .product-reviews {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 767px) {
    .site-main {
        padding-top: 18px;
        padding-bottom: 52px;
    }

    .site-breadcrumb {
        overflow: hidden;
        padding-top: 14px;
        white-space: nowrap;
    }

    .home-hero-copy {
        min-height: 460px;
        padding: 40px 24px;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.9rem, 14vw, 4.6rem);
    }

    .home-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-hero-notes {
        margin-top: 40px;
    }

    .home-hero-notes div + div {
        padding-left: 10px;
    }

    .home-hero-media {
        min-height: 500px;
    }

    .home-editorial-section {
        padding: 32px 20px;
    }

    .home-sale-products {
        gap: 12px;
    }

    .home-service-strip {
        grid-template-columns: 1fr;
    }

    .home-service-strip > div {
        border-right: 0;
        border-bottom: 1px solid var(--owe-border);
    }

    .products-hero {
        align-items: flex-start;
    }

    .products-result-count {
        padding-top: 14px;
    }

    .products-toolbar {
        grid-template-columns: 1fr;
    }

    .catalog-search {
        max-width: none;
    }

    .sort-control {
        justify-content: space-between;
    }

    .cart-page-heading,
    .checkout-heading,
    .account-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-line-item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
    }

    .cart-line-image {
        height: 122px;
    }

    .cart-line-total {
        margin-top: 10px;
        grid-column: 2;
        grid-row: 2;
    }

    .cart-line-main {
        gap: 20px;
    }

    .cart-stock-note {
        display: none;
    }

    .checkout-heading > a {
        align-self: flex-start;
    }

    .checkout-choice-card {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    .checkout-choice-card > b {
        margin-left: 34px;
        justify-self: start;
    }

    .address-grid {
        grid-template-columns: 1fr;
    }

    .policy-section {
        grid-template-columns: 42px minmax(0, 1fr);
    }

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

    .quick-view-gallery > img {
        max-height: 390px;
    }
}

@media (max-width: 575px) {
    .header-spacer,
    #mainHeader,
    #mainHeader.scrolled {
        height: 68px;
    }

    .main-navbar .navbar-brand {
        font-size: 1.35rem;
    }

    .home-page {
        gap: 52px;
    }

    .home-hero {
        margin-right: -12px;
        margin-left: -12px;
    }

    .home-hero-copy {
        min-height: 430px;
    }

    .home-hero-copy > p:not(.section-kicker) {
        font-size: 0.9rem;
    }

    .home-hero-notes {
        grid-template-columns: 1fr;
    }

    .home-hero-notes div,
    .home-hero-notes div + div {
        display: flex;
        padding: 8px 0;
        justify-content: space-between;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    }

    .home-hero-media {
        min-height: 440px;
    }

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

    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .home-category-link {
        min-height: 120px;
        border-left: 1px solid var(--owe-border-strong);
    }

    .home-sale-products .product-card-actions {
        display: none;
    }

    .home-editorial-copy h2 {
        font-size: 2.4rem;
    }

    .product-card-media {
        aspect-ratio: 4 / 5.5;
    }

    .product-card-actions {
        right: 6px;
        bottom: 6px;
        left: 6px;
        grid-template-columns: 40px minmax(0, 1fr);
        opacity: 1;
        transform: none;
    }

    .product-card-actions .quick-view-btn {
        width: 40px;
        padding: 0;
    }

    .product-card-actions .quick-view-btn span {
        display: none;
    }

    .product-card-actions .btn {
        font-size: 0.68rem;
    }

    .product-card-body h3,
    .product-card-price strong {
        font-size: 0.8rem;
    }

    .product-card-price del {
        font-size: 0.67rem;
    }

    .products-hero {
        margin-bottom: 28px;
        padding: 28px 22px;
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

    .products-hero h1 {
        font-size: 3.3rem;
    }

    .products-hero > div:first-child > p:last-child {
        font-size: 0.82rem;
    }

    .products-result-count strong {
        font-size: 1.8rem;
    }

    .products-result-count {
        padding-bottom: 0;
        text-align: left;
    }

    .cart-page-heading h1,
    .checkout-heading h1,
    .account-page-heading h1,
    .policy-heading h1 {
        font-size: 3rem;
    }

    .cart-line-heading > strong {
        display: block;
    }

    .cart-line-total {
        display: none;
    }

    .cart-line-controls {
        gap: 10px;
    }

    .cart-remove-button {
        font-size: 0;
    }

    .cart-remove-button i {
        font-size: 0.9rem;
    }

    .cart-summary,
    .checkout-summary {
        margin-right: -12px;
        margin-left: -12px;
        padding: 24px 18px;
        border-right: 0;
        border-left: 0;
    }

    .checkout-section-heading {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .checkout-order-items article {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .checkout-order-items article > strong {
        margin-left: 64px;
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .product-reviews {
        margin-top: 50px;
        padding: 42px 0;
    }

    .product-review-list header {
        flex-direction: column;
        gap: 6px;
    }

    .policy-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #alert-container {
        right: 10px !important;
        left: 10px !important;
        width: auto;
        padding: 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Cart offcanvas */
.cart-offcanvas {
    width: min(420px, 100vw) !important;
}

.cart-offcanvas .offcanvas-header {
    padding: 22px 24px;
}

.cart-offcanvas-eyebrow {
    color: #1f6d68;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cart-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.cart-offcanvas-loading,
.cart-offcanvas-empty {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 300px;
    padding: 32px 24px;
    text-align: center;
}

.cart-offcanvas-loading {
    flex-direction: row;
    color: var(--owe-muted);
}

.cart-offcanvas-empty > i {
    color: #1f6d68;
    font-size: 2.5rem;
}

.cart-offcanvas-empty h6,
.cart-offcanvas-empty p {
    margin: 0;
}

.cart-offcanvas-empty p {
    color: var(--owe-muted);
    font-size: 0.9rem;
}

.cart-offcanvas-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.cart-offcanvas-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px 24px;
}

.cart-offcanvas-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--owe-border);
}

.cart-offcanvas-item > img {
    width: 84px;
    height: 104px;
    object-fit: cover;
    background: #f1f3f3;
    border-radius: 6px;
}

.cart-offcanvas-item-info {
    min-width: 0;
}

.cart-offcanvas-item-info h6 {
    margin: 2px 0 6px;
    overflow-wrap: anywhere;
    font-size: 0.92rem;
}

.cart-offcanvas-item-info p,
.cart-offcanvas-item-info span {
    color: var(--owe-muted);
    font-size: 0.78rem;
}

.cart-offcanvas-remove {
    display: inline-grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
}

.cart-offcanvas-remove:hover {
    color: var(--owe-sale);
    background: var(--owe-sale-soft);
}

.cart-offcanvas-summary {
    padding: 20px 24px 24px;
    background: #f1f5f4;
    border-top: 1px solid #dbe6e4;
}

.cart-offcanvas-summary p {
    margin: 6px 0 16px;
    color: var(--owe-muted);
    font-size: 0.78rem;
}

/* Vietnam address selector */
.address-selector-status {
    min-height: 22px;
    margin-top: 8px;
    color: var(--owe-muted);
    font-size: 0.76rem;
}

.address-selector-status.is-loading::before {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-right: 6px;
    content: "";
    border: 1px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: address-selector-spin 0.8s linear infinite;
}

.address-selector-status.is-ready {
    color: #1f6d68;
}

.address-selector-status.is-warning {
    color: #9a5b13;
}

@keyframes address-selector-spin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-alert {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

/* Account profile */
.profile-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 0 56px;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    color: #fff;
    background: #1a1d1d;
    border-radius: 8px;
}

.profile-identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 18px;
}

.profile-avatar {
    display: grid;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    place-items: center;
    color: #143b39;
    background: #b8ded9;
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 800;
}

.profile-eyebrow {
    margin: 0 0 4px;
    color: #9bc9c4;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-header h1 {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 8px;
    color: #ced3d2;
    font-size: 0.78rem;
}

.profile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-header > .btn {
    flex: 0 0 auto;
    color: #161919;
    background: #fff;
    border-color: #fff;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 24px;
}

.profile-stat {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 13px;
    padding: 16px 18px;
    color: var(--owe-ink);
    background: #fff;
    border: 1px solid var(--owe-border);
    border-radius: 8px;
}

.profile-stat:hover {
    color: var(--owe-ink);
    border-color: #8ebdb8;
}

.profile-stat > i {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #1f6d68;
    background: #e2f1ef;
    border-radius: 50%;
    font-size: 1rem;
}

.profile-stat:nth-child(2) > i {
    color: #9a5b13;
    background: #fff0d8;
}

.profile-stat:nth-child(3) > i {
    color: #8b3240;
    background: #f8e6e9;
}

.profile-stat span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.profile-stat strong {
    font-size: 1.15rem;
}

.profile-stat small {
    overflow: hidden;
    color: var(--owe-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.profile-navigation {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--owe-border);
    border-radius: 8px;
}

.profile-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 14px;
    color: var(--owe-muted);
    border-left: 3px solid transparent;
    font-size: 0.86rem;
}

.profile-navigation a + a {
    border-top: 1px solid var(--owe-border);
}

.profile-navigation a:hover,
.profile-navigation a.active {
    color: #174f4b;
    background: #edf6f5;
    border-left-color: #1f6d68;
}

.profile-content {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.profile-section {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--owe-border);
    border-radius: 8px;
}

.profile-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--owe-border);
}

.profile-section-heading p {
    margin: 0 0 2px;
    color: #1f6d68;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-section-heading h2 {
    margin: 0;
    font-size: 1.12rem;
}

.profile-section-heading > i {
    color: #1f6d68;
    font-size: 1.4rem;
}

.profile-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
}

.profile-input {
    position: relative;
}

.profile-input > i {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 2;
    color: #71807e;
    transform: translateY(-50%);
}

.profile-input .form-control {
    min-height: 44px;
    padding-left: 38px;
}

.profile-input .form-control:focus {
    border-color: #468f89;
    box-shadow: 0 0 0 0.2rem rgba(31, 109, 104, 0.12);
}

.profile-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.profile-address,
.profile-empty-address {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.profile-address > i,
.profile-empty-address > i {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #1f6d68;
    background: #e2f1ef;
    border-radius: 50%;
    font-size: 1.1rem;
}

.profile-address div,
.profile-empty-address div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.profile-address span {
    color: var(--owe-muted);
    font-size: 0.8rem;
}

.profile-address p,
.profile-empty-address p {
    margin: 5px 0 0;
    color: var(--owe-muted);
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}

.profile-empty-address .btn {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .profile-header,
    .profile-identity,
    .profile-empty-address {
        align-items: flex-start;
    }

    .profile-header {
        flex-direction: column;
        padding: 22px;
    }

    .profile-header > .btn {
        width: 100%;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

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

    .profile-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-navigation a + a {
        border-top: 0;
    }

    .profile-navigation a {
        border-bottom: 1px solid var(--owe-border);
    }

    .profile-section {
        padding: 20px 16px;
    }

    .profile-empty-address {
        flex-wrap: wrap;
    }

    .profile-empty-address .btn {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .profile-identity {
        flex-direction: column;
    }

    .profile-meta {
        flex-direction: column;
    }

    .profile-navigation {
        grid-template-columns: 1fr;
    }

    .profile-form-actions .btn {
        width: 100%;
    }
}

/* Product detail */
.product-detail-page {
    min-width: 0;
    padding: 4px 0 48px;
    letter-spacing: 0;
}

.product-breadcrumb {
    margin-bottom: 24px;
}

.product-breadcrumb .breadcrumb {
    flex-wrap: nowrap;
    margin: 0;
    overflow: hidden;
    color: var(--owe-muted);
    font-size: 0.78rem;
    white-space: nowrap;
}

.product-breadcrumb .breadcrumb-item {
    min-width: 0;
}

.product-breadcrumb .breadcrumb-item.active {
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-breadcrumb a {
    color: var(--owe-muted);
}

.product-breadcrumb a:hover {
    color: var(--owe-black);
}

.product-purchase-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 56px;
    align-items: start;
}

.product-gallery-shell {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    max-width: 100%;
}

.product-thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 720px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--owe-border-strong) transparent;
    scrollbar-width: thin;
}

.product-thumbnail {
    position: relative;
    flex: 0 0 82px;
    width: 82px;
    height: 96px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--owe-border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.product-thumbnail::after {
    position: absolute;
    right: 8px;
    bottom: 5px;
    left: 8px;
    height: 2px;
    background: var(--owe-black);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--owe-black);
}

.product-thumbnail.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.product-thumbnail:focus-visible {
    outline: 3px solid rgba(17, 17, 17, 0.18);
    outline-offset: 2px;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-stage {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--owe-border);
    border-radius: 8px;
    background: #fff;
}

.product-image-stage > #main-product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 28px;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.16s ease;
}

.product-image-stage > #main-product-image.is-switching {
    opacity: 0.2;
}

.product-badge-stack {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 4px;
    color: #fff;
    background: var(--owe-black);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-status-badge.sale {
    background: var(--owe-sale);
}

.product-status-badge.sold-out {
    background: #6d6d6d;
}

.product-zoom-button,
.product-gallery-arrow {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--owe-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--owe-black);
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
    place-items: center;
}

.product-zoom-button {
    top: 18px;
    right: 18px;
}

.product-gallery-arrow {
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.product-gallery-arrow.previous {
    left: 18px;
}

.product-gallery-arrow.next {
    right: 18px;
}

.product-image-stage:hover .product-gallery-arrow,
.product-gallery-arrow:focus-visible {
    opacity: 1;
}

.product-zoom-button:hover,
.product-gallery-arrow:hover {
    border-color: var(--owe-black);
    background: var(--owe-black);
    color: #fff;
}

.product-image-counter {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    min-width: 52px;
    padding: 7px 9px;
    border-radius: 4px;
    background: rgba(17, 17, 17, 0.82);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}

.product-image-empty {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 12px;
    color: var(--owe-muted);
    text-align: center;
}

.product-image-empty i {
    font-size: 2.2rem;
}

.product-buy-panel {
    position: sticky;
    top: 108px;
    min-width: 0;
    padding: 8px 0 0;
}

.product-heading {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--owe-border-strong);
}

.product-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #8f4b35;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-eyebrow span + span::before {
    margin-right: 8px;
    color: var(--owe-border-strong);
    content: "/";
}

.product-heading h1 {
    margin: 0;
    color: var(--owe-black);
    font-size: 2.45rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.product-price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 18px 0 12px;
}

.product-current-price {
    color: var(--owe-black);
    font-size: 1.65rem;
    font-weight: 800;
}

.product-current-price.sale-price {
    color: var(--owe-sale);
}

.product-original-price {
    color: var(--owe-muted);
    font-size: 0.94rem;
    text-decoration: line-through;
}

.product-discount {
    padding: 5px 8px;
    border-radius: 4px;
    background: var(--owe-sale-soft);
    color: var(--owe-sale);
    font-size: 0.72rem;
    font-weight: 800;
}

.product-summary {
    margin: 0 0 26px;
    color: var(--owe-muted);
    font-size: 0.94rem;
    line-height: 1.75;
}

.product-configurator {
    border-top: 1px solid var(--owe-border-strong);
}

.product-option-group {
    min-width: 0;
    margin: 0;
    padding: 22px 0;
    border: 0;
    border-bottom: 1px solid var(--owe-border-strong);
}

.product-option-group legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 14px;
    color: var(--owe-black);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-option-group legend strong {
    color: var(--owe-muted);
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: none;
}

.product-color-options,
.product-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 42px;
}

.product-color-option,
.product-size-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--owe-border-strong);
    border-radius: 6px;
    background: #fff;
    color: var(--owe-ink);
    font-size: 0.82rem;
    font-weight: 700;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.product-color-option {
    gap: 9px;
    padding: 8px 13px 8px 9px;
}

.product-size-option {
    min-width: 48px;
    padding: 8px 14px;
}

.product-color-option:hover:not(:disabled),
.product-size-option:hover:not(:disabled) {
    border-color: var(--owe-black);
}

.product-color-option.active,
.product-size-option.active {
    border-color: var(--owe-black);
    background: var(--owe-black);
    color: #fff;
}

.product-color-option:focus-visible,
.product-size-option:focus-visible {
    outline: 3px solid rgba(17, 17, 17, 0.16);
    outline-offset: 2px;
}

.product-color-option:disabled,
.product-size-option:disabled {
    cursor: not-allowed;
    opacity: 0.36;
    text-decoration: line-through;
}

.product-color-swatch {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--swatch-color);
    box-shadow: 0 0 0 1px var(--owe-border-strong);
}

.product-color-option.active .product-color-swatch {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.product-availability {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 0;
    color: #356b47;
    font-size: 0.84rem;
    font-weight: 700;
}

.product-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3d8b57;
    box-shadow: 0 0 0 4px rgba(61, 139, 87, 0.1);
}

.product-availability.unavailable {
    color: var(--owe-sale);
}

.product-availability.unavailable .product-stock-dot {
    background: var(--owe-sale);
    box-shadow: 0 0 0 4px rgba(180, 35, 42, 0.1);
}

.product-selected-sku {
    color: var(--owe-muted);
    font-size: 0.7rem;
    font-weight: 600;
}

.product-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0 24px;
}

.product-quantity-label {
    color: var(--owe-black);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-quantity-control {
    display: grid;
    grid-template-columns: 40px 48px 40px;
    width: 128px;
    height: 42px;
    overflow: hidden;
    border: 1px solid var(--owe-border-strong);
    border-radius: 6px;
    background: #fff;
}

.product-quantity-control button,
.product-quantity-control input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--owe-black);
    text-align: center;
}

.product-quantity-control button:hover {
    background: var(--owe-soft);
}

.product-quantity-control input {
    border-right: 1px solid var(--owe-border);
    border-left: 1px solid var(--owe-border);
    font-size: 0.86rem;
    font-weight: 800;
    appearance: textfield;
}

.product-quantity-control input::-webkit-outer-spin-button,
.product-quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.product-purchase-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: 52px;
}

.product-purchase-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.86rem;
}

.product-purchase-actions .btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
}

.product-information {
    display: grid;
    grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
    gap: 64px;
    margin: 88px 0;
    padding: 60px 0;
    border-top: 1px solid var(--owe-border-strong);
    border-bottom: 1px solid var(--owe-border-strong);
}

.product-information-heading > p,
.product-related-heading > div > p {
    margin-bottom: 10px;
    color: #8f4b35;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-information-heading h2,
.product-related-heading h2 {
    margin: 0;
    color: var(--owe-black);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
}

.product-information-copy > p {
    max-width: 720px;
    margin-bottom: 34px;
    color: var(--owe-ink);
    font-size: 1.02rem;
    line-height: 1.85;
}

.product-information-copy dl {
    margin: 0;
}

.product-information-copy dl > div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--owe-border);
}

.product-information-copy dl > div:last-child {
    border-bottom: 1px solid var(--owe-border);
}

.product-information-copy dt {
    color: var(--owe-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-information-copy dd {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
}

.product-related {
    margin-bottom: 72px;
}

.product-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.product-related-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: 0.86rem;
    font-weight: 700;
}

.product-image-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
}

.product-image-modal .modal-header {
    border-bottom-color: var(--owe-border);
}

.product-image-modal .modal-body {
    display: grid;
    min-height: min(76vh, 760px);
    padding: 24px;
    background: #f7f7f7;
    place-items: center;
}

.product-image-modal .modal-body img {
    width: 100%;
    height: min(72vh, 720px);
    object-fit: contain;
}

@media (max-width: 1199px) {
    .product-purchase-layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
        gap: 36px;
    }

    .product-heading h1 {
        font-size: 2.15rem;
    }

    .product-gallery-shell {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .product-thumbnail {
        width: 72px;
        height: 86px;
        flex-basis: 72px;
    }
}

@media (max-width: 991px) {
    .product-purchase-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .product-gallery-shell {
        max-width: 760px;
        margin: 0 auto;
    }

    .product-buy-panel {
        position: static;
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

    .product-gallery-arrow {
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .product-detail-page {
        padding-top: 0;
    }

    .product-breadcrumb {
        margin-bottom: 16px;
    }

    .product-gallery-shell {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .product-thumbnail-list {
        order: 2;
        flex-direction: row;
        max-width: 100%;
        max-height: none;
        padding-bottom: 4px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .product-thumbnail {
        width: 68px;
        height: 76px;
        flex: 0 0 68px;
    }

    .product-image-stage {
        order: 1;
        aspect-ratio: 4 / 5;
    }

    .product-image-stage > #main-product-image {
        padding: 18px;
    }

    .product-zoom-button {
        top: 12px;
        right: 12px;
    }

    .product-gallery-arrow {
        width: 38px;
        height: 38px;
    }

    .product-gallery-arrow.previous {
        left: 12px;
    }

    .product-gallery-arrow.next {
        right: 12px;
    }

    .product-image-counter {
        right: 12px;
        bottom: 12px;
    }

    .product-buy-panel {
        padding-top: 0;
    }

    .product-heading h1 {
        font-size: 2rem;
    }

    .product-current-price {
        font-size: 1.45rem;
    }

    .product-purchase-actions {
        grid-template-columns: 1fr;
        min-height: 116px;
    }

    .product-information {
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 64px 0;
        padding: 44px 0;
    }

    .product-related-heading {
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .product-heading h1 {
        font-size: 1.75rem;
    }

    .product-color-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-color-option {
        min-width: 0;
        overflow: hidden;
    }

    .product-color-option > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-availability {
        grid-template-columns: 10px minmax(0, 1fr);
    }

    .product-selected-sku {
        display: none;
    }

    .product-information-copy dl > div {
        grid-template-columns: 108px minmax(0, 1fr);
    }
}

/* Auth pages */
.auth-card {
    width: min(100%, 460px);
    margin: 0 auto;
}

.auth-card-wide {
    width: min(100%, 620px);
}

.auth-brand {
    margin-bottom: 24px;
    text-align: center;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--owe-black);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.auth-logo:hover {
    color: var(--owe-black);
}

.auth-brand p,
.auth-heading p {
    margin-bottom: 0;
    color: var(--owe-muted);
}

.auth-card .card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.14) !important;
}

.auth-heading h1 {
    margin: 8px 0 10px;
    color: var(--owe-black);
    font-size: clamp(2rem, 5vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.06em;
}

.auth-eyebrow {
    color: var(--owe-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-form .form-control {
    min-height: 56px;
    border-color: var(--owe-border);
    border-radius: 16px;
    background-color: var(--owe-soft);
    font-weight: 600;
}

.auth-form .form-control:focus {
    border-color: var(--owe-black);
    box-shadow: 0 0 0 0.2rem rgba(17, 17, 17, 0.12);
}

.auth-form .form-floating > label {
    color: var(--owe-muted);
    font-weight: 600;
}

.auth-link {
    color: var(--owe-black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.auth-link:hover {
    color: var(--owe-muted);
}

.auth-submit {
    min-height: 52px;
    font-size: 0.98rem;
}

.auth-card .card-footer {
    margin-top: -1px;
}

@media (max-width: 575px) {
    .auth-card .card-body {
        padding: 28px 22px !important;
    }

    .auth-card .card-footer {
        padding-right: 22px !important;
        padding-left: 22px !important;
    }
}

/* Journal */
.editorial-hero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: 8px;
    background: #242424;
    color: #fff;
}

.editorial-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.editorial-hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.48);
}

.editorial-hero-content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 720px;
    padding: 56px;
    letter-spacing: 0;
}

.editorial-kicker,
.journal-section-index,
.journal-tag,
.contact-kicker,
.contact-owner-label {
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.editorial-kicker {
    color: #f1c7b6;
}

.editorial-hero h1 {
    margin-bottom: 16px;
    font-size: 4.75rem;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
}

.editorial-hero p {
    max-width: 590px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.75;
}

.editorial-hero-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding-inline: 22px;
}

.journal-intro {
    display: grid;
    grid-template-columns: minmax(140px, 0.4fr) minmax(0, 1.6fr);
    gap: 48px;
    margin: 72px 0;
    padding: 0 8px 56px;
    border-bottom: 1px solid var(--owe-border-strong);
}

.journal-section-index {
    color: #9b482f;
}

.journal-intro h2 {
    max-width: 800px;
    margin-bottom: 20px;
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.journal-intro > div > p,
.journal-section-heading > p {
    max-width: 680px;
    margin: 0;
    color: var(--owe-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.journal-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    min-height: 630px;
    overflow: hidden;
    border-radius: 8px;
    background: #e2e9e3;
}

.journal-feature-media {
    min-height: 630px;
}

.journal-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px;
    letter-spacing: 0;
}

.journal-tag {
    display: inline-block;
    margin-bottom: 16px;
    color: #476050;
}

.journal-feature-copy h2 {
    margin-bottom: 20px;
    font-size: 2.45rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.journal-lead {
    color: #425047;
    line-height: 1.75;
}

.journal-principles {
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.journal-principles li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid rgba(34, 60, 42, 0.18);
}

.journal-principles li:last-child {
    border-bottom: 1px solid rgba(34, 60, 42, 0.18);
}

.journal-principles li > span {
    color: #476050;
    font-size: 0.75rem;
    font-weight: 800;
}

.journal-principles strong {
    display: block;
    margin-bottom: 4px;
    color: #17221b;
}

.journal-principles p {
    margin: 0;
    color: #58665d;
    font-size: 0.9rem;
    line-height: 1.6;
}

.journal-text-link,
.journal-story-body > a {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-weight: 700;
}

.journal-stories {
    margin: 88px 0;
}

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

.journal-section-heading h2 {
    margin: 0;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: 0;
}

.journal-section-heading > p {
    max-width: 360px;
    font-size: 0.95rem;
}

.journal-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.journal-story {
    overflow: hidden;
    border: 1px solid var(--owe-border);
    border-radius: 8px;
    background: var(--owe-surface);
}

.journal-story-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ecebea;
}

.journal-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.journal-story:nth-child(2) .journal-story-media img,
.journal-story:nth-child(3) .journal-story-media img {
    object-fit: contain;
}

.journal-story-media:hover img {
    transform: scale(1.025);
}

.journal-story-body {
    padding: 26px;
    letter-spacing: 0;
}

.journal-story-body h3 {
    min-height: 84px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0;
}

.journal-story-body p {
    min-height: 76px;
    margin-bottom: 22px;
    color: var(--owe-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.journal-story-body > a {
    font-size: 0.9rem;
}

.journal-contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 72px;
    padding: 42px 48px;
    border-left: 6px solid #d66e4a;
    background: #f1ddd4;
}

.journal-contact-band h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0;
}

.journal-contact-band .btn {
    flex: 0 0 auto;
}

/* Contact */
.contact-heading {
    max-width: 760px;
    padding: 32px 0 48px;
    letter-spacing: 0;
}

.contact-kicker {
    color: #9b482f;
}

.contact-heading h1 {
    margin-bottom: 18px;
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}

.contact-heading > p:last-child {
    max-width: 640px;
    margin: 0;
    color: var(--owe-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    margin-bottom: 80px;
}

.contact-owner {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: 42px;
    border-radius: 8px;
    background: #151515;
    color: #fff;
    letter-spacing: 0;
}

.contact-monogram {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: auto;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    place-items: center;
    color: #f0b8a2;
    font-size: 1.25rem;
    font-weight: 800;
}

.contact-owner-label {
    margin-top: 56px;
    color: #b9b9b9;
}

.contact-owner h2 {
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0;
}

.contact-phone {
    align-self: flex-start;
    margin-bottom: 32px;
    color: #f0b8a2;
    font-size: 1.45rem;
    font-weight: 700;
}

.contact-phone:hover {
    color: #fff;
}

.contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
}

.contact-zalo {
    border: 1px solid #75a8c8;
    background: #466e89;
    color: #fff;
}

.contact-zalo:hover,
.contact-zalo:focus {
    border-color: #90bdd8;
    background: #365c75;
    color: #fff;
}

.contact-copy-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: #b9b9b9;
    font-size: 0.82rem;
}

.contact-copy-button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    place-items: center;
}

.contact-copy-button:hover,
.contact-copy-button.is-copied {
    border-color: #f0b8a2;
    color: #f0b8a2;
}

.contact-help {
    padding: 42px 48px;
    border: 1px solid var(--owe-border-strong);
    border-radius: 8px;
    background: #fff;
    letter-spacing: 0;
}

.contact-help-heading {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--owe-border);
}

.contact-help-heading h2 {
    max-width: 520px;
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.contact-topic-list {
    margin-top: 8px;
}

.contact-topic {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 25px 0;
    border-bottom: 1px solid var(--owe-border);
}

.contact-topic-icon {
    display: grid;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e9e3;
    color: #3f5e49;
    font-size: 1.15rem;
    place-items: center;
}

.contact-topic h3 {
    margin: 2px 0 7px;
    font-size: 1.03rem;
    font-weight: 800;
    letter-spacing: 0;
}

.contact-topic p {
    margin: 0;
    color: var(--owe-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.contact-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding-top: 28px;
}

.contact-secondary-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-faq {
    display: grid;
    grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
    gap: 64px;
    margin-bottom: 80px;
    padding-top: 64px;
    border-top: 1px solid var(--owe-border-strong);
    letter-spacing: 0;
}

.contact-faq-heading h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
}

.contact-faq-list details {
    padding: 22px 0;
    border-bottom: 1px solid var(--owe-border-strong);
}

.contact-faq-list details:first-child {
    border-top: 1px solid var(--owe-border-strong);
}

.contact-faq-list summary {
    cursor: pointer;
    font-weight: 800;
    list-style-position: outside;
}

.contact-faq-list details p {
    margin: 14px 0 0;
    color: var(--owe-muted);
    line-height: 1.7;
}

@media (max-width: 991px) {
    .editorial-hero-content {
        padding: 40px;
    }

    .editorial-hero h1 {
        font-size: 3.8rem;
    }

    .journal-feature {
        grid-template-columns: 1fr;
    }

    .journal-feature-media {
        min-height: 420px;
    }

    .journal-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journal-story:last-child {
        grid-column: 1 / -1;
    }

    .journal-story:last-child .journal-story-media {
        aspect-ratio: 2 / 1;
    }

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

    .contact-owner {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .editorial-hero {
        min-height: 480px;
    }

    .editorial-hero > img {
        object-position: 58% center;
    }

    .editorial-hero-content {
        padding: 30px;
    }

    .editorial-hero h1 {
        font-size: 3rem;
    }

    .editorial-hero p {
        font-size: 0.96rem;
    }

    .journal-intro {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 52px 0;
        padding-bottom: 40px;
    }

    .journal-intro h2 {
        font-size: 2rem;
    }

    .journal-feature-copy {
        padding: 36px 28px;
    }

    .journal-feature-copy h2 {
        font-size: 2rem;
    }

    .journal-stories {
        margin: 64px 0;
    }

    .journal-section-heading {
        display: block;
    }

    .journal-section-heading h2 {
        margin-bottom: 14px;
        font-size: 2rem;
    }

    .journal-story-grid {
        grid-template-columns: 1fr;
    }

    .journal-story:last-child {
        grid-column: auto;
    }

    .journal-story:last-child .journal-story-media {
        aspect-ratio: 4 / 3;
    }

    .journal-story-body h3,
    .journal-story-body p {
        min-height: 0;
    }

    .journal-contact-band {
        display: block;
        padding: 32px 26px;
    }

    .journal-contact-band h2 {
        margin-bottom: 24px;
        font-size: 1.55rem;
    }

    .contact-heading {
        padding-top: 18px;
    }

    .contact-heading h1 {
        font-size: 2.75rem;
    }

    .contact-owner,
    .contact-help {
        padding: 32px 26px;
    }

    .contact-owner {
        min-height: 520px;
    }

    .contact-actions {
        grid-template-columns: 1fr;
    }

    .contact-faq {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 56px;
        padding-top: 46px;
    }
}

@media (max-width: 420px) {
    .editorial-hero-content {
        padding: 24px 20px;
    }

    .editorial-hero h1 {
        font-size: 2.55rem;
    }

    .journal-feature-media {
        min-height: 320px;
    }

    .contact-heading h1 {
        font-size: 2.35rem;
    }

    .contact-owner h2 {
        font-size: 1.85rem;
    }

    .contact-phone {
        font-size: 1.25rem;
    }
}

/* Footer */
.main-footer {
    background-color: var(--owe-black);
    color: #a0a0a0;
    padding: 48px 0;
}

.main-footer h5 {
    color: var(--owe-surface);
    margin-bottom: 20px;
    font-weight: 700;
}

.main-footer ul {
    list-style: none;
    padding-left: 0;
}

.main-footer ul li a {
    color: #a0a0a0;
    text-decoration: none;
    line-height: 2;
}

.main-footer ul li a:hover {
    color: var(--owe-surface);
    text-decoration: underline;
}

/* Chat widget */
.chat-toggle-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1035;
    display: inline-flex;
    min-height: 52px;
    padding: 0 18px;
    align-items: center;
    gap: 9px;
    color: #fff;
    border: 0;
    border-radius: 999px;
    background: #111;
    box-shadow: 0 12px 34px rgba(17, 17, 17, 0.28);
    font-size: 0.86rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-toggle-btn:hover,
.chat-toggle-btn:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(17, 17, 17, 0.34);
}

.chat-toggle-btn i {
    font-size: 1.15rem;
}

.chat-toggle-btn[hidden],
.chat-box[hidden] {
    display: none !important;
}

.chat-box {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 1040;
    display: flex;
    width: min(430px, calc(100vw - 32px));
    height: min(680px, calc(100dvh - 118px));
    flex-direction: column;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.22);
    overflow: hidden;
}

.chat-box-header {
    display: flex;
    min-height: 74px;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    background: #111;
}

.chat-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.chat-avatar {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    place-items: center;
}

.chat-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.chat-heading p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    white-space: nowrap;
}

.chat-header-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
}

.chat-header-actions button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    padding: 0;
    color: rgba(255, 255, 255, 0.82);
    border: 0;
    border-radius: 50%;
    background: transparent;
    place-items: center;
}

.chat-header-actions button:hover,
.chat-header-actions button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.chat-network-status {
    padding: 8px 14px;
    color: #7a4d00;
    border-bottom: 1px solid #f1d49a;
    background: #fff7e6;
    font-size: 0.74rem;
    line-height: 1.4;
}

.chat-content {
    flex: 1;
    padding: 18px 16px;
    background:
        radial-gradient(circle at top right, rgba(17, 17, 17, 0.035), transparent 35%),
        #f7f6f3;
    overscroll-behavior: contain;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.chat-empty-state {
    display: flex;
    min-height: 100%;
    padding: 20px 2px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.chat-empty-state[hidden] {
    display: none;
}

.chat-empty-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    color: #fff;
    border-radius: 17px;
    background: #111;
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.18);
    font-size: 1.15rem;
    place-items: center;
}

.chat-empty-state h3 {
    margin: 0;
    color: #171717;
    font-size: 1rem;
}

.chat-empty-state > p {
    max-width: 330px;
    margin: 8px 0 18px;
    color: #686868;
    font-size: 0.79rem;
    line-height: 1.55;
}

.chat-suggestions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.chat-suggestions button {
    min-height: 48px;
    padding: 9px 10px;
    color: #242424;
    border: 1px solid #dedbd5;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.73rem;
    line-height: 1.35;
    text-align: left;
}

.chat-suggestions button:hover,
.chat-suggestions button:focus-visible {
    border-color: #111;
    background: #fff;
}

.chat-content .chat-row {
    display: flex;
    width: 100%;
    margin-bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
}

.chat-content .chat-row.is-user {
    align-items: flex-end;
}

.chat-content .chat-row .chat-message {
    max-width: 86%;
    padding: 10px 13px;
    color: #292929;
    border: 1px solid #e0ddd7;
    border-radius: 5px 16px 16px 16px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(17, 17, 17, 0.055);
    font-size: 0.82rem;
    line-height: 1.52;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.chat-content .chat-row.is-user .chat-message {
    color: #fff;
    border-color: #111;
    border-radius: 16px 5px 16px 16px;
    background: #111;
}

.chat-message p {
    margin: 0;
}

.chat-fallback-note {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 0.65rem;
}

.chat-product-list {
    display: grid;
    width: 100%;
    margin-top: 8px;
    gap: 10px;
}

.chat-product-card {
    display: grid;
    width: 100%;
    padding: 9px;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px;
    border: 1px solid #dedbd5;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
}

.chat-product-card > img {
    width: 92px;
    height: 118px;
    border-radius: 10px;
    background: #efede8;
    object-fit: cover;
}

.chat-product-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.chat-product-body h4 {
    display: -webkit-box;
    margin: 1px 0 5px;
    color: #1b1b1b;
    font-size: 0.82rem;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chat-product-price {
    display: flex;
    margin-bottom: 7px;
    align-items: baseline;
    gap: 7px;
    color: #c7262e;
    font-size: 0.8rem;
}

.chat-product-price del {
    color: #888;
    font-size: 0.68rem;
}

.chat-variant-label {
    margin-bottom: 8px;
    color: #656565;
    font-size: 0.65rem;
}

.chat-variant-select {
    width: 100%;
    height: 32px;
    margin-top: 3px;
    padding: 0 8px;
    color: #222;
    border: 1px solid #d6d2cc;
    border-radius: 8px;
    background: #fff;
    font-size: 0.7rem;
}

.chat-product-actions {
    display: flex;
    margin-top: auto;
    gap: 6px;
}

.chat-product-actions a,
.chat-product-actions button {
    display: inline-flex;
    min-height: 30px;
    padding: 5px 9px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.67rem;
    font-weight: 700;
    text-decoration: none;
}

.chat-product-actions a {
    color: #222;
    border: 1px solid #d6d2cc;
    background: #fff;
}

.chat-product-actions button {
    color: #fff;
    border: 1px solid #111;
    background: #111;
}

.chat-product-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.chat-order-card {
    display: flex;
    width: 100%;
    margin-top: 8px;
    padding: 12px 13px;
    flex-direction: column;
    gap: 3px;
    color: #333;
    border: 1px solid #dedbd5;
    border-left: 3px solid #111;
    border-radius: 10px;
    background: #fff;
    font-size: 0.75rem;
}

.chat-order-card strong {
    color: #111;
    font-size: 0.8rem;
}

.chat-action-list {
    display: flex;
    width: 100%;
    margin-top: 6px;
    flex-wrap: wrap;
    gap: 6px;
}

.chat-action-link {
    display: inline-flex;
    padding: 7px 10px;
    align-items: center;
    gap: 6px;
    color: #111;
    border: 1px solid #cecac3;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
}

.chat-action-link:hover {
    color: #fff;
    border-color: #111;
    background: #111;
}

.chat-typing-dots {
    display: flex;
    padding: 12px 14px;
    gap: 5px;
    border: 1px solid #e0ddd7;
    border-radius: 5px 16px 16px 16px;
    background: #fff;
}

.chat-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #777;
    animation: chatTyping 1.2s infinite ease-in-out;
}

.chat-typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-typing-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chatTyping {
    0%,
    60%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.chat-inline-error {
    margin: 6px 0 14px;
    padding: 11px 12px;
    color: #79272c;
    border: 1px solid #efc7c9;
    border-radius: 10px;
    background: #fff1f1;
    font-size: 0.73rem;
}

.chat-inline-error p {
    margin: 0 0 7px;
}

.chat-inline-error button {
    padding: 4px 9px;
    color: #79272c;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    font-size: 0.68rem;
    font-weight: 700;
}

.chat-composer {
    position: relative;
    padding: 11px 58px 27px 12px;
    border-top: 1px solid #e4e1dc;
    background: #fff;
}

.chat-composer textarea {
    display: block;
    width: 100%;
    min-height: 42px;
    max-height: 112px;
    padding: 10px 11px;
    border: 1px solid #d8d4ce;
    border-radius: 12px;
    outline: 0;
    resize: none;
    font-size: 0.82rem;
    line-height: 1.45;
}

.chat-composer textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.07);
}

.chat-composer > button {
    position: absolute;
    right: 13px;
    bottom: 35px;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 11px;
    background: #111;
    place-items: center;
}

.chat-composer > button:disabled {
    background: #c8c5c0;
    cursor: not-allowed;
}

.chat-input-help {
    position: absolute;
    right: 13px;
    bottom: 7px;
    left: 13px;
    display: flex;
    justify-content: space-between;
    color: #8a8781;
    font-size: 0.58rem;
}

/* Global toasts / confirm */
.app-toast-container {
    top: 84px !important;
    z-index: 10000;
    width: min(360px, calc(100vw - 24px));
}

.app-toast {
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 14px;
    box-shadow: var(--owe-shadow-md);
    overflow: hidden;
}

.app-toast .toast-header {
    background-color: var(--owe-surface);
    color: var(--owe-black);
    border-bottom-color: var(--owe-border);
}

.app-toast-success .toast-header i {
    color: #198754;
}

.app-toast-error .toast-header i,
.app-toast-danger .toast-header i {
    color: var(--owe-sale);
}

.app-toast-info .toast-header i {
    color: var(--owe-black);
}

.app-confirm-modal {
    border: 0;
    border-radius: 18px;
    box-shadow: var(--owe-shadow-md);
}

/* Legacy animation utility kept for existing views */
.animate-slide {
    animation: slideUp 0.3s ease forwards;
    display: block;
    margin-top: 10px !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575px) {
    .chat-toggle-btn {
        right: 16px;
        bottom: 18px;
        min-height: 50px;
    }

    .chat-box {
        inset: 0;
        z-index: 1050;
        width: 100%;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .chat-box-header {
        min-height: 70px;
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .chat-content {
        padding-right: 14px;
        padding-left: 14px;
    }

    .chat-product-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .chat-product-card > img {
        width: 82px;
        height: 112px;
    }

    .chat-is-open {
        overflow: hidden;
    }

    .app-toast-container {
        top: 76px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto;
    }
}
