/*
Theme Name: Nimoka Toy
Description: Responsive collectibles storefront for WooCommerce.
Version: 0.6.1
Requires PHP: 7.4
Text Domain: nimoka-toy
*/
:root {
    --ink: #171717;
    --paper: #fff;
    --accent: #d92131;
    --muted: #666;
    --line: #e7e7e7;
    --font: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--font); }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #1776ce; outline-offset: 4px; }
.shell { width: min(100% - 64px, 1420px); margin-inline: auto; }
.promo-bar { display: block; text-align: center; padding: 8px 14px; background: var(--accent); color: white; font-weight: 750; font-size: .83rem; text-decoration: none; }
.site-header { position: relative; z-index: 2; background: #101010; color: #fff; }
.masthead { display: grid; grid-template-columns: auto minmax(0, 640px) auto; align-items: center; justify-content: space-between; gap: clamp(14px, 4vw, 68px); min-height: 75px; }
.wordmark { display: inline-flex; font: 950 clamp(1.45rem, 2.6vw, 2.25rem)/1 var(--font); letter-spacing: -.075em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: #ff3547; margin-left: .12em; }
.site-search { display: flex; position: relative; min-width: 0; }
.site-search input { width: 100%; min-width: 0; height: 42px; border: 1px solid #4b4b4b; border-radius: 4px 0 0 4px; color: white; background: #232323; padding: 0 13px; }
.site-search input::placeholder { color: #c5c5c5; }
.site-search button { border: 1px solid #4b4b4b; border-left: 0; border-radius: 0 4px 4px 0; color: white; background: #333; padding: 0 12px; }
.suggestions { position: absolute; top: calc(100% + 5px); width: 100%; background: white; color: var(--ink); box-shadow: 0 6px 20px #0004; z-index: 3; }
.suggestions a { display: block; padding: 10px 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.suggestions a:hover, .suggestions a:focus-visible { background: #eee; }
.account-links { display: flex; align-items: center; gap: 18px; }
.account-links a, .account-links button { color: inherit; border: 0; background: none; text-decoration: none; padding: 5px 0; font-weight: 700; }
.shop-nav { background: #202020; border-top: 1px solid #353535; }
.shop-nav ul { display: flex; gap: clamp(14px, 3vw, 44px); list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.shop-nav a { display: block; padding: 11px 0; font-size: .84rem; font-weight: 690; text-decoration: none; white-space: nowrap; }
.shop-nav a:hover, .account-links a:hover, .account-links button:hover { color: #ff5562; }
.hero { color: white; background: #161214; position: relative; }
.hero-slide { position: relative; min-height: clamp(380px, 35vw, 610px); display: grid; align-items: center; isolation: isolate; }
.hero-slide img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; z-index: -2; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#080508df,#08050842 52%,transparent); z-index: -1; }
.hero-copy { padding-block: 64px 90px; }
.hero-copy h1, .hero-copy h2 { max-width: 10ch; font-size: clamp(2.7rem, 5vw, 5.8rem); font-weight: 950; letter-spacing: -.055em; line-height: .97; text-transform: uppercase; margin: 0 0 18px; }
.hero-copy p { max-width: 29ch; margin: 0 0 24px; }
.shop-button { display: inline-block; background: var(--accent); color: white; padding: 12px 18px; font-weight: 850; text-transform: uppercase; letter-spacing: .025em; text-decoration: none; font-size: .83rem; }
.shop-button:hover { background: #a6101c; }
.hero-controls { display: flex; align-items: center; gap: 7px; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); }
.hero-controls button { border: 0; border-radius: 50%; width: 34px; height: 34px; background: #101010b8; color: white; font-size: 1.25rem; }
.hero-controls [data-slide] { font-size: .6rem; width: 25px; height: 25px; color: #aaa; }
.hero-controls [aria-pressed="true"] { color: white; }
.home-section { padding-block: 38px 6px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.section-heading h2, .content-area h1 { font-size: clamp(1.65rem, 3vw, 2.6rem); letter-spacing: -.04em; line-height: 1.15; margin: 0 0 14px; }
.section-heading a { font-size: .9rem; font-weight: 750; white-space: nowrap; }
.content-area { min-height: 45vh; padding-block: 40px 64px; }
.woocommerce ul.products li.product a img { aspect-ratio: 1; object-fit: contain; background: #f4f4f4; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font-weight: 800; }
.woocommerce ul.products li.product .price { color: var(--ink); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--accent); color: white; border-radius: 0; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #a6101c; }
.cart-drawer { inset: 0 0 0 auto; margin: 0; max-height: 100dvh; height: 100dvh; border: 0; background: white; color: var(--ink); width: min(420px, 100%); max-width: 100%; padding: 27px; }
.cart-drawer::backdrop { background: #0009; }
.cart-drawer form[method=dialog] { float: right; }
.cart-drawer form button { border: 0; background: transparent; font-size: 1.8rem; line-height: 1; }
.cart-drawer .woocommerce-mini-cart { list-style: none; padding: 0; }
.cart-drawer .woocommerce-mini-cart-item { border-bottom: 1px solid var(--line); padding: 12px 0; min-height: 75px; }
.cart-drawer .woocommerce-mini-cart-item img { width: 56px; float: right; }
.cart-drawer .woocommerce-mini-cart__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { margin-top: 36px; background: #111; color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 32px; }
.footer-row small { margin-left: auto; color: #ccc; }
.screen-reader-text { border: 0; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; position: absolute; }
.screen-reader-text:focus { clip-path: none; width: auto; height: auto; position: fixed; top: 8px; left: 8px; background: white; color: black; padding: 10px; z-index: 99; }
@media (max-width: 680px) {
    .shell { width: calc(100% - 28px); }
    .masthead { grid-template-columns: 1fr auto; gap: 8px; padding-block: 12px; }
    .site-search { grid-row: 2; grid-column: 1 / -1; }
    .account-links { gap: 14px; }
    .hero-slide img { object-position: 66% center; }
    .hero-slide::after { background: linear-gradient(90deg,#080508dc,#08050860 73%,#08050848); }
    .hero-copy { padding-block: 78px 88px; }
    .footer-row small { margin-left: 0; }
}

.hero-slide-1 img { filter: hue-rotate(28deg); object-position: 72% 40%; }
.hero-slide-2 img { filter: hue-rotate(185deg); object-position: 70% 58%; }
.collection-tiles { padding-block: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.collection-tiles a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 90px; padding: 20px; background: #18181a; color: white; text-decoration: none; font-weight: 820; }
.collection-tiles a:nth-child(even) { background: #30292c; }
.collection-tiles a:hover { background: var(--accent); }
.product-shelf .products { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px)/4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px !important; }
.product-shelf .products::before, .product-shelf .products::after { display: none !important; }
.product-shelf .products li.product { width: auto !important; float: none !important; margin: 0 !important; scroll-snap-align: start; }
.catalog-layout { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); align-items: start; gap: clamp(22px, 5vw, 72px); }
.catalog-filters { padding: 6px 16px 6px 0; }
.catalog-filters details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.catalog-filters summary { font-weight: 800; cursor: pointer; }
.catalog-filters ul { list-style: none; margin: 8px 0 0; padding: 0; }
.catalog-filters a { display: block; padding: 5px 8px; text-decoration: none; }
.catalog-filters a[aria-current=true] { color: var(--accent); background: #f6f6f6; font-weight: 800; }
.catalog-sort { display: flow-root; }
.woocommerce ul.products li.product { position: relative; }
.stock-tag { display: inline-block; padding: 3px 7px; background: #222; color: white; font-size: .72rem; font-weight: 740; }
.woocommerce ul.products li.product .stock-tag { position: absolute; left: 7px; top: 7px; z-index: 1; }
.stock-outofstock { background: #555; }
.stock-onbackorder { background: #853318; }
.detail-status { background: #f4f4f4; padding: 8px 12px; width: fit-content; font-size: .86rem; font-weight: 750; }
.single-product .woocommerce-product-gallery img { background: #f4f4f4; }
.single-product .summary .price { color: var(--ink) !important; font-weight: 800; }
@media (max-width: 680px) {
    .collection-tiles { grid-template-columns: repeat(2, 1fr); }
    .collection-tiles a { padding: 13px; min-height: 68px; }
    .catalog-layout { grid-template-columns: 1fr; gap: 12px; }
    .catalog-filters { padding: 0; }
    .product-shelf .products { grid-auto-columns: calc((100% - 14px)/2); gap: 14px; }
}

.nimoka-product-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-block: 16px; clear: both; }
.nimoka-product-actions p { flex-basis: 100%; margin: 0; font-size: .9rem; }
.nimoka-collection { padding-bottom: 18px; }
.nimoka-saved-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 12px; }
.nimoka-saved-item > a { display: flex; align-items: center; gap: 12px; }
.nimoka-saved-item img { width: 58px; }

.woocommerce-account .content-area { max-width: 1160px; }
.woocommerce-account .entry-content > .woocommerce,
.woocommerce-account .content-area > article > .woocommerce { display: flow-root; }
.woocommerce-account .woocommerce-MyAccount-navigation { background: #f6f6f7; border: 1px solid #e9e9ec; border-radius: 9px; padding: 9px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 5px; text-decoration: none; font-weight: 680; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: #fff; background: #19191b; }
.woocommerce-account .woocommerce-MyAccount-content { padding: clamp(15px, 3vw, 28px); border: 1px solid var(--line); border-radius: 9px; }
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.nimoka-account-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.nimoka-account-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.nimoka-account-card:hover { border-color: var(--accent); }
.nimoka-account-card strong { font-size: 1.05rem; }
.nimoka-account-card span:first-of-type { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
.nimoka-account-card span:last-of-type { grid-column: 2; grid-row: 1; color: var(--accent); }
@media (max-width: 680px) {
    .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 14px; }
    .nimoka-account-grid { grid-template-columns: 1fr; }
}

.promo-bar { background: #14191f; }
.site-header { background: #e3e2d9; color: #15191e; }
.masthead { max-width: none; grid-template-columns: auto minmax(0, 1fr) minmax(160px, 490px) auto; gap: 16px; justify-content: initial; min-height: 74px; padding: 0 15px; }
.main-navigation { display: flex; align-items: stretch; gap: 0; margin-right: auto; min-height: 74px; }
.main-navigation > a, .shop-menu > summary { display: flex; align-items: center; padding: 0 clamp(9px, 1.2vw, 23px); font-size: .88rem; font-weight: 850; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.main-navigation .main-nav-feature { background: #ba080b; color: white; }
.shop-menu { position: relative; }
.shop-menu > summary { cursor: pointer; height: 100%; list-style: none; }
.shop-menu > summary::-webkit-details-marker { display: none; }
.shop-menu-panel { position: absolute; z-index: 4; top: 100%; left: 0; background: #fff; min-width: 225px; padding: 8px; box-shadow: 0 8px 22px #0003; }
.shop-menu-panel a { display: block; padding: 9px 12px; text-decoration: none; font-size: .9rem; font-weight: 650; }
.shop-menu-panel a:hover { background: #f4f4f4; }
.site-search { margin-left: auto; width: 100%; }
.site-search input { background: white; color: #15191e; border-color: #bdbcba; border-radius: 7px 0 0 7px; }
.site-search input::placeholder { color: #6f6f6f; }
.site-search button { background: white; color: #15191e; border-color: #bdbcba; border-radius: 0 7px 7px 0; }
.shop-nav { background: #fff; border-top-color: #c9c7bf; }
.shop-nav ul { justify-content: safe center; gap: clamp(12px, 4vw, 55px); }
.shop-nav a { font-size: .9rem; text-transform: uppercase; font-weight: 850; padding-block: 22px; }
.hero-slide { min-height: clamp(440px, 40vw, 800px); align-items: end; }
.hero-slide img { object-position: 56% center; }
.hero-slide::after { background: linear-gradient(0deg,#06090cf5,#08090c18 66%); }
.hero-copy { text-align: center; padding: 44px 0 54px; }
.hero-copy h1, .hero-copy h2 { max-width: 24ch; font-size: clamp(2rem, 3vw, 3.55rem); margin: 0 auto 15px; }
.hero-copy p { max-width: 60ch; margin: 0 auto 22px; }
.hero .shop-button { background: #14191f; border: 1px solid #e6e6e6; border-radius: 5px; }
.hero-controls { position: static; transform: none; justify-content: center; padding: 12px 0; background: #fff; }
.hero-controls [data-step] { position: absolute; top: 47%; border: 1px solid #ffffff9c; border-radius: 8px; width: 39px; height: 39px; }
.hero-controls [data-step="-1"] { left: 14px; }
.hero-controls [data-step="1"] { right: 14px; }
.hero-controls [data-slide] { background: transparent; font-size: .65rem; width: 19px; color: #777; }
.hero-controls [aria-pressed=true] { color: #111; }
.campaign-section { width: min(100% - 64px, 1270px); }
.campaign-section h2 { text-align: center; text-transform: uppercase; margin: 18px 0 6px; font-size: clamp(1.5rem,2vw,2.25rem); font-weight: 900; }
.collection-tiles { gap: 9px; align-items: start; }
.collection-tiles a { min-height: 0; aspect-ratio: 5/8; text-align: center; position: relative; flex-direction: column; justify-content: flex-end; margin-bottom: 16px; padding: 16px 14px 30px; background: linear-gradient(0deg,#090a0b 5%,#0b252e44 70%), var(--campaign-image) 65% 50% / cover; text-transform: uppercase; line-height: 1.04; font-size: clamp(1rem,2vw,2.1rem); }
.collection-tiles a:nth-child(2) { background: linear-gradient(0deg,#090a0b 5%,#4b211c66 70%), var(--campaign-image) 82% 40% / cover; }
.collection-tiles a:nth-child(3) { background: linear-gradient(0deg,#090a0b 5%,#0a4e6a55 70%), var(--campaign-image) 75% 65% / cover; }
.collection-tiles a:nth-child(4) { background: linear-gradient(0deg,#090a0b 5%,#53175255 70%), var(--campaign-image) 52% 55% / cover; }
.collection-tiles a:hover { box-shadow: 0 0 0 2px var(--accent); }
.collection-tiles a span { position: absolute; bottom: -15px; background: #14191f; border-radius: 4px; padding: 12px 15px; font-size: clamp(.64rem,1vw,.81rem); }
.home-section { padding-block: 30px 4px; }
.section-heading h2 { text-transform: uppercase; font-size: clamp(1.3rem,2vw,2rem); font-weight: 900; }
@media (max-width: 840px) {
    .masthead { grid-template-columns: 1fr auto; gap: 7px 12px; padding-block: 10px 0; }
    .account-links { grid-column: 2; grid-row: 1; }
    .site-search { grid-column: 1 / -1; grid-row: 2; }
    .main-navigation { grid-column: 1 / -1; grid-row: 3; min-height: 42px; max-width: 100%; }
    .main-navigation > a, .shop-menu > summary { font-size: .77rem; padding-inline: 8px; }
    .shop-nav ul { justify-content: flex-start; gap: 18px; }
    .shop-nav a { padding-block: 12px; font-size: .76rem; }
    .hero-slide { min-height: 475px; }
    .hero-copy { padding-bottom: 40px; }
    .campaign-section { width: calc(100% - 28px); }
}

.hero-slide { touch-action: pan-y; user-select: none; }
.hero-slide img { pointer-events: none; }
.shelf-actions { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; }
.shelf-actions button { border: 1px solid #bdbcba; border-radius: 5px; width: 34px; height: 34px; background: #fff; color: #14191f; font-size: 1.2rem; line-height: 1; }
.shelf-actions button:disabled { opacity: .4; cursor: default; }
@media (max-width: 680px) {
    .shelf-actions { gap: 4px; }
    .shelf-actions button { width: 29px; height: 29px; }
}

.catalog-price-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.catalog-price-form label { display: grid; gap: 4px; min-width: 0; font-size: .82rem; }
.catalog-price-form input[type=number] { width: 100%; border: 1px solid #bdbcba; border-radius: 4px; padding: 5px; }
.catalog-price-form button { grid-column: 1 / -1; border: 0; border-radius: 4px; padding: 7px; background: #14191f; color: white; }

.single-product .content-area { width: min(100% - 64px, 1760px); padding-top: 24px; }
.single-product .woocommerce-breadcrumb { font-size: .8rem; margin-bottom: 12px; }
.single-product .product_title { font-size: clamp(1.75rem,2.4vw,2.8rem); margin-bottom: 5px; }
.nimoka-detail-type { color: #454545; font-size: 1.15rem; }
.nimoka-detail-type a { text-decoration: none; }
.single-product div.product .woocommerce-product-gallery { width: 57%; }
.single-product div.product div.summary { width: 40%; }
.single-product .summary form.cart { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.single-product .summary button.single_add_to_cart_button { flex: 1; min-height: 44px; border-radius: 4px; text-transform: uppercase; background: var(--purchase-color,#15675c); }
.single-product .summary button.single_add_to_cart_button:hover { filter: brightness(.82); background: var(--purchase-color,#15675c); }
.single-product .summary form.variations_form { display: block; }
.nimoka-detail-accordions { margin-block: 24px; border-top: 1px solid #c4c4c4; }
.nimoka-detail-accordions details { border-bottom: 1px solid var(--line); }
.nimoka-detail-accordions summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 760; list-style: none; }
.nimoka-detail-accordions summary::-webkit-details-marker { display: none; }
.nimoka-detail-accordions summary::after { content: '›'; font-size: 1.2rem; line-height: 1; }
.nimoka-detail-accordions details[open] summary::after { transform: rotate(90deg); }
.nimoka-detail-body { color: #444; padding-bottom: 10px; }
.nimoka-detail-body p:first-child { margin-top: 0; }
@media (max-width: 768px) {
    .single-product .content-area { width: calc(100% - 28px); }
    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product div.summary { width: 100%; }
}

.collection-tiles a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.collection-tiles a:has(img) { isolation: isolate; background: linear-gradient(0deg,#090a0b 3%,transparent 68%); }
.collection-tiles a:has(img)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#090a0b 3%,transparent 68%); z-index: -1; }
.catalog-page { width: min(100% - 24px, 1920px); padding-top: 16px; color: #15191e; }
.catalog-heading { border-bottom: 1px solid var(--line); margin-bottom: 19px; }
.catalog-heading .woocommerce-breadcrumb { margin-bottom: 12px; color: #626266; font-size: .81rem; }
.catalog-heading h1 { font-size: clamp(1.75rem,2.8vw,3rem); font-weight: 950; text-transform: uppercase; margin-bottom: 12px; }
.catalog-toggle { background: transparent; border: 0; padding: 8px 0 12px; font-size: .87rem; }
.catalog-toggle span:first-child { margin-right: 6px; }
.catalog-layout { grid-template-columns: minmax(178px, 236px) minmax(0, 1fr); gap: clamp(12px, 1.2vw, 23px); }
.catalog-layout.catalog-no-filters { grid-template-columns: minmax(0,1fr); }
.catalog-filters { padding: 0; }
.catalog-filters .woocommerce-ordering { float: none; margin: 0 0 8px; }
.catalog-filters .woocommerce-ordering select,
.catalog-page-size { width: 100%; border: 1px solid #929293; border-radius: 4px; padding: 8px 6px; background: white; }
.catalog-page-size { margin: 0 0 7px; }
.catalog-page-size label { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 720; }
.catalog-page-size select { flex: 1; border: 0; background: white; }
.catalog-page-size button { margin-top: 6px; }
.catalog-filters details { padding: 10px 0; }
.catalog-filters summary { font-size: .88rem; text-transform: uppercase; }
.catalog-filters a { font-size: .87rem; }
.catalog-results .woocommerce-result-count { margin: 0 0 8px; width: 100%; font-size: .8rem; color: #555; }
.catalog-results ul.products { display: grid; grid-template-columns: repeat(var(--catalog-columns,5),minmax(0,1fr)); gap: 28px clamp(10px,1.2vw,21px); clear: both; }
.catalog-results ul.products::before, .catalog-results ul.products::after { display: none; }
.catalog-results ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; min-width: 0; }
.catalog-results ul.products li.product a img { margin-bottom: 6px; border-radius: 12px; background: #f0f1eb; }
.catalog-results .woocommerce-loop-product__title { padding-block: 3px !important; text-transform: uppercase; }
.nimoka-card-type { display: block; color: #58585d; font-size: .84rem; }
.catalog-results .button { font-size: .8rem; border-radius: 4px; margin-top: 6px !important; }
.single-product .woocommerce-product-gallery__trigger { box-shadow: 0 1px 4px #0002; }
.single-product .woocommerce-product-gallery__image img { border-radius: 6px; }
.single-product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 9px; margin-top: 10px !important; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li { width: min(18%, 120px) !important; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 4px; }
@media (max-width: 1160px) { .catalog-results ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 900px) { .catalog-results ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 680px) {
    .catalog-layout { grid-template-columns: minmax(0,1fr); }
    .catalog-results ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 10px; }
}

.nimoka-image-tools button { border: 1px solid #b9b9b9; border-radius: 5px; background: white; padding: 8px 12px; color: #171717; font-weight: 650; }
.nimoka-image-tools button:hover { background: #f1f1f1; }

.brand-strip { background: #fff; border-top: 1px solid #cac8c0; }
.brand-strip ul { display: flex; align-items: center; justify-content: safe center; gap: clamp(10px, 2vw, 33px); margin-block: 0; padding: 12px 2px; list-style: none; overflow-x: auto; }
.brand-strip li { flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: clamp(72px, 6vw, 112px); height: 61px; text-decoration: none; color: #19191b; text-align: center; font-family: "Archivo Black", Impact, var(--font); font-weight: 900; text-transform: uppercase; line-height: .94; }
.brand-mark:hover { color: var(--accent); }
.brand-mark span { max-width: 9ch; }
.brand-mark img { width: 100%; height: 58px; object-fit: contain; }
.brand-mark-1 { color: #ae161b; }
.brand-mark-3 span { border: 2px solid currentColor; padding: 3px; transform: rotate(-5deg); }
.brand-mark-4 { color: #205b52; }
.brand-mark-6 { font-family: Georgia, serif; }
.brand-mark-8 { letter-spacing: .12em; font-size: .85rem; }
@media (max-width: 680px) {
    .brand-strip ul { justify-content: flex-start; padding-block: 7px; }
    .brand-mark { height: 48px; font-size: .78rem; }
    .brand-mark img { height: 46px; }
}

.site-footer { background: #15191e; }
.footer-columns { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: clamp(18px,4vw,64px); padding-block: 48px 40px; }
.footer-brand p { max-width: 30ch; color: #e0e0e0; font-size: .93rem; }
.footer-columns h2 { font-size: .97rem; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 12px; }
.footer-columns ul, .footer-legal ul { list-style: none; padding: 0; margin: 0; }
.footer-columns li { margin-block: 7px; }
.footer-columns a:not(.wordmark), .footer-legal a { color: #e0e0e0; text-decoration: none; font-size: .9rem; }
.footer-columns a:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; padding-block: 15px; align-items: center; justify-content: space-between; border-top: 1px solid #43464b; }
.footer-legal small { color: #d8d8d8; }
.footer-legal ul { display: flex; gap: 16px; flex-wrap: wrap; }
.nimoka-help-page .content-area { max-width: 1030px; padding-block: 36px 64px; }
.nimoka-help-page article > h1 { font-size: clamp(2rem,4vw,3.5rem); text-transform: uppercase; }
.nimoka-help-page article > p, .nimoka-help-page article > ol, .nimoka-help-page article > ul { max-width: 75ch; }
.nimoka-help-page article > h2 { margin-top: 26px; font-size: 1.3rem; }
.help-breadcrumb { color: #626268; margin-bottom: 14px; font-size: .83rem; }
.help-breadcrumb span { margin-left: 6px; }
.nimoka-help-topics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-block: 24px; }
.nimoka-help-topics section { padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fafafa; }
.nimoka-help-topics h2 { font-size: 1.08rem; margin-top: 0; }
.nimoka-help-topics ul { padding-left: 18px; }
.nimoka-help-topics li { margin-block: 5px; }
.nimoka-account-help { margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fafafa; }
.nimoka-account-help h2, .nimoka-account-help p { margin: 0 0 8px; }
.nimoka-account-help h2 { font-size: 1.05rem; }
@media (max-width: 780px) { .footer-columns, .nimoka-help-topics { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 460px) { .nimoka-help-topics { grid-template-columns: 1fr; } .footer-brand { grid-column: 1 / -1; } }

.nimoka-help-search { display: grid; max-width: 520px; gap: 6px; font-weight: 700; margin-top: 22px; }
.nimoka-help-search input { width: 100%; border: 1px solid #aeafb0; border-radius: 6px; padding: 11px; background: #fff; }
.nimoka-track-order { border: 1px solid var(--line); border-radius: 7px; background: #fafafa; padding: clamp(15px,3vw,28px); margin-top: 28px; }
.nimoka-track-order h2 { margin-top: 0; }
