body.cos-theme {
    --cos-brand: #e4002b;
    --cos-brand-dark: #c40025;
    --cos-promo: #0a805d;
    --cos-promo-highlight: #ffcc00;
    --cos-page: #f6f6f6;
    --cos-ink: #222222;
    --cos-body: #444444;
    --cos-muted: #6b7280;
    --cos-line: #d6d9df;
    --cos-tile: #f3f3f3;
    --cos-footer: #222222;
    --cos-footer-line: #454545;
    --cos-footer-text: #d8dbe1;
    --cos-green-bg: #e9fbf4;
    --cos-green: #08a77a;
    --cos-purple-bg: #f5efff;
    --cos-purple: #8c42f5;
    --cos-blue-bg: #edf8ff;
    --cos-blue: #1298e8;
    --cos-orange-bg: #fff6e5;
    --cos-orange: #f59e0b;
    background: var(--cos-page);
    color: var(--cos-body);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.cos-theme a {
    color: inherit;
    text-decoration: none;
}

/* Keep customer-panel / order action buttons readable (don't inherit body ink) */
body.cos-theme a.btn,
body.cos-theme a.up-btn-dark,
body.cos-theme a.up-sm-btn-dark,
body.cos-theme a.up-sm2-btn-dark,
body.cos-theme a.up2-btn-dark,
body.cos-theme a.up3-btn-dark {
    color: #fff;
    text-decoration: none;
}

body.cos-theme .up-btn-dark,
body.cos-theme .up-sm-btn-dark,
body.cos-theme .up-sm2-btn-dark,
body.cos-theme .up2-btn-dark,
body.cos-theme .up3-btn-dark {
    background: var(--cos-brand, #e4002b);
    color: #fff !important;
    border: 0;
}

body.cos-theme .up-btn-dark:hover,
body.cos-theme .up-sm-btn-dark:hover,
body.cos-theme .up-sm2-btn-dark:hover,
body.cos-theme .up2-btn-dark:hover,
body.cos-theme .up3-btn-dark:hover,
body.cos-theme a.up-btn-dark:hover,
body.cos-theme a.up-sm-btn-dark:hover {
    background: var(--cos-brand-dark, #c40025);
    color: #fff !important;
}

body.cos-theme .up-badge-dark {
    background: var(--cos-ink, #222);
    color: #fff;
}

body.cos-theme .customer-order-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #fff;
}

.cos-wrap {
    width: min(1222px, calc(100% - 16px));
    margin-inline: auto;
}

@media (min-width: 640px) {
    .cos-wrap { width: min(1222px, calc(100% - 32px)); }
}
@media (min-width: 992px) {
    .cos-wrap { width: min(1222px, calc(100% - 64px)); }
}

.cos-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cos-icon {
    width: 1em;
    height: 1em;
    display: block;
}

.cos-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cos-promo {
    position: relative;
    background: var(--cos-promo);
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    padding: 4px 28px;
}

@media (min-width: 768px) {
    .cos-promo { font-size: 14.4px; line-height: 1.3rem; padding: 5px 32px; }
}

.cos-promo em {
    color: var(--cos-promo-highlight);
    font-style: normal;
}

.cos-promo-close {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.cos-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cos-brand);
    color: #fff;
    overflow: visible;
}
.cos-header-desktop,
.cos-header-row,
.cos-header-center,
.cos-header-main {
    overflow: visible;
}

.cos-header-desktop { display: none; padding-top: 10px; }

@media (min-width: 1024px) {
    .cos-header-desktop { display: block; }
    .cos-header-mobile { display: none !important; }
}

.cos-header-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    min-height: 96px;
    padding-bottom: 0;
}

.cos-header-center {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 70;
}

.cos-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex: none;
    align-self: flex-start;
    padding-top: 8px;
}

.cos-brand-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: none;
    min-width: 0;
}

.cos-store-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    opacity: 0.95;
}

.cos-store-link:hover { opacity: 1; color: #fff; }
.cos-store-link svg { flex: none; }

.cos-header-row .cos-brand {
    flex: none;
    padding: 0;
}

.cos-header-link,
.cos-account-btn,
.cos-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding: 0;
}

.cos-header-link:hover,
.cos-account-btn:hover,
.cos-nav-link:hover { color: rgba(255, 255, 255, 0.85); }

.cos-search {
    position: relative;
    width: 100%;
    z-index: 80;
}

.cos-search input {
    width: 100%;
    height: 37px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--cos-ink);
    padding: 0 44px 0 46px;
    font-size: 12px;
    outline: none;
}

.cos-search button[type="submit"],
.cos-search-photo {
    position: absolute;
    top: 0;
    height: 37px;
    border: 0;
    background: transparent;
    color: var(--cos-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cos-search button[type="submit"] {
    right: 0;
    width: 44px;
    font-size: 22px;
}

.cos-search-photo {
    left: 6px;
    width: 36px;
    padding: 0;
    z-index: 2;
}

.cos-search-photo:disabled { opacity: 0.45; }
.cos-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 90;
    background: #fff;
    color: var(--cos-ink);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.16);
    padding: 8px 0;
    max-height: 420px;
    overflow: auto;
}
.cos-suggest[hidden] { display: none; }
.cos-suggest-label { margin: 6px 14px 2px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cos-muted); }
.cos-suggest-item, .cos-suggest-all { display: flex; align-items: center; gap: 10px; padding: 8px 14px; color: var(--cos-ink); text-decoration: none; }
.cos-suggest-item:hover, .cos-suggest-item.is-active, .cos-suggest-all:hover { background: var(--cos-page); }
.cos-suggest-item img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; background: var(--cos-page); flex: none; }
.cos-suggest-item span { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.cos-suggest-item strong { font-size: 12px; font-weight: 600; white-space: nowrap; }
.cos-suggest-all { font-size: 13px; font-weight: 600; color: var(--cos-brand); }
.cos-suggest-empty { margin: 0; padding: 10px 14px; font-size: 13px; color: var(--cos-muted); }

.cos-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #fff;
    padding: 6px 0 2px;
}

.cos-brand img {
    height: 84px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}
.cos-brand strong { font-size: 28px; letter-spacing: 0.04em; text-transform: uppercase; }
.cos-brand span { margin-top: 2px; font-size: 11px; font-weight: 500; opacity: 0.9; }

.cos-header-mobile {
    min-height: 78px;
}
.cos-header-mobile .cos-brand-stack {
    align-items: center;
    flex: 1;
}
.cos-header-mobile .cos-store-link {
    font-size: 11px;
}
.cos-header-mobile .cos-brand img {
    height: 58px;
    max-width: 200px;
}

.cos-header-main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    position: static;
    z-index: 40;
}

.cos-nav {
    position: static;
    min-width: 0;
    width: 100%;
    overflow: visible;
}

.cos-header-main .cos-nav-list {
    justify-content: flex-start;
}

.cos-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.cos-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    padding: 0 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    background: transparent;
    border: 0;
}

.cos-nav-arrow {
    font-size: 14px;
    opacity: 0.85;
    display: inline-flex;
    transition: transform 0.18s ease;
}
.cos-nav-arrow svg {
    width: 14px;
    height: 14px;
    display: block;
}
.cos-nav-item.has-mega:hover > .cos-nav-link .cos-nav-arrow,
.cos-nav-item.has-mega:focus-within > .cos-nav-link .cos-nav-arrow,
.cos-nav-item.has-mega.is-open > .cos-nav-link .cos-nav-arrow {
    transform: rotate(180deg);
}

.cos-nav-item { position: static; }
.cos-nav-item.has-mega > .cos-nav-link {
    position: relative;
    z-index: 61;
}
.cos-nav-item.is-offer > .cos-nav-link {
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 4px;
    height: 32px;
    margin-left: 6px;
    padding: 0 12px;
}

.cos-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    background: #fff;
    color: var(--cos-body);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    border-top: 0;
    padding: 22px 0 26px;
    z-index: 45;
    pointer-events: auto;
}

.cos-nav-item.has-mega:hover > .cos-mega,
.cos-nav-item.has-mega:focus-within > .cos-mega,
.cos-nav-item.has-mega.is-open > .cos-mega { display: block; }

.cos-nav-item.has-mega:hover,
.cos-nav-item.has-mega:focus-within,
.cos-nav-item.has-mega.is-open {
    z-index: 46;
}

.cos-header.is-searching .cos-nav-item.has-mega > .cos-mega,
.cos-header.is-searching .cos-nav-item.has-mega:hover > .cos-mega,
.cos-header.is-searching .cos-nav-item.has-mega.is-open > .cos-mega {
    display: none !important;
}

.cos-mega-grid {
    display: grid;
    grid-template-columns: repeat(var(--cos-mega-cols, 4), minmax(0, 1fr));
    gap: 18px 32px;
    justify-items: start;
}

.cos-mega-col h3 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cos-ink);
}
.cos-mega-col ul { list-style: none; margin: 0; padding: 0; }
.cos-mega-col a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.35;
}
.cos-mega-col a:hover { color: var(--cos-brand); }

.cos-cart-btn { font-size: 15px; font-weight: 600; cursor: pointer; }
.cos-cart-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #fff;
    color: var(--cos-brand);
    font-size: 11px;
    line-height: 18px;
    font-weight: 700;
    text-align: center;
}

.cos-account { position: relative; }
.cos-account summary { list-style: none; cursor: pointer; }
.cos-account summary::-webkit-details-marker { display: none; }
.cos-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 210px;
    background: #fff;
    color: var(--cos-ink);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    z-index: 60;
}
.cos-account-menu a,
.cos-account-menu button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--cos-ink);
}
.cos-account-menu a:hover,
.cos-account-menu button:hover { background: var(--cos-page); }

.cos-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    height: auto;
    padding: 8px 12px;
}

.cos-icon-btn {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.cos-mobile-search { display: none; padding: 0 12px 12px; }
.cos-mobile-search.is-open { display: block; }

.cos-drawer-backdrop,
.cos-drawer { display: none; }
.cos-drawer-backdrop.is-open,
.cos-drawer.is-open { display: block; }
.cos-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 60;
}
.cos-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(85vw, 384px);
    background: #fff;
    color: var(--cos-body);
    z-index: 61;
    overflow: auto;
}
.cos-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--cos-line);
    color: var(--cos-ink);
    font-weight: 600;
}
.cos-drawer a,
.cos-drawer button.cos-drawer-toggle {
    background: transparent;
    border: 0;
    color: var(--cos-ink);
    font-weight: 600;
    font-size: 15px;
}
.cos-drawer-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(214, 217, 223, 0.6);
}
.cos-drawer-row > a { flex: 1; padding: 12px 16px; }
.cos-drawer-sub { display: none; background: var(--cos-page); padding: 6px 0 10px; }
.cos-drawer-sub.is-open { display: block; }
.cos-drawer-sub a { display: block; padding: 8px 24px; font-size: 14px; font-weight: 500; }

.cos-section { padding: 16px 0; }
.cos-title {
    margin: 0 0 12px;
    font-size: 20.8px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--cos-ink);
}

.cos-track-wrap { position: relative; }
.cos-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.cos-track::-webkit-scrollbar { display: none; }
.cos-track > * { flex: 0 0 auto; scroll-snap-align: start; }

.cos-arrow {
    display: none;
    position: absolute;
    top: 42%;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--cos-ink);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    z-index: 2;
    font-size: 18px;
}
.cos-arrow.prev { left: -6px; }
.cos-arrow.next { right: -6px; }
@media (min-width: 1024px) {
    .cos-arrow { display: inline-flex; align-items: center; justify-content: center; }
}

.cos-hero-card {
    width: calc((100% - 10px) / 1.7);
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    color: var(--cos-ink);
}
@media (min-width: 640px) { .cos-hero-card { width: calc((100% - 10px) / 2); } }
@media (min-width: 768px) { .cos-hero-card { width: calc((100% - 20px) / 2.3); } }
@media (min-width: 1024px) { .cos-hero-card { width: calc((100% - 20px) / 2.74); } }
.cos-hero-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center; display: block; background: var(--cos-tile); }
.cos-hero-card div { padding: 10px 10px 12px; }
.cos-hero-card h2 { margin: 0; font-size: 17.6px; line-height: 1.15; letter-spacing: -0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cos-hero-card p {
    margin: 6px 0 0;
    font-size: 16px;
    line-height: 1.3;
    color: #565656;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cos-shortcuts { background: #fff; }
.cos-shortcuts ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    width: min(1222px, calc(100% - 32px));
}
@media (min-width: 768px) {
    .cos-shortcuts ul { width: min(1222px, calc(100% - 64px)); padding: 0 8px; gap: 12px; }
}
@media (min-width: 1024px) { .cos-shortcuts ul { flex-wrap: nowrap; } }
.cos-shortcuts li { width: calc(50% - 4px); }
@media (min-width: 1024px) {
    .cos-shortcuts li { width: auto; flex: 1 1 0; max-width: 220px; }
}
.cos-shortcut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--cos-line);
    border-radius: 4px;
    background: #fff;
    color: #17202b;
    font-size: 13px;
}
@media (min-width: 768px) {
    .cos-shortcut { height: 58px; padding: 0 16px; font-size: 14px; }
}
.cos-shortcut:hover { border-color: var(--cos-ink); }
.cos-chip {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex: none;
}
@media (min-width: 768px) { .cos-chip { width: 32px; height: 32px; font-size: 16px; } }
.cos-chip.green { background: var(--cos-green-bg); color: var(--cos-green); }
.cos-chip.purple { background: var(--cos-purple-bg); color: var(--cos-purple); }
.cos-chip.blue { background: var(--cos-blue-bg); color: var(--cos-blue); }
.cos-chip.orange { background: var(--cos-orange-bg); color: var(--cos-orange); }

.cos-group {
    width: calc((100% - 20px) / 2.4);
    background: #fff;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
@media (min-width: 640px) { .cos-group { width: calc((100% - 20px) / 3); } }
@media (min-width: 768px) { .cos-group { width: calc((100% - 30px) / 4); } }
@media (min-width: 1024px) { .cos-group { width: calc((100% - 40px) / 5); } }
.cos-group h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--cos-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .cos-group h3 { font-size: 16px; } }
.cos-group h3 a:hover { color: var(--cos-brand); }
.cos-group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cos-group-grid a {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    background: #f9f9f9;
    border: 1px solid #f9f9f9;
}
.cos-group-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cos-campaign { position: relative; overflow: hidden; border-radius: 4px; background: #e5002b; aspect-ratio: 3.2 / 1; }
.cos-campaign a { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.7s; }
.cos-campaign a.is-active { opacity: 1; pointer-events: auto; }
.cos-campaign img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cos-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.cos-dots button { width: 10px; height: 10px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, 0.4); padding: 0; }
.cos-dots button.is-active { background: #fff; }

.cos-cats { background: #fff; padding-top: 22px; padding-bottom: 8px; }
.cos-cats-skin { background: #f4f4f6; padding-top: 28px; padding-bottom: 28px; }
.cos-cats-skin .cos-title { margin-bottom: 18px; }
.cos-cats-track-wrap,
.cos-combo-track-wrap {
    position: relative;
}
.cos-cats-track-wrap .cos-arrow,
.cos-combo-track-wrap .cos-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 16%;
}
.cos-cats-track-wrap .cos-arrow.prev { left: 0; }
.cos-cats-track-wrap .cos-arrow.next { right: 0; }
.cos-combo-track-wrap .cos-arrow.prev { left: -4px; }
.cos-combo-track-wrap .cos-arrow.next { right: -4px; }
.cos-cat-grid {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
    margin: 0;
    padding: 4px 28px 12px;
    box-sizing: border-box;
    width: 100%;
}
.cos-cat-grid::-webkit-scrollbar { display: none; }
.cos-cat-grid > li { flex: 0 0 104px; width: 104px; scroll-snap-align: start; }
@media (min-width: 768px) {
    .cos-cat-grid { padding: 4px 36px 16px; gap: 14px; }
    .cos-cat-grid > li { flex: 0 0 120px; width: 120px; }
}
.cos-cat-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 6px 2px 10px;
    text-align: center;
    scroll-snap-align: start;
    min-width: 0;
}
.cos-cat-icon {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: #f1f1f3;
    color: #2a2a2a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}
@media (min-width: 768px) { .cos-cat-icon { width: 70px; height: 70px; font-size: 42px; } }
.cos-cat-grid a:hover .cos-cat-icon {
    transform: translateY(-3px);
    background: #fff;
    color: var(--cos-brand);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08), inset 0 0 0 2px var(--cos-brand);
}
.cos-cats-skin .cos-cat-icon { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), inset 0 0 0 1px #e6e6ea; }
.cos-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.cos-cat-grid a > span:last-child { font-size: 13px; line-height: 1.25; font-weight: 550; color: var(--cos-ink); }
@media (min-width: 768px) { .cos-cat-grid a > span:last-child { font-size: 15px; } }

.cos-brands { background: #fff; }
.cos-brand-page {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 768px) { .cos-brand-page { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cos-brand-page { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.cos-brand-page a {
    aspect-ratio: 144 / 75;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--cos-tile);
    padding: 6px;
}
.cos-brand-page a:hover { background: rgba(214, 217, 223, 0.6); }
.cos-brand-page img { max-width: 92%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }

.cos-tile {
    width: calc((100% - 18px) / 4);
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--cos-tile);
}
@media (min-width: 768px) { .cos-tile { width: calc((100% - 30px) / 6); } }
@media (min-width: 1024px) { .cos-tile { width: calc((100% - 48px) / 9); } }
.cos-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cos-tile span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 8px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}
@media (min-width: 640px) { .cos-tile span { font-size: 12px; } }

.cos-footer {
    background: var(--cos-footer);
    color: rgba(255, 255, 255, 0.95);
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { .cos-footer { padding-bottom: 0; } }
.cos-footer-grid {
    display: grid;
    gap: 40px;
    padding: 56px 0 40px;
}
@media (min-width: 768px) {
    .cos-footer-grid { grid-template-columns: 5fr 7fr; gap: 32px; }
}
.cos-footer h2 { margin: 0; color: #fff; font-size: 24px; font-weight: 500; }
.cos-footer p { margin: 8px 0 0; color: var(--cos-footer-text); font-size: 13px; line-height: 1.6; max-width: 28rem; }
.cos-news {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    max-width: 28rem;
}
.cos-news input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #cfd0d4;
    background: transparent;
    color: #fff;
    padding: 0 16px;
}
.cos-news input::placeholder { color: #bfc2c8; }
.cos-news button {
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #202226;
    padding: 0 20px;
    font-weight: 500;
    white-space: nowrap;
}
.cos-news-status { min-height: 20px; margin-top: 8px; font-size: 12px; color: var(--cos-footer-text); }
.cos-news-status.is-success { color: #7dffa8; }
.cos-news-status.is-error { color: #ffb4b4; }
.cos-news button:disabled { opacity: 0.65; cursor: wait; }
.cos-footer-cols { display: grid; gap: 32px; }
@media (min-width: 640px) { .cos-footer-cols { grid-template-columns: 1fr 1fr; } }
.cos-footer details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--cos-footer-line);
    padding-bottom: 14px;
    color: #fff;
    font-size: 15.2px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.cos-footer details summary::-webkit-details-marker { display: none; }
@media (min-width: 768px) {
    .cos-footer details summary { pointer-events: none; }
    .cos-footer details .cos-icon { display: none; }
}
.cos-footer details ul { list-style: none; margin: 16px 0 0; padding: 0; }
.cos-footer details li + li { margin-top: 10px; }
.cos-footer details a { color: var(--cos-footer-text); font-size: 14.2px; }
.cos-footer details a:hover { color: #fff; }
.cos-footer-bottom {
    border-top: 1px solid var(--cos-footer-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    text-align: center;
}
@media (min-width: 768px) {
    .cos-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.cos-social { display: flex; gap: 20px; align-items: center; }
.cos-social a { color: #fff; font-size: 14px; font-weight: 600; }
.cos-social a:hover { color: var(--cos-footer-text); }
.cos-pay { display: flex; flex-direction: column; align-items: center; gap: 8px; }
@media (min-width: 768px) { .cos-pay { flex-direction: row; gap: 16px; } }
.cos-pay p { margin: 0; color: #fff; font-size: 14px; font-weight: 500; }
.cos-pay img { height: 36px; width: auto; }
.cos-copy { margin: 0; color: var(--cos-footer-text); font-size: 13px; }

.cos-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #fff;
    border-top: 1px solid rgba(214, 217, 223, 0.6);
    padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1024px) { .cos-tabbar { display: none; } }
.cos-tabbar a,
.cos-tabbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    background: transparent;
    border: 0;
    color: var(--cos-ink);
    font-size: 11px;
    font-weight: 500;
}
.cos-tabbar .is-current { color: var(--cos-brand); }
.cos-tabbar .cos-icon { font-size: 24px; position: relative; }
.cos-tab-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--cos-brand);
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1023px) {
    body.cos-theme { padding-bottom: 62px; }
}

.cos-rail.is-brand {
    background:
        radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, 0.22), transparent 46%),
        radial-gradient(ellipse at 88% 120%, rgba(0, 0, 0, 0.16), transparent 42%),
        #e5002b;
}
.cos-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.cos-rail-head .cos-title { margin: 0; }
.cos-rail.is-brand .cos-title,
.cos-rail.is-brand .cos-view-all { color: #fff; }
.cos-view-all {
    flex: 0 0 auto;
    font-size: 13.6px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.cos-view-all:hover { text-decoration: none; }
.cos-slide-product { width: calc((100% - 20px) / 2.5); }
@media (min-width: 640px) { .cos-slide-product { width: calc((100% - 20px) / 3); } }
@media (min-width: 768px) { .cos-slide-product { width: calc((100% - 30px) / 4); } }
@media (min-width: 1024px) { .cos-slide-product { width: calc((100% - 40px) / 5); } }
.cos-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.cos-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.cos-card-media { position: relative; aspect-ratio: 1; background: #fff; }
.cos-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cos-card-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.cos-card:hover .cos-card-hover,
.cos-card:focus-within .cos-card-hover { opacity: 1; }
.cos-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 3px;
    background: #ffe4e4;
    color: #e82649;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    padding: 2px 6px;
}
.cos-wish {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(214, 217, 223, 0.8);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #eb161e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 16px;
}
.cos-wish.is-active { background: #eb161e; color: #fff; }
.cos-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px 10px;
}
.cos-card-brand { display: block; min-height: 16px; }
.cos-card-brand img { height: 14px; width: auto; max-width: 64px; object-fit: contain; object-position: left center; }
.cos-card-brand span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; color: var(--cos-ink); }
.cos-card h3 {
    margin: 0;
    min-height: 2.7em;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    color: var(--cos-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cos-card h3 a:hover { color: var(--cos-brand); }
.cos-card-shades { position: absolute; right: 8px; bottom: 10px; z-index: 2; display: flex; flex-direction: column; gap: 5px; }
.cos-card-shades a { width: 16px; height: 16px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.cos-card-shades a.is-current { box-shadow: 0 0 0 2px #1a1a1a; }
.cos-card-sold { margin: 0; font-size: 12px; font-weight: 600; color: var(--cos-brand); }
.cos-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.cos-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 14px; }
.cos-price del { color: var(--cos-muted); font-size: 12px; font-weight: 400; }
.cos-price ins,
.cos-price strong { color: #1a1a1a; font-style: normal; font-weight: 700; text-decoration: none; }
.cos-price ins { color: #eb161e; }
.cos-add {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--cos-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 0;
}
.cos-add:hover { background: var(--cos-page); }
.cos-add:disabled { opacity: 0.5; }

.cos-pdp { background: var(--cos-page); }
.cos-pdp-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .cos-pdp-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.cos-pdp-gallery { position: relative; }
.cos-pdp-stage {
    position: relative;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
    touch-action: manipulation;
}
.cos-pdp-stage img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: transform .12s ease-out;
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
    user-select: none;
}
.cos-pdp-stage.is-zooming {
    cursor: zoom-out;
}
.cos-pdp-stage.is-zooming img {
    transform: scale(2.2);
    transition: none;
}
@media (hover: none) {
    .cos-pdp-stage { cursor: default; }
    .cos-pdp-stage.is-zooming img { transform: scale(1.8); }
}
.cos-pdp-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--cos-line);
    background: rgba(255,255,255,.92); font-size: 22px;
}
.cos-pdp-nav.prev { left: 8px; }
.cos-pdp-nav.next { right: 8px; }
.cos-pdp-thumbs { display: flex; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; overflow-x: auto; }
.cos-pdp-thumbs button { width: 72px; height: 72px; padding: 0; border: 1px solid var(--cos-line); border-radius: 4px; background: #fff; overflow: hidden; }
.cos-pdp-thumbs button.is-active { border-color: var(--cos-ink); }
.cos-pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cos-pdp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--cos-muted); font-size: 13px; margin-bottom: 8px; }
.cos-pdp-crumbs a:hover { color: var(--cos-brand); }
.cos-pdp h1 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--cos-ink); }
@media (min-width: 768px) { .cos-pdp h1 { font-size: 26px; } }
.cos-pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--cos-body); }
.cos-pdp-meta img { height: 22px; width: auto; max-width: 70px; object-fit: contain; }
.cos-pdp-pill { border: 1px solid var(--cos-line); border-radius: 4px; padding: 2px 8px; font-size: 12px; }
.cos-pdp-price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 0; font-size: 22px; }
.cos-pdp-price del { color: var(--cos-muted); font-size: 14px; }
.cos-pdp-price ins, .cos-pdp-price strong { color: #1a1a1a; font-style: normal; font-weight: 700; text-decoration: none; }
.cos-pdp-off { background: #eb161e; color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 2px 8px; }
.cos-pdp-keywords { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
@media (min-width: 640px) { .cos-pdp-keywords { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cos-pdp-keywords li { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border-radius: 4px; padding: 12px 8px; text-align: center; font-size: 12px; color: var(--cos-ink); }
.cos-pdp-keywords img { width: 36px; height: 36px; object-fit: contain; border-radius: 999px; background: var(--cos-page); padding: 4px; }
.cos-pdp-sold { margin: 8px 0 0; font-size: 14px; color: var(--cos-muted); }
.cos-pdp-shades { margin-top: 16px; }
.cos-pdp-shades p { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--cos-ink); }
.cos-pdp-shades p span { font-weight: 400; }
.cos-pdp-shades div { display: flex; flex-wrap: wrap; gap: 8px; }
.cos-pdp-shades a { width: 34px; height: 34px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px #d6d9df; }
.cos-pdp-shades a.is-current { box-shadow: 0 0 0 2px #1a1a1a; }
.cos-pdp-options { border: 0; margin: 20px 0 0; padding: 0; }
.cos-pdp-options legend { font-size: 14px; font-weight: 600; color: var(--cos-ink); margin-bottom: 8px; padding: 0; }
.cos-pdp-options legend span { font-weight: 400; }
.cos-pdp-options > div { display: flex; flex-wrap: wrap; gap: 8px; }
.cos-pdp-options input { position: absolute; opacity: 0; pointer-events: none; }
.cos-swatch { width: 34px; height: 34px; border-radius: 999px; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px #d6d9df; }
.cos-pdp-options.is-color label.is-selected .cos-swatch { box-shadow: 0 0 0 2px #1a1a1a; }
.cos-choice { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--cos-line); background: #fff; border-radius: 4px; padding: 6px 12px; font-size: 14px; }
.cos-choice small { color: var(--cos-muted); }
.cos-pdp-options label.is-selected .cos-choice { border-color: #1a1a1a; background: #1a1a1a; color: #fff; }
.cos-pdp-stock { margin: 12px 0 0; font-size: 13px; color: #0a805d; }
.cos-pdp-stock p { margin: 0; }
.cos-pdp-stock .is-out { color: #b42318; }
.cos-pdp-stock-list {
    list-style: none; margin: 8px 0 0; padding: 0;
    display: grid; gap: 6px;
}
.cos-pdp-stock-list li {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 8px 10px; border: 1px solid rgba(214, 217, 223, .9);
    border-radius: 6px; background: #fff; color: var(--cos-ink); font-size: 13px;
}
.cos-pdp-stock-list li.is-current { border-color: #1a1a1a; }
.cos-pdp-stock-list li.is-empty { color: var(--cos-muted); }
.cos-pdp-stock-list a { color: inherit; text-decoration: none; }
.cos-pdp-stock-list a:hover { text-decoration: underline; }
.cos-pdp-stock-list strong { font-weight: 700; white-space: nowrap; }
.cos-pdp-buyrow { display: flex; gap: 8px; margin-top: 12px; align-items: stretch; }
.cos-qty { display: inline-flex; align-items: center; border: 1px solid var(--cos-line); background: #fff; border-radius: 4px; }
.cos-qty button, .cos-qty input { width: 40px; height: 48px; border: 0; background: transparent; text-align: center; font-size: 16px; }
.cos-qty input { width: 42px; }
.cos-pdp-buy {
    flex: 1; height: 48px; border: 0; border-radius: 6px; background: #ffd34d; color: #1a1a1a;
    font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 20px;
}
.cos-pdp-buy:disabled { opacity: 0.55; }
.cos-pdp-heart { width: 48px; height: 48px; border: 1px solid var(--cos-line); border-radius: 6px; background: #fff; color: #eb161e; font-size: 20px; padding-left: 10px; }
.cos-pdp-heart.is-active { background: #eb161e; color: #fff; }
.cos-pdp-accordion { margin-top: 24px; border-top: 1px solid rgba(214,217,223,.8); }
.cos-pdp-accordion details { border-bottom: 1px solid rgba(214,217,223,.8); }
.cos-pdp-accordion summary { cursor: pointer; list-style: none; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--cos-ink); display: flex; justify-content: space-between; }
.cos-pdp-accordion summary::-webkit-details-marker { display: none; }
.cos-pdp-accordion summary::after { content: "▾"; }
.cos-pdp-accordion details[open] summary::after { content: "▴"; }
.cos-pdp-accordion p,
.cos-pdp-section-body {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--cos-body);
}
.cos-pdp-section-body.is-faq {
    line-height: 1.45;
}
.cos-pdp-section-body.is-faq br {
    display: block;
    content: '';
    margin-top: 2px;
}
.cos-pdp-empty { background: #fff; border-radius: 8px; padding: 40px; text-align: center; }
@media (min-width: 768px) {
    .cos-pdp-summary { grid-column: 2; grid-row: 1 / span 2; }
    .cos-fbt { grid-column: 1; }
}
.cos-fbt { background: #fff; border-radius: 8px; padding: 16px; }
.cos-fbt h2 { margin: 0 0 16px; font-size: 18px; font-weight: 600; color: var(--cos-ink); }
.cos-fbt-row { display: flex; flex-direction: column; gap: 16px; }
.cos-fbt-items { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cos-fbt-items a { display: block; width: 112px; text-align: center; color: var(--cos-ink); }
.cos-fbt-items img { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; background: var(--cos-page); }
.cos-fbt-items p { margin: 4px 0 0; font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cos-fbt-items strong { font-size: 12px; }
.cos-fbt-plus { font-size: 18px; color: var(--cos-muted); }
.cos-fbt-total { text-align: center; }
.cos-fbt-total p { margin: 0; font-size: 14px; color: var(--cos-body); }
.cos-fbt-sum { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px !important; font-size: 20px !important; color: var(--cos-ink) !important; }
.cos-fbt-sum del { color: var(--cos-muted); font-size: 14px; }
.cos-fbt-sum span { color: #eb161e; font-size: 13px; font-weight: 700; }
.cos-fbt .cos-pdp-buy { width: 100%; margin-top: 8px; }
.cos-catalog { display: grid; gap: 24px; }
@media (min-width: 992px) { .cos-catalog { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.cos-filters { font-size: 14px; }
@media (min-width: 992px) { .cos-filters { position: sticky; top: 112px; } .cos-filter-toggle { display: none; } }
.cos-filter-toggle { width: 100%; height: 40px; border: 1px solid var(--cos-line); border-radius: 6px; background: #fff; }
.cos-filter-panel { display: none; margin-top: 12px; background: #fff; border-radius: 8px; padding: 16px; }
.cos-filter-panel.is-open, .cos-filters .cos-filter-panel { }
@media (min-width: 992px) { .cos-filter-panel { display: block; margin-top: 0; max-height: calc(100vh - 8rem); overflow: auto; } }
.cos-filter-panel.is-open { display: block; }
.cos-filters h2 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--cos-ink); }
.cos-filters section + section { margin-top: 24px; }
.cos-filters ul { list-style: none; margin: 0; padding: 0; }
.cos-filters a, .cos-filters label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; color: var(--cos-body); text-decoration: none; }
.cos-filters a.is-active { font-weight: 600; color: var(--cos-ink); }
.cos-filters a.is-empty { opacity: 0.5; }
.cos-filters a:hover, .cos-filters label:hover { color: var(--cos-brand); }
.cos-filter-count { flex: none; font-size: 12px; font-weight: 400; color: var(--cos-muted); }
.cos-filter-row { display: flex; align-items: center; }
.cos-filter-row > a { flex: 1; min-width: 0; }
.cos-filter-chevron { width: 28px; height: 28px; border: 0; background: transparent; color: var(--cos-muted); display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; cursor: pointer; }
.cos-filter-chevron svg { transition: transform .15s ease; }
.cos-filter-chevron[aria-expanded="true"] svg { transform: rotate(180deg); }
.cos-filter-sub { display: none; margin: 0 0 4px 8px; border-left: 1px solid var(--cos-line); padding-left: 16px; list-style: none; }
.cos-filter-sub.is-open { display: block; }
.cos-filter-tree > li.is-extra,
.cos-filter-sub > li.is-extra { display: none; }
.cos-filter-tree.is-expanded > li.is-extra,
.cos-filter-sub.is-expanded > li.is-extra { display: block; }
.cos-filter-sub a { padding: 4px 0; }
.cos-filters label { justify-content: flex-start; cursor: pointer; padding: 2px 0; }
.cos-filters label > span:not(.cos-filter-count) { flex: 1; }
.cos-filters input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--cos-ink); flex: none; }
.cos-filter-brands .is-extra { display: none; }
.cos-filter-brands.is-expanded .is-extra { display: block; }
.cos-filter-more { border: 0; background: transparent; color: var(--cos-brand); font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; padding: 0; margin-top: 4px; cursor: pointer; }
.cos-catalog-main { min-width: 0; padding-right: 8px; }
.cos-catalog-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-right: 4px; }
.cos-catalog-head h1 { margin: 0; font-size: 24px; font-weight: 600; color: var(--cos-ink); }
.cos-catalog-head p { margin: 4px 0 0; font-size: 14px; color: var(--cos-muted); }
.cos-sort { flex: none; margin: 2px 0 0 12px; }
.cos-sort select {
    height: 42px;
    min-width: 210px;
    max-width: 100%;
    border: 1px solid var(--cos-line);
    border-radius: 8px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding: 0 36px 0 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.cos-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .cos-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cos-pager { margin-top: 24px; display: flex; justify-content: center; }
.cos-pager .pagination { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Home AI Beauty Search */
.cos-ai-home { padding-top: 12px; }
.cos-ai-hero {
    --cos-ai-ink: #1a1a1a;
    --cos-ai-accent: #B3202A;
    position: relative;
    color: var(--cos-ai-ink);
    border: 1px solid rgba(227, 170, 184, 0.35);
    border-radius: 24px;
    padding: 22px 18px;
    min-height: 420px;
    box-shadow: 0 14px 36px rgba(179, 32, 42, 0.08);
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 60% at 78% 42%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(ellipse 55% 50% at 18% 20%, rgba(255, 214, 224, 0.55) 0%, rgba(255, 214, 224, 0) 65%),
        linear-gradient(145deg, #fff7f9 0%, #ffe4ec 42%, #ffd3e0 100%);
}

.cos-ai-hero > * { position: relative; z-index: 1; }
@media (min-width: 900px) {
    .cos-ai-hero {
        padding: 34px 34px 30px;
        min-height: 460px;
    }
}
.cos-ai-hero-grid {
    display: grid;
    gap: 22px;
    align-items: center;
}
@media (min-width: 960px) {
    .cos-ai-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 28px;
        min-height: 390px;
    }
}
.cos-ai-hero-kicker {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cos-ai-accent);
}
.cos-ai-hero-title {
    margin: 0 0 12px;
    color: var(--cos-ai-ink);
    font-size: clamp(26px, 4.2vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 700;
}
.cos-ai-hero-title .cos-ai-line {
    display: block;
    opacity: 0;
    transform: translateY(14px);
    animation: cosAiTitleIn 0.7s ease forwards;
}
.cos-ai-hero-title .cos-ai-line-accent {
    background: linear-gradient(90deg, #B3202A 0%, #8F1820 45%, #B3202A 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation:
        cosAiTitleIn 0.7s ease 0.22s forwards,
        cosAiShine 3.6s ease-in-out 1s infinite;
}
@keyframes cosAiTitleIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes cosAiShine {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}
.cos-ai-hero-lead {
    margin: 0 0 18px;
    max-width: 36rem;
    color: rgba(26, 26, 26, 0.82);
    font-size: 15px;
    line-height: 1.5;
}
.cos-ai-hero-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #eadfdb;
    border-radius: 14px;
    padding: 6px 6px 6px 14px;
    box-shadow: 0 6px 18px rgba(26, 26, 26, 0.05);
}
.cos-ai-hero-field {
    position: relative;
    flex: 1;
    min-width: 0;
}
.cos-ai-hero-form input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--cos-ink);
    font-size: 15px;
    line-height: 1.3;
    padding: 12px 0;
    position: relative;
    z-index: 1;
}
.cos-ai-type-ghost {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    color: #9aa0a8;
    font-size: 15px;
    line-height: 1.3;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cos-ai-type-ghost::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    vertical-align: -2px;
    background: #9aa0a8;
    animation: cosAiCaret 0.9s steps(1) infinite;
}
.cos-ai-hero-field.is-filled .cos-ai-type-ghost,
.cos-ai-hero-field.is-focused .cos-ai-type-ghost {
    opacity: 0;
}
@keyframes cosAiCaret {
    50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cos-ai-hero-title .cos-ai-line,
    .cos-ai-hero-title .cos-ai-line-accent,
    .cos-ai-type-ghost::after {
        animation: none;
        opacity: 1;
        transform: none;
        color: #B3202A;
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
    }
}
.cos-ai-hero-submit {
    flex: none;
    border: 0;
    border-radius: 10px;
    background: #B3202A;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    cursor: pointer;
}
.cos-ai-hero-submit:hover { background: #951a23; }
.cos-ai-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.cos-ai-hero-chip {
    border: 1px solid rgba(179, 32, 42, 0.22);
    background: #faf5f4;
    color: #1a1a1a;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.cos-ai-hero-chip:hover {
    background: #B3202A;
    border-color: #B3202A;
    color: #fff;
}
.cos-ai-hero-benefits {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
@media (min-width: 640px) {
    .cos-ai-hero-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}
.cos-ai-hero-benefits li {
    position: relative;
    padding: 10px 12px 10px 34px;
    border-radius: 12px;
    background: #faf5f4;
    border: 1px solid rgba(179, 32, 42, 0.12);
    color: #1a1a1a;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}
.cos-ai-hero-benefits li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    background:
        linear-gradient(#B3202A, #B3202A) center / 8px 2px no-repeat,
        linear-gradient(#B3202A, #B3202A) center / 2px 8px no-repeat,
        rgba(179, 32, 42, 0.14);
}

.cos-ai-hero-visual {
    position: relative;
    min-height: 0;
}
.cos-ai-mode-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (min-width: 960px) {
    .cos-ai-mode-cards { gap: 16px; }
}
.cos-ai-mode-card {
    appearance: none;
    border: 0;
    background: #fdebed;
    border-radius: 18px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(179, 32, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
    width: 100%;
}
.cos-ai-mode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(179, 32, 42, 0.18);
}
.cos-ai-mode-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 4;
    object-fit: cover;
    object-position: center top;
}
@media (max-width: 560px) {
    .cos-ai-mode-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cos-ai-mode-card img { aspect-ratio: 2 / 4; }
}

.cos-combo-deals { margin-top: 22px; }
.cos-combo-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.cos-combo-head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--cos-ink);
    letter-spacing: -0.02em;
}
.cos-combo-head a {
    color: var(--cos-brand, #e4002b);
    font-size: 14px;
    font-weight: 600;
}
.cos-combo-track-wrap { padding: 0; }
.cos-combo-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}
.cos-combo-track::-webkit-scrollbar { height: 0; }
.cos-combo-card {
    flex: 0 0 72%;
    max-width: 280px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--cos-line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
@media (min-width: 640px) {
    .cos-combo-card { flex-basis: 46%; }
}
@media (min-width: 900px) {
    .cos-combo-card { flex-basis: 23.5%; max-width: none; }
}
.cos-combo-media {
    display: block;
    background: #f3f3f3;
    aspect-ratio: 4 / 3;
}
.cos-combo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cos-combo-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.cos-combo-body h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    color: var(--cos-ink);
}
.cos-combo-body p {
    margin: 0;
    font-size: 13px;
    color: var(--cos-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cos-combo-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cos-brand, #e4002b);
    color: #fff !important;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
}
.cos-combo-btn:hover { background: var(--cos-brand-dark, #c40025); }

