:root {
        --orange: #f4900c;
        --orange-dark: #e07c00;
        --text: #222;
        --muted: #777;
        --border: #e7e7e7;
        --bg: #fff;
        --star: #f4900c;
}

* {
        box-sizing: border-box;
}

body {
        margin: 0;
        font-family: 'DM Mono', monospace;
        color: var(--text);
        background: #fff;
        font-size: 14px;
}

.container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
}

a {
        text-decoration: none;
        color: inherit;
}

ul {
        list-style: none;
        margin: 0;
        padding: 0;
}

/* topbar */
.topbar {
        background: #f7f7f7;
        font-size: 12px;
        color: #666;
        border-bottom: 1px solid var(--border);
}

.topbar-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 34px;
}

.topbar-left,
.topbar-mid,
.topbar-right {
        display: flex;
        gap: 18px;
}

/* header */
.header {
        padding: 18px 0;
        border-bottom: 1px solid var(--border);
}

.header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
}

.logo {
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
}

.logo img {
        width: 100px;
        height: auto;
}

.logo-icon {
        font-size: 26px;
}

.logo-text {
        font-weight: 700;
        font-size: 18px;
        letter-spacing: 1px;
        line-height: 1.1;
        color: var(--orange);
}

.logo-text small {
        font-size: 9px;
        color: #888;
        letter-spacing: 2px;
        font-weight: 600;
}

.search-bar {
        flex: 1;
        display: flex;
        max-width: 480px;
}

.search-bar input {
        flex: 1;
        padding: 10px 14px;
        border: 1px solid #ddd;
        border-right: none;
        border-radius: 3px 0 0 3px;
        font-size: 13px;
        outline: none;
}

.search-bar button {
        background: var(--orange);
        color: #fff;
        border: none;
        padding: 0 22px;
        font-weight: 600;
        font-size: 12px;
        border-radius: 0 3px 3px 0;
        cursor: pointer;
}

.header-actions {
        display: flex;
        align-items: center;
        gap: 24px;
        white-space: nowrap;
}

.login-link {
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 40;
}

.login-link span {
        text-transform: capitalize;
        font-weight: 600;
        margin-left: 20;
}

.icons {
        display: flex;
        gap: 14px;
        font-size: 18px;
}

.icon-wrap {
        position: relative;
}

.icon-wrap sup {
        position: absolute;
        top: -8px;
        right: -10px;
        background: var(--orange);
        color: #fff;
        border-radius: 50%;
        font-size: 10px;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-style: normal;
}

/* navbar */
.navbar {
        border-bottom: 1px solid var(--border);
}

.navbar-inner {
        display: flex;
        align-items: center;
        gap: 30px;
        height: 50px;
}

.category-btn {
        background: var(--orange);
        color: #fff;
        padding: 10px 18px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 3px;
        cursor: pointer;
        white-space: nowrap;
}

.nav-links {
        display: flex;
        gap: 26px;
        flex: 1;
}

.nav-links a {
        font-size: 16px;
        font-weight: 700;
        color: #333;
}

.nav-links a:hover {
        color: var(--orange);
}

.delivery-note {
        font-size: 13px;
        color: #333;
        white-space: nowrap;
}

.breadcrumb-row {
        padding-top: 14px;
}

.breadcrumb {
        font-size: 16px;
        color: #999;
        font-weight: 700;
}

.page-title-row {
        padding: 6px 0 0;
}

.page-title-row h1 {
        font-size: 26px;
        margin-left: 20px;
        margin-bottom: 50px;
}

/* layout */
.layout {
        display: flex;
        gap: 30px;
        align-items: flex-start;
        padding-bottom: 60px;
        flex-wrap: nowrap;
}

.sidebar {
        width: 230px;
        flex: 0 0 230px;
}

.products {
        flex: 1 1 0%;
        min-width: 0;
}

.filter-title {
        font-size: 18px;
        margin: 0 0 10px;
}

.filter-group {
        padding: 14px 0;
}

.filter-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 10px;
        cursor: pointer;
}

.filter-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #444;
        margin-bottom: 8px;
        cursor: pointer;
}

.filter-group input[type=checkbox] {
        accent-color: var(--orange);
}

.count {
        color: #999;
        margin-left: auto;
}

.price-note {
        font-size: 12px;
        color: #888;
        margin: 0 0 10px;
}

.price-range {
        display: flex;
        gap: 8px;
}

.price-input {
        flex: 1;
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 3px;
        padding: 6px 8px;
        gap: 4px;
}

.price-input input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 12px;
        color: #666;
}

.color-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 8px;
}

.swatch {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
        border: 1px solid rgba(0, 0, 0, .08);
}

.show-more {
        font-size: 12px;
        color: var(--orange);
        font-weight: 600;
}

/* products toolbar */
.products-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 18px;
}

.sort {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #555;
}

.sort select {
        border: none;
        font-weight: 600;
        color: #222;
        font-size: 13px;
        outline: none;
}

.toolbar-right {
        display: flex;
        align-items: center;
        gap: 16px;
        font-size: 13px;
        color: #666;
}

.view-icons {
        letter-spacing: 4px;
        color: #999;
}

/* grid */
.grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 22px 18px;
}

@media(max-width:1100px) {
        .grid {
                grid-template-columns: repeat(3, 1fr);
        }
}

@media(max-width:700px) {
        .grid {
                grid-template-columns: repeat(2, 1fr);
        }
}

.card {
        position: relative;
        padding: 5px;
        border: 1px solid #f5f5f5;
}

.card-img {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f5f5f5;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #e84545;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 3px 7px;
        border-radius: 3px;
        z-index: 2;
}

.badge.soldout {
        background: #222;
}

.card-body {
        padding-top: 10px;
}

.brand {
        font-size: 18px;
        font-weight: 700;
        color: #222;
        margin: 0 0 2px;
}

.title {
        font-size: 16px;
        color: #444;
        margin: 0 0 6px;
        line-height: 1.4;
        min-height: 36px;
}

.stars {
        color: var(--star);
        font-size: 12px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 2px;
}

.stars .count {
        color: #999;
        margin-left: 4px;
}

.price-row {
        display: flex;
        align-items: center;
        gap: 8px;
}

.price-old {
        text-decoration: line-through;
        color: #999;
        font-size: 13px;
}

.price-new {
        color: var(--orange);
        font-weight: 700;
        font-size: 14px;
}

.price-plain {
        color: var(--orange);
        font-weight: 700;
        font-size: 20px;
}

/* pagination */
.pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 40px;
}

.page-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid #ddd;
        background: #fff;
        cursor: pointer;
        font-size: 13px;
        color: #444;
}

.page-btn.active {
        background: var(--orange);
        color: #fff;
        border-color: var(--orange);
}

/* icons */
.ico {
        width: 15px;
        height: 15px;
        fill: currentColor;
        vertical-align: -3px;
        margin-right: 6px;
        flex-shrink: 0;
}

.ico path {
        stroke: none;
}

.ico-sm {
        width: 12px;
        height: 12px;
        margin-right: 0;
        vertical-align: -2px;
}

.ico-lg {
        width: 26px;
        height: 26px;
        color: var(--orange);
        margin-right: 0;
}

.icon-text {
        display: flex;
        align-items: center;
}

svg.ico path {
        fill: currentColor;
}

.page-btn .ico {
        margin: 0;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
}

.filter-head .ico {
        margin: 0;
}

.view-icons {
        display: flex;
        align-items: center;
        gap: 10px;
}

.view-icons .ico {
        margin: 0;
}

.search-bar button .ico {
        fill: #fff;
}

.star-ico {
        width: 13px;
        height: 13px;
}

.star-ico.filled {
        fill: var(--star);
}

.star-ico.empty {
        fill: none;
        stroke: var(--star);
        stroke-width: 1.5;
}

@media(max-width:760px) {
        .layout {
                flex-direction: column;
        }

        .sidebar {
                width: 100%;
        }

        .header-inner {
                flex-wrap: wrap;
        }
}