:root {
    --blue: #0d6efd;
    --blue-dark: #0a58ca;
    --blue-soft: #e8f1ff;
    --green: #00b517;
    --orange: #ff9017;
    --red: #e34444;
    --text: #1c1c1c;
    --muted: #8b96a5;
    --line: #dee2e7;
    --bg: #f7fafc;
    --card: #ffffff;
    --shadow: 0 2px 8px rgba(21, 45, 85, .06);
    --radius: 8px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --market-blue: #0d6efd;
    --market-text: #1c1c1c;
    --market-muted: #8b96a5;
    --market-border: #dee2e7;
    --market-bg: #f7fafc;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--market-bg);
    font-family: var(--font);
    line-height: 1.45;
}

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

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

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

button {
    cursor: pointer;
}

.container,
.page-shell,
.market-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-shell {
    padding: 20px 0 30px;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    width: auto;
    height: auto;
    clip-path: none;
    background: var(--text);
    color: #fff;
    z-index: 20;
    padding: 8px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid;
}

.alert-success {
    background: #ecfdf3;
    color: #067647;
    border-color: #abefc6;
}

.alert-danger {
    background: #fff1f3;
    color: #b42318;
    border-color: #fecdca;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 600;
    gap: 8px;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

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

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-success {
    background: var(--green);
    color: #fff;
}

.btn-warning {
    background: var(--orange);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--text);
    border-color: #fff;
}

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

.btn-outline-danger {
    color: var(--red);
    border-color: #f8c4c4;
    background: #fff;
}

.btn-sm {
    min-height: 30px;
    padding: 0 12px;
    font-size: .875rem;
}

.btn-block {
    width: 100%;
}

.disabled {
    pointer-events: none;
    opacity: .55;
}

.text-link {
    color: var(--blue);
    font-weight: 600;
}

.muted {
    color: var(--muted);
}

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

.validation {
    color: var(--red);
    margin-bottom: 12px;
}

/* =========================================================
   MARKET HEADER / NAVBAR
   ========================================================= */
.market-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--market-border);
}

.market-header,
.market-header *,
.market-nav,
.market-nav * {
    box-sizing: border-box;
}

.market-header,
.market-nav,
.market-nav__inner,
.market-nav__left,
.market-nav__right {
    overflow: visible;
}

.market-header__main {
    min-height: 86px;
    display: grid;
    grid-template-columns: 190px minmax(420px, 1fr) 320px;
    align-items: center;
    gap: 24px;
    background: #fff;
}

.market-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8cb7f5;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.market-brand:hover {
    color: #8cb7f5;
}

.market-brand img {
    width: 145px;
    height: auto;
    display: block;
    object-fit: contain;
}

.market-brand__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(13, 110, 253, 0.18);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.market-brand__icon span {
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: var(--market-blue);
    display: block;
    position: relative;
}

.market-brand__icon span::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 14px;
    border: 2px solid #fff;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    left: 8px;
    top: 12px;
}

.market-brand__icon span::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 7px;
    border: 2px solid #fff;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    left: 11px;
    top: 7px;
}

.market-search {
    height: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px 100px;
    border: 2px solid var(--market-blue);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.market-search input,
.market-search select,
.market-search button {
    height: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    font: inherit;
}

.market-search input {
    padding: 0 12px;
    color: var(--market-text);
    background: #fff;
}

.market-search input::placeholder {
    color: var(--market-muted);
}

.market-search select {
    border-left: 1px solid var(--market-blue);
    padding: 0 10px;
    color: var(--market-text);
    background: #fff;
}

.market-search button {
    background: var(--market-blue);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.market-actions {
    display: grid;
    grid-template-columns: repeat(4, 64px);
    justify-content: end;
    align-items: center;
    gap: 14px;
    min-width: 320px;
}

.market-action {
    position: relative;
    width: 64px;
    min-height: 50px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--market-muted);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.1;
    text-align: center;
}

.market-action svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: none;
}

.market-action svg path {
    fill: #8b96a5;
    stroke: none;
}

.market-action span {
    display: block;
    white-space: nowrap;
}

.market-action:hover,
.market-action:hover svg path {
    color: var(--market-blue);
    fill: var(--market-blue);
}

.market-action em {
    position: absolute;
    top: -4px;
    right: 8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fa3434;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.market-nav {
    position: relative;
    z-index: 2000;
    height: 56px;
    background: #fff;
    border-top: 1px solid var(--market-border);
    border-bottom: 1px solid var(--market-border);
}

.market-nav__inner {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.market-nav__left,
.market-nav__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
}

.market-nav__left {
    gap: 24px;
}

.market-nav__right {
    margin-left: auto;
    gap: 28px;
}

.market-nav__left > a,
.market-dropdown__trigger {
    height: 56px;
    min-height: 56px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--market-text);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.market-nav__left > a:hover,
.market-dropdown__trigger:hover {
    color: var(--market-blue);
}

.market-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 56px;
    flex: 0 0 auto;
}

.market-dropdown summary {
    list-style: none;
}

.market-dropdown summary::-webkit-details-marker {
    display: none;
}

.market-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 235px;
    padding: 8px;
    display: none;
    background: #fff;
    border: 1px solid var(--market-border);
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(56, 56, 56, 0.16);
    z-index: 99999;
}

.market-dropdown[open] .market-dropdown__menu {
    display: block;
}

.market-dropdown__menu--right {
    left: auto;
    right: 0;
}

.market-dropdown__menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 6px;
    color: #505050;
    font-size: 15px;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.market-dropdown__menu a:hover,
.market-dropdown__menu a:focus {
    background: #e5f1ff;
    color: var(--market-blue);
}

.market-dropdown[open] .market-chevron {
    transform: rotate(180deg);
}

.market-dropdown--categories {
    height: 56px;
    display: inline-flex;
    align-items: center;
}

.market-nav__all {
    width: auto;
    min-width: 130px;
    height: 56px;
    min-height: 56px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--market-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    white-space: nowrap;
    overflow: visible;
}

.market-nav__all > span {
    position: static;
    float: none;
    display: inline-block;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    line-height: 22px;
    text-indent: 0;
    box-shadow: none;
    transform: none;
}

.market-nav__all > span::before,
.market-nav__all > span::after {
    content: none;
    display: none;
}

.market-nav__all .market-hamburger {
    position: relative;
    display: inline-block;
    flex: 0 0 20px;
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    height: 14px;
    min-height: 14px;
    max-height: 14px;
    padding: 0;
    margin: 0;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: transparent;
    box-shadow: none;
}

.market-nav__all .market-hamburger::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    width: 20px;
    height: 0;
    border-top: 2px solid currentColor;
    background: transparent;
}

.market-nav__all .market-hamburger::after {
    content: none;
    display: none;
}

.market-nav__all > span:not(.market-hamburger):not(.market-chevron) {
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    background: transparent;
    color: var(--market-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.market-chevron {
    display: inline-block;
    flex: 0 0 auto;
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    margin-left: 2px;
    padding: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: transform 0.15s ease;
}

.market-dropdown--categories .market-dropdown__menu {
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    min-width: 240px;
}

.market-locale-trigger,
.market-ship-trigger {
    font-weight: 600;
}

.market-ship-trigger {
    gap: 7px;
}

.market-flag {
    width: 22px;
    height: 15px;
    display: inline-block;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.market-flag--de {
    background: linear-gradient(to bottom, #111 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666% 100%);
}

.market-flag--us,
.footer-flag-us {
    background:
        linear-gradient(#3c3b6e 0 0) left top / 42% 54% no-repeat,
        repeating-linear-gradient(to bottom, #b22234 0 7.7%, #fff 7.7% 15.4%);
}

/* =========================================================
   HOME PAGE
   ========================================================= */
.home-grid {
    display: grid;
    grid-template-columns: 250px 1fr 210px;
    gap: 20px;
    margin-bottom: 20px;
}

.category-menu {
    padding: 10px;
    display: grid;
    gap: 2px;
}

.category-menu a {
    display: block;
    padding: 9px 12px;
    font-size: 1rem;
    border-radius: 6px;
    color: #505f79;
}

.category-menu a:hover,
.category-menu a:first-child {
    background: var(--blue-soft);
    color: var(--text);
    font-weight: 600;
}

.hero-card {
    min-height: 280px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 36px 46px;
    border: 1px solid #dee2e7;
    background: #b7f0dc;
}

.hero-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 380px;
}

.hero-copy p {
    margin: 0 0 6px;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 400;
    color: #1c1c1c;
}

.hero-copy h1 {
    margin: 0 0 22px;
    font-size: 2.6rem;
    line-height: 1.12;
    font-weight: 700;
    color: #1c1c1c;
}

.hero-copy .btn {
    min-height: 46px;
    padding: 0 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    background: #fff;
    color: #1c1c1c;
}

.buyer-card {
    padding: 14px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.buyer-card__user,
.seller-head {
    display: flex;
    gap: 10px;
    align-items: center;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #d1e7ff;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.avatar.green {
    background: #c7f5df;
    color: #09844d;
}

.buyer-card__user p,
.seller-head p {
    margin: 0;
    color: #505f79;
    font-size: .9rem;
}

.promo {
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.25;
    padding: 16px 20px;
}

.promo.orange {
    background: var(--orange);
}

.promo.teal {
    background: #55bdc3;
}

.deals-row {
    display: grid;
    grid-template-columns: 250px repeat(5, 1fr);
    margin-bottom: 20px;
    overflow: hidden;
}

.deals-row__title {
    padding: 20px 18px;
    border-right: 1px solid var(--line);
}

.deals-row__title h2 {
    margin: 0 0 2px;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 600;
    color: #1c1c1c;
}

.deals-row__title p {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 400;
    color: #8b96a5;
}

.timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer span {
    width: 52px;
    height: 58px;
    padding: 6px 4px;
    border-radius: 4px;
    background: #606060;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.timer span strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.timer span small {
    display: block;
    margin-top: 4px;
    font-size: .8rem;
    line-height: 1;
    font-weight: 400;
    color: #fff;
}

.deal-item {
    min-height: 180px;
    padding: 16px;
    border-right: 1px solid var(--line);
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
    gap: 8px;
}

.deal-item:last-child {
    border-right: 0;
}

.deal-item img {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

.deal-item span {
    color: var(--red);
    background: #ffe3e3;
    border-radius: 99px;
    padding: 3px 10px;
    font-weight: 700;
}

.source-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 257px;
    background: #fff;
    border: 1px solid #dee2e7;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.source-banner {
    min-height: 257px;
    padding: 30px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.source-banner.home-outdoor {
    background: none;
}

.source-banner.home-outdoor::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/img/banners/home.jpg');
    background-size: cover;
    background-position: 30% bottom;
    background-repeat: no-repeat;
    transform: scaleX(-1);
    z-index: 0;
}

.source-banner.home-outdoor::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(243, 231, 206, .88) 0%, rgba(243, 231, 206, .58) 42%, rgba(243, 231, 206, .05) 100%);
    z-index: 1;
}

.source-banner.electronics {
    background:
        linear-gradient(90deg, rgba(221, 233, 244, .92) 0%, rgba(221, 233, 244, .68) 40%, rgba(221, 233, 244, .10) 100%),
        url('/img/banners/electronics.png') right bottom / cover no-repeat;
}

.source-banner h2,
.source-banner .btn {
    position: relative;
    z-index: 2;
}

.source-banner h2 {
    max-width: 210px;
    margin: 0 0 22px;
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 700;
    color: #1c1c1c;
}

.source-banner.electronics h2 {
    max-width: 220px;
}

.source-banner .btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    background: #fff;
    color: #1c1c1c;
    border: 0;
    font-size: .95rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.source-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
}

.source-product {
    min-height: 128px;
    padding: 14px;
    border-left: 1px solid #dee2e7;
    border-bottom: 1px solid #dee2e7;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.source-product:nth-last-child(-n + 4) {
    border-bottom: 0;
}

.source-product span {
    display: block;
    max-width: 120px;
    font-size: .95rem;
    line-height: 1.25;
    font-weight: 500;
    color: #1c1c1c;
}

.source-product small {
    display: block;
    margin-top: 6px;
    font-size: .9rem;
    line-height: 1.2;
    color: #8b96a5;
}

.source-product img {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.request-banner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    padding: 30px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(100deg, rgba(13, 110, 253, .95), rgba(18, 184, 224, .78)), url('/img/banners/request.png') center/cover;
    margin-bottom: 22px;
}

.request-banner h2 {
    font-size: 1.75rem;
    max-width: 420px;
    margin: 0 0 10px;
}

.request-card {
    background: #fff;
    color: var(--text);
    border-radius: var(--radius);
    padding: 18px;
    display: grid;
    gap: 12px;
}

.request-card h3 {
    margin: 0;
}

.request-card textarea {
    min-height: 75px;
    resize: vertical;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 12px;
}

.extra-services-heading {
    margin: 28px 0 18px;
}

.extra-services-heading h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1c1c1c;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 34px;
}

.service-card {
    position: relative;
    display: block;
    min-height: 200px;
    background: #fff;
    border: 1px solid #dee2e7;
    border-radius: 8px;
    overflow: hidden;
    color: #1c1c1c;
    text-decoration: none;
}

.service-card__image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.service-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
    z-index: 1;
}

.service-card__image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.service-card__body {
    min-height: 80px;
    padding: 28px 20px 20px;
    background: #fff;
}

.service-card__body strong {
    display: block;
    padding: 0;
    max-width: 245px;
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 500;
    color: #1c1c1c;
}

.service-card__icon {
    position: absolute;
    top: 88px;
    right: 28px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #d7eaff;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
    display: block;
    fill: none;
    stroke: none;
}

.service-card__icon svg path {
    fill: #1c1c1c;
    stroke: none;
}

.service-card__icon svg[viewBox="0 0 20 20"] {
    width: 30px;
    height: 30px;
}

.regions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 46px;
    margin-bottom: 34px;
    color: var(--text);
}

.region-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    color: var(--text);
}

.region-item .flag,
.region-item .flag img {
    width: 46px;
    height: 32px;
}

.region-item .flag {
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.region-item .flag img {
    object-fit: cover;
    display: block;
}

.region-item strong {
    display: block;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 700;
    color: #1c1c1c;
}

.region-item small {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 700;
    color: #8b96a5;
}

/* =========================================================
   PRODUCTS / CATALOG / GRID VIEW - FIGMA MATCH
   ========================================================= */
/* =========================================================
   PRODUCTS / CATALOG - DEFAULT LIST, FILTERED GRID
   ========================================================= */

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

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(21, 45, 85, .1);
}

.product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    border-bottom: 1px solid #f0f2f5;
    background: #fff;
}

.product-card__image img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.product-card__body {
    padding: 14px;
    position: relative;
}

.product-card__price {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 5px;
}

.product-card__price strong {
    font-size: 1.1rem;
}

.product-card__price span {
    color: var(--muted);
    text-decoration: line-through;
}

.product-card__title {
    display: block;
    color: #505f79;
    min-height: 42px;
}

.rating {
    color: #ff9017;
    font-size: .88rem;
    margin-top: 6px;
}

.rating span {
    color: var(--muted);
}

.rating b {
    color: #00b517;
    font-weight: 500;
}

.rating-stars {
    color: #ff9017;
}

.rating-stars i {
    color: #d4cdc5;
    font-style: normal;
}

.rating-number {
    color: #ff9017;
    margin-left: 4px;
}

.card-cart-form {
    position: absolute;
    right: 12px;
    bottom: 14px;
}

.icon-button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* page */
.catalog-page {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #eff2f4;
    padding: 18px 0 42px;
}

.catalog-page__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.catalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #8b96a5;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
}

.catalog-breadcrumb a,
.catalog-breadcrumb span {
    color: #8b96a5;
    text-decoration: none;
}

/* layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
}

.catalog-main {
    min-width: 0;
}

/* filters */
.catalog-filters,
.filters {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    color: #8b96a5;
}

.catalog-filter-form {
    margin: 0;
}

.filter-block {
    border-top: 1px solid #dee2e7;
    padding: 12px 0 14px;
}

.filter-block:first-child {
    border-top: 2px solid #dee2e7;
}

.filter-block h2 {
    margin: 0 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1c1c1c;
    font-size: 16px;
    line-height: 19px;
    font-weight: 600;
}

.filter-block h2 span {
    color: #8b96a5;
    font-size: 16px;
    line-height: 1;
}

.filter-block a,
.filter-block label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #505050;
    font-size: 16px;
    line-height: 19px;
    padding: 8px 0;
    text-decoration: none;
}

.filter-block a.active {
    color: #505050;
    font-weight: 400;
}

.filter-block .see-all {
    color: #0d6efd;
    font-weight: 600;
}

.filter-block input[type="checkbox"],
.filter-block input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #0d6efd;
}

.filter-block--collapsed {
    padding: 14px 0;
}

.filter-block--collapsed h2 {
    margin: 0;
}

.price-slider {
    position: relative;
    height: 4px;
    background: #cfd8e3;
    border-radius: 99px;
    margin: 14px 4px 18px;
}

.price-slider span {
    position: absolute;
    left: 26%;
    right: 24%;
    top: 0;
    bottom: 0;
    background: #0d6efd;
    border-radius: 99px;
}

.price-slider::before,
.price-slider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    transform: translateY(-50%);
}

.price-slider::before {
    left: 24%;
}

.price-slider::after {
    right: 22%;
}

.price-labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 4px;
    color: #505050;
    font-size: 13px;
}

.catalog-filter-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.catalog-filter-form .form-row input {
    width: 100%;
    height: 36px;
    border: 1px solid #dee2e7;
    border-radius: 4px;
    padding: 0 8px;
    background: #fff;
    color: #1c1c1c;
}

.filter-apply-btn {
    width: 100%;
    height: 36px;
    background: #fff;
    color: #0d6efd;
    border: 1px solid #dee2e7;
    border-radius: 4px;
    font-weight: 700;
}

/* toolbar */
.catalog-toolbar {
    height: 56px;
    background: #fff;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    box-shadow: none;
    padding: 0 14px 0 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.catalog-count {
    color: #1c1c1c;
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
}

.catalog-count strong {
    color: #1c1c1c;
    font-weight: 700;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verified-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1c1c1c;
    font-size: 16px;
    line-height: 19px;
    white-space: nowrap;
}

.verified-check input {
    width: 20px;
    height: 20px;
    accent-color: #0d6efd;
}

.toolbar-actions select {
    width: 172px;
    height: 40px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    color: #1c1c1c;
    padding: 0 10px;
    font-size: 16px;
}

.view-button {
    width: 38px;
    height: 40px;
    border: 1px solid #dee2e7;
    border-radius: 0;
    background: #fff;
    color: #1c1c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    margin-left: -1px;
}

.view-button.active {
    background: #eff2f4;
    color: #1c1c1c;
}

/* active chips after filter */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
}

.active-filters span {
    height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 6px 0 10px;
    background: #fff;
    border: 1px solid #0d6efd;
    border-radius: 5px;
    color: #505050;
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
}

.active-filters span b {
    color: #8b96a5;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
}

.active-filters a {
    margin-left: 10px;
    color: #0d6efd;
    font-size: 16px;
    line-height: 19px;
    font-weight: 600;
    text-decoration: none;
}

/* before filter: list view */
.product-list {
    display: grid;
    gap: 8px;
}

.catalog-list-card {
    min-height: 190px;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 48px;
    gap: 22px;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    box-shadow: none;
}

.catalog-list-card .list-item__image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-list-card .list-item__image img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.catalog-list-card .list-item__body {
    padding-top: 2px;
}

.catalog-list-card .list-item__title {
    display: block;
    margin-bottom: 12px;
    color: #1c1c1c;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    text-decoration: none;
}

.catalog-list-card .product-card__price strong {
    color: #1c1c1c;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.catalog-list-card .product-card__price span {
    color: #8b96a5;
    font-size: 14px;
    text-decoration: line-through;
}

.catalog-list-card .rating {
    color: #ff9017;
    font-size: 14px;
    margin-bottom: 8px;
}

.catalog-list-card .rating span {
    color: #8b96a5;
}

.catalog-list-card .rating b {
    color: #00b517;
    font-weight: 500;
}

.catalog-list-card p {
    max-width: 640px;
    margin: 0 0 6px;
    color: #606060;
    font-size: 14px;
    line-height: 1.5;
}

.catalog-list-card .text-link {
    color: #0d6efd;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.catalog-list-card form {
    display: flex;
    justify-content: flex-end;
}

.catalog-list-card .icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    color: #0d6efd;
    font-size: 22px;
    line-height: 1;
}

/* after filter: grid view */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 295px);
    gap: 20px 25px;
}

.catalog-product-card {
    width: 295px;
    height: 405px;
    background: #fff;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: none;
}

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

.catalog-product-card .product-card__image {
    height: 261px;
    border-bottom: 1px solid #eff2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.catalog-product-card .product-card__image img {
    width: 230px;
    height: 230px;
    object-fit: contain;
}

.catalog-product-card .product-card__body {
    position: relative;
    height: 144px;
    padding: 18px 20px 20px;
}

.catalog-product-card .product-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 56px 12px 0;
}

.catalog-product-card .product-card__price strong {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    color: #1c1c1c;
}

.catalog-product-card .product-card__price span {
    font-size: 16px;
    line-height: 19px;
    color: #8b96a5;
    text-decoration: line-through;
}

.catalog-product-card .rating {
    margin: 0 0 10px;
    color: #ff9017;
    font-size: 16px;
    line-height: 19px;
}

.catalog-product-card .rating-number {
    color: #ff9017;
    margin-left: 4px;
}

.catalog-product-card .product-card__title {
    display: block;
    max-width: 230px;
    min-height: 48px;
    color: #606060;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    font-weight: 400;
}

.catalog-product-card .card-cart-form {
    position: absolute;
    right: 20px;
    top: 20px;
    bottom: auto;
}

.catalog-product-card .icon-button {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    color: #0d6efd;
    box-shadow: 0 1px 2px rgba(56, 56, 56, 0.08);
    font-size: 30px;
    line-height: 1;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* pagination */
.catalog-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    margin-top: 24px;
}

.catalog-pagination select {
    height: 40px;
    min-width: 125px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    color: #1c1c1c;
    padding: 0 10px;
    margin-right: 8px;
    font-size: 16px;
}

.catalog-pagination a {
    width: 44px;
    height: 40px;
    border: 1px solid #dee2e7;
    background: #fff;
    color: #1c1c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    margin-left: -1px;
}

.catalog-pagination a.active {
    background: #eff2f4;
    color: #8b96a5;
}
/* =========================================================
   DETAILS / CART / CHECKOUT / ADMIN
   ========================================================= */

.product-detail-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 34px;
}

.product-detail-card {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr) 280px;
    gap: 24px;
    padding: 20px;
    box-shadow: none;
}

.detail-gallery {
    min-width: 0;
}

.detail-main-image {
    width: 100%;
    height: 380px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-main-image img {
    width: 295px;
    height: 295px;
    object-fit: contain;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.thumb-item {
    width: 56px;
    height: 56px;
    padding: 4px;
    border: 1px solid #dee2e7;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-item.active {
    border-color: #8b96a5;
}

.thumb-item img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.detail-info {
    min-width: 0;
    padding-top: 2px;
}

.stock {
    margin: 0 0 4px;
    color: #00b517;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

.detail-info h1 {
    max-width: 430px;
    margin: 0 0 10px;
    color: #1c1c1c;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

.detail-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
    color: #8b96a5;
    font-size: 14px;
    line-height: 19px;
}

.detail-rating .rating-stars {
    color: #ff9017;
    letter-spacing: 1px;
}

.detail-rating .rating-stars i {
    color: #d4cdc5;
    font-style: normal;
}

.detail-rating strong {
    color: #ff9017;
    font-weight: 400;
}

.detail-muted,
.detail-icon {
    color: #8b96a5;
}

.price-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 72px;
    margin: 0 0 18px;
    background: #fff0df;
    border-radius: 0;
    overflow: hidden;
}

.price-box div {
    padding: 13px 16px;
    border-right: 1px solid #bdc1c8;
}

.price-box div:last-child {
    border-right: 0;
}

.price-box strong {
    display: block;
    margin-bottom: 2px;
    color: #fa3434;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}

.price-box div:nth-child(n + 2) strong {
    color: #1c1c1c;
}

.price-box span {
    display: block;
    color: #606060;
    font-size: 13px;
    line-height: 16px;
}

.spec-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0;
    margin: 0;
    color: #505050;
    font-size: 14px;
    line-height: 20px;
}

.spec-list dt,
.spec-list dd {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e5e8ec;
}

.spec-list dt {
    color: #8b96a5;
    font-weight: 400;
}

.spec-list dd {
    color: #505050;
}

.seller-card {
    border: 0;
    padding: 0;
    align-self: start;
    background: transparent;
}

.seller-box {
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    padding: 16px;
}

.seller-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e8ec;
}

.seller-head p {
    margin: 0;
    color: #1c1c1c;
    font-size: 14px;
    line-height: 20px;
    border: 0;
    padding: 0;
}

.seller-head strong {
    font-weight: 400;
}

.avatar.green {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: #c6f3f1;
    color: #4ca7a5;
    font-size: 28px;
    font-weight: 400;
}

.seller-lines {
    display: grid;
    gap: 8px;
    margin: 14px 0 16px;
}

.seller-lines p {
    margin: 0;
    padding: 0;
    border: 0;
    color: #8b96a5;
    font-size: 14px;
    line-height: 20px;
}

.flag-mini,
.seller-line-icon {
    display: inline-flex;
    width: 20px;
    margin-right: 8px;
    justify-content: center;
}

.seller-actions {
    margin: 0 0 8px;
}

.seller-card .btn {
    min-height: 40px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.save-button {
    width: 100%;
    margin-top: 18px;
    color: #0d6efd;
    background: transparent;
    border: 0;
    font-size: 16px;
    line-height: 22px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    margin-top: 20px;
}

.detail-tabs {
    padding: 0 18px 22px;
    box-shadow: none;
}

.tabs {
    display: flex;
    gap: 34px;
    min-height: 48px;
    border-bottom: 1px solid #dee2e7;
    margin: 0 -18px 18px;
    padding: 0 18px;
}

.tabs a {
    display: inline-flex;
    align-items: center;
    color: #8b96a5;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.tabs a.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

.detail-tabs p {
    max-width: 780px;
    margin: 0 0 16px;
    color: #505050;
    font-size: 14px;
    line-height: 22px;
}

.spec-table {
    width: 100%;
    max-width: 580px;
    border-collapse: collapse;
    margin: 16px 0 18px;
}

.spec-table th,
.spec-table td {
    border: 1px solid #dee2e7;
    padding: 8px 12px;
    text-align: left;
    font-size: 14px;
    line-height: 20px;
}

.spec-table th {
    width: 190px;
    background: #eff2f4;
    color: #505050;
    font-weight: 400;
}

.spec-table td {
    color: #505050;
    background: #fff;
}

.feature-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    color: #505050;
    font-size: 14px;
    line-height: 20px;
}

.feature-list li::before {
    content: "✓";
    margin-right: 10px;
    color: #8b96a5;
}

.you-like-card {
    padding: 16px;
    box-shadow: none;
}

.you-like-card h3 {
    margin: 0 0 12px;
    color: #1c1c1c;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.you-like-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.you-like-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
}

.you-like-item strong {
    display: block;
    color: #1c1c1c;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.you-like-item small {
    display: block;
    margin-top: 3px;
    color: #8b96a5;
    font-size: 13px;
    line-height: 18px;
}

.related-products-card {
    margin-top: 20px;
    padding: 18px;
    box-shadow: none;
}

.related-products-card h2 {
    margin: 0 0 16px;
    color: #1c1c1c;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

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

.related-product-item div {
    height: 132px;
    margin-bottom: 10px;
    border-radius: 6px;
    background: #f0f2f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-product-item img {
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.related-product-item strong {
    display: block;
    color: #505050;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.related-product-item small {
    display: block;
    margin-top: 4px;
    color: #8b96a5;
    font-size: 14px;
    line-height: 18px;
}

.discount-banner {
    margin-top: 20px;
    min-height: 120px;
    border-radius: 6px;
    background:
        linear-gradient(74deg, #237cff 0%, #237cff 64%, #005ade 64%, #005ade 100%);
    color: #fff;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.discount-banner h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

.discount-banner p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 22px;
}

.discount-banner .btn {
    min-width: 108px;
    min-height: 40px;
    background: #ff9017;
    border-color: #ff9017;
    color: #fff;
}
/* =========================================================
   CART PAGE - FIGMA MATCH
   ========================================================= */

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto 0;
}

.cart-main {
    padding: 20px;
    box-shadow: none;
}

.cart-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin: 0 0 18px;
}

.cart-title-row h1 {
    margin: 0;
    color: #1c1c1c;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

.cart-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 120px;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid #dee2e7;
}

.cart-title-row + .cart-item {
    border-top: 0;
    padding-top: 0;
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #f7fafc;
    padding: 6px;
}

.cart-item h2 {
    margin: 0 0 6px;
    color: #1c1c1c;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.cart-item p {
    margin: 0 0 2px;
    color: #8b96a5;
    font-size: 15px;
    line-height: 22px;
}

.cart-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.cart-actions .btn {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.cart-item__side {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 24px;
    text-align: right;
}

.cart-item__side strong {
    color: #1c1c1c;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.quantity-form {
    display: block;
}

.quantity-form select {
    width: 92px;
    height: 36px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    color: #1c1c1c;
    padding: 0 10px;
    font-size: 14px;
}

.cart-bottom-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #dee2e7;
    padding-top: 18px;
    margin-top: 4px;
}

.cart-back-btn {
    min-width: 150px;
    min-height: 40px;
    border-radius: 6px;
}

.cart-summary {
    display: grid;
    gap: 12px;
}

.coupon-card,
.summary-card {
    padding: 18px;
}

.coupon-card {
    box-shadow: none;
}

.coupon-card label {
    display: block;
    margin-bottom: 10px;
    color: #505050;
    font-size: 16px;
    line-height: 22px;
}

.coupon-row {
    display: grid;
    grid-template-columns: 1fr 78px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    overflow: hidden;
}

.coupon-row input {
    min-width: 0;
    height: 40px;
    border: 0;
    padding: 0 12px;
    color: #1c1c1c;
    outline: 0;
}

.coupon-row input::placeholder {
    color: #8b96a5;
}

.coupon-row button {
    border: 0;
    border-left: 1px solid #dee2e7;
    background: #fff;
    color: #0d6efd;
    font-weight: 600;
}

.summary-card {
    box-shadow: 0 4px 12px rgba(56, 56, 56, 0.08);
}

.summary-card dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px 12px;
    margin: 0 0 18px;
}

.summary-card dt {
    color: #505050;
    font-size: 16px;
    line-height: 22px;
}

.summary-card dd {
    margin: 0;
    color: #505050;
    font-size: 16px;
    line-height: 22px;
    text-align: right;
}

.red-text {
    color: #fa3434 !important;
}

.green-text {
    color: #00b517 !important;
}

.summary-card .total {
    color: #1c1c1c !important;
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 700 !important;
    border-top: 1px solid #dee2e7;
    padding-top: 14px;
    margin-top: 8px;
}

.summary-card .btn-success {
    min-height: 48px;
    border-radius: 6px;
    background: #00b517;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.payment-icons span {
    height: 24px;
    min-width: 34px;
    padding: 0 6px;
    background: #f0f2f5;
    color: #505f79;
    border-radius: 4px;
    font-size: 10px;
    line-height: 24px;
    text-align: center;
    font-weight: 700;
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
}

.cart-perks {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cart-perk {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-perk > span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dee2e7;
    color: #8b96a5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 auto;
}

.cart-perk p {
    margin: 0;
}

.cart-perk strong {
    display: block;
    color: #1c1c1c;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}

.cart-perk small {
    display: block;
    color: #8b96a5;
    font-size: 15px;
    line-height: 20px;
}

.saved-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 20px;
    padding: 20px;
    box-shadow: none;
}

.saved-section h2 {
    margin: 0 0 18px;
    color: #1c1c1c;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
}

.saved-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.saved-card {
    min-width: 0;
}

.saved-card__image {
    height: 210px;
    margin-bottom: 12px;
    border-radius: 6px;
    background: #f0f2f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saved-card__image img {
    width: 170px;
    height: 170px;
    object-fit: contain;
}

.saved-card > strong {
    display: block;
    margin-bottom: 8px;
    color: #1c1c1c;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}

.saved-card__title {
    display: block;
    min-height: 44px;
    margin-bottom: 10px;
    color: #505050;
    font-size: 15px;
    line-height: 22px;
}

.saved-card .move-cart-btn {
    width: 157px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
}

.saved-card .move-cart-btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: block;
}

.saved-card .move-cart-btn svg path {
    fill: #0d6efd;
}
.form-row {
    display: flex;
    gap: 8px;
}

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

.form-grid label,
.auth-card label {
    display: grid;
    gap: 6px;
    color: #505f79;
    font-weight: 600;
}

.form-grid label span:last-child,
.auth-card label span:last-child {
    color: var(--red);
    font-weight: 400;
    font-size: .85rem;
}

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

.payment-note {
    margin: 16px 0;
    padding: 12px;
    background: #eef7ff;
    color: #26547c;
    border-radius: 6px;
}

.request-card input,
.request-card select,
.request-card textarea,
.filter-form input,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea,
.auth-card input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    min-height: 38px;
    padding: 8px 10px;
    background: #fff;
}

.review-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.review-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.review-item p {
    margin: 4px 0 0;
    color: var(--muted);
}

.success-page {
    text-align: center;
}

.success-icon {
    margin: 0 auto 12px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e7f8ed;
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 900;
}

.auth-card {
    width: min(440px, 100%);
    margin: 40px auto;
}

.auth-card form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-line input {
    width: auto;
    min-height: auto;
}

.auth-switch {
    text-align: center;
    color: #505f79;
}

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

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

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.data-table th {
    color: #505f79;
    font-size: .85rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 99px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 700;
    font-size: .8rem;
}

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

.admin-product-cell img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.table-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-form {
    margin-top: 20px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

/* =========================================================
   NEWSLETTER / FOOTER
   ========================================================= */
.newsletter {
    background: #eff2f4;
    text-align: center;
    padding: 38px 16px 32px;
    margin-top: 0;
    border-top: 1px solid #e5e8ec;
    border-bottom: 1px solid #e5e8ec;
}

.newsletter h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    color: #1c1c1c;
}

.newsletter p {
    margin: 0 0 18px;
    color: #606060;
    font-size: 16px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.newsletter-form input {
    width: 274px;
    height: 40px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    padding: 0 12px;
    background: #fff;
}

.newsletter-form button {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
}

.site-footer {
    background: #fff;
    border-top: 1px solid #e5e8ec;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 42px;
    padding: 40px 0 36px;
    align-items: start;
}

.footer-brand-col {
    max-width: 280px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
}

.footer-brand img,
.footer-brand img[style] {
    width: 180px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-col p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #505050;
    font-weight: 400;
}

.footer-links-col h3,
.footer-apps-col h3,
.footer-grid h3 {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    color: #1c1c1c;
}

.footer-links-col a,
.footer-grid a {
    display: block;
    margin: 0 0 9px;
    color: #8b96a5;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    text-decoration: none;
}

.footer-links-col a:hover,
.footer-grid a:hover {
    color: #0d6efd;
}

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

.socials a,
.socials span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #d1d7de;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
    margin: 0;
    transition: .2s ease;
}

.socials a:hover {
    background: #8b96a5;
    color: #fff;
}

/* App badges icon first - Figma style */
.footer-apps-col .app-badge {
    width: 124px;
    height: 42px;
    min-height: 42px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 0 11px;
    margin: 0 0 8px;
    background: #1c1c1c;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
}

.footer-apps-col .app-badge__icon {
    order: 1;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-apps-col .app-badge__text {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    line-height: 1;
    min-width: 0;
}

.footer-apps-col .app-badge__icon i {
    display: block;
    color: #fff;
    line-height: 1;
}

.footer-apps-col .app-badge--apple .app-badge__icon i {
    font-size: 24px;
}

.footer-apps-col .app-badge--google .app-badge__icon i {
    font-size: 18px;
}

.footer-apps-col .app-badge__text small {
    display: block;
    margin: 0 0 2px;
    font-size: 8px;
    line-height: 1;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
}

.footer-apps-col .app-badge__text strong {
    display: block;
    margin: 0;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.footer-bottom {
    background: #eff2f4;
    border-top: 1px solid #e5e8ec;
    color: #606060;
    padding: 0;
}

.footer-bottom__inner,
.footer-bottom .container {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #606060;
    font-size: 16px;
    line-height: 1;
}

.footer-language {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #606060;
    text-decoration: none;
}

.footer-language:hover {
    color: #1c1c1c;
}

.footer-language__arrow {
    font-size: 18px;
    line-height: 1;
    color: #1c1c1c;
}

.footer-flag-us {
    width: 22px;
    height: 15px;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, .12);
    box-sizing: border-box;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

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

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .market-header__main {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .market-actions {
        justify-content: start;
        grid-template-columns: repeat(4, 64px);
        min-width: 0;
        max-width: 360px;
    }

    .market-nav {
        height: auto;
    }

    .market-nav__inner {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .market-nav__left,
    .market-nav__right {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .market-nav__left > a,
    .market-dropdown__trigger,
    .market-dropdown,
    .market-dropdown--categories,
    .market-nav__all {
        height: 38px;
        min-height: 38px;
    }
}

@media (max-width: 980px) {
    .home-grid,
    .catalog-layout,
    .catalog-layout--dark,
    .checkout-layout,
    .order-detail-grid,
    .product-detail-card,
    .detail-content-grid,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .seller-card {
        width: 100%;
    }

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

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

    .category-menu,
    .buyer-card,
    .filters,
    .catalog-filters,
    .catalog-filters-dark {
        display: none;
    }

    .deals-row {
        grid-template-columns: 1fr 1fr;
    }

    .deals-row__title {
        grid-column: span 2;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

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

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

    .request-banner {
        grid-template-columns: 1fr;
    }

    .regions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 0;
    }

    .footer-bottom__inner,
    .footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 12px 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        max-width: 320px;
    }
}

/* default desktop hidden */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 640px) {
    body {
        padding-bottom: 60px;
    }
.checkout-layout {
    width: min(100% - 18px, 1180px);
    grid-template-columns: 1fr;
    margin-top: 14px;
}

.checkout-form .form-grid {
    grid-template-columns: 1fr;
}

.checkout-form .span-2 {
    grid-column: span 1;
}
    .container,
    .page-shell,
    .market-shell {
        width: 100%;
    }

    .page-shell {
        padding: 0;
    }

    .top-line,
    .category-strip,
    .header-actions,
    .category-menu,
    .buyer-card,
    .request-card {
        display: none;
    }

    /* =========================
       MOBILE HEADER
       ========================= */

    .market-header {
        background: #fff;
        border-bottom: 1px solid #dee2e7;
    }

    .market-header__main {
        min-height: auto;
        display: grid;
        grid-template-columns: 26px 1fr auto;
        gap: 12px;
        align-items: center;
        padding: 14px 17px 10px;
    }

    .mobile-menu-btn {
        grid-column: 1;
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        padding: 0;
    }

    .mobile-menu-btn span,
    .mobile-menu-btn span::before,
    .mobile-menu-btn span::after {
        width: 20px;
        height: 2px;
        background: #1c1c1c;
        display: block;
        content: "";
    }

    .mobile-menu-btn span {
        position: relative;
    }

    .mobile-menu-btn span::before {
        position: absolute;
        top: -7px;
        left: 0;
    }

    .mobile-menu-btn span::after {
        position: absolute;
        top: 7px;
        left: 0;
    }

    .market-brand {
        grid-column: 2;
        justify-self: start;
    }

    .market-brand img {
        width: 118px;
        height: auto;
        display: block;
    }

    .market-actions {
        grid-column: 3;
        width: auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 18px;
    }

    .market-action {
        width: 24px;
        min-height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .market-action span {
        display: none;
    }

    .market-action svg {
        width: 24px;
        height: 24px;
    }

    .market-action:nth-child(2),
    .market-action:nth-child(3) {
        display: none;
    }

    .market-action--cart {
        order: 1;
    }

    .market-actions .market-action:first-child {
        order: 2;
    }

    .market-search {
        grid-column: 1 / -1;
        height: 45px;
        margin-top: 8px;
        display: grid;
        grid-template-columns: 1fr;
        border: 1px solid #dee2e7;
        border-radius: 6px;
        background: #f7fafc;
        overflow: hidden;
    }

    .market-search input {
        height: 45px;
        border: 0;
        background:
            url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.16667 15.8333C12.8486 15.8333 15.8333 12.8486 15.8333 9.16667C15.8333 5.48477 12.8486 2.5 9.16667 2.5C5.48477 2.5 2.5 5.48477 2.5 9.16667C2.5 12.8486 5.48477 15.8333 9.16667 15.8333Z' stroke='%238B96A5' stroke-width='2'/%3E%3Cpath d='M17.5 17.5L13.875 13.875' stroke='%238B96A5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
            14px center / 20px 20px no-repeat;
        padding: 0 14px 0 44px;
        color: #1c1c1c;
        font-size: 16px;
    }

    .market-search input::placeholder {
        color: #8b96a5;
    }

    .market-search select,
    .market-search button {
        display: none;
    }

    /* =========================
       MOBILE CATEGORY CHIPS
       ========================= */

    .market-nav {
        height: auto;
        background: #fff;
        border: 0;
    }

    .market-nav__inner {
        width: 100%;
        height: auto;
        display: block;
        padding: 8px 17px 12px;
    }

    .market-nav__right {
        display: none;
    }

    .market-nav__left {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .market-nav__left::-webkit-scrollbar {
        display: none;
    }

    .market-nav__left > a,
    .market-dropdown__trigger,
    .market-nav__all {
        height: 42px;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        padding: 0 14px;
        border-radius: 6px;
        background: #eff2f4;
        color: #0d6efd;
        font-size: 18px;
        line-height: 22px;
        font-weight: 400;
        white-space: nowrap;
    }

    .market-hamburger,
    .market-chevron {
        display: none;
    }

    /* =========================
       MOBILE HOME
       ========================= */

    .home-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0;
    }

    .hero-card {
        width: 100%;
        min-height: 204px;
        border: 0;
        border-radius: 0;
        padding: 26px 24px;
        margin: 0;
        overflow: hidden;
    }

    .hero-card > img {
        object-position: center center;
        transform: scale(1.03);
    }

    .hero-copy {
        max-width: 185px;
    }

    .hero-copy p {
        margin: 0;
        font-size: 20px;
        line-height: 24px;
        font-weight: 400;
    }

    .hero-copy h1 {
        margin: 0 0 18px;
        font-size: 20px;
        line-height: 24px;
        font-weight: 700;
    }

    .hero-copy .btn {
        min-height: 34px;
        padding: 0 14px;
        border-radius: 6px;
        color: #0d6efd;
        background: #fff;
        font-size: 14px;
        font-weight: 400;
    }

    /* =========================
       MOBILE DEALS
       ========================= */

    .deals-row {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, 158px);
        overflow-x: auto;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        margin: 10px 0 0;
        scrollbar-width: none;
    }

    .deals-row::-webkit-scrollbar {
        display: none;
    }

    .deals-row__title {
        grid-column: 1 / -1;
        min-height: 84px;
        padding: 18px;
        background: #fff;
        border-right: 0;
        border-bottom: 1px solid #dee2e7;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .deals-row__title h2 {
        margin: 0;
        font-size: 22px;
        line-height: 26px;
        font-weight: 700;
    }

    .deals-row__title p {
        margin: 0;
        color: #505050;
        font-size: 16px;
        line-height: 20px;
    }

    .timer {
        gap: 4px;
    }

    .timer span {
        width: 52px;
        height: 54px;
        border-radius: 0;
        background: #eff2f4;
        color: #8b96a5;
    }

    .timer span:first-child {
        display: none;
    }

    .timer span strong {
        color: #8b96a5;
        font-size: 20px;
        line-height: 22px;
    }

    .timer span small {
        color: #8b96a5;
        font-size: 13px;
        line-height: 16px;
    }

    .deal-item {
        width: 158px;
        min-height: 204px;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-content: center;
        text-align: center;
        padding: 18px 12px;
        border-right: 1px solid #dee2e7;
        border-bottom: 0;
    }

    .deal-item img {
        width: 112px;
        height: 112px;
        object-fit: contain;
    }

    .deal-item strong {
        color: #1c1c1c;
        font-size: 15px;
        line-height: 20px;
        font-weight: 400;
    }

    .deal-item span {
        padding: 6px 16px;
        font-size: 16px;
        line-height: 19px;
        font-weight: 400;
    }

    /* =========================
       MOBILE SOURCE SECTIONS
       ========================= */

    .source-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        margin: 10px 0 0;
        background: #fff;
        overflow: hidden;
    }

    .source-banner {
        display: contents;
    }

    .source-banner::before,
    .source-banner::after {
        display: none;
    }

    .source-banner h2 {
        order: 1;
        max-width: none;
        margin: 24px 18px 14px;
        color: #1c1c1c;
        font-size: 22px;
        line-height: 26px;
        font-weight: 700;
    }

    .source-products {
        order: 2;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 158px;
        grid-template-columns: none;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .source-products::-webkit-scrollbar {
        display: none;
    }

    .source-product {
        width: 158px;
        min-height: 174px;
        padding: 14px 10px;
        border-left: 0;
        border-right: 1px solid #dee2e7;
        border-top: 1px solid #dee2e7;
        border-bottom: 1px solid #dee2e7;
        text-align: center;
    }

    .source-product img {
        position: static;
        width: 100px;
        height: 100px;
        margin: 0 auto 8px;
        object-fit: contain;
    }

    .source-product span {
        max-width: none;
        color: #1c1c1c;
        font-size: 15px;
        line-height: 20px;
        font-weight: 400;
    }

    .source-product small {
        color: #8b96a5;
        font-size: 16px;
        line-height: 20px;
    }

    .source-banner .btn {
        order: 3;
        width: 100%;
        min-height: 64px;
        justify-content: flex-start;
        padding: 0 24px;
        border-radius: 0;
        box-shadow: none;
        color: #0d6efd;
        background: #fff;
        font-size: 18px;
        font-weight: 400;
    }

    .source-banner .btn::after {
        content: "→";
        margin-left: 10px;
        font-size: 26px;
        line-height: 1;
    }

    /* =========================
       MOBILE REQUEST BANNER
       ========================= */

    .request-banner {
        width: 100%;
        min-height: 170px;
        grid-template-columns: 1fr;
        border-radius: 0;
        margin: 10px 0 0;
        padding: 28px 24px;
    }

    .request-banner h2 {
        max-width: 300px;
        font-size: 22px;
        line-height: 27px;
    }

    .request-banner p {
        display: none;
    }

    /* =========================
       MOBILE RECOMMENDED PRODUCTS
       ========================= */

    .section-heading {
        margin: 24px 16px 12px;
    }

    .section-heading h2 {
        font-size: 22px;
        line-height: 26px;
    }

    .product-grid {
        width: calc(100% - 32px);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-card {
        border-radius: 6px;
    }

    .product-card__image {
        height: 178px;
    }

    .product-card__image img {
        width: 145px;
        height: 145px;
    }

    .product-card__body {
        padding: 12px;
    }

    .product-card__price strong {
        font-size: 18px;
        line-height: 22px;
    }

    .product-card__title {
        color: #8b96a5;
        font-size: 16px;
        line-height: 21px;
    }

    /* =========================
       MOBILE CATALOG
       ========================= */

    .catalog-toolbar,
    .catalog-toolbar-dark {
        height: auto;
        padding: 12px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .toolbar-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .catalog-grid,
    .catalog-grid-dark {
        grid-template-columns: 1fr;
    }

    .catalog-product-card {
        width: 100%;
    }

    .list-item__image img {
        width: 90px;
        height: 90px;
    }

    /* =========================
       MOBILE PRODUCT DETAILS
       ========================= */

    .product-detail-page {
        width: min(100% - 18px, 1180px);
        padding-top: 12px;
    }

    .product-detail-card {
        padding: 12px;
        gap: 16px;
    }

    .product-detail {
        padding: 12px;
        gap: 14px;
    }

    .detail-main-image {
        height: 280px;
        min-height: 260px;
    }

    .detail-main-image img {
        width: 220px;
        height: 220px;
    }

    .thumb-row {
        grid-template-columns: repeat(4, 56px);
    }

    .price-box {
        grid-template-columns: 1fr;
    }

    .price-box div {
        border-right: 0;
        border-bottom: 1px solid #ffd2a8;
    }

    .spec-list {
        grid-template-columns: 95px 1fr;
    }

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

    /* =========================
       MOBILE CART
       ========================= */

    .cart-layout,
    .cart-perks,
    .saved-section {
        width: min(100% - 18px, 1180px);
    }

    .cart-layout {
        grid-template-columns: 1fr;
        margin-top: 14px;
    }

    .cart-main {
        padding: 14px;
    }

    .cart-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }

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

    .cart-item__side {
        grid-column: 2;
        justify-items: start;
        text-align: left;
        gap: 10px;
    }

    .cart-bottom-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .cart-bottom-actions .btn,
    .cart-bottom-actions form,
    .cart-bottom-actions button {
        width: 100%;
    }

    .cart-perks,
    .saved-grid {
        grid-template-columns: 1fr;
    }

    .saved-card__image {
        height: 180px;
    }

    /* =========================
       MOBILE FORMS / REGIONS / SHARED
       ========================= */

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

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

    .region-item .flag,
    .region-item .flag img {
        width: 38px;
        height: 26px;
    }

    .region-item strong {
        font-size: 14px;
    }

    .region-item small {
        font-size: 13px;
    }

    .discount-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
}/* =========================================================
   SIMPLE PAGES / AUTH / CHECKOUT / ORDERS FIX
   ========================================================= */

.content-card,
.auth-card,
.checkout-form,
.order-review {
    box-shadow: none;
}

.content-card {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto;
    padding: 24px;
}

.auth-card {
    width: min(440px, calc(100% - 32px));
    margin: 70px auto;
    padding: 28px;
}

.auth-card h1,
.content-card h1,
.checkout-form h1,
.order-review h2 {
    margin: 0 0 22px;
    color: #1c1c1c;
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
}

.auth-card form {
    display: grid;
    gap: 16px;
    margin: 0;
}

.auth-card label {
    display: grid;
    gap: 7px;
    color: #505050;
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
}

.auth-card input,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    color: #1c1c1c;
    padding: 0 12px;
    outline: 0;
}

.auth-card input:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

/* validation text only red, normal label text not red */
.auth-card span[data-valmsg-for],
.checkout-form span[data-valmsg-for],
.admin-form span[data-valmsg-for] {
    color: #fa3434;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
}

/* Remember me fix */
.auth-card label.checkbox-line,
.checkbox-line {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #505050;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.auth-card label.checkbox-line input,
.checkbox-line input {
    width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    padding: 0 !important;
    margin: 0;
    accent-color: #0d6efd;
}

.auth-card label.checkbox-line span,
.checkbox-line span {
    color: #505050 !important;
    font-size: 15px;
    font-weight: 400;
}

.auth-card .btn-block {
    min-height: 44px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

.auth-switch {
    margin: 6px 0 0;
    text-align: center;
    color: #505050;
    font-size: 15px;
}

.auth-switch a {
    color: #0d6efd;
    font-weight: 700;
}/* Checkout / forms clean fix */
.checkout-layout {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.checkout-form,
.order-review {
    padding: 24px;
    box-shadow: none;
}

.checkout-form h1,
.order-review h2 {
    margin: 0 0 22px;
    color: #1c1c1c;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

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

.checkout-form .form-grid label {
    display: grid;
    gap: 7px;
    color: #505050;
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
}

.checkout-form .form-grid label > span:first-child {
    color: #505050;
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dee2e7;
    border-radius: 6px;
    background: #fff;
    color: #1c1c1c;
    padding: 0 12px;
    outline: 0;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

/* Only validation messages red */
.checkout-form span[data-valmsg-for] {
    min-height: 18px;
    color: #fa3434 !important;
    font-size: 13px !important;
    line-height: 18px;
    font-weight: 400 !important;
}

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

.checkout-form .payment-note {
    margin: 18px 0;
    padding: 12px;
    background: #eef7ff;
    color: #26547c;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
}

.checkout-form .btn-success {
    min-height: 46px;
    border-radius: 6px;
    background: #00b517;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}