/* Listing page styles (Views/Home/Products.cshtml: categories, search, new arrivals, best
   sellers). Was a 29 KB <style> block in the page's HTML; now a cached file, linked from the same place. */

/* Umino collection banner: light grey strip, centered title, breadcrumb beneath. */
.page-hero { background:var(--bg-warm); color:var(--dark); padding:44px 0 40px; text-align:center; background-size:cover; background-position:center; position:relative; }
.page-hero.has-image { color:#fff; }
.page-hero.has-image::before { content:''; position:absolute; inset:0; background:rgba(0,0,0,.42); }
.page-hero .container { position:relative; z-index:1; }
.page-hero-desc { max-width:640px; margin:8px auto 0; color:var(--mid); font-size:0.88rem; line-height:1.6; }
.page-hero.has-image .page-hero-desc { color:rgba(255,255,255,.9); }
.page-hero h1 { font-family:var(--font-sans); font-size:clamp(1.5rem,3vw,2.1rem); font-weight:400; text-transform:capitalize; letter-spacing:.01em; margin:0 0 6px; }
.breadcrumb { display:flex; justify-content:center; gap:6px; font-size:0.8rem; color:var(--mid); margin:10px 0 0; order:2; }
.page-hero.has-image .breadcrumb { color:rgba(255,255,255,.85); }
.breadcrumb a { color:inherit; }
.breadcrumb a:hover { color:var(--accent); }
.breadcrumb span { opacity:0.5; }
.result-count { font-size:0.78rem; color:var(--mid); margin-top:4px; }
.page-hero.has-image .result-count { color:rgba(255,255,255,.8); }

/* align-items:start is what makes the sticky sidebar below actually work: a grid
   item stretches to the row's full height by default, and an element as tall as its
   scroll container has nothing left to stick within. */
.category-layout { display:grid; grid-template-columns:260px minmax(0, 1fr); gap:32px; padding:48px 0; align-items:start; }
/* No facets to show (e.g. search results) — reclaim the sidebar column so the
   product grid uses the full width instead of sitting next to an empty gap. */
.category-layout.no-sidebar { grid-template-columns:minmax(0, 1fr); }
.category-layout.no-sidebar .sidebar { display:none; }
.category-layout.no-sidebar .filters-btn { display:none !important; }
.category-content { min-width:0; }

/* Follows the grid down. The offset comes from --sticky-top, which layout.js
   measures from the header plus the quick bar (when that bar is sticky) rather than
   assuming either height — the old hardcoded 108px in styles.css was wrong at every
   breakpoint and hid the quick bar behind the header for months.
   max-height + overflow keeps a long filter list usable: it scrolls within itself
   instead of running past the bottom of the screen with no way to reach the end. */
.sidebar {
    display:flex; flex-direction:column; gap:20px;
    position:sticky; top:calc(var(--sticky-top, 157px) + 16px);
    max-height:calc(100vh - var(--sticky-top, 157px) - 32px);
    overflow-y:auto; overscroll-behavior:contain;
    scrollbar-width:thin; padding-right:2px;
}
.sidebar::-webkit-scrollbar { width:6px; }
.sidebar::-webkit-scrollbar-thumb { background:var(--bg-warm); border-radius:40px; }
.sidebar::-webkit-scrollbar-track { background:transparent; }
/* Umino filters: flat sections divided by hairlines, no boxed cards. */
.filter-card { background:transparent; border:0; border-bottom:1px solid #e5e5e5; overflow:hidden; }
.filter-header { padding:14px 0; display:flex; align-items:center; justify-content:space-between; cursor:pointer; font-weight:500; font-size:0.95rem; text-transform:capitalize; border-bottom:0; background:none; border-left:none; border-right:none; border-top:none; width:100%; text-align:left; font-family:var(--font-sans); color:var(--dark); }
.filter-header .chev { transition:transform 0.2s; }
.filter-header.open .chev { transform:rotate(180deg); }
.filter-body { padding:2px 0 16px; display:flex; flex-direction:column; gap:8px; }
.filter-check { display:flex; align-items:center; gap:10px; cursor:pointer; font-size:0.85rem; color:var(--dark-mid); text-decoration:none; }
.filter-check:hover { color:var(--dark); }
.filter-check .box { width:15px; height:15px; border-radius:3px; border:1.5px solid var(--bg-warm); flex-shrink:0; }
.filter-check.active .box { background:var(--gold-dark); border-color:var(--gold-dark); }
.filter-count { margin-left:auto; font-size:0.72rem; color:var(--light); }
.color-swatches { display:flex; flex-wrap:wrap; gap:8px; }
.color-dot { width:26px; height:26px; border-radius:50%; cursor:pointer; border:2px solid transparent; transition:all 0.2s; display:block; }
.color-dot:hover, .color-dot.active { border-color:var(--dark); transform:scale(1.15); }
.color-code-only { background:var(--bg-warm) !important; border:2px solid var(--bg-warm); display:flex; align-items:center; justify-content:center; font-size:0.6rem; font-weight:700; letter-spacing:0.02em; color:var(--dark-mid); text-decoration:none; }
.color-code-only:hover, .color-code-only.active { border-color:var(--dark); color:var(--dark); }
.active-filters { display:flex; flex-wrap:wrap; gap:6px; }
.active-filter { display:flex; align-items:center; gap:6px; background:var(--bg-warm); border-radius:40px; padding:4px 10px; font-size:0.78rem; font-weight:500; }
.active-filter a { color:var(--mid); font-size:0.9rem; line-height:1; text-decoration:none; }
.clear-all { font-size:0.78rem; color:var(--gold-dark); font-weight:600; background:none; border:none; cursor:pointer; text-decoration:none; }

.filter-header-count { color:var(--light); font-weight:500; font-size:0.78rem; }
.filter-extra.hidden { display:none !important; }
.show-more-btn { margin-top:4px; font-size:0.78rem; font-weight:600; color:var(--gold-dark); background:none; border:none; cursor:pointer; padding:4px 0; text-align:left; font-family:var(--font-sans); }
.show-more-btn:hover { text-decoration:underline; }

.price-slider { display:flex; flex-direction:column; gap:16px; }
.price-range-input {
    -webkit-appearance:none; appearance:none; width:100%; height:4px;
    border-radius:2px; background:var(--bg-warm); outline:none; cursor:pointer; margin:10px 0;
}
.price-range-input::-webkit-slider-thumb {
    -webkit-appearance:none; appearance:none; width:20px; height:20px; border-radius:50%;
    background:var(--accent); cursor:pointer; border:3px solid var(--white); box-shadow:0 1px 4px rgba(0,0,0,0.25);
}
.price-range-input::-moz-range-thumb {
    width:20px; height:20px; border-radius:50%; background:var(--accent); cursor:pointer;
    border:3px solid var(--white); box-shadow:0 1px 4px rgba(0,0,0,0.25);
}
.price-range-input::-webkit-slider-runnable-track { border-radius:2px; }
.price-range-readout {
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:10px 14px; border:1.5px solid var(--bg-warm); border-radius:var(--radius-sm);
    font-size:0.9rem; font-weight:600; color:var(--dark);
}
.price-range-clear { color:var(--light); font-weight:700; text-decoration:none; font-size:1rem; line-height:1; }
.price-range-clear:hover { color:var(--dark); }

.filter-scroll { max-height:220px; overflow-y:auto; padding-right:4px; }
.filter-scroll::-webkit-scrollbar { width:6px; }
.filter-scroll::-webkit-scrollbar-thumb { background:var(--bg-warm); border-radius:3px; }
.color-swatches.filter-scroll { display:grid; grid-template-columns:repeat(6, 1fr); gap:8px; align-content:start; }

.toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.toolbar-left { display:flex; align-items:center; gap:12px; }
.toolbar-right { display:flex; align-items:center; gap:10px; }
.filters-btn { display:none; align-items:center; gap:6px; padding:8px 14px; border:1.5px solid var(--bg-warm); border-radius:var(--radius-sm); background:var(--white); font-size:0.82rem; font-weight:500; cursor:pointer; font-family:var(--font-sans); }
.sort-select { padding:9px 32px 9px 12px; border:1.5px solid var(--bg-warm); border-radius:var(--radius-sm); font-size:0.85rem; font-family:var(--font-sans); background:var(--white); cursor:pointer; outline:none; }
.sort-select:focus { border-color:var(--gold); }
.grid-toggle { display:flex; border:1.5px solid var(--bg-warm); border-radius:var(--radius-sm); overflow:hidden; }
.grid-toggle-btn { padding:8px 12px; background:var(--white); border:none; cursor:pointer; color:var(--light); font-size:0.85rem; }
.grid-toggle-btn.active { background:var(--dark); color:var(--white); }

.category-seo-copy { max-width:820px; margin:48px auto 16px; line-height:1.7; color:var(--text-muted, #555); }
.category-seo-copy h2 { font-family:var(--font-serif); font-size:1.3rem; margin:28px 0 10px; color:var(--text, #222); }
.category-seo-copy h3 { font-size:1.05rem; margin:20px 0 6px; color:var(--text, #222); }
.category-seo-copy p, .category-seo-copy ul { margin-bottom:12px; }
.category-seo-copy ul { padding-left:20px; list-style:disc; }
.pagination { display:flex; align-items:center; gap:6px; justify-content:center; margin-top:40px; flex-wrap:wrap; }
.page-btn { min-width:38px; height:38px; padding:0 10px; border-radius:var(--radius-sm); border:1.5px solid var(--bg-warm); background:var(--white); color:var(--dark-mid); font-size:0.85rem; cursor:pointer; display:flex; align-items:center; justify-content:center; text-decoration:none; font-weight:500; }
.page-btn:hover { border-color:var(--gold); color:var(--dark); }
.page-btn.active { background:var(--dark); border-color:var(--dark); color:#fff; }

.filter-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:var(--z-filter-drawer); opacity:0; transition:opacity 0.25s; }
.filter-overlay.open { display:block; opacity:1; }
.filter-drawer { position:fixed; top:0; left:0; height:100vh; width:300px; max-width:88vw; background:var(--white); z-index:calc(var(--z-filter-drawer) + 1); overflow-y:auto; transform:translateX(-100%); transition:transform 0.32s cubic-bezier(.4,0,.2,1); padding:20px; box-shadow:var(--shadow-lg); }
.filter-drawer.open { transform:translateX(0); }
.filter-drawer-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.filter-drawer-close { width:34px; height:34px; border-radius:50%; border:1.5px solid var(--bg-warm); background:var(--bg-subtle); cursor:pointer; font-size:1rem; }


.color-swatches-lg { display:flex; flex-wrap:wrap; gap:10px; }
.swatch-btn { width:32px; height:32px; border-radius:50%; cursor:pointer; border:2px solid var(--bg-warm); transition:all 0.2s; position:relative; display:flex; align-items:center; justify-content:center; }
.swatch-btn.active { border-color:var(--dark); }
.swatch-btn.active::after { content:''; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--dark); }
.swatch-btn:hover:not(.disabled) { transform:scale(1.1); }
.swatch-btn.disabled { opacity:0.45; cursor:not-allowed; }
.swatch-btn.disabled::before { content:''; position:absolute; top:50%; left:-3px; right:-3px; height:2px; background:var(--red); transform:translateY(-50%) rotate(-45deg); pointer-events:none; }
.swatch-check { color:#fff; font-size:0.85rem; font-weight:900; text-shadow:0 0 3px rgba(0,0,0,0.65); }
.swatch-code-only { background:var(--bg-warm); display:flex; align-items:center; justify-content:center; font-size:0.5rem; font-weight:700; color:var(--dark-mid); }
.size-pills { display:flex; flex-wrap:wrap; gap:8px; }
.size-pill { padding:7px 14px; border:1.5px solid var(--bg-warm); border-radius:var(--radius-sm); font-size:0.8rem; font-weight:600; cursor:pointer; background:var(--white); color:var(--dark-mid); }
.size-pill.active { border-color:var(--dark); color:#fff; background:var(--dark); }
.size-pill.disabled { opacity:0.35; cursor:not-allowed; text-decoration:line-through; }
.qty-wrap { display:flex; align-items:center; border:1.5px solid var(--bg-warm); border-radius:var(--radius-sm); overflow:hidden; width:fit-content; }
.qty-btn { width:38px; height:38px; background:var(--bg-subtle); border:none; font-size:1rem; cursor:pointer; color:var(--dark-mid); }
.qty-input { width:52px; text-align:center; border:none; border-left:1px solid var(--bg-warm); border-right:1px solid var(--bg-warm); font-size:0.9rem; font-weight:600; height:38px; font-family:var(--font-sans); outline:none; }

@media(max-width:900px) {
    .category-layout { grid-template-columns:1fr; }
    .sidebar { display:none !important; }
    .filters-btn { display:flex; }
}
@media(max-width:768px) {
    /* The hero's 40px top/bottom plus the layout's 48px stacked up to ~130px of
       empty space before any product was visible. Tightened for small screens.
       Still not tight enough on a real phone once the sticky announcement bar +
       header + search + sub-cat chips above it are accounted for: the hero's own
       breadcrumb + full-size h1 + margins were pushing the first product card
       well past the fold — shoppers saw a wall of dark hero and no products,
       and bounced before scrolling. Cut the h1 down to something that still
       reads as a heading but doesn't need 2 lines for a normal category name,
       and trim every margin around it that isn't pulling its own weight. */
    /* Second pass, with the phone actually measured: at 375x812 the first product
       card still started 507px down — 62% of the screen gone to chrome before a
       shopper saw anything to buy, of which this hero was 110px. Trimmed to ~78px by
       taking padding and margins down rather than removing anything: the breadcrumb,
       the heading and the product count all still show, just without a dark band
       deep enough to push the grid off the fold. */
    .page-hero { padding:10px 0 11px; }
    .breadcrumb { margin-bottom:3px; font-size:0.7rem; }
    .page-hero h1 { font-size:1.12rem; line-height:1.25; margin-bottom:1px; }
    .page-hero-desc { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:5px; font-size:0.78rem; }
    .result-count { margin-top:1px; font-size:0.72rem; opacity:0.85; }
    .category-layout { padding:14px 0 28px; }
    /* Two rows + a label costs more fold than the old single scrolling row did, so
       everything in this block is trimmed to pay most of that back. */
    .toolbar { margin-bottom:14px; }
}
@media(max-width:640px) {
    /* Stacking the two groups left-aligned left a very wide Sort select next to a
       small toggle and an unbalanced first row. Lay the four controls out as a
       2x2 grid instead: meta + view toggle on top, the two actions (Filters /
       Sort) as equal halves beneath — the usual mobile listing pattern.
       display:contents lifts the children out of their wrappers into the grid. */
    .toolbar { display:grid; grid-template-columns:1fr 1fr auto; align-items:center; gap:10px; }
    .toolbar-left, .toolbar-right { display:contents; }
    /* The product count is already shown in the hero directly above — repeating it
       here just eats a row on a small screen. */
    .toolbar-left > span { display:none; }
    .filters-btn { grid-column:1; justify-content:center; }
    .sort-select { grid-column:2; width:100%; }
    .grid-toggle { grid-column:3; }
    /* Without the Filters button there's no need to reserve its column. */
    .no-sidebar .toolbar { grid-template-columns:1fr auto; }
    .no-sidebar .sort-select { grid-column:1; }
    .no-sidebar .grid-toggle { grid-column:2; }
}

/* ── Umino collection page (reference: puraali.com\theme\Collection-1.html) ── */
.page-hero { background-color:#333; padding:0; min-height:260px; display:flex; align-items:center; text-align:center; }
.page-hero::before { content:''; position:absolute; inset:0; background:rgba(0,0,0,0.28); }
.page-hero.has-image::before { background:rgba(0,0,0,0.28); }
.page-hero .container { padding-top:56px; padding-bottom:56px; }
.page-hero h1 { font-family:var(--font-sans); font-size:clamp(2rem,3.4vw,2.6rem); font-weight:500; color:#fff; margin:0 0 10px; order:-1; }
.page-hero .container { display:flex; flex-direction:column; align-items:center; }
.breadcrumb { order:0; justify-content:center; font-size:0.95rem; color:#fff; margin:0; }
.breadcrumb a { color:#fff; }
.breadcrumb span { opacity:1; }
.result-count { display:none; }
.page-hero-desc { color:rgba(255,255,255,0.9); font-size:0.95rem; margin:12px auto 0; }
.category-layout { grid-template-columns:270px minmax(0,1fr); gap:40px; padding:56px 0 70px; }
.sidebar { gap:0; }
.sidebar > div:first-child h3 { font-size:1.1rem !important; font-weight:500 !important; }
.filter-card { border:0; border-radius:0; border-bottom:1px solid var(--bg-warm); padding:22px 0; background:none; }
.filter-header { border:0; padding:0; font-size:1.05rem; font-weight:500; }
.filter-header .chev { font-size:0; width:12px; height:12px; position:relative; transform:none !important; }
.filter-header .chev::before { content:''; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--dark); }
.filter-header:not(.open) .chev::after { content:''; position:absolute; top:0; bottom:0; left:50%; width:1px; background:var(--dark); }
.filter-header-count { display:none; }
.filter-body { padding:16px 0 0; gap:10px; }
.filter-check { font-size:0.95rem; color:var(--dark-mid); }
.filter-check:hover, .filter-check.active { color:var(--accent); }
.filter-check .box { width:16px; height:16px; border:1px solid #ccc; border-radius:2px; }
.filter-check.active .box { background:var(--dark); border-color:var(--dark); }
.filter-count { color:#999; font-size:0.85rem; }
.clear-all { color:var(--accent); }
.active-filter { background:var(--bg-subtle); border-radius:30px; padding:5px 12px; }
.price-range-readout { border:0; padding:0; font-weight:400; font-size:0.95rem; }
.price-range-input { height:2px; background:var(--dark); }
.price-range-input::-webkit-slider-thumb { background:#fff; border:2px solid var(--dark); box-shadow:none; width:16px; height:16px; }
.price-range-input::-moz-range-thumb { background:#fff; border:2px solid var(--dark); box-shadow:none; width:16px; height:16px; }
.toolbar { margin-bottom:28px; }
.toolbar-count { font-size:0.95rem; color:var(--dark-mid); }
.sort-label { font-size:0.95rem; color:var(--dark-mid); }
.sort-select { border:0; padding:6px 22px 6px 4px; font-size:0.95rem; font-weight:500; color:var(--dark); background-color:transparent; }
.grid-toggle { border:0; gap:6px; margin-left:10px; }
.grid-toggle-btn { background:none; padding:6px; color:#bbb; display:grid; place-items:center; }
.grid-toggle-btn svg { width:15px; height:15px; }
.grid-toggle-btn.active, .grid-toggle-btn:hover { background:none; color:var(--dark); }
.filters-btn { border:1px solid var(--bg-warm); border-radius:30px; padding:8px 18px; font-size:0.9rem; gap:8px; }
.filters-btn svg { width:15px; height:15px; }
#productsGrid { gap:36px 24px; }
.pc__unit { margin-left:6px; font-size:0.8rem; color:var(--mid); font-weight:400; }
.pc__note { font-size:0.8rem; color:var(--mid); margin-top:4px; }
.pc__note--low { color:var(--accent); }
.pagination { gap:8px; margin-top:50px; }
.page-btn { width:42px; min-width:42px; height:42px; padding:0; border-radius:50%; border:1px solid var(--bg-warm); font-size:0.95rem; }
.page-btn:hover { border-color:var(--dark); }
.page-btn.active { background:var(--dark); border-color:var(--dark); }
.filter-drawer { padding:24px; }
.filter-drawer-close { border:0; background:none; font-size:1.2rem; color:#999; }
@media(max-width:768px) {
    .page-hero { min-height:150px; }
    .page-hero .container { padding-top:30px; padding-bottom:30px; }
    .page-hero h1 { font-size:1.6rem; }
    .breadcrumb { font-size:0.85rem; }
    .toolbar-count { display:none; }
}

/* ── Umino Collection-3 (puraali.com\theme\Collection-3.html) ── */
.category-layout.c3 { grid-template-columns:minmax(0,1fr); padding-top:50px; }
.category-layout.c3 .sidebar { display:none !important; }
.c3-toolbar { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; margin-bottom:34px; }
.c3-toolbar .toolbar-left { gap:22px; }
.c3-toolbar .toolbar-right { justify-content:flex-end; }
.c3-filter-btn { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 20px; border-radius:30px; background:var(--dark); color:#fff; font-size:0.8rem; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; transition:background 0.2s; }
.c3-filter-btn:hover { background:var(--accent); }
.c3-filter-btn svg { width:15px; height:15px; }
.no-filters .c3-filter-btn { display:none; }
.c3-cols { display:flex; gap:4px; }
.c3-col { width:34px; height:34px; display:grid; place-items:center; color:#bbb; border-radius:4px; transition:color 0.2s; }
.c3-col svg { width:16px; height:16px; }
.c3-col:hover, .c3-col.active { color:var(--dark); }
#productsGrid.c3-grid--2 { grid-template-columns:repeat(2, minmax(0,1fr)); }
#productsGrid.c3-grid--3 { grid-template-columns:repeat(3, minmax(0,1fr)); }
#productsGrid.c3-grid--4 { grid-template-columns:repeat(4, minmax(0,1fr)); }
#productsGrid.c3-grid--list { grid-template-columns:minmax(0,1fr); gap:30px; }
.c3-grid--list .pc { display:grid; grid-template-columns:260px minmax(0,1fr); gap:30px; align-items:center; padding-bottom:30px; border-bottom:1px solid var(--bg-warm); }
.c3-grid--list .pc__info { padding-top:0; }
.c3-grid--list .pc__title { font-size:1.25rem; margin-bottom:10px; }
.c3-grid--list .pc__price { font-size:1.1rem; }
/* Umino's off-canvas filter panel: 450px from the left. */
.filter-drawer { width:450px; max-width:92vw; padding:0; box-shadow:10px 0 30px rgba(0,0,0,0.08); }
.filter-drawer-header { margin:0; padding:24px 30px; border-bottom:1px solid var(--bg-warm); position:sticky; top:0; background:#fff; z-index:1; }
.c3-drawer-title { font-size:1.4rem; font-weight:500; }
.filter-drawer-close { width:36px; height:36px; display:grid; place-items:center; }
.filter-drawer-close svg { width:22px; height:22px; }
.filter-drawer-close:hover { color:var(--dark); }
.filter-drawer > :not(.filter-drawer-header) { margin-left:30px; margin-right:30px; }
.filter-drawer > div:nth-child(2) h3 { display:none; }  /* partial's own "Filters" label; the header already says it */
.filter-drawer > div:nth-child(2) { justify-content:flex-end !important; padding-top:14px; }
.filter-drawer .filter-card { padding:24px 0; }
.filter-drawer .filter-header { font-size:1.125rem; }
.filter-drawer .filter-scroll { max-height:none; }
.filter-drawer .filter-count::before { content:'('; } .filter-drawer .filter-count::after { content:')'; }
.filter-overlay.open { background:rgba(0,0,0,0.4); }
@media(max-width:1023px) { #productsGrid.c3-grid--4 { grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media(max-width:767px) {
    .category-layout.c3 { padding-top:24px; }
    /* Umino phone toolbar: [FILTER] [SORT BY ▾] ........ [grid][list] */
    .c3-toolbar { grid-template-columns:auto minmax(0,1fr) auto; gap:10px; }
    .c3-toolbar .toolbar-right { min-width:0; }
    /* The older 640px rule sets these to display:contents for its 2x2 toolbar grid. */
    .c3-toolbar .toolbar-left, .c3-toolbar .toolbar-right { display:flex; }
    .c3-toolbar .toolbar-left { grid-column:1; grid-row:1; }
    .c3-toolbar .toolbar-right { grid-column:2; grid-row:1; }
    .c3-toolbar .sort-label { display:none; }
    .c3-toolbar .sort-select { width:100%; max-width:150px; min-width:0; text-overflow:ellipsis; height:40px; padding:0 30px 0 16px; border-radius:4px; background-color:var(--bg-subtle); font-size:.8rem; font-weight:600; text-transform:uppercase; letter-spacing:.02em; }
    .c3-cols { display:flex; grid-column:3; grid-row:1; justify-self:end; gap:0; }
    .c3-col[data-cols="3"], .c3-col[data-cols="4"] { display:none; }
    .c3-toolbar .toolbar-left .toolbar-count { display:none; }
    #productsGrid.c3-grid--2, #productsGrid.c3-grid--3, #productsGrid.c3-grid--4 { grid-template-columns:repeat(2, minmax(0,1fr)); }
    #productsGrid.c3-grid--list { grid-template-columns:minmax(0,1fr); }
    .c3-grid--list .pc { grid-template-columns:130px minmax(0,1fr); gap:16px; padding-bottom:20px; }
    .c3-grid--list .pc__title { font-size:1rem; }
}

/* ── Umino "load more" paging ── */
.c3-more { display:flex; flex-direction:column; align-items:center; gap:14px; margin:50px 0 20px; text-align:center; }
.c3-more__count { color:var(--mid); margin:0; }
.c3-more__bar { width:300px; max-width:80%; height:2px; background:var(--bg-warm); position:relative; }
.c3-more__bar span { position:absolute; left:0; top:0; bottom:0; background:var(--dark); transition:width .4s ease; }
.c3-more__btn { margin-top:16px; min-width:184px; height:50px; position:relative; }
.c3-more__btn.is-loading { color:transparent !important; pointer-events:none; }
.c3-more__btn.is-loading::after { content:''; position:absolute; left:50%; top:50%; width:18px; height:18px; margin:-9px 0 0 -9px; border:2px solid rgba(255,255,255,.35); border-top-color:#fff; border-radius:50%; animation:c3spin .7s linear infinite; }
@keyframes c3spin { to { transform:rotate(360deg); } }
.c3-more__prev { font-size:.95rem; color:var(--dark); text-decoration:underline; text-underline-offset:3px; }

/* ── Umino category tiles row ── */
.c3-tiles { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 4 * 24px) / 5); gap:24px; overflow-x:auto; padding:50px 0 4px; scroll-snap-type:x mandatory; scrollbar-width:none; }
.c3-tiles::-webkit-scrollbar { display:none; }
.c3-tile { position:relative; display:block; aspect-ratio:3/4; border-radius:10px; overflow:hidden; background:var(--bg-subtle); scroll-snap-align:start; }
.c3-tile__img, .c3-tile__img img { display:block; width:100%; height:100%; }
.c3-tile__img img { object-fit:cover; transition:transform .8s; color:transparent; font-size:0; }
.c3-tile:hover img { transform:scale(1.05); }
.c3-tile__pill { position:absolute; left:50%; bottom:18px; transform:translateX(-50%); background:#fff; color:var(--dark); padding:9px 26px; border-radius:30px; font-size:1rem; font-weight:500; white-space:nowrap; box-shadow:0 2px 10px rgba(0,0,0,.06); transition:background .2s, color .2s; }
.c3-tile:hover .c3-tile__pill, .c3-tile.is-active .c3-tile__pill { background:var(--dark); color:#fff; }
.c3-tiles + * { }
@media(max-width:1023px) { .c3-tiles { grid-auto-columns:calc((100% - 2 * 16px) / 3); gap:16px; } }
@media(max-width:767px) { .c3-tiles { grid-auto-columns:calc((100% - 12px) / 2); gap:12px; padding-top:28px; } .c3-tile__pill { padding:8px 20px; font-size:.9rem; bottom:12px; } }
