/* =============================================================================
   ifinsta commerce kit (prefix ck-)

   The shopping vocabulary for every public ecommerce page: Discover today, and any
   other storefront that adopts it. Flat white cards on a light page, 1px hairlines,
   8px corners, 13-14px text, monospace prices, one blue action per area. Drawn in the
   "Property management: one kit, every screen" canvas (boards 54-62) from the ifinsta
   design system, and reading the site's own tokens so light, dark and high contrast
   follow the theme. Fallbacks are the design system's values.

   Add class "ck" to the page body. Nothing here is scoped to Discover.
   ============================================================================= */

.ck {
    /* Neutral greys, one blue action: the same palette as the marketing pages. */
    --ck-bg: #fafafa;
    --ck-surface: #ffffff;
    --ck-surface-2: #f5f5f5;
    --ck-text: #171717;
    --ck-text-2: #404040;
    --ck-muted: #6b6b6b;
    --ck-border: #d9d9d9;
    --ck-line: #ebebeb;
    --ck-primary: var(--ifinsta-primary, #1a56db);
    --ck-primary-hover: var(--ifinsta-primary-hover, #1648b8);
    --ck-primary-tint: rgba(26, 86, 219, 0.08);
    --ck-on-primary: #ffffff;
    --ck-ok: var(--ifinsta-success-text, #047857);
    --ck-ok-bg: var(--ifinsta-success-50, #d1fae5);
    --ck-warn: var(--ifinsta-warning-700, #b45309);
    --ck-warn-bg: var(--ifinsta-warning-50, #fef3c7);
    --ck-danger: var(--ifinsta-danger-text, #b91c1c);
    --ck-danger-bg: var(--ifinsta-danger-50, #fee2e2);
    --ck-r: 8px;
    --ck-r-sm: 4px;
    --ck-font: var(--ifinsta-font-sans, "Inter", "Segoe UI", Arial, sans-serif);
    --ck-mono: var(--ifinsta-font-mono, "JetBrains Mono", "SF Mono", Consolas, monospace);

    background: var(--ck-bg);
    color: var(--ck-text);
    font-family: var(--ck-font);
}

:root[data-theme="dark"] .ck {
    --ck-bg: #0a0a0a;
    --ck-surface: #141414;
    --ck-surface-2: #1f1f1f;
    --ck-text: #fafafa;
    --ck-text-2: #d4d4d4;
    --ck-muted: #a3a3a3;
    --ck-border: #3a3a3a;
    --ck-line: #262626;
    --ck-primary: #3b82f6;
    --ck-primary-hover: #60a5fa;
    --ck-primary-tint: rgba(59, 130, 246, 0.16);
    --ck-on-primary: #111827;
    --ck-ok: #34d399;
    --ck-ok-bg: rgba(16, 185, 129, 0.16);
    --ck-warn: #fbbf24;
    --ck-warn-bg: rgba(245, 158, 11, 0.16);
    --ck-danger: #f87171;
    --ck-danger-bg: rgba(239, 68, 68, 0.16);
}

/* Zero specificity: a reset, so the shared header's buttons and any component colour always win. */
:where(.ck) a { color: inherit; text-decoration: none; }
.ck *, .ck *::before, .ck *::after { box-sizing: border-box; }

/* ---- Layout -------------------------------------------------------------- */
.ck-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ck-wrap--narrow { max-width: 1040px; }
.ck-main { display: flex; flex-direction: column; gap: 16px; padding: 12px 0 40px; }
.ck-main--tight { gap: 12px; }
.ck-row { display: flex; align-items: center; gap: 12px; }
.ck-row--between { justify-content: space-between; }
.ck-row--wrap { flex-wrap: wrap; }
.ck-stack { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ck-muted { color: var(--ck-muted); }
.ck-mono { font-family: var(--ck-mono); font-variant-numeric: tabular-nums; }
.ck-hidden { display: none !important; }

.ck-title { margin: 0; font: 600 22px/1.3 var(--ck-font); color: var(--ck-text); }
.ck-title small { font: 400 14px var(--ck-font); color: var(--ck-muted); margin-left: 6px; }
.ck-h2 { margin: 0; font: 600 18px/1.3 var(--ck-font); }
.ck-h3 { margin: 0; font: 600 15px/1.3 var(--ck-font); }
.ck-eyebrow { font: 600 12px/1.4 var(--ck-font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ck-muted); }
.ck-link { color: var(--ck-primary); font-weight: 500; font-size: 13px; }
.ck-link:hover { text-decoration: underline; }

.ck-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--ck-muted); }
.ck-crumbs a:hover { color: var(--ck-primary); }
.ck-crumbs [aria-current] { color: var(--ck-text); font-weight: 500; }
.ck-crumbs svg { flex: none; }

.ck-sec { display: flex; flex-direction: column; gap: 10px; }
.ck-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

/* ---- Surfaces ------------------------------------------------------------ */
.ck-card { background: var(--ck-surface); border: 1px solid var(--ck-border); border-radius: var(--ck-r); }
.ck-card--soft { border-color: var(--ck-line); }
.ck-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ck-line); }
.ck-card__body { padding: 16px; }
.ck-divide > * + * { border-top: 1px solid var(--ck-line); }

.ck-empty { text-align: center; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--ck-surface); border: 1px solid var(--ck-border); border-radius: var(--ck-r); }
.ck-empty h1, .ck-empty h2 { margin: 0; font: 600 18px var(--ck-font); }
.ck-empty p { margin: 0; max-width: 420px; color: var(--ck-muted); font-size: 14px; line-height: 1.5; }
.ck-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }

.ck-note { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--ck-line); border-radius: var(--ck-r); background: var(--ck-surface-2); font-size: 13px; color: var(--ck-text-2); }
.ck-note--warn { background: var(--ck-warn-bg); }
.ck-note--danger { background: var(--ck-danger-bg); color: var(--ck-danger); }
.ck-note--ok { background: var(--ck-ok-bg); }
.ck-note b { color: var(--ck-text); font-weight: 600; }
.ck-note .ck-btn { margin-left: auto; flex: none; }

/* ---- Buttons ------------------------------------------------------------- */
.ck-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 36px; padding: 0 16px; border-radius: var(--ck-r); border: 1px solid var(--ck-primary);
    background: var(--ck-primary); color: var(--ck-on-primary) !important; cursor: pointer;
    font: 600 13px/1 var(--ck-font); white-space: nowrap; text-decoration: none;
    transition: background-color 0.12s ease, border-color 0.12s ease, opacity 0.12s ease;
}
.ck-btn:hover { background: var(--ck-primary-hover); border-color: var(--ck-primary-hover); }
.ck-btn:focus-visible, .ck-search input:focus-visible, .ck-field input:focus-visible { outline: 2px solid var(--ck-primary); outline-offset: 2px; }
.ck-btn--secondary { background: var(--ck-surface); color: var(--ck-text) !important; border-color: var(--ck-border); }
.ck-btn--secondary:hover { background: var(--ck-surface-2); border-color: var(--ck-border); }
.ck-btn--outline { background: var(--ck-surface); color: var(--ck-primary) !important; border-color: var(--ck-primary); }
.ck-btn--outline:hover { background: var(--ck-primary-tint); }
.ck-btn--ghost { background: transparent; border-color: transparent; color: var(--ck-primary) !important; }
.ck-btn--ghost:hover { background: var(--ck-primary-tint); border-color: transparent; }
.ck-btn--sm { min-height: 32px; padding: 0 12px; }
.ck-btn--lg { min-height: 44px; padding: 0 24px; font-size: 14px; }
.ck-btn--block { width: 100%; }
.ck-btn[disabled], .ck-btn[aria-disabled="true"], .ck-btn[data-state="busy"] { opacity: 0.55; pointer-events: none; }
.ck-btn[data-state="done"] { background: var(--ck-ok); border-color: var(--ck-ok); }
.ck-icon { flex: none; }

.ck-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 5px; font: 600 12px/1 var(--ck-font); white-space: nowrap; background: var(--ck-surface-2); color: var(--ck-text-2); }
.ck-pill--ok { background: var(--ck-ok-bg); color: var(--ck-ok); }
.ck-pill--warn { background: var(--ck-warn-bg); color: var(--ck-warn); }
.ck-pill--danger { background: var(--ck-danger-bg); color: var(--ck-danger); }
.ck-pill--info { background: var(--ck-primary-tint); color: var(--ck-primary); }
.ck-verified { color: var(--ck-primary); flex: none; vertical-align: -2px; }

/* ---- Price --------------------------------------------------------------- */
.ck-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; font-family: var(--ck-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; line-height: 1.2; color: var(--ck-text); }
.ck-price__cur { font-weight: 500; font-size: 12px; color: var(--ck-muted); }
.ck-price__was { font-weight: 400; font-size: 12px; color: var(--ck-muted); text-decoration: line-through; }
.ck-price--lg { font-size: 20px; }
.ck-price--xl { font-size: 28px; }
.ck-price--xl .ck-price__cur { font-size: 14px; }

/* ---- Discover bar and category row -------------------------------------- */
.ck-bar { background: var(--ck-surface); border-bottom: 1px solid var(--ck-line); }
.ck-bar__row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.ck-search { flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch; height: 40px; border: 1px solid var(--ck-primary); border-radius: var(--ck-r); overflow: hidden; background: var(--ck-surface); margin: 0; }
.ck-search select { border: 0; border-right: 1px solid var(--ck-border); background: var(--ck-surface-2); color: var(--ck-text-2); padding: 0 10px; font: 500 13px var(--ck-font); cursor: pointer; }
.ck-search input { flex: 1 1 auto; min-width: 0; border: 0; padding: 0 12px; font: 400 14px var(--ck-font); background: transparent; color: var(--ck-text); outline: none; }
.ck-search input::placeholder { color: var(--ck-muted); }
.ck-search button { border: 0; background: var(--ck-primary); color: var(--ck-on-primary); padding: 0 18px; font: 600 14px var(--ck-font); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ck-search button:hover { background: var(--ck-primary-hover); }
.ck-bar__tools { display: flex; align-items: center; gap: 4px; flex: none; }
.ck-bar__link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer; font: 500 13px var(--ck-font); color: var(--ck-text-2) !important; border-radius: var(--ck-r); }
.ck-bar__link:hover { background: var(--ck-surface-2); color: var(--ck-text) !important; }
.ck-badge { position: absolute; top: 5px; left: 20px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9999px; background: var(--ck-primary); color: var(--ck-on-primary); font: 600 12px/18px var(--ck-font); text-align: center; }
.ck-bagwrap { position: relative; }
.ck-bagmenu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 60; width: 300px; max-width: calc(100vw - 24px); background: var(--ck-surface); border: 1px solid var(--ck-border); border-radius: var(--ck-r); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); padding: 6px; }
.ck-bagmenu__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-radius: 6px; font-size: 13px; }
.ck-bagmenu__item:hover { background: var(--ck-surface-2); }
.ck-bagmenu__item b { display: block; font-weight: 600; }
.ck-bagmenu__empty { padding: 14px 10px; font-size: 13px; color: var(--ck-muted); }

.ck-cats { background: var(--ck-surface); border-bottom: 1px solid var(--ck-line); }
.ck-cats__row { display: flex; align-items: stretch; height: 40px; font: 500 13px var(--ck-font); color: var(--ck-text-2); overflow-x: auto; scrollbar-width: none; }
.ck-cats__row::-webkit-scrollbar { display: none; }
.ck-cats__all { display: inline-flex; align-items: center; gap: 8px; padding-right: 16px; margin-right: 16px; border-right: 1px solid var(--ck-line); font-weight: 600; color: var(--ck-text); white-space: nowrap; }
.ck-cats__link { display: inline-flex; align-items: center; margin-right: 22px; white-space: nowrap; border-bottom: 2px solid transparent; }
.ck-cats__link:hover { color: var(--ck-primary); }
.ck-cats__link.is-active { color: var(--ck-primary); font-weight: 600; border-bottom-color: var(--ck-primary); }
.ck-cats__spacer { flex: 1 1 auto; }
.ck-cats__util { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; }
.ck-cats__util a { display: inline-flex; align-items: center; gap: 4px; }
.ck-cats__util a:hover { color: var(--ck-primary); }

/* ---- Landing -------------------------------------------------------------- */
.ck-start { display: grid; grid-template-columns: 220px minmax(0, 1fr) 260px; gap: 12px; align-items: stretch; }
.ck-rail { display: flex; flex-direction: column; overflow: hidden; }
.ck-rail__head { padding: 10px 14px; font: 600 13px var(--ck-font); border-bottom: 1px solid var(--ck-line); }
.ck-rail__link { display: flex; align-items: center; justify-content: space-between; min-height: 33px; padding: 0 14px; font-size: 13px; color: var(--ck-text-2); }
.ck-rail__link:hover { background: var(--ck-surface-2); color: var(--ck-primary); }
.ck-rail__link svg { color: var(--ck-muted); }
.ck-hero { border: 1px solid var(--ck-border); border-radius: var(--ck-r); background: radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--ck-text) 8%, transparent), transparent 70%), radial-gradient(45% 70% at 0% 0%, color-mix(in srgb, var(--ck-text) 4%, transparent), transparent 70%), var(--ck-surface); padding: 28px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.ck-hero__copy { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.ck-hero__eyebrow { font: 600 12px var(--ck-font); letter-spacing: 0.08em; color: var(--ck-muted); text-transform: uppercase; }
.ck-hero__title { margin: 0; font: 700 26px/1.2 var(--ck-font); color: var(--ck-text); text-wrap: balance; }
:root[data-theme="dark"] .ck-hero__title { color: var(--ck-text); }
.ck-hero__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ck-text-2); }
.ck-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ck-hero__trust { display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 13px var(--ck-font); color: var(--ck-text-2); }
.ck-hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.ck-hero__trust svg { color: var(--ck-primary); }
.ck-account { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ck-account__id { display: flex; align-items: center; gap: 10px; }
.ck-account__avatar { width: 36px; height: 36px; border-radius: 9999px; background: var(--ck-primary-tint); color: var(--ck-primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ck-account__id strong { display: block; font: 600 14px var(--ck-font); }
.ck-account__id span { font-size: 12px; color: var(--ck-muted); }
.ck-account__links { border-top: 1px solid var(--ck-line); margin: 2px -16px 0; padding: 6px 16px 0; display: flex; flex-direction: column; }
.ck-account__links a { display: flex; align-items: center; justify-content: space-between; min-height: 34px; font-size: 13px; color: var(--ck-text-2); }
.ck-account__links a:hover { color: var(--ck-primary); }
.ck-account__links span { display: inline-flex; align-items: center; gap: 8px; }
.ck-account__links svg { color: var(--ck-muted); }

.ck-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.ck-trust > div { padding: 16px 18px; display: flex; gap: 12px; }
.ck-trust > div + div { border-left: 1px solid var(--ck-line); }
.ck-trust__icon { width: 32px; height: 32px; border-radius: 9999px; background: var(--ck-primary-tint); color: var(--ck-primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ck-trust strong { display: block; font: 600 13px var(--ck-font); }
.ck-trust p { margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: var(--ck-muted); }

/* ---- Product cards and grids --------------------------------------------- */
.ck-grid { display: grid; gap: 12px; grid-template-columns: repeat(var(--ck-cols, 6), minmax(0, 1fr)); }
.ck-grid--4 { --ck-cols: 4; }
.ck-grid--3 { --ck-cols: 3; }
.ck-grid--shops { --ck-cols: 3; }

.ck-product { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--ck-surface); border: 1px solid var(--ck-line); border-radius: var(--ck-r); transition: border-color 0.12s ease, box-shadow 0.12s ease; }
.ck-product:hover { border-color: var(--ck-border); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06); }
.ck-product__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--ck-surface-2); overflow: hidden; }
.ck-product__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-product__blank { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ck-muted); opacity: 0.6; }
.ck-product__flag { position: absolute; top: 8px; left: 8px; }
.ck-product__min { position: absolute; left: 8px; bottom: 8px; padding: 2px 6px; border: 1px solid var(--ck-line); border-radius: var(--ck-r-sm); background: var(--ck-surface); font: 500 12px var(--ck-font); color: var(--ck-text-2); }
.ck-product__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ck-product__name { font: 500 13px/1.35 var(--ck-font); min-height: 35px; color: var(--ck-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ck-product__name:hover { color: var(--ck-primary); }
.ck-product__row { display: flex; align-items: center; gap: 8px; }
.ck-product__row .ck-price { flex: 1 1 auto; min-width: 0; }
.ck-product__add { flex: none; width: 32px; height: 32px; border: 1px solid var(--ck-border); border-radius: var(--ck-r); background: var(--ck-surface); color: var(--ck-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ck-product__add:hover { background: var(--ck-primary-tint); border-color: var(--ck-primary); }
.ck-product__add[data-state="busy"] { opacity: 0.55; pointer-events: none; }
.ck-product__add[data-state="done"] { background: var(--ck-ok); border-color: var(--ck-ok); color: #fff; }
.ck-product__add .ck-add-check { display: none; }
.ck-product__add[data-state="done"] .ck-add-plus { display: none; }
.ck-product__add[data-state="done"] .ck-add-check { display: block; }
.ck-product__shop { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ck-muted); white-space: nowrap; overflow: hidden; }
.ck-product__shop span { overflow: hidden; text-overflow: ellipsis; }

.ck-shop { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--ck-surface); border: 1px solid var(--ck-line); border-radius: var(--ck-r); min-width: 0; }
.ck-shop:hover { border-color: var(--ck-border); }
.ck-logo { flex: none; width: 44px; height: 44px; border-radius: var(--ck-r); background: var(--ck-primary-tint); color: var(--ck-primary); display: inline-flex; align-items: center; justify-content: center; font: 700 18px var(--ck-font); overflow: hidden; }
.ck-logo img { width: 100%; height: 100%; object-fit: cover; }
.ck-logo--sm { width: 28px; height: 28px; font-size: 13px; border-radius: 6px; }
.ck-logo--lg { width: 64px; height: 64px; font-size: 26px; }
.ck-shop__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ck-shop__name { display: inline-flex; align-items: center; gap: 4px; font: 600 14px var(--ck-font); }
.ck-shop__meta { font-size: 12px; color: var(--ck-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Results: filters, toolbar, tabs, pager ------------------------------ */
.ck-results { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 16px; align-items: start; }
.ck-filters { display: flex; flex-direction: column; }
.ck-filters__head { display: none; }
.ck-filter { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.ck-filter + .ck-filter { border-top: 1px solid var(--ck-line); }
.ck-filter__title { font: 600 12px var(--ck-font); letter-spacing: 0.08em; color: var(--ck-muted); text-transform: uppercase; margin-bottom: 2px; }
.ck-opt { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: 13px; color: var(--ck-text-2); }
.ck-opt:hover { color: var(--ck-primary); }
.ck-opt__box { flex: none; width: 16px; height: 16px; border: 1px solid #9ca3af; border-radius: var(--ck-r-sm); background: var(--ck-surface); display: inline-flex; align-items: center; justify-content: center; color: transparent; }
.ck-opt.is-on .ck-opt__box { background: var(--ck-primary); border-color: var(--ck-primary); color: var(--ck-on-primary); }
.ck-opt.is-on { color: var(--ck-text); font-weight: 600; }
.ck-opt__label { flex: 1 1 auto; min-width: 0; }
.ck-opt__count { color: var(--ck-muted); font-weight: 400; }
.ck-opt--plain { justify-content: space-between; }
.ck-opt--plain.is-on { color: var(--ck-primary); }
.ck-opt--child { padding-left: 12px; }
.ck-stars { color: var(--ck-warn); letter-spacing: 1px; }
.ck-pricef { display: flex; align-items: center; gap: 6px; }
.ck-pricef input { flex: 1 1 0; min-width: 0; height: 34px; border: 1px solid var(--ck-border); border-radius: var(--ck-r); padding: 0 8px; font: 400 13px var(--ck-mono); background: var(--ck-surface); color: var(--ck-text); }
.ck-pricef input::placeholder { color: var(--ck-muted); }
.ck-pricef .ck-btn { min-height: 34px; padding: 0 10px; }
.ck-filter__clear { font-size: 12px; font-weight: 500; color: var(--ck-primary); }

.ck-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
.ck-toolbar__count { font-size: 14px; }
.ck-toolbar__chips { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.ck-toolbar__sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ck-text-2); }
.ck-toolbar__sort select { height: 34px; border: 1px solid var(--ck-border); border-radius: var(--ck-r); background: var(--ck-surface); color: var(--ck-text); padding: 0 8px; font: 600 13px var(--ck-font); cursor: pointer; }
.ck-chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px 0 10px; border-radius: 9999px; background: var(--ck-primary-tint); color: var(--ck-primary); font: 500 12px var(--ck-font); white-space: nowrap; }
.ck-chip:hover { filter: brightness(0.96); }
.ck-filter-open { display: none; }

.ck-tabs { display: flex; gap: 24px; padding: 0 16px; border-bottom: 1px solid var(--ck-line); font: 500 14px var(--ck-font); color: var(--ck-muted); overflow-x: auto; scrollbar-width: none; }
.ck-tabs a, .ck-tabs button { padding: 12px 0; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: inherit; font: inherit; white-space: nowrap; cursor: pointer; }
.ck-tabs a:hover, .ck-tabs button:hover { color: var(--ck-text); }
.ck-tabs .is-active { color: var(--ck-primary); font-weight: 600; border-bottom-color: var(--ck-primary); }
.ck-tabs small { font: 400 12px var(--ck-font); color: var(--ck-muted); margin-left: 4px; }

.ck-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; padding-top: 8px; font: 500 13px var(--ck-font); }
.ck-pager a, .ck-pager span { min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ck-border); border-radius: var(--ck-r); background: var(--ck-surface); color: var(--ck-text-2); }
.ck-pager a:hover { border-color: var(--ck-primary); color: var(--ck-primary); }
.ck-pager .is-current { background: var(--ck-primary); border-color: var(--ck-primary); color: var(--ck-on-primary); }
.ck-pager .is-disabled { opacity: 0.45; }
.ck-pager .is-gap { border-color: transparent; background: transparent; }

/* ---- Shop header ---------------------------------------------------------- */
.ck-shophead { overflow: hidden; }
.ck-shophead__top { display: flex; align-items: center; gap: 16px; padding: 16px; flex-wrap: wrap; }
.ck-shophead__id { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ck-shophead__name { margin: 0; display: inline-flex; align-items: center; gap: 6px; font: 600 20px/1.3 var(--ck-font); }
.ck-shophead__meta { margin: 0; font-size: 13px; color: var(--ck-muted); }
.ck-shophead__tagline { margin: 2px 0 0; font-size: 13px; color: var(--ck-text-2); }
.ck-shophead__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.ck-shophead .ck-tabs { border-top: 1px solid var(--ck-line); border-bottom: 0; }

/* ---- Product page --------------------------------------------------------- */
.ck-pdp { display: grid; grid-template-columns: minmax(0, 452px) minmax(0, 1fr) 268px; gap: 16px; align-items: start; }
.ck-gallery { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ck-gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--ck-r); background: var(--ck-surface-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ck-gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ck-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 9999px; border: 1px solid var(--ck-border); background: var(--ck-surface); color: var(--ck-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.92; }
.ck-gallery__nav--prev { left: 8px; }
.ck-gallery__nav--next { right: 8px; }
.ck-gallery__count { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 9999px; background: rgba(17, 24, 39, 0.75); color: #fff; font: 500 12px var(--ck-font); }
.ck-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.ck-thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--ck-r); background: var(--ck-surface-2); overflow: hidden; cursor: pointer; }
.ck-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-thumb.is-active { border-color: var(--ck-primary); }

.ck-buy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ck-buy__title { margin: 0; font: 600 22px/1.3 var(--ck-font); }
.ck-buy__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--ck-muted); }
.ck-buy__meta a { color: var(--ck-primary); font-weight: 600; }
.ck-pricebox { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; padding: 14px 16px; border-radius: var(--ck-r); background: var(--ck-surface-2); }
.ck-facts { display: flex; flex-direction: column; border-top: 1px solid var(--ck-line); margin: 0; }
.ck-facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ck-line); font-size: 13px; line-height: 1.5; }
.ck-facts dt { color: var(--ck-muted); }
.ck-facts dd { margin: 0; color: var(--ck-text); }
.ck-option { display: flex; flex-direction: column; gap: 8px; }
.ck-option__label { font: 500 13px var(--ck-font); color: var(--ck-text-2); }
.ck-option__row { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-optchip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--ck-border); border-radius: var(--ck-r); background: var(--ck-surface); color: var(--ck-text-2); font: 500 13px var(--ck-font); cursor: pointer; }
.ck-optchip:hover { border-color: var(--ck-primary); }
.ck-optchip.is-active { background: var(--ck-primary-tint); border-color: var(--ck-primary); color: var(--ck-primary); }
.ck-optchip[disabled] { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }
.ck-qty { display: inline-flex; align-items: stretch; height: 36px; border: 1px solid var(--ck-border); border-radius: var(--ck-r); overflow: hidden; background: var(--ck-surface); }
.ck-qty button { width: 36px; border: 0; background: transparent; color: var(--ck-text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ck-qty button:hover { background: var(--ck-surface-2); }
.ck-qty button:first-child { border-right: 1px solid var(--ck-line); }
.ck-qty button:last-child { border-left: 1px solid var(--ck-line); }
.ck-qty input, .ck-qty output { min-width: 46px; width: 46px; border: 0; text-align: center; background: transparent; color: var(--ck-text); font: 600 14px var(--ck-mono); display: inline-flex; align-items: center; justify-content: center; padding: 0; -moz-appearance: textfield; }
.ck-qty input::-webkit-outer-spin-button, .ck-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ck-buyrow { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-buyrow .ck-btn--lg { min-width: 200px; }
.ck-stock { font-size: 12px; color: var(--ck-ok); }

.ck-seller { padding: 16px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 12px; }
.ck-seller__id { display: flex; align-items: center; gap: 10px; }
.ck-seller__name { font: 600 14px var(--ck-font); display: inline-flex; align-items: center; gap: 4px; }
.ck-seller__sub { font-size: 12px; color: var(--ck-muted); }
.ck-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ck-line); border-radius: var(--ck-r); }
.ck-stats > div { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.ck-stats > div + div { border-left: 1px solid var(--ck-line); }
.ck-stats span { font-size: 12px; color: var(--ck-muted); }
.ck-stats b { font: 600 14px var(--ck-mono); }
.ck-assure { border-top: 1px solid var(--ck-line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.45; color: var(--ck-text-2); }
.ck-assure p { margin: 0; display: flex; gap: 8px; }
.ck-assure svg { flex: none; color: var(--ck-primary); margin-top: 1px; }

.ck-panel .ck-tabs { padding: 0 20px; gap: 24px; }
.ck-panel__body { padding: 16px 20px 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.ck-attrs { margin: 0; border-top: 1px solid var(--ck-line); }
.ck-attrs > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ck-line); font-size: 13px; }
.ck-attrs dt { color: var(--ck-muted); }
.ck-attrs dd { margin: 0; }
.ck-prose { font-size: 14px; line-height: 1.6; color: var(--ck-text-2); white-space: pre-line; }

/* ---- Tables and lists (bag, orders) -------------------------------------- */
.ck-lines { display: flex; flex-direction: column; }
.ck-th { display: grid; gap: 12px; padding: 8px 16px; font: 600 12px var(--ck-font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ck-muted); border-bottom: 1px solid var(--ck-line); }
.ck-order { display: grid; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--ck-line); }
.ck-order:last-child { border-bottom: 0; }
a.ck-order:hover { background: var(--ck-surface-2); }
.ck-order__main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ck-order__main strong { display: block; font: 600 14px var(--ck-font); }
.ck-order__main span { font-size: 12px; color: var(--ck-muted); }
.ck-order__end { display: flex; justify-content: flex-end; }

.ck-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
.ck-steps li { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; font: 500 13px var(--ck-font); color: var(--ck-muted); }
.ck-steps li:last-child { flex: 0 0 auto; }
.ck-steps li::after { content: ""; flex: 1 1 auto; height: 1px; min-width: 12px; background: var(--ck-border); }
.ck-steps li:last-child::after { display: none; }
.ck-steps .ck-steps__n { width: 24px; height: 24px; border-radius: 9999px; border: 1px solid var(--ck-border); background: var(--ck-surface); display: inline-flex; align-items: center; justify-content: center; font: 600 12px var(--ck-font); flex: none; }
.ck-steps .is-done { color: var(--ck-text-2); }
.ck-steps .is-done .ck-steps__n { background: var(--ck-primary); border-color: var(--ck-primary); color: var(--ck-on-primary); }
.ck-steps .is-now { color: var(--ck-text); font-weight: 600; }
.ck-steps .is-now .ck-steps__n { background: var(--ck-primary-tint); border-color: var(--ck-primary); color: var(--ck-primary); }

.ck-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ck-timeline li { position: relative; display: flex; gap: 12px; padding: 0 0 14px; font-size: 14px; color: var(--ck-muted); }
.ck-timeline li:last-child { padding-bottom: 0; }
.ck-timeline li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--ck-line); }
.ck-timeline li:last-child::before { display: none; }
.ck-timeline__dot { flex: none; width: 14px; height: 14px; margin-top: 2px; border-radius: 9999px; border: 2px solid var(--ck-border); background: var(--ck-surface); position: relative; z-index: 1; }
.ck-timeline .is-done { color: var(--ck-text); }
.ck-timeline .is-done .ck-timeline__dot { background: var(--ck-ok); border-color: var(--ck-ok); }
.ck-timeline .is-now { color: var(--ck-text); font-weight: 600; }
.ck-timeline .is-now .ck-timeline__dot { background: var(--ck-primary); border-color: var(--ck-primary); }
.ck-timeline small { display: block; font: 600 12px var(--ck-font); color: var(--ck-primary); }

.ck-summary { padding: 16px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 12px; }
.ck-summary__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ck-text-2); }
.ck-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--ck-line); font: 600 14px var(--ck-font); }
.ck-fine { margin: 0; font-size: 12px; line-height: 1.45; color: var(--ck-muted); }

.ck-field { display: flex; flex-direction: column; gap: 6px; }
.ck-field > span { font: 500 13px var(--ck-font); color: var(--ck-text-2); }
.ck-field input, .ck-field select, .ck-field textarea { min-height: 40px; border: 1px solid var(--ck-border); border-radius: var(--ck-r); padding: 0 12px; font: 400 14px var(--ck-font); background: var(--ck-surface); color: var(--ck-text); }
.ck-field textarea { padding: 10px 12px; min-height: 84px; }

/* ---- Toast ----------------------------------------------------------------- */
.discover-cart-feedback { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1200; display: flex; align-items: center; gap: 12px; max-width: min(92vw, 420px); padding: 10px 14px; border-radius: var(--ck-r, 8px); background: #111827; color: #fff; font: 500 13px var(--ck-font, Inter, sans-serif); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.discover-cart-feedback.ifinsta-hidden { display: none; }
.discover-cart-feedback--error { background: #991b1b; }
.dv-toast__action { color: #93c5fd; font-weight: 600; white-space: nowrap; }

/* ---- Screens ---------------------------------------------------------------- */
@media (max-width: 1100px) {
    .ck-grid { --ck-cols: 4; }
    .ck-grid--4 { --ck-cols: 3; }
    .ck-start { grid-template-columns: 200px minmax(0, 1fr); }
    .ck-account { display: none; }
    .ck-pdp { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
    .ck-seller { grid-column: 1 / -1; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .ck-assure { border-top: 0; padding-top: 0; flex: 1 1 260px; }
}

@media (max-width: 900px) {
    .ck-start { grid-template-columns: minmax(0, 1fr); }
    .ck-rail { display: none; }
    .ck-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ck-trust > div:nth-child(3) { border-left: 0; }
    .ck-trust > div:nth-child(n + 3) { border-top: 1px solid var(--ck-line); }
    .ck-results { grid-template-columns: minmax(0, 1fr); }
    .ck-filter-open { display: inline-flex; }
    .ck-filters { position: fixed; inset: auto 0 0 0; z-index: 1100; max-height: 82vh; overflow-y: auto; border-radius: 12px 12px 0 0; transform: translateY(105%); transition: transform 0.2s ease; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18); }
    .ck-filters.is-open { transform: translateY(0); }
    .ck-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--ck-line); position: sticky; top: 0; background: var(--ck-surface); z-index: 1; }
    .ck-filters__head strong { font: 600 15px var(--ck-font); }
    .ck-filters__close { border: 0; background: none; width: 36px; height: 36px; color: var(--ck-text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
    .ck-backdrop { position: fixed; inset: 0; z-index: 1090; background: rgba(17, 24, 39, 0.45); }
    .ck-backdrop[hidden] { display: none; }
    .ck-panel__body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Small screens: no cards and no boxes. One white page edge to edge, 16px sides, rows separated by
   hairlines, a flat two-column product grid with full-width photos, one blue action pinned to the
   bottom. Drawn in canvas boards 60-65. */
.ck-quicklist { display: none; }
.ck-mbar { display: none; }
.ck-pdp-video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.ck-gallery__nav[disabled] { opacity: 0.35; cursor: default; }

@media (max-width: 760px) {
    .ck { --ck-bg: var(--ck-surface); --ck-line: var(--ifinsta-border-light, #eef0f3); }
    .ck-wrap { padding: 0 16px; }
    .ck-main { gap: 28px; padding: 20px 0 32px; }
    .ck-main--tight { gap: 16px; }
    .ck-title { font-size: 22px; }
    .ck-crumbs { display: none; }

    /* every box becomes plain page */
    .ck-card, .ck-empty, .ck-summary, .ck-seller, .ck-shophead, .ck-gallery { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
    .ck-card__head, .ck-card__body { padding-left: 0; padding-right: 0; }
    .ck-empty { padding: 32px 0; }
    .ck-note { border-left: 0; border-right: 0; border-radius: 0; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }

    /* bar */
    .ck-search select { display: none; }
    .ck-search button span { display: none; }
    .ck-bar__row { gap: 6px; padding: 8px 0; }
    .ck-bar__link--wide { display: none; }
    .ck-cats__all, .ck-cats__spacer, .ck-cats__util { display: none; }
    .ck-cats__link { margin-right: 18px; }

    /* landing */
    .ck-start { display: block; }
    .ck-rail, .ck-account, .ck-trust { display: none; }
    .ck-hero { padding: 0; border: 0; background: none; gap: 14px; }
    .ck-hero__title { font-size: 26px; }
    .ck-hero__trust, .ck-hero__actions .ck-btn--secondary { display: none; }
    .ck-hero__actions .ck-btn { width: 100%; min-height: 48px; font-size: 15px; }
    .ck-sec { gap: 12px; }
    .ck-quicklist { display: flex; flex-direction: column; }
    .ck-quicklist a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 15px; border-top: 1px solid var(--ck-line); color: var(--ck-text); }
    .ck-quicklist span { display: inline-flex; align-items: center; gap: 12px; }
    .ck-quicklist svg { color: var(--ck-muted); }

    /* grids and cards */
    .ck-grid, .ck-grid--4, .ck-grid--3 { --ck-cols: 2; gap: 20px 12px; }
    .ck-grid--shops { --ck-cols: 1; gap: 0; }
    .ck-product { background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
    .ck-product:hover { box-shadow: none; border: 0; }
    .ck-product__media { border-radius: 6px; }
    .ck-product__body { padding: 8px 0 0; }
    .ck-product__add { width: 36px; height: 36px; }
    .ck-shop { border: 0; border-top: 1px solid var(--ck-line); border-radius: 0; background: transparent; padding: 12px 0; }
    .ck-shop .ck-btn { display: none; }
    .ck-shop::after { content: ""; flex: none; width: 18px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }

    /* results */
    .ck-tabs { margin: 0 -16px; padding: 0 16px; background: transparent; }
    .ck-toolbar { margin: 0 -16px; padding: 8px 16px; border-bottom: 1px solid var(--ck-line); gap: 6px 12px; }
    .ck-toolbar__count { flex: 1 1 100%; font-size: 14px; }
    .ck-filter-open { order: 2; border: 0; background: none; color: var(--ck-primary) !important; min-height: 36px; padding: 0; font-size: 14px; }
    .ck-toolbar__sort { order: 3; margin-left: auto; font-size: 0; }
    .ck-toolbar__sort select { border: 0; background: none; color: var(--ck-primary); font-size: 14px; padding: 0 4px 0 0; height: 36px; max-width: 220px; }
    .ck-toolbar__chips { order: 4; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .ck-toolbar__chips::-webkit-scrollbar { display: none; }
    .ck-chip { height: 30px; font-size: 13px; }
    .ck-pager { gap: 4px; padding-top: 0; }
    .ck-pager a, .ck-pager span { min-width: 40px; height: 40px; border-color: transparent; background: transparent; }
    .ck-pager .is-current { background: var(--ck-primary); }

    /* shop header and product page */
    .ck-shophead__top { padding: 0; }
    .ck-shophead__actions { margin-left: 0; width: 100%; }
    .ck-shophead__actions .ck-btn { flex: 1 1 0; }
    .ck-shophead .ck-tabs { border-top: 1px solid var(--ck-line); border-bottom: 1px solid var(--ck-line); }
    .ck-pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ck-gallery { padding: 0; }
    .ck-gallery__main { border-radius: 0; margin: 0 -16px; aspect-ratio: 1 / 1; }
    .ck-thumbs { display: none; }
    .ck-buy { gap: 18px; }
    .ck-buy__title { font-size: 19px; }
    .ck-pricebox { background: transparent; padding: 0; }
    .ck-facts > div { grid-template-columns: 96px minmax(0, 1fr); }
    .ck-optchip { height: 44px; padding: 0 18px; font-size: 14px; }
    .ck-qty { height: 44px; }
    .ck-qty button { width: 48px; }
    .ck-buyrow { display: none; }
    .ck-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ck-surface); border-top: 1px solid var(--ck-line); }
    .ck-mbar .ck-btn { min-height: 48px; }
    .ck-mbar .ck-btn:not(.ck-mbar__icon) { flex: 1 1 auto; }
    .ck-mbar__icon { flex: none; width: 48px; padding: 0; }
    .ck-pdp-page-pad { padding-bottom: 76px; }
    .ck-seller { position: static; flex-direction: column; align-items: stretch; padding: 0; border-top: 1px solid var(--ck-line); }
    .ck-stats, .ck-assure { display: none; }
    .ck-panel__body { padding: 16px 0 0; }
    .ck-panel .ck-tabs { padding: 0; margin: 0; }

    /* bag, orders, checkout summaries */
    .ck-summary { position: static; padding: 16px 0 0; border-top: 1px solid var(--ck-line); }
    .ck-order { grid-template-columns: minmax(0, 1fr) auto 18px !important; padding: 14px 0; }
    .ck-only-phone { display: flex; margin-top: 6px; }
    .ck-order__main { align-items: flex-start; }
    .ck-order__end .ck-price { font-size: 14px; }
    .ck-pricebox { order: -1; }
    .ck-line { padding: 12px 0; }
    .ck-orderpage { gap: 20px; }
    .ck-order > .ck-order__cell { display: none; }
    .ck-th { display: none; }
    .ck-steps li span:not(.ck-steps__n) { display: none; }
    .ck-steps li.is-now span:not(.ck-steps__n) { display: inline; }

    .discover-cart-feedback { left: 12px; right: 12px; bottom: 76px; transform: none; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ck *, .ck *::before, .ck *::after { transition: none !important; animation: none !important; }
}

/* Orders */
.ck-orders-cols { grid-template-columns: minmax(0, 1.4fr) 140px 170px 140px 20px; }
.ck-order__chev { color: var(--ck-muted); }
.ck-only-phone { display: none; }
.ck-pills { gap: 6px; flex-wrap: wrap; }
.ck-orderpage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.ck-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; }
.ck-line > span:first-child { min-width: 0; }
@media (max-width: 900px) { .ck-orderpage { grid-template-columns: minmax(0, 1fr); } }

/* Small helpers used by shop pages */
.ck-quicklink { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 16px; font-size: 14px; color: var(--ck-text); }
.ck-quicklink:hover { background: var(--ck-surface-2); color: var(--ck-primary); }
.ck-quicklink svg { color: var(--ck-muted); }
.ck-search-lite { width: 100%; max-width: 320px; height: 34px; border: 1px solid var(--ck-border); border-radius: var(--ck-r); padding: 0 12px; font: 400 13px var(--ck-font); background: var(--ck-surface); color: var(--ck-text); }
@media (max-width: 760px) { .ck-quicklink { padding: 0; } .ck-search-lite { max-width: none; } }

/* Stories */
.ck-story { color: var(--ck-text); }
.ck-story__caption { font-size: 14px; line-height: 1.45; color: var(--ck-text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Aligned with the public header: same 1280 container and gutters as the marketing and booking pages ------------------ */
.ck.ifinsta-guest-page .ck-wrap:not(.ck-wrap--narrow) { max-width: 1280px; padding-inline: clamp(16px, 3vw, 28px); }

/* ---- Touch targets: 44px on a phone, for every hand ------------------------------------------------------------------------ */
@media (max-width: 760px) {
    .ck-btn, .ck-btn--sm { min-height: 44px; }
    .ck-product__add { width: 44px; height: 44px; }
    .ck-link { display: inline-flex; align-items: center; min-height: 44px; }
    .ck-gallery__nav { width: 44px; height: 44px; }
    .ck-seller__name { display: inline-flex; align-items: center; min-height: 44px; }
    .ck-qty button, .ck-qty input, .ck-tabs button { min-height: 44px; }
    .ck-product__name { padding-block: 5px; min-height: 44px; box-sizing: border-box; }
}

/* The Verified shops / New arrivals shortcuts only show when the whole strip fits; they are also filters on the results page. */
@media (min-width: 761px) and (max-width: 1360px) { .ck-cats__util { display: none; } }
