/* =====================================================================
   aykasa.com — additions on top of the shared site.css
   ===================================================================== */

/* Header tools: language + online shop */
.header__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1100px) { .header__tools { margin-left: 18px; } .nav__list { justify-content: flex-end; margin-right: 0; } }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 13px; }
.lang__btn:hover { border-color: var(--ink); }
.lang__menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px 0; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: 0 18px 36px -18px rgba(20, 20, 25, .22); z-index: 70;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang__menu a { display: block; padding: 8px 16px; font-size: 14px; }
.lang__menu a:hover { background: var(--tint); color: var(--red); }
.lang__menu a.is-current { font-weight: 600; }
.btn--shop { min-height: 40px; padding: 0 18px; font-size: 14px; background: var(--red); color: #fff; display: none; }
.btn--shop:hover { background: var(--red-dark); }
@media (min-width: 1100px) { .btn--shop { display: inline-flex; } }
@media (max-width: 1099px) { .header__tools { margin-right: -4px; } .header__logo { margin-right: auto; } }
.dropdown a.is-current { color: var(--red); }
.drawer__langs { display: flex; gap: 8px; padding: 18px var(--gutter) 0; }
.drawer__langs a { flex: 1; text-align: center; padding: 10px 0; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; }
.drawer__langs a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Stage slider: the old site's slides carry their own text, so images are shown at their natural ratio */
.stage { position: relative; background: var(--photo); overflow: hidden; }
.stage__track { display: grid; }
.stage__slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.stage__slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.stage__slide img { width: 100%; height: auto; aspect-ratio: 1380 / 788; object-fit: cover; max-height: 80vh; }
.stage__hit { position: absolute; inset: 0; z-index: 1; }
.stage__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; z-index: 1; }
.stage__content > * { max-width: min(560px, 46%); }
.stage__title { font-size: clamp(34px, 5vw, 72px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.stage__text { margin: 16px 0 26px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); }
.stage .hero__arrow, .stage .hero__dots { z-index: 2; }
.stage:hover .hero__arrow { opacity: 1; }

/* Product family blocks on the home page */
.family { padding: 56px 0; }
.family__inner { display: grid; gap: 28px; }
.family__title { font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; }
.family__text { color: var(--ink-soft); margin: 14px 0 18px; max-width: 34em; }
.family__text p { margin-bottom: .6em; }
.family__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.family__items--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) {
    .family__items--3 { grid-auto-flow: column; grid-auto-columns: 64%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
    .family__items--3 > li { scroll-snap-align: start; }
}
.family__card { display: block; }
.family__img { display: block; aspect-ratio: 430 / 519; overflow: hidden; border-radius: var(--radius); background: var(--photo); }
.family__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.family__card:hover .family__img img { transform: scale(1.04); }
.family__label { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
@media (min-width: 960px) {
    .family { padding: 88px 0; }
    .family__inner { grid-template-columns: 4fr 7fr; gap: 64px; align-items: center; }
    .family--flip .family__inner { grid-template-columns: 7fr 4fr; }
    .family--flip .family__copy { order: 2; }
    .family__items { gap: 20px; }
}

/* News */
.news-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-grid--page { margin-bottom: 80px; }
.news-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--photo); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__body { padding-top: 14px; }
.news-card__body time { font-size: 13px; color: var(--muted); }
.news-card__title { font-size: 20px; margin: 6px 0 8px; }
.news-card__title a:hover { color: var(--red); }
.news-card__body p { color: var(--ink-soft); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article { max-width: 860px; padding-bottom: 64px; }
.article__head time { color: var(--muted); font-size: 14px; display: block; margin-top: 24px; }
.article__head .page__title { margin-top: 6px; }
.article__image { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }
.article__body { max-width: none; font-size: 17px; }

/* Listing / product extras */
.listing-head--wide { max-width: 900px; }
.listing-head__desc p { margin-bottom: .6em; }
.chips--sub { padding-top: 0; }
.chip--sm { height: 36px; font-size: 13px; padding: 0 14px; }
.card__cat { margin: 0; font-size: 12px; color: var(--muted); }
.pdp__cat { display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.pdp__cat:hover { color: var(--red); }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.specs caption { caption-side: top; text-align: left; font-weight: 600; padding-bottom: 8px; color: var(--ink); }
.specs { font-size: 14px; }
.specs th { width: 62%; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Gallery page */
.gsec { padding-bottom: 56px; scroll-margin-top: var(--header-h); }
.gsec__hero { position: relative; margin-bottom: 36px; }
.gsec__hero img { width: 100%; height: clamp(260px, 47vw, 720px); object-fit: cover; }
.gsec__badge {
    position: absolute; left: var(--gutter); bottom: -24px; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 2 * var(--gutter));
    background: #fff; padding: 14px 20px 14px 14px; border-radius: var(--radius); box-shadow: 0 18px 40px -20px rgba(20, 20, 25, .3);
}
.gsec__num { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--red); line-height: 1; }
.gsec__badge strong { display: block; font-family: var(--font-display); font-size: 19px; }
.gsec__badge small { display: block; color: var(--muted); font-size: 13px; }
@media (min-width: 1320px) { .gsec__badge { left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.gsec__body { padding-top: 24px; }
.gsec__title { font-size: clamp(26px, 3.2vw, 40px); max-width: 22em; margin-bottom: 12px; }
.gsec__text { color: var(--ink-soft); max-width: 70ch; margin-bottom: 28px; }
.gsec__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 768px) { .gsec__grid { grid-template-columns: repeat(6, 1fr); gap: 10px; } }
.gsec__thumb { display: block; width: 100%; padding: 0; border: 0; background: var(--photo); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.gsec__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gsec__thumb:hover img { transform: scale(1.05); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox img { max-width: min(100%, 900px); max-height: 86vh; border-radius: var(--radius-sm); }

/* Colors page */
.cgroup { padding: 40px 0 64px; scroll-margin-top: var(--header-h); }
.cgroup__head { max-width: 760px; margin-bottom: 28px; }
.cgroup__desc { color: var(--ink-soft); margin-top: 12px; }
.cgroup__desc p { margin-bottom: .5em; }
.swatch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .swatch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1240px) { .swatch-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.swatch-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.swatch-card__stage { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14px; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.swatch-card__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .2s; }
.swatch-card__body { padding: 12px 14px 14px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.swatch-card__name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.swatch-card__name i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); flex: 0 0 auto; }
.swatch-card__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.swatch-card__sizes button, .swatch-card__sizes span { height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; }
.swatch-card__sizes button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Banner tagline ---------- */
.stage__tagline {
    position: absolute; left: 0; right: 0; top: 0; z-index: 2; margin: 0; padding: 12px var(--gutter);
    text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(13px, 1.3vw, 17px); letter-spacing: .01em;
    color: var(--ink); background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px);
}

/* ---------- Facts band (under the banner) ---------- */
.usp { background: var(--tint); border-bottom: 1px solid var(--line); }
.usp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.usp__item { display: flex; gap: 12px; align-items: flex-start; padding: 20px 14px; }
.usp__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: inset 0 0 0 1px var(--line); }
.usp__copy { display: grid; gap: 2px; min-width: 0; }
.usp__copy strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.25; }
.usp__copy span { font-size: 13px; color: var(--muted); line-height: 1.45; }
@media (min-width: 960px) {
    .usp__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .usp__item { padding: 28px 22px; align-items: center; }
    .usp__item + .usp__item { border-left: 1px solid var(--line); }
}

/* ---------- Gallery reel: whole cards, arrows ---------- */
.reel__tools { display: flex; align-items: center; gap: 8px; }
.reel__tools .link { margin-right: 8px; }
.reel__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.reel__btn:hover { border-color: var(--ink); }
.reel__btn:disabled { opacity: .35; cursor: default; }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.reel::-webkit-scrollbar { display: none; }
.reel > li { scroll-snap-align: start; min-width: 0; }
.reel__card { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--photo); }
.reel__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.reel__card:hover img { transform: scale(1.04); }
.reel__label { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.reel__label:hover { color: var(--red); }
@media (min-width: 700px) { .reel { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1100px) { .reel { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; } }
@media (max-width: 699px) { .reel__btn { display: none; } }

/* ---------- Header: Instagram + flags ---------- */
.flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: 0 0 auto; display: inline-block; vertical-align: -2px; }
.lang__menu a { display: flex; align-items: center; gap: 10px; }
.drawer__langs a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.social-mini { display: none; align-items: center; gap: 2px; }
.social-mini a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.social-mini a:hover { color: var(--red); background: var(--tint); }
.social-mini span { display: none; }
@media (min-width: 1100px) { .social-mini { display: flex; } }
@media (min-width: 1440px) { .social-mini span { display: inline; } }

/* ---------- Footer (dark, different from the USA site) ---------- */
.footer, .footer__grid { display: none; }
.site-footer { background: #17181a; color: #b9bbc0; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; gap: 24px; padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer__slogan { margin: 0; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(28px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em; max-width: 16em; }
.site-footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer__label { font-size: 13px; color: #8d9096; margin-right: 4px; }
.site-footer__pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600; font-size: 14px; }
.site-footer__pill:hover { border-color: #fff; }
.site-footer__pill--red { background: var(--red); border-color: var(--red); }
.site-footer__pill--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; padding-top: 40px; padding-bottom: 40px; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.site-footer__logo img { height: 40px; width: auto; }
.site-footer__brand p { max-width: 34em; margin: 0; }
.site-footer__title { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer__langs { display: flex; gap: 8px; margin-top: 18px; }
.site-footer__langs a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 600; color: #fff; }
.site-footer__langs a.is-current { background: #fff; color: var(--ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8d9096; }
.site-footer__bottom a { color: #d6d7da; }
@media (min-width: 900px) {
    .site-footer__top { grid-template-columns: 1fr auto; align-items: end; padding-top: 80px; }
    .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 56px; }
    .site-footer__brand { grid-column: auto; }
}

/* ---------- Banner boxed to the content width (logo → shop button) ---------- */
@media (min-width: 768px) {
    .stage {
        max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 20px auto 0; border-radius: var(--radius);
        width: calc(100% - 2 * var(--gutter));
    }
    .stage__slide img { max-height: none; }
    .stage__tagline { border-radius: var(--radius) var(--radius) 0 0; }
    .usp { background: none; border-bottom: 0; }
    .usp__grid { margin-top: 20px; background: var(--tint); border-radius: var(--radius); padding: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
}

/* Anchor chips (colors / gallery): wrap instead of a cut-off scroller */
.chips--wrap { flex-wrap: wrap; overflow: visible; margin: 0; padding-left: 0; padding-right: 0; }
.chips--wrap .chip { max-width: 100%; }
.chips--wrap .chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
@media (max-width: 640px) { .chips--wrap .chip span { max-width: 240px; } }

/* ---------- Products menu: flyout sub categories (like warehouse1903) ---------- */
.dropdown > li { position: relative; }
.dropdown > li > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dropdown__chev { flex: 0 0 auto; opacity: .55; }
.dropdown__sub {
    position: absolute; left: 100%; top: -9px; min-width: 240px; padding: 8px 0; background: #fff;
    border: 1px solid var(--line); border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
    box-shadow: 0 18px 36px -18px rgba(20, 20, 25, .22);
    opacity: 0; visibility: hidden; transform: translateX(-6px);
    transition: opacity .18s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.dropdown > li.has-sub:hover > .dropdown__sub, .dropdown > li.has-sub:focus-within > .dropdown__sub {
    opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s;
}
.dropdown > li.has-sub:hover > a { color: var(--red); background: var(--tint); }
.dropdown > li.has-sub:hover .dropdown__chev { opacity: 1; }
.acc__list > li > a { font-weight: 600; color: var(--ink); }
.acc__sub { margin: 2px 0 8px 14px; }
.acc__sub a { display: block; padding: 6px 0 6px 14px; font-size: 15px; color: var(--muted); border-left: 2px solid var(--line); }
.acc__sub a:hover { color: var(--red); border-left-color: var(--red); }

/* Colors: aykasashop photos (light grey studio background, 4:3) fill the card stage */
.swatch-card__stage { padding: 0; background: #f3f2f0; }
.swatch-card__stage img { width: 100%; height: 100%; }
.swatch-card__stage img:not([src*="/shop-"]) { padding: 14px; box-sizing: border-box; }

/* Sub category without products yet: listed, not linked */
.menu-soon { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 20px; font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--muted); cursor: default; }
.acc__sub .menu-soon { padding: 6px 0 6px 14px; border-left: 2px solid var(--line); font-size: 15px; }
.menu-soon small, .chip--soon small { font-size: 11px; font-weight: 600; color: var(--red); background: var(--tint); border-radius: 999px; padding: 2px 8px; }
.chip--soon { color: var(--muted); cursor: default; gap: 6px; }

/* Colors + gallery: section titles and texts use the full content width instead of a narrow column */
.listing-head--wide, .cgroup__head { max-width: 1120px; }
.gsec__title { max-width: 1120px; }
.gsec__text { max-width: 1120px; }
.cgroup__desc, .gsec__text { font-size: 16px; line-height: 1.7; }

/* ---------- Cookie consent ---------- */
.cc-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 460px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px;
    box-shadow: 0 24px 48px -20px rgba(20, 20, 25, .35);
}
.cc-banner[hidden] { display: none; }
@media (min-width: 640px) { .cc-banner { left: 24px; bottom: 24px; } }
.cc-banner__title { font-size: 19px; margin: 0 0 8px; }
.cc-banner__text { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.cc-banner__text a { text-decoration: underline; }
.cc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cc-btn {
    min-height: 42px; padding: 8px 10px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
    font: 600 13.5px/1.2 var(--font-body); cursor: pointer; transition: background .15s, color .15s;
}
.cc-btn:hover { background: var(--tint); }
.cc-btn--primary { background: var(--ink); color: #fff; }
.cc-btn--primary:hover { background: var(--red); border-color: var(--red); }
.cc-btn:focus-visible, .cc-switch input:focus-visible + span, .cc-dialog__close:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 420px) { .cc-actions { grid-template-columns: 1fr; } }

.cc-dialog { width: min(760px, calc(100% - 24px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.cc-dialog::backdrop { background: rgba(20, 20, 25, .5); }
.cc-dialog__inner { display: flex; flex-direction: column; max-height: inherit; }
.cc-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cc-dialog__head h2 { font-size: 19px; margin: 0; }
.cc-dialog__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cc-dialog__close:hover { background: var(--tint); color: var(--ink); }
.cc-dialog__body { overflow-y: auto; padding: 18px 22px 6px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.cc-dialog__body > p { margin: 0 0 12px; }
.cc-cat { border-top: 1px solid var(--line); padding: 14px 0; }
.cc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.cc-cat__head strong { color: var(--ink); font-size: 15px; }
.cc-cat p { margin: 0; }
.cc-cat__always { color: var(--ok); font-weight: 600; font-size: 13px; }
.cc-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: 0 0 auto; }
.cc-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfccc7; transition: background .15s; pointer-events: none; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .18s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.cc-switch input:checked + span { background: var(--red); }
.cc-switch input:checked + span::after { transform: translateX(18px); }
.cc-dialog__foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); }
.site-footer__cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .cc-switch span, .cc-switch span::after { transition: none; } }

/* Colors: card opened from the home palette (#color-…) */
.swatch-card { scroll-margin-top: calc(var(--header-h) + 90px); }
.swatch-card:target { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 18px 36px -18px rgba(20, 20, 25, .35); animation: swatch-hit 1.4s var(--ease) 1; }
@keyframes swatch-hit { 0%, 30% { transform: scale(1.04); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .swatch-card:target { animation: none; } }
