/* OLANT MARKET — Design System v1 */

:root {
    --om-bg: #FAFAF8;
    --om-surface: #FFFFFF;
    --om-text: #1A1A1A;
    --om-text-muted: #6B6B6B;
    --om-accent: #C45C4A;
    --om-accent-hover: #A84D3D;
    --om-sale: #D64545;
    --om-border: #E8E4DF;
    --om-footer: #1A1A1A;
    --om-radius: 4px;
    --om-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --om-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.10);
    --om-header-height: 120px;
    --om-font-display: 'Cormorant Garamond', Georgia, serif;
    --om-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --om-container: 1280px;
    --om-space-xs: 4px;
    --om-space-sm: 8px;
    --om-space-md: 16px;
    --om-space-lg: 24px;
    --om-space-xl: 32px;
    --om-space-2xl: 48px;
    --om-space-3xl: 64px;
}

/* ── Reset overrides ── */

body.mt,
body {
    font-family: var(--om-font-body);
    color: var(--om-text);
    background: var(--om-bg);
    margin-top: var(--om-header-height) !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3 {
    font-family: var(--om-font-display);
    color: var(--om-text);
    font-weight: 500;
}

a {
    color: var(--om-text);
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--om-accent);
    text-decoration: none;
}

.om-container {
    max-width: var(--om-container);
    margin: 0 auto;
    padding: 0 var(--om-space-md);
}

/* ── Promo bar ── */

.om-promo {
    background: var(--om-text);
    color: #fff;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.03em;
    padding: 8px var(--om-space-md);
    line-height: 1.4;
}

.om-promo strong {
    font-weight: 600;
}

/* ── Header ── */

.om-header {
    background: var(--om-surface);
    border-bottom: 1px solid var(--om-border);
}

.om-header__inner {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
    padding: var(--om-space-md) var(--om-space-md);
    max-width: var(--om-container);
    margin: 0 auto;
}

.om-header__burger {
    display: none;
    background: none;
    border: none;
    padding: var(--om-space-sm);
    cursor: pointer;
    color: var(--om-text);
    flex-shrink: 0;
}

.om-header__logo {
    font-family: var(--om-font-display);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--om-text);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.om-header__logo:hover {
    color: var(--om-text);
}

.om-header__search {
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.om-header__search input[type="text"] {
    width: 100%;
    padding: 10px 44px 10px 16px;
    border: 1px solid var(--om-border);
    border-radius: 24px;
    font-family: var(--om-font-body);
    font-size: 14px;
    color: var(--om-text);
    background: var(--om-bg);
    outline: none;
    transition: border-color 0.2s;
    box-shadow: none;
}

.om-header__search input[type="text"]:focus {
    border-color: var(--om-accent);
    background: var(--om-surface);
}

.om-header__search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--om-text-muted);
    line-height: 0;
}

.om-header__search button:hover {
    color: var(--om-accent);
}

.om-header__actions {
    display: flex;
    align-items: center;
    gap: var(--om-space-sm);
    flex-shrink: 0;
}

.om-header__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--om-text);
    text-decoration: none;
    position: relative;
    transition: background 0.2s;
}

.om-header__action:hover {
    background: var(--om-bg);
    color: var(--om-text);
}

.om-header__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--om-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* ── Navigation ── */

.om-nav {
    border-top: 1px solid var(--om-border);
}

.om-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--om-space-xs);
    max-width: var(--om-container);
    margin: 0 auto;
    padding: 0 var(--om-space-md);
    flex-wrap: wrap;
}

.om-nav__link {
    display: block;
    padding: 12px var(--om-space-md);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--om-text);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.om-nav__link:hover,
.om-nav__link:focus {
    color: var(--om-accent);
}

.om-nav__dropdown {
    position: relative;
}

.om-nav__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    box-shadow: var(--om-shadow-hover);
    min-width: 200px;
    z-index: 1050;
    padding: var(--om-space-sm) 0;
    list-style: none;
    margin: 0;
}

.om-nav__dropdown:hover .om-nav__dropdown-menu {
    display: block;
}

.om-nav__dropdown-menu a {
    display: block;
    padding: 8px var(--om-space-md);
    font-size: 14px;
    color: var(--om-text);
    text-transform: none;
    letter-spacing: 0;
}

.om-nav__dropdown-menu a:hover {
    background: var(--om-bg);
    color: var(--om-accent);
}

/* ── Mobile drawer ── */

.om-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
}

.om-drawer-overlay.is-open {
    display: block;
}

.om-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--om-surface);
    z-index: 1050;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: var(--om-space-lg) 0;
}

.om-drawer.is-open {
    left: 0;
}

.om-drawer__close {
    position: absolute;
    top: var(--om-space-md);
    right: var(--om-space-md);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--om-text);
    line-height: 1;
}

.om-drawer__link {
    display: block;
    padding: 12px var(--om-space-lg);
    font-size: 15px;
    color: var(--om-text);
    border-bottom: 1px solid var(--om-border);
}

.om-drawer__link:hover {
    background: var(--om-bg);
    color: var(--om-accent);
}

.om-drawer__section {
    padding: var(--om-space-sm) var(--om-space-lg);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--om-text-muted);
}

/* ── Product card ── */

.om-product-card {
    background: var(--om-surface);
    border-radius: var(--om-radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: var(--om-space-lg);
    position: relative;
}

.om-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--om-shadow-hover);
}

.om-product-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--om-bg);
}

.om-product-card__media picture,
.om-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.om-product-card:hover .om-product-card__media img {
    transform: scale(1.03);
}

.om-product-card__badge {
    position: absolute;
    top: var(--om-space-sm);
    left: var(--om-space-sm);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
}

.om-product-card__badge--sale {
    background: var(--om-sale);
    color: #fff;
}

.om-product-card__badge--hit {
    background: var(--om-text);
    color: #fff;
}

.om-product-card__badge--new {
    background: var(--om-accent);
    color: #fff;
}

.om-product-card__body {
    padding: var(--om-space-md);
}

.om-product-card__name {
    font-family: var(--om-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--om-text);
    line-height: 1.4;
    margin: 0 0 var(--om-space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.om-product-card__name a {
    color: inherit;
}

.om-product-card__name a:hover {
    color: var(--om-accent);
}

.om-product-card__price {
    font-size: 16px;
    font-weight: 600;
    color: var(--om-text);
    font-variant-numeric: tabular-nums;
}

.om-product-card__price-old {
    font-size: 13px;
    color: var(--om-text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: var(--om-space-sm);
}

/* Large card variant (main page new arrivals) */

.om-product-card--large .om-product-card__media {
    aspect-ratio: 3 / 4;
}

.om-product-card--large .om-product-card__name {
    font-size: 16px;
}

.om-product-card--large .om-product-card__price {
    font-size: 20px;
}

/* ── Section headings ── */

.om-section {
    padding: var(--om-space-2xl) 0;
}

.om-section__title {
    font-family: var(--om-font-display);
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--om-space-sm);
    letter-spacing: 0.02em;
}

.om-section__subtitle {
    text-align: center;
    color: var(--om-text-muted);
    font-size: 14px;
    margin-bottom: var(--om-space-xl);
}

.om-section__link {
    display: block;
    text-align: center;
    margin-top: var(--om-space-lg);
    font-size: 14px;
    color: var(--om-accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Hero ── */

.om-hero {
    position: relative;
    background: var(--om-text);
    color: #fff;
    overflow: hidden;
    margin-bottom: var(--om-space-2xl);
}

.om-hero__slide {
    display: flex;
    align-items: center;
    min-height: 420px;
}

.om-hero__content {
    flex: 1;
    padding: var(--om-space-3xl) var(--om-space-2xl);
    z-index: 2;
}

.om-hero__label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: var(--om-space-md);
}

.om-hero__title {
    font-family: var(--om-font-display);
    font-size: 42px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: var(--om-space-md);
    color: #fff;
}

.om-hero__price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--om-space-lg);
}

.om-hero__btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--om-accent);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.2s;
}

.om-hero__btn:hover {
    background: var(--om-accent-hover);
    color: #fff;
}

.om-hero__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--om-space-xl);
}

.om-hero__image picture,
.om-hero__image img {
    max-height: 480px;
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--om-radius);
    display: block;
}

/* ── Category tiles ── */

.om-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--om-space-md);
    margin-bottom: var(--om-space-2xl);
}

.om-categories--catalog {
    margin-bottom: var(--om-space-2xl);
}

.om-categories__list {
    display: contents;
}

.om-catalog--search .om-catalog__products--full {
    grid-column: 1 / -1;
}

.om-category-tile {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--om-radius);
    display: block;
}

.om-category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.om-category-tile:hover img {
    transform: scale(1.05);
}

.om-category-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--om-space-md);
}

.om-category-tile__name {
    color: #fff;
    font-family: var(--om-font-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* ── Trust block ── */

.om-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--om-space-lg);
    padding: var(--om-space-2xl) 0;
    border-top: 1px solid var(--om-border);
    margin-top: var(--om-space-2xl);
}

.om-trust__item {
    text-align: center;
    padding: var(--om-space-lg);
}

.om-trust__icon {
    font-size: 28px;
    margin-bottom: var(--om-space-md);
    color: var(--om-accent);
}

.om-trust__title {
    font-family: var(--om-font-display);
    font-size: 20px;
    margin-bottom: var(--om-space-sm);
}

.om-trust__text {
    font-size: 14px;
    color: var(--om-text-muted);
    line-height: 1.5;
}

/* ── Footer ── */

.om-footer {
    background: var(--om-footer);
    color: #ccc;
    padding: var(--om-space-2xl) 0 var(--om-space-lg);
    margin-top: var(--om-space-3xl);
}

.om-footer h4 {
    font-family: var(--om-font-display);
    color: #fff;
    font-size: 18px;
    margin-bottom: var(--om-space-md);
    font-weight: 500;
}

.om-footer a {
    color: #ccc;
    font-size: 14px;
    line-height: 2;
}

.om-footer a:hover {
    color: #fff;
}

.om-footer__bottom {
    border-top: 1px solid #333;
    margin-top: var(--om-space-xl);
    padding-top: var(--om-space-lg);
    font-size: 12px;
    color: #666;
}

.om-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    border-radius: 50%;
    margin-right: var(--om-space-sm);
    transition: border-color 0.2s;
}

.om-footer__social a:hover {
    border-color: var(--om-accent);
}

/* ── Hero carousel ── */

.om-hero-carousel {
    position: relative;
    overflow: hidden;
}

.om-hero-carousel__track {
    display: flex;
    transition: transform 0.5s ease;
}

.om-hero-carousel__slide {
    min-width: 100%;
    display: flex;
    align-items: center;
}

.om-hero-carousel__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.om-hero-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
}

.om-hero-carousel__dot.is-active {
    background: #fff;
}

.om-hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.om-hero-carousel__arrow:hover {
    background: rgba(255,255,255,0.3);
}

.om-hero-carousel__arrow--prev { left: 16px; }
.om-hero-carousel__arrow--next { right: 16px; }

/* ── Product detail page ── */

.om-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--om-space-2xl);
    background: var(--om-surface);
    padding: var(--om-space-xl);
    margin-bottom: var(--om-space-2xl);
}

.om-product__gallery-main {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--om-bg);
    border-radius: var(--om-radius);
}

.om-product__gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.om-product__thumbs {
    display: flex;
    gap: var(--om-space-sm);
    margin-top: var(--om-space-md);
    flex-wrap: wrap;
}

.om-product__thumb {
    width: 72px;
    height: 96px;
    border: 2px solid transparent;
    border-radius: var(--om-radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    padding: 0;
    background: none;
}

.om-product__thumb.is-active,
.om-product__thumb:hover {
    border-color: var(--om-accent);
}

.om-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.om-product__title {
    font-family: var(--om-font-display);
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 var(--om-space-md);
    line-height: 1.2;
}

.om-product__badges {
    display: flex;
    gap: var(--om-space-sm);
    margin-bottom: var(--om-space-md);
    flex-wrap: wrap;
}

.om-product__price-block {
    display: flex;
    align-items: baseline;
    gap: var(--om-space-md);
    margin-bottom: var(--om-space-lg);
}

.om-product__price {
    font-size: 28px;
    font-weight: 600;
    color: var(--om-text);
}

.om-product__price-old {
    font-size: 18px;
    color: var(--om-text-muted);
    text-decoration: line-through;
}

.om-product__buy {
    display: inline-block;
    padding: 14px 40px;
    background: var(--om-accent);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: var(--om-space-lg);
}

.om-product__buy:hover {
    background: var(--om-accent-hover);
    color: #fff;
}

.om-product__stock {
    color: #3a9d3a;
    font-size: 14px;
    margin-bottom: var(--om-space-md);
}

.om-product__sizes-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--om-space-sm);
}

.om-product__sizes {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--om-space-lg);
}

.om-product__sizes li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--om-text-muted);
}

.om-product__meta {
    font-size: 13px;
    color: var(--om-text-muted);
    margin-bottom: var(--om-space-md);
}

.om-product__description {
    border-top: 1px solid var(--om-border);
    padding-top: var(--om-space-lg);
    margin-top: var(--om-space-lg);
}

.om-product__description h4 {
    font-family: var(--om-font-display);
    font-size: 20px;
    margin-bottom: var(--om-space-md);
}

.om-product__alert {
    background: var(--om-bg);
    border-left: 3px solid var(--om-accent);
    padding: var(--om-space-md);
    font-size: 14px;
    margin-top: var(--om-space-md);
}

.om-product__brand {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--om-text-muted);
    margin-bottom: var(--om-space-sm);
}

/* ── Catalog page ── */

.om-catalog {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--om-space-xl);
}

.om-filter {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    padding: var(--om-space-lg);
    position: sticky;
    top: calc(var(--om-header-height) + 16px);
}

.om-filter__title {
    font-family: var(--om-font-display);
    font-size: 18px;
    margin-bottom: var(--om-space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.om-filter__clear {
    font-size: 12px;
    color: var(--om-accent);
    font-family: var(--om-font-body);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.om-filter .form-group {
    margin-bottom: var(--om-space-md);
}

.om-filter label {
    font-size: 13px;
    font-weight: 500;
    color: var(--om-text-muted);
}

.om-filter .form-control {
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    box-shadow: none;
    font-size: 14px;
}

.om-filter .btn-primary {
    background: var(--om-accent);
    border-color: var(--om-accent);
    width: 100%;
    padding: 10px;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 2px;
}

.om-filter .btn-primary:hover {
    background: var(--om-accent-hover);
    border-color: var(--om-accent-hover);
}

.om-catalog__header {
    margin-bottom: var(--om-space-lg);
}

.om-catalog__count {
    font-size: 14px;
    color: var(--om-text-muted);
    margin-bottom: var(--om-space-md);
}

.om-catalog .nav-tabs {
    border: none;
    margin-bottom: var(--om-space-md);
}

.om-catalog .nav-tabs > li > a {
    border: none;
    color: var(--om-text-muted);
    font-size: 13px;
    padding: 6px 12px;
}

.om-catalog .nav-tabs > li.active > a {
    color: var(--om-accent);
    background: transparent;
    border-bottom: 2px solid var(--om-accent);
}

.om-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    font-size: 14px;
    margin-bottom: var(--om-space-md);
    cursor: pointer;
    text-align: center;
}

/* ── Basket ── */

.om-basket {
    background: var(--om-surface);
    padding: var(--om-space-xl);
}

.om-basket__empty {
    text-align: center;
    padding: var(--om-space-3xl) 0;
}

.om-basket__empty h3 {
    font-family: var(--om-font-display);
    font-size: 24px;
    margin-bottom: var(--om-space-lg);
}

.om-basket-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: var(--om-space-md);
    align-items: center;
    padding: var(--om-space-md) 0;
    border-bottom: 1px solid var(--om-border);
}

.om-basket-item__image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--om-radius);
    background: var(--om-bg);
}

.om-basket-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.om-basket-item__name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.om-basket-item__name a {
    color: var(--om-text);
}

.om-basket-item__category {
    font-size: 13px;
    color: var(--om-text-muted);
}

.om-basket-item__controls {
    display: flex;
    align-items: center;
    gap: var(--om-space-md);
    margin-top: var(--om-space-sm);
}

.om-basket-item__qty {
    width: 60px;
    text-align: center;
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    padding: 6px;
    font-size: 14px;
}

.om-basket-item__price {
    font-size: 14px;
    color: var(--om-text-muted);
}

.om-basket-item__sum {
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.om-basket-item__remove {
    color: var(--om-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.om-basket-item__remove:hover {
    color: var(--om-sale);
}

.om-basket__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--om-space-lg) 0;
    margin-top: var(--om-space-md);
    border-top: 2px solid var(--om-text);
}

.om-basket__total-label {
    font-size: 16px;
}

.om-basket__total {
    font-size: 24px;
    font-weight: 600;
}

.om-basket__checkout {
    display: inline-block;
    padding: 14px 40px;
    background: var(--om-accent);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    transition: background 0.2s;
}

.om-basket__checkout:hover {
    background: var(--om-accent-hover);
    color: #fff;
}

.om-btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--om-accent);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    transition: background 0.2s;
}

.om-btn-primary:hover {
    background: var(--om-accent-hover);
    color: #fff;
}

.om-mobile-search {
    padding: 0 var(--om-space-md) 12px;
    background: var(--om-surface);
    border-bottom: 1px solid var(--om-border);
}

.om-mobile-search input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--om-border);
    border-radius: 24px;
    font-size: 14px;
    font-family: var(--om-font-body);
}

.om-category-tile--empty {
    background: linear-gradient(135deg, var(--om-border) 0%, var(--om-bg) 100%);
}

.om-page {
    background: var(--om-surface);
    padding: var(--om-space-xl);
    margin-bottom: var(--om-space-2xl);
    max-width: 800px;
}

.om-page h1 {
    font-family: var(--om-font-display);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: var(--om-space-lg);
}

.om-page h2 {
    font-family: var(--om-font-display);
    font-size: 22px;
    margin-top: var(--om-space-xl);
    margin-bottom: var(--om-space-md);
}

.om-page p,
.om-page li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--om-text-muted);
}

.om-page strong {
    color: var(--om-text);
}

.om-account {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--om-space-xl);
}

.om-account__nav {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    overflow: hidden;
}

.om-account__nav a,
.om-account__nav button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px var(--om-space-md);
    border: none;
    border-bottom: 1px solid var(--om-border);
    background: none;
    font-size: 14px;
    color: var(--om-text);
    cursor: pointer;
    font-family: var(--om-font-body);
}

.om-account__nav a:hover,
.om-account__nav button:hover {
    background: var(--om-bg);
    color: var(--om-accent);
}

.om-account__nav form:last-child button {
    border-bottom: none;
}

.om-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--om-surface);
    border-top: 1px solid var(--om-border);
    padding: 12px var(--om-space-md);
    z-index: 1020;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

.om-sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--om-container);
    margin: 0 auto;
    gap: var(--om-space-md);
}

.om-sticky-bar__price {
    font-size: 18px;
    font-weight: 600;
}

/* ── Checkout ── */

.om-checkout {
    margin-bottom: var(--om-space-2xl);
}

.om-checkout__steps {
    display: flex;
    gap: var(--om-space-sm);
    margin-bottom: var(--om-space-xl);
    flex-wrap: wrap;
}

.om-checkout__step {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--om-bg);
    color: var(--om-text-muted);
}

.om-checkout__step.is-done {
    background: rgba(196, 92, 74, 0.12);
    color: var(--om-accent);
}

.om-checkout__step.is-active {
    background: var(--om-accent);
    color: #fff;
}

.om-checkout__grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--om-space-xl);
    align-items: start;
}

.om-checkout__lead {
    color: var(--om-text-muted);
    font-size: 15px;
    margin-bottom: var(--om-space-lg);
}

.om-checkout__aside {
    display: flex;
    flex-direction: column;
    gap: var(--om-space-md);
}

.om-checkout__info {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    padding: var(--om-space-lg);
}

.om-checkout__info h3 {
    font-family: var(--om-font-display);
    font-size: 18px;
    margin: 0 0 var(--om-space-sm);
}

.om-checkout__info p {
    font-size: 14px;
    color: var(--om-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Forms ── */

.om-form .form-group {
    margin-bottom: var(--om-space-md);
}

.om-form label {
    font-size: 13px;
    font-weight: 500;
    color: var(--om-text-muted);
}

.om-form__input,
.om-form .form-control {
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    padding: 12px 14px;
    font-size: 15px;
    box-shadow: none;
    height: auto;
}

.om-form__input:focus,
.om-form .form-control:focus {
    border-color: var(--om-accent);
    outline: none;
}

.om-form__actions {
    margin-top: var(--om-space-lg);
}

/* ── Success page ── */

.om-success {
    text-align: center;
    padding: var(--om-space-3xl) var(--om-space-md);
    max-width: 520px;
    margin: 0 auto var(--om-space-3xl);
}

.om-success__icon {
    color: var(--om-accent);
    margin-bottom: var(--om-space-lg);
}

.om-success__title {
    font-family: var(--om-font-display);
    font-size: 32px;
    margin-bottom: var(--om-space-md);
}

.om-success__text {
    font-size: 15px;
    color: var(--om-text-muted);
    line-height: 1.6;
    margin-bottom: var(--om-space-xl);
}

.om-success__actions {
    display: flex;
    flex-direction: column;
    gap: var(--om-space-md);
    align-items: center;
}

.om-success__whatsapp {
    font-size: 14px;
    color: var(--om-accent);
}

/* ── Modal add-to-cart ── */

.om-modal-cart {
    text-align: center;
    padding: var(--om-space-md);
}

.om-modal-cart__icon {
    color: var(--om-accent);
    margin-bottom: var(--om-space-md);
}

.om-modal-cart__title {
    font-family: var(--om-font-display);
    font-size: 22px;
    margin-bottom: var(--om-space-lg);
}

.om-modal-cart__actions {
    display: flex;
    gap: var(--om-space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.om-btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: var(--om-text);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--om-border);
    border-radius: 2px;
    transition: border-color 0.2s;
}

.om-btn-secondary:hover {
    border-color: var(--om-text);
    color: var(--om-text);
}

/* ── Add to cart modal form ── */

.om-add-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--om-space-lg);
}

.om-add-form__image {
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    border-radius: var(--om-radius);
    background-color: var(--om-bg);
}

.om-add-form__price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--om-space-md);
}

.om-add-form__stock {
    color: #3a9d3a;
    font-size: 14px;
    margin-bottom: var(--om-space-md);
}

/* ── Orders list ── */

.om-orders {
    margin-bottom: var(--om-space-2xl);
}

.om-order-card {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    padding: var(--om-space-lg);
    margin-bottom: var(--om-space-md);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--om-space-md);
    align-items: center;
}

.om-order-card__id {
    font-weight: 600;
    margin-bottom: 4px;
}

.om-order-card__meta {
    font-size: 13px;
    color: var(--om-text-muted);
}

.om-order-card__sum {
    font-size: 18px;
    font-weight: 600;
    text-align: right;
}

.om-order-card__status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.om-order-card__status--new { background: #fde8e8; color: var(--om-sale); }
.om-order-card__status--ok { background: #e8f5e9; color: #2e7d32; }
.om-order-card__status--work { background: var(--om-bg); color: var(--om-text-muted); }
.om-order-card__status--paid { background: #fff3e0; color: #e65100; }

/* ── Order detail ── */

.om-order-detail {
    margin-bottom: var(--om-space-2xl);
}

.om-order-detail__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--om-space-lg);
    margin-bottom: var(--om-space-xl);
    flex-wrap: wrap;
}

.om-order-detail__title {
    font-family: var(--om-font-display);
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 var(--om-space-sm);
}

.om-order-detail__meta {
    font-size: 14px;
    color: var(--om-text-muted);
    margin-bottom: var(--om-space-md);
}

.om-order-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--om-space-sm);
}

.om-order-detail__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--om-space-lg);
}

.om-order-detail__section {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    padding: var(--om-space-lg);
}

.om-order-detail__section-title {
    font-family: var(--om-font-display);
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 var(--om-space-md);
}

.om-order-detail__dl {
    margin: 0;
}

.om-order-detail__dl dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--om-text-muted);
    margin-top: var(--om-space-md);
}

.om-order-detail__dl dt:first-child {
    margin-top: 0;
}

.om-order-detail__dl dd {
    margin: 4px 0 0;
    font-size: 15px;
}

.om-order-detail__admin {
    margin-top: var(--om-space-lg);
}

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

.om-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.om-order-table th,
.om-order-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid var(--om-border);
}

.om-order-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--om-text-muted);
    font-weight: 600;
}

.om-order-table td:last-child,
.om-order-table th:last-child {
    text-align: right;
    white-space: nowrap;
}

.om-order-detail__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--om-space-lg);
    padding-top: var(--om-space-md);
    border-top: 2px solid var(--om-border);
    font-size: 18px;
}

.om-order-detail__total strong {
    font-size: 24px;
}

/* ── Login ── */

.om-login {
    display: flex;
    justify-content: center;
    padding: var(--om-space-2xl) 0;
    margin-bottom: var(--om-space-2xl);
}

.om-login__card {
    width: 100%;
    max-width: 400px;
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: var(--om-radius);
    padding: var(--om-space-xl);
}

.om-login__card h1 {
    font-family: var(--om-font-display);
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 var(--om-space-sm);
    text-align: center;
}

.om-login__lead {
    text-align: center;
    color: var(--om-text-muted);
    font-size: 14px;
    margin-bottom: var(--om-space-lg);
}

.om-login .om-form__actions {
    margin-top: var(--om-space-md);
}

.om-consent {
    margin: var(--om-space-lg) 0 var(--om-space-md);
}

.om-consent .checkbox {
    margin: 0;
}

.om-consent label {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--om-text-muted);
}

.om-consent input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: top;
    margin-top: 3px;
}

.om-legal__updated {
    color: var(--om-text-muted);
    font-size: 14px;
    margin-bottom: var(--om-space-xl);
}

.om-legal h2 {
    font-family: var(--om-font-display);
    font-size: 20px;
    margin-top: var(--om-space-xl);
    margin-bottom: var(--om-space-md);
}

.om-legal ul {
    padding-left: 1.25em;
    margin-bottom: var(--om-space-md);
}

.om-legal li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--om-text-muted);
    margin-bottom: 6px;
}

.om-legal__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: var(--om-space-md);
}

.om-legal__table th,
.om-legal__table td {
    border: 1px solid var(--om-border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.om-legal__table th {
    background: var(--om-bg);
    font-weight: 600;
}

@media (max-width: 767px) {
    .om-legal__table {
        display: block;
        overflow-x: auto;
    }
}

.om-login .om-btn-primary {
    width: 100%;
}

/* ── Error page ── */

.om-error {
    text-align: center;
    padding: var(--om-space-3xl) var(--om-space-md);
    margin-bottom: var(--om-space-2xl);
}

.om-error__code {
    font-family: var(--om-font-display);
    font-size: 72px;
    font-weight: 500;
    color: var(--om-border);
    line-height: 1;
    margin-bottom: var(--om-space-md);
}

.om-error__title {
    font-family: var(--om-font-display);
    font-size: 28px;
    margin-bottom: var(--om-space-md);
}

.om-error__message {
    color: var(--om-text-muted);
    max-width: 480px;
    margin: 0 auto var(--om-space-xl);
    line-height: 1.6;
}

.om-error__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--om-space-md);
}

.om-error__link {
    font-size: 14px;
    color: var(--om-text-muted);
}

.om-account__logout {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px var(--om-space-md);
    border: none;
    background: none;
    font-size: 14px;
    color: var(--om-sale);
    cursor: pointer;
    font-family: var(--om-font-body);
}

.om-account__logout:hover {
    background: #fde8e8;
}

/* ── Modal overrides ── */

#modal .modal-content {
    border-radius: var(--om-radius);
    border: 1px solid var(--om-border);
    box-shadow: var(--om-shadow-hover);
}

#modal .modal-header {
    border-bottom: 1px solid var(--om-border);
    padding: var(--om-space-md) var(--om-space-lg);
}

#modal .modal-title {
    font-family: var(--om-font-display);
    font-size: 22px;
    font-weight: 500;
}

#modal .modal-body {
    padding: var(--om-space-lg);
}

#modal .close {
    font-size: 28px;
    font-weight: 300;
    opacity: 0.5;
}

#modal .radio label {
    font-weight: 400;
    font-size: 14px;
    padding: 6px 0;
}

.om-filter__submit {
    width: 100%;
    margin-top: var(--om-space-sm);
}

/* ── Pagination ── */

.pagination > li > a,
.pagination > li > span {
    color: var(--om-text);
    border-color: var(--om-border);
    font-family: var(--om-font-body);
}

.pagination > li > a:hover,
.pagination > li > span:hover {
    color: var(--om-accent);
    border-color: var(--om-border);
    background: var(--om-bg);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: var(--om-accent);
    border-color: var(--om-accent);
    color: #fff;
}

/* ── Legacy overrides ── */

.fixed-top {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.site_header_1,
.site_header_2 {
    display: none;
}

.bestsellers {
    box-shadow: none;
    margin-bottom: 0;
}

.h2-main {
    font-family: var(--om-font-display);
    font-size: 32px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--om-text);
}

.products-list__item {
    background: transparent;
    margin-bottom: 0;
    height: auto;
    overflow: visible;
    box-shadow: none;
}

.products-list__item:hover {
    box-shadow: none;
}

.product-card__image,
.product-card__image_main {
    height: auto !important;
    max-height: none !important;
}

.product-card__info {
    height: auto;
    padding: 0;
}

.product-card__prices {
    font-size: 16px;
    font-weight: 600;
}

.featurette-heading {
    font-family: var(--om-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--om-text);
}

.footer {
    display: none;
}

.breadcrumb {
    background: transparent;
    font-size: 13px;
    color: var(--om-text-muted);
    padding: var(--om-space-md) 0;
}

.breadcrumb > .active {
    color: var(--om-text);
}

.breadcrumb > li + li:before {
    color: var(--om-text-muted);
}

/* ── Responsive ── */

@media (max-width: 991px) {
    :root {
        --om-header-height: 100px;
    }

    .om-header__burger {
        display: flex;
    }

    .om-header__search {
        display: none;
    }

    .om-nav {
        display: none;
    }

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

    .om-trust {
        grid-template-columns: 1fr;
    }

    .om-hero {
        margin-bottom: var(--om-space-lg);
    }

    .om-hero__slide {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .om-hero__content {
        padding: var(--om-space-lg) var(--om-space-md);
        text-align: center;
    }

    .om-hero__title {
        font-size: 26px;
    }

    .om-hero__image {
        padding: 0;
        width: 100%;
    }

    .om-hero__image img {
        max-height: 420px;
        border-radius: 0;
    }

    .om-hero-carousel__arrow {
        display: none;
    }

    .om-sticky-bar {
        display: block;
    }

    body.om-has-sticky-bar {
        padding-bottom: 72px;
    }

    .om-account {
        grid-template-columns: 1fr;
    }

    .om-checkout__grid {
        grid-template-columns: 1fr;
    }

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

    .om-order-card {
        grid-template-columns: 1fr;
    }

    .om-order-card__sum {
        text-align: left;
    }

    .om-order-detail__grid {
        grid-template-columns: 1fr;
    }

    .om-order-detail__header {
        flex-direction: column;
    }

    .om-order-detail__actions {
        width: 100%;
    }
}

@media (min-width: 992px) {
    :root {
        --om-header-height: 148px;
    }
}

@media (max-width: 767px) {
    body.mt,
    body {
        margin-top: 100px !important;
    }

    .om-header__logo {
        font-size: 20px;
        flex: 1;
        text-align: center;
    }

    .om-section__title,
    .h2-main {
        font-size: 24px;
    }

    .om-product {
        grid-template-columns: 1fr;
        padding: var(--om-space-md);
    }

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

    .om-filter {
        display: none;
        position: static;
    }

    .om-filter.is-open {
        display: block;
    }

    .om-filter-toggle {
        display: block;
    }

    .om-basket-item {
        grid-template-columns: 80px 1fr;
    }

    .om-basket-item__sum {
        grid-column: 2;
        text-align: left;
    }
}

/* Admin FAB on storefront (visible only to admins) */
.shop-admin-edit {
    position: fixed;
    z-index: 1045;
    top: calc(var(--om-header-height) + 12px);
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--om-footer);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: var(--om-shadow-hover);
    transition: transform 0.15s, background 0.15s;
}

.shop-admin-edit:hover,
.shop-admin-edit:focus {
    background: var(--om-accent);
    color: #fff !important;
    transform: rotate(45deg) scale(1.05);
}

.shop-admin-edit__icon,
.shop-admin-fab__icon {
    width: 22px;
    height: 22px;
}

.shop-admin-fab {
    position: fixed;
    z-index: 1045;
    right: 12px;
    top: calc(var(--om-header-height) + 10px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-admin-fab__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--om-footer);
    color: #fff;
    text-decoration: none !important;
    box-shadow: var(--om-shadow-hover);
    transition: transform 0.15s, background 0.15s;
}

.shop-admin-fab__btn--settings:hover,
.shop-admin-fab__btn--settings:focus {
    background: var(--om-accent);
    transform: rotate(45deg) scale(1.05);
}
