:root {
    --bg: #fff;
    --surface: #f5f5f7;
    --surface2: #e8e8ed;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #aeaeb2;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --accent-light: #e8f0fb;
    --red: #ff3b30;
    --green: #34c759;
    --border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.14);
    --radius: 18px;
    --radius-sm: 10px;
    --font: -apple-system, 'SF Pro Display', BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-h: 52px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    font-family: var(--font);
    border: none;
    background: none;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement {
    background: var(--text);
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 8px 16px;
    letter-spacing: 0.02em;
}

.announcement a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── HEADER ── */
.header {
    position: sticky;
    min-height: 115px;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgb(255 255 255 / 87%);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 0px 24px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
    flex-shrink: 0;
}

.logo span {
    color: var(--accent);
}

/* Catalog button */
.catalog-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 34px;
    background: var(--text);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-left: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}

.catalog-btn:hover {
    background: #333;
}

.catalog-btn svg {
    width: 14px;
    height: 14px;
}

/* Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    flex: 1;
}

.header-nav a {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.header-nav a:hover {
    color: var(--text);
    background: var(--surface);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Search bar */
.search-wrap {
    position: relative;
    margin-right: 4px;
    min-width: 390px;
}

.search-input {
    width: 100%;
    height: 34px;
    background: var(--surface);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 12px 0 34px;
    font-size: 13px;
    font-family: var(--font);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.search-input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

/* Search dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 8px;
    display: none;
    z-index: 99;
}

.search-input:focus~.search-dropdown,
.search-dropdown:hover {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--surface);
}

.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.header-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.header-icon-btn:hover {
    background: var(--surface);
}

.header-icon-btn svg {
    width: 18px;
    height: 18px;
}

.badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--red);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* ── MEGA MENU ── */
.mega-menu-wrap {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: -24px;
    width: 100vw;
    max-width: 960px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 28px;
    display: none;
    grid-template-columns: 220px 1fr;
    gap: 0;
    z-index: 999;
}

.catalog-btn:hover~.mega-menu,
.mega-menu:hover {
    display: grid;
}

.mega-cats {
    border-right: 1px solid var(--border);
    padding-right: 20px;
}

.mega-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.mega-cat-item:hover,
.mega-cat-item.active {
    background: var(--surface);
    color: var(--accent);
}

.mega-cat-item svg {
    width: 14px;
    height: 14px;
    color: var(--text-tertiary);
}

.mega-sub {
    padding-left: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 24px;
    align-content: start;
}

.mega-sub a {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    display: block;
    transition: var(--transition);
}

.mega-sub a:hover {
    color: var(--accent);
}

.mega-sub-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    padding: 8px 0 4px;
    grid-column: 1/-1;
}

/* ── HERO SLIDER ── */
.hero {
    background: var(--surface);
    overflow: hidden;
    position: relative;
}

.hero-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    min-width: 100%;
    min-height: 480px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 max(24px, calc((100% - 1200px)/2 + 24px));
    position: relative;
    overflow: hidden;
}

.hero-slide-1 {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

.hero-slide-2 {
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
}

.hero-slide-3 {
    background: linear-gradient(135deg, #001d3d 0%, #003566 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.hero-slide-2 .hero-eyebrow,
.hero-slide-3 .hero-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.hero-title {
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 16px;
}

.hero-slide-2 .hero-title,
.hero-slide-3 .hero-title {
    color: #fff;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 28px;
    max-width: 360px;
}

.hero-slide-2 .hero-subtitle,
.hero-slide-3 .hero-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.hero-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-slide-2 .hero-price,
.hero-slide-3 .hero-price {
    color: #fff;
}

.hero-price span {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 6px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    color: var(--text);
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-ghost:hover {
    border-color: var(--text);
    background: rgba(0, 0, 0, 0.04);
}

.hero-slide-2 .btn-ghost,
.hero-slide-3 .btn-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.hero-slide-2 .btn-ghost:hover,
.hero-slide-3 .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image-mock {
    width: 300px;
    height: 300px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
}

.hero-slide-2 .hero-image-mock,
.hero-slide-3 .hero-image-mock {
    background: rgba(255, 255, 255, 0.08);
}

/* Slider controls */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--accent);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--text);
}

.hero-arrow:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.hero-arrow-prev {
    left: 20px;
}

.hero-arrow-next {
    right: 20px;
}

/* ── STORIES ── */
.stories-section {
    padding: 24px 0;
}

.section-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.stories-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.stories-track::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.story-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.story-ring.viewed {
    background: var(--surface2);
}

.story-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--surface);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.story-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 72px;
    line-height: 1.3;
}

/* ── SECTION TITLE ── */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
}

.section-link {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 2px;
}

.section-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── PRODUCT CARDS ── */
.section {
    padding: 48px 0;
}

.section-alt {
    background: var(--surface);
}

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

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.product-card-img {
    aspect-ratio: 1;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-card-actions {
    opacity: 1;
}

.card-action-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card-action-btn:hover {
    background: #fff;
    color: var(--accent);
    box-shadow: var(--shadow-md);
}

.card-action-btn svg {
    width: 16px;
    height: 16px;
}

.product-stickers {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sticker {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sticker-sale {
    background: var(--red);
    color: #fff;
}

.sticker-new {
    background: var(--accent);
    color: #fff;
}

.sticker-hit {
    background: #ff9500;
    color: #fff;
}

.product-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-brand {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.stars {
    display: flex;
    gap: 1px;
}

.star {
    color: #ff9500;
    font-size: 11px;
}

.rating-count {
    font-size: 11px;
    color: var(--text-tertiary);
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.product-price {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
}

.product-price-old {
    font-size: 13px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.product-price-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
    background: rgba(255, 59, 48, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.product-card-footer {
    padding: 0 16px 16px;
}


.btn-add-cart {
    width: 100%;
    padding: 10px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-in-cart
{
    background: var(--accent);
    color: #fff;
}

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

.btn-add-cart svg {
    width: 15px;
    height: 15px;
}

/* ── TIMER ── */
.timer-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(255, 59, 48, 0.06), transparent);
    border-radius: 12px;
    margin-bottom: 20px;
}

.timer-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.timer-block {
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    min-width: 36px;
    text-align: center;
}

.timer-sep {
    font-weight: 700;
    color: var(--red);
    font-size: 16px;
}

/* ── PROMO BANNERS ── */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0;
}

.promo-banner {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    cursor: pointer;
}

.promo-banner-1 {
    background: linear-gradient(135deg, #1d1d1f 0%, #3a3a3c 100%);
}

.promo-banner-2 {
    background: linear-gradient(135deg, #001d3d 0%, #0071e3 100%);
}

.promo-banner-emoji {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: 0.8;
}

.promo-banner-content {
    position: relative;
    z-index: 2;
}

.promo-banner-eyebrow {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.promo-banner-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.promo-banner-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 14px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #fff;
    color: var(--text);
    border-radius: 980px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
}

/* ── CATEGORIES GRID ── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    align-items: end;
}

.category-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-card:hover {
    background: #fff;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.category-icon img {

}

.category-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

/* ── BLOG ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.blog-img {
    height: 160px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
}

.blog-body {
    padding: 16px;
}

.blog-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.blog-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-date {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* ── ADVANTAGES ── */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.advantage-item {
    text-align: center;
    padding: 20px 12px;
}

.advantage-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
}

.advantage-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.advantage-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ── NEWSLETTER ── */
.newsletter-section {
    background: linear-gradient(135deg, var(--text) 0%, #3a3a3c 100%);
    padding: 64px 0;
    text-align: center;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.newsletter-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    font-family: var(--font);
    color: #fff;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-newsletter {
    height: 48px;
    padding: 0 24px;
    background: #fff;
    color: var(--text);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-newsletter:hover {
    transform: scale(1.02);
}

/* ── FOOTER ── */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 220px repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand-col {}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: var(--surface2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-tertiary);
}

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

.payment-icon {
    height: 22px;
    padding: 3px 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
}

/* ── FLOATING CART ── */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1999;
    display: none;
}

.cart-overlay.open {
    display: block;
}

.cart-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-title {
    font-size: 20px;
    font-weight: 700;
}

.cart-close {
    width: 32px;
    height: 32px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.cart-close:hover {
    background: var(--surface2);
    color: var(--text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    align-items: center;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

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

.cart-item-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-top: 4px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

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

.qty-val {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-footer {
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total-label {
    font-size: 15px;
    color: var(--text-secondary);
}

.cart-total-val {
    font-size: 22px;
    font-weight: 700;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: #fff;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 8px;
}

.btn-checkout:hover {
    background: var(--accent-hover);
}

.btn-cart-full {
    width: 100%;
    padding: 14px;
    background: var(--surface);
    color: var(--text);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-cart-full:hover {
    background: var(--surface2);
}

/* ── QUICK VIEW MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.quick-view {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.open .quick-view {
    transform: scale(1);
}

.quick-img {
    background: var(--surface);
    border-radius: 24px 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    min-height: 400px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.quick-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.quick-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.quick-price {
    font-size: 28px;
    font-weight: 700;
}

.quick-price-old {
    font-size: 16px;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.quick-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0;
}

.option-chip {
    padding: 6px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.option-chip:hover,
.option-chip.selected {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.btn-quick-buy {
    flex: 1;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-quick-buy:hover {
    background: var(--accent-hover);
}

.btn-quick-wish {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.btn-quick-wish:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ── MESSENGERS WIDGET ── */
.messengers-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.messenger-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: var(--transition);
}

.messengers-widget.open .messenger-btns {
    transform: scale(1);
    opacity: 1;
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border-radius: 980px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    white-space: nowrap;
}

.messenger-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.messenger-btn-tg {
    background: #2AABEE;
}

.messenger-btn-wa {
    background: #25D366;
}

.messenger-btn-vk {
    background: #0077FF;
}

.messenger-btn-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.messenger-toggle {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: #fff;
    font-size: 22px;
}

.messenger-toggle:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.messengers-widget.open .messenger-toggle {
    background: var(--text-secondary);
}

/* ── QUICK ORDER MODAL ── */
.quick-order-modal {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.open .quick-order-modal {
    transform: scale(1);
}

.qo-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.qo-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: block;
}

.form-input {
    width: 100%;
    height: 48px;
    background: var(--surface);
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-textarea {
    width: 100%;
    height: 80px;
    background: var(--surface);
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--text);
    outline: none;
    resize: none;
    transition: var(--transition);
}

.form-textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 1;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    color: var(--text);
    z-index: 100;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {

    .category-banner-thumb {
        width: 165px !important;

        right: 7px !important;
    }   
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 820px) {

    .category-banner-thumb {
        width: 165px !important;

        right: 7px !important;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .search-input {
        width: 100%;
    }

    .search-input:focus {
        /* width: 180px; */
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: 360px;
    }

    .hero-image {
        display: none;
    }

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

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

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

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

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

    .cart-sidebar {
        width: 100%;
    }

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

    .quick-img {
        border-radius: 24px 24px 0 0;
        min-height: 200px;
    }
}

.breadcrumb {
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary)
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition)
}

.breadcrumb a:hover {
    color: var(--accent)
}

.breadcrumb-sep {
    color: var(--text-tertiary)
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
    padding: 0 0 60px
}

.filters-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    display: flex;
    flex-direction: column;
    gap: 4px
}

.filter-group {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff
}

.filter-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition)
}

.filter-group-head:hover {
    background: var(--surface)
}

.filter-group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text)
}

.filter-group-arrow {
    color: var(--text-tertiary);
    transition: transform var(--transition)
}

.filter-group.open .filter-group-arrow {
    transform: rotate(180deg)
}

.filter-group-body {
    display: none;
    padding: 10px 16px 14px;
    border-top: 1px solid var(--border)
}

.filter-group.open .filter-group-body {
    display: block
}

.price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px
}

.price-input {
    flex: 1;
    height: 36px;
    background: var(--surface);
    border: 1.5px solid transparent;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    font-family: var(--font);
    color: var(--text);
    outline: none;
    transition: var(--transition);
    min-width: 0
}

.price-input:focus {
    border-color: var(--accent);
    background: #fff
}

.price-sep {
    color: var(--text-tertiary);
    font-size: 13px;
    flex-shrink: 0
}

.range-track {
    position: relative;
    height: 4px;
    background: var(--surface2);
    border-radius: 2px;
    margin: 8px 0 4px
}

.range-fill {
    position: absolute;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    left: 10%;
    right: 20%
}

.range-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15)
}

.range-thumb-min {
    left: 10%
}

.range-thumb-max {
    left: 80%
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 8px
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    color: var(--text)
}

.filter-item:hover {
    background: var(--surface)
}

.filter-checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--surface2);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: #fff
}

.filter-item.checked .filter-checkbox {
    background: var(--accent);
    border-color: var(--accent)
}

.filter-item.checked .filter-checkbox::after {
    content: '';
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    display: block
}

.filter-count {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-tertiary);
    background: var(--surface);
    padding: 1px 6px;
    border-radius: 10px
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px
}

.color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--transition);
    border: 2px solid transparent
}

.color-swatch:hover {
    transform: scale(1.15)
}

.color-swatch.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent)
}

.filter-show-more {
    font-size: 12px;
    color: var(--accent);
    cursor: pointer;
    padding: 6px 4px 0;
    display: block
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0 0
}

.active-filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500
}

.active-filter-remove {
    cursor: pointer;
    font-size: 14px;
    opacity: .7;
    transition: opacity var(--transition)
}

.active-filter-remove:hover {
    opacity: 1
}

.clear-all-filters {
    font-size: 12px;
    color: var(--red);
    cursor: pointer;
    padding: 5px 0;
    font-weight: 500
}

.catalog-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius)
}

.catalog-page-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.4px
}

.catalog-count {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 2px
}

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

.sort-select {
    height: 36px;
    background: var(--surface);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 28px 0 12px;
    font-size: 13px;
    font-family: var(--font);
    color: var(--text);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23aeaeb2' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: var(--transition);
    min-width: 180px
}

.sort-select:focus {
    border-color: var(--accent);
    background-color: #fff
}

.view-toggle {
    display: flex;
    background: var(--surface);
    border-radius: 8px;
    padding: 3px;
    gap: 2px
}

.view-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: var(--transition)
}

.view-btn.active,
.view-btn:hover {
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-sm)
}

.view-btn svg {
    width: 14px;
    height: 14px
}

.filter-mobile-btn {
    display: none;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: var(--surface);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition)
}

.catalog-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.catalog-products-grid.list-view {
    grid-template-columns: 1fr
}

.catalog-products-grid.list-view .product-card {
    flex-direction: row
}

.catalog-products-grid.list-view .product-card-img {
    width: 160px;
    flex-shrink: 0;
    aspect-ratio: 1;
    border-radius: var(--radius) 0 0 var(--radius)
}

.catalog-products-grid.list-view .product-card-body {
    flex: 1;
    padding: 20px
}

.catalog-products-grid.list-view .product-card-footer {
    display: flex;
    align-items: flex-end;
    padding: 20px 20px 20px 0
}

.catalog-products-grid.list-view .btn-add-cart {
    width: auto;
    padding: 10px 20px;
    white-space: nowrap
}

.category-banner {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(120deg, #1d1d1f 0%, #3a3a3c 100%);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
    margin-bottom: 40px;
    overflow: visible;
}

.category-banner-thumb {
    position: absolute;
    width: 175px;
    right: 140px;
}

.category-banner-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 6px
}

.category-banner-title h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 6px
}

.category-banner-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, .6)
}

.category-banner-emoji {
    font-size: 64px;
    opacity: .9
}

.subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.subcat-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 980px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap
}

.subcat-chip:hover,
.subcat-chip.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light)
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding-top: 32px;
    list-style: none;
}

.pagination-text{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 20px;
    font-size: 13px;
}
.page-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent
}

.page-btn:hover {
    background: var(--surface);
    color: var(--text)
}

.page-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent)
}

@media(max-width:1024px) {
    .catalog-layout {
        grid-template-columns: 220px 1fr
    }

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

@media(max-width:768px) {
    .catalog-layout {
        grid-template-columns: 1fr
    }

    .category-banner-thumb {
        position: absolute;
        width: 150px;
        right: 0;
    }

    .filters-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        z-index: 2000;
        overflow-y: auto;
        padding: 20px 16px;
        transform: translateX(-100%);
        transition: transform .4s cubic-bezier(.4, 0, .2, 1);
        box-shadow: var(--shadow-lg)
    }

    .filters-sidebar.open {
        transform: translateX(0)
    }

    .filter-mobile-btn {
        display: flex
    }

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

@media(max-width:480px) {
    .catalog-products-grid {
        grid-template-columns: 1fr
    }
    .category-banner-thumb {
        position: absolute;
        width: 150px;
    
        right: 0;
        display: none;
    }
    .catalog-top-bar {
        flex-wrap: wrap;
        gap: 10px
    }
}


/* ── Hero Stats ── */
.stores-hero { margin-bottom: 40px; }
.stores-hero-stats {
  display: flex; gap: 16px; flex-wrap: wrap;
  background: var(--card-bg); border-radius: 16px;
  padding: 24px 32px; border: 1px solid var(--border);
}
.stat-item { flex: 1; min-width: 120px; text-align: center; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-tertiary); margin-top: 4px; }

/* ── Store Cards ── */
.stores-list { display: flex; flex-direction: column; gap: 32px; }

.store-card {
  background: var(--card-bg); border-radius: 20px;
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* ── Gallery ── */
.store-gallery {
  position: relative; height: 260px; overflow: hidden;
  background: #111; cursor: pointer;
}
.store-gallery-slides {
  display: flex; height: 100%;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.store-gallery-slide {
  min-width: 100%; height: 100%; position: relative; overflow: hidden;
}
.store-gallery-slide img {
  width: 100%!important; height: 100%; object-fit: cover;
  display: block; transition: transform .4s ease;
}
.store-gallery:hover .store-gallery-slide img { transform: scale(1.03); }

/* zoom icon overlay */
.slide-zoom-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0); transition: background .25s;
  pointer-events: none;
}
.store-gallery:hover .slide-zoom-icon { background: rgba(0,0,0,.18); }
.slide-zoom-icon svg {
  opacity: 0; transform: scale(.7);
  transition: opacity .25s, transform .25s;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.store-gallery:hover .slide-zoom-icon svg { opacity: 1; transform: scale(1); }

/* caption bar */
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff; font-size: 13px; font-weight: 500;
  padding: 24px 14px 10px; pointer-events: none;
}

.gallery-nav {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px; pointer-events: none;
}
.gallery-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: all;
  transition: background .2s, transform .15s;
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
}
.gallery-arrow:hover { background: #fff; transform: scale(1.08); }
.gallery-arrow svg { width: 16px; height: 16px; color: #333; }

.gallery-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px;
}
.gallery-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
  transition: background .2s, transform .2s;
}
.gallery-dot.active { background: #fff; transform: scale(1.25); }

.gallery-counter {
  position: absolute; top: 10px; right: 12px;
  background: rgba(0,0,0,.45); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 8px;
  border-radius: 20px; pointer-events: none;
}

.store-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(37,99,235,.9); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: 20px; backdrop-filter: blur(6px);
}

/* ── Store Body ── */
.store-body { display: flex; gap: 0; }
.store-info { flex: 1; padding: 24px; }
.store-map {
  width: 200px; flex-shrink: 0;
  border-left: 1px solid var(--border);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #f0f4f8; min-height: 200px;
}

.store-num { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.store-name { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.store-mall { font-size: 13px; color: var(--text-tertiary); margin-bottom: 16px; }

.store-details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.store-detail-row { display: flex; gap: 10px; align-items: flex-start; }
.store-detail-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.store-detail-label { font-size: 11px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1px; }
.store-detail-val { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.store-detail-sub { font-size: 12px; color: var(--text-tertiary); margin-top: 1px; }

.store-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-route, .btn-call {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-route { background: var(--accent); color: #fff!important; }
.btn-route:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-call { background: var(--bg); color: var(--text-primary); border: 1px solid var(--border); }
.btn-call:hover { background: #eee; transform: translateY(-1px); }

/* Map block */
.map-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8d6e8' fill-opacity='0.5'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.map-pin { font-size: 28px; position: relative; z-index: 1; }
.map-open-btn {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff!important;
  font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 8px;
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  white-space: nowrap; transition: background .2s;
  z-index: 2;
}
.map-open-btn:hover { background: var(--accent-hover); }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-img-wrap {
  position: relative; max-width: 90vw; max-height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw; max-height: 78vh;
  border-radius: 10px; object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  transition: opacity .25s;
}
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; backdrop-filter: blur(6px);
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

.lightbox-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; backdrop-filter: blur(6px);
}
.lightbox-arrow:hover { background: rgba(255,255,255,.25); }
.lightbox-arrow.prev { left: 20px; }
.lightbox-arrow.next { right: 20px; }
.lightbox-arrow svg { width: 22px; height: 22px; }

.lightbox-caption {
  margin-top: 16px; color: rgba(255,255,255,.8);
  font-size: 14px; font-weight: 500; text-align: center;
}
.lightbox-counter {
  margin-top: 6px; color: rgba(255,255,255,.4);
  font-size: 12px;
}

.lightbox-thumbnails {
  display: flex; gap: 8px; margin-top: 14px;
}
.lightbox-thumb {
  width: 52px; height: 38px; border-radius: 6px;
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: border-color .2s, opacity .2s; opacity: .55;
}
.lightbox-thumb.active { border-color: #fff; opacity: 1; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  .store-body { flex-direction: column; }
  .store-map { width: 100%; height: 120px; border-left: none; border-top: 1px solid var(--border); }
  .stores-hero-stats { padding: 16px; }
  .store-gallery { height: 200px; }
  .lightbox-arrow.prev { left: 8px; }
  .lightbox-arrow.next { right: 8px; }
}

.ms-stock-block {
    margin: 16px 0;
    padding: 16px 20px;
    background: #f5f5f7;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
}

.ms-stock-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ms-stock-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.ms-stock-icon.in-stock  { background: #34c759; box-shadow: 0 0 6px rgba(52,199,89,0.5); }
.ms-stock-icon.out-stock { background: #ff3b30; box-shadow: 0 0 6px rgba(255,59,48,0.5); }

.ms-stock-label {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.ms-warehouses {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ms-warehouse-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 8px;
    font-size: 14px;
}

.ms-wh-name {
    color: #3a3a3c;
    font-weight: 500;
}

.ms-wh-qty {
    font-weight: 600;
    font-size: 14px;
    padding: 2px 10px;
    border-radius: 20px;
}

.ms-wh-qty.has-stock { color: #34c759; background: rgba(52,199,89,0.12); }
.ms-wh-qty.no-stock  { color: #ff3b30; background: rgba(255,59,48,0.12); }


/* Позиционирование относительно картинки */
.product-thumb__image {
    position: relative;
}

.ms-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0px 6px;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.ms-badge--in {
    background: rgba(52, 199, 89, 0.15);
    color: #1a7a34;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.ms-badge--out {
    background: rgba(255, 59, 48, 0.12);
    color: #c0392b;
    border: 1px solid rgba(255, 59, 48, 0.25);
}

.ms-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ms-badge--in  .ms-badge__dot { background: #34c759; box-shadow: 0 0 5px rgba(52,199,89,0.6); }
.ms-badge--out .ms-badge__dot { background: #ff3b30; box-shadow: 0 0 5px rgba(255,59,48,0.5); }

.search-result-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Если классы выставляются через JS (вариант A) */
.search-result-stock.in-stock {
    color: #1a7a34;
    background: rgba(52, 199, 89, 0.12);
    border: 1px solid rgba(52, 199, 89, 0.25);
}

.search-result-stock.out-stock {
    color: #c0392b;
    background: rgba(255, 59, 48, 0.10);
    border: 1px solid rgba(255, 59, 48, 0.20);
}

/* Точка-индикатор */
.sr-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.in-stock .sr-dot {
    background: #34c759;
    box-shadow: 0 0 4px rgba(52, 199, 89, 0.7);
}

.out-stock .sr-dot {
    background: #ff3b30;
    box-shadow: 0 0 4px rgba(255, 59, 48, 0.6);
}

/* Если строка без классов (вариант B) — fallback серый стиль */
.search-result-stock:not(.in-stock):not(.out-stock) {
    color: #6e6e73;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.08);
}


/* ─── Checkout / Cart shared styles ─── */

/* Inputs */
.co-input {
    width: 100%;
    height: 46px;
    background: #f5f5f7;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-family: inherit;
    color: #1d1d1f;
    outline: none;
    transition: .2s;
  }
  .co-input:focus {
    border-color: #0071e3;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,113,227,.08);
  }
  .co-input::placeholder { color: #aeaeb2; }
  .co-input.has-error { border-color: #ff3b30; }
  
  .co-textarea {
    width: 100%;
    min-height: 90px;
    background: #f5f5f7;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #1d1d1f;
    outline: none;
    resize: vertical;
    transition: .2s;
  }
  .co-textarea:focus {
    border-color: #0071e3;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,113,227,.08);
  }
  .co-textarea::placeholder { color: #aeaeb2; }
  
  .co-select {
    width: 100%;
    height: 46px;
    background: #f5f5f7;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 0 36px 0 14px;
    font-size: 14px;
    font-family: inherit;
    color: #1d1d1f;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23aeaeb2' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: .2s;
  }
  .co-select:focus {
    border-color: #0071e3;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0,113,227,.08);
  }
  
  /* Label */
  .co-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6e6e73;
    margin-bottom: 6px;
  }
  
  /* Input with toggle button inside */
  .co-input-wrap { position: relative; }
  .co-input-wrap .co-input { padding-right: 44px; }
  .toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aeaeb2;
    font-size: 16px;
    transition: .2s;
    padding: 0;
  }
  .toggle-pass:hover { color: #1d1d1f; }
  
  /* Forgot link */
  .co-forgot {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: #0071e3;
    text-decoration: none;
  }
  .co-forgot:hover { text-decoration: underline; }
  
  /* Form grid (2 cols) */
  .co-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .co-field { display: flex; flex-direction: column; }
  .co-field-full { grid-column: 1 / -1; }
  
  /* Radio / checkbox items */
  .co-radio-group { display: flex; flex-direction: column; gap: 8px; }
  .co-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1d1d1f;
    cursor: pointer;
  }
  .co-radio-item input[type=radio],
  .co-radio-item input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: #0071e3;
    cursor: pointer;
    flex-shrink: 0;
  }
  
  /* Alerts */
  .co-alert-danger {
    background: rgba(255,59,48,.08);
    border: 1px solid rgba(255,59,48,.2);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #d70015;
    margin-bottom: 16px;
  }
  
  /* Form block (card) */
  .form-block {
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
  }
  .form-block-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .form-block-title-icon {
    width: 28px;
    height: 28px;
    background: #e3f0ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }
  
  /* Delivery options */
  .co-delivery-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid #d2d2d7;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s;
    margin-bottom: 8px;
  }
  .co-delivery-option:hover { border-color: #0071e3; }
  .co-delivery-option.selected {
    border-color: #0071e3;
    background: #f0f7ff;
  }
  .co-delivery-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d2d2d7;
    flex-shrink: 0;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .co-delivery-option.selected .co-delivery-radio { border-color: #0071e3; }
  .co-delivery-option.selected .co-delivery-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #0071e3;
    border-radius: 50%;
    display: block;
  }
  .co-delivery-info { flex: 1; }
  .co-delivery-name { font-size: 14px; font-weight: 600; color: #1d1d1f; }
  .co-delivery-desc { font-size: 12px; color: #6e6e73; margin-top: 2px; }
  .co-delivery-price { font-size: 14px; font-weight: 600; color: #34c759; white-space: nowrap; }
  
  /* Payment options */
  .co-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .co-payment-option {
    padding: 14px;
    border: 1.5px solid #d2d2d7;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s;
  }
  .co-payment-option:hover { border-color: #0071e3; }
  .co-payment-option.selected {
    border-color: #0071e3;
    background: #f0f7ff;
  }
  .co-payment-name { font-size: 13px; font-weight: 600; color: #1d1d1f; }
  .co-payment-desc { font-size: 11px; color: #6e6e73; margin-top: 2px; }
  
  /* Cart table */
  .cart-table { display: flex; flex-direction: column; gap: 12px; }
  .cart-table-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 16px;
    transition: .2s;
  }
  .cart-table-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
  .cti-img {
    width: 80px;
    height: 80px;
    background: #f5f5f7;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .cti-img img { width: 100%; height: 100%; object-fit: contain; }
  .cti-name { font-size: 15px; font-weight: 500; color: #1d1d1f; margin-bottom: 4px; line-height: 1.3; }
  .cti-name a { color: inherit; text-decoration: none; }
  .cti-name a:hover { color: #0071e3; }
  .cti-opts { font-size: 12px; color: #aeaeb2; margin-bottom: 8px; }
  .cti-row-actions { display: flex; gap: 12px; }
  .cti-remove { font-size: 12px; color: #aeaeb2; cursor: pointer; transition: .2s; }
  .cti-remove:hover { color: #ff3b30; }
  .cti-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
  .cti-price { font-size: 18px; font-weight: 700; color: #1d1d1f; white-space: nowrap; }
  .cti-unit-price { font-size: 12px; color: #aeaeb2; }
  
  /* Qty control */
  .qty-control {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d2d2d7;
  }
  .qty-btn-lg {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
    color: #6e6e73;
    font-weight: 500;
    background: none;
    border: none;
    font-family: inherit;
  }
  .qty-btn-lg:hover { background: #e5e5ea; color: #1d1d1f; }
  .qty-btn-lg:disabled { opacity: .3; cursor: default; }
  .qty-val-lg {
    width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: none;
    outline: none;
    font-family: inherit;
    color: #1d1d1f;
  }
  
  /* Summary (totals) */
  .co-summary-rows { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; }
  .co-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
  .co-summary-label { color: #6e6e73; }
  .co-summary-val { font-weight: 600; color: #1d1d1f; }
  
  /* Buttons */
  .co-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
  }
  .co-btn-primary:hover { background: #0077ed; color: #fff; }
  
  .co-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f5f7;
    border: 1.5px solid #d2d2d7;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    transition: .2s;
    font-family: inherit;
  }
  .co-upload-btn:hover { border-color: #0071e3; color: #0071e3; }
  
  /* Checkout steps */
  .checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 24px 0 32px;
  }
  .step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #aeaeb2;
  }
  .step.active { color: #1d1d1f; }
  .step.done { color: #34c759; }
  .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .step.active .step-num { background: #0071e3; border-color: #0071e3; color: #fff; }
  .step.done .step-num { background: #34c759; border-color: #34c759; color: #fff; }
  .step-line { width: 48px; height: 2px; background: #e5e5ea; margin: 0 4px; }
  .step-line.done { background: #34c759; }

  /* Responsive */
  @media (max-width: 768px) {
    .co-form-grid { grid-template-columns: 1fr; }
    .co-field-full { grid-column: 1; }
    .co-payment-options { grid-template-columns: 1fr; }
    .cart-table-item { grid-template-columns: 0px 1fr; }
    .cti-title {    margin-left: 90px;}
    .cti-right { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
    .step-line { width: 24px; }
  }