/*
Theme Name: ELINS Shop
Theme URI: https://elinsshop.com/
Author: D. Svilenković
Description: Brza i pristupačna WooCommerce tema za stručni katalog elektro-opreme.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: elins
*/

:root {
  --bg: #f8fbfe;
  --surface: #f2f7fb;
  --surface-blue: #eaf5ff;
  --surface-dark: #0d2439;
  --line: #d8e5ef;
  --control-border: #7b8792;
  --body: #172c40;
  --muted: #5c7184;
  --accent: #2f6fa8;
  --accent-dark: #164a78;
  --accent-light: #28b7f4;
  --electric: #47d7ff;
  --accent-glow: rgb(40 183 244 / .25);
  --focus: #0a4f87;
  --action: #d23d0f;
  --action-dark: #ad2d08;
  --success: #19764d;
  --error: #ba271a;
  --dark: #081d30;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --radius: .875rem;
  --radius-lg: 1.5rem;
  --shadow: 0 1.25rem 3.5rem rgb(8 29 48 / .11), 0 .25rem .75rem rgb(8 29 48 / .05);
  --shadow-soft: 0 .75rem 2rem rgb(8 29 48 / .08);
  --content: 90rem;
  --transition: 240ms cubic-bezier(.2, .7, .2, 1);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.home { background: radial-gradient(circle at 12% 18%, rgb(40 183 244 / .055), transparent 24rem), radial-gradient(circle at 92% 72%, rgb(47 111 168 / .05), transparent 30rem), var(--bg); }

::selection { background: var(--accent); color: #fff; }
html { scrollbar-color: var(--accent) #eaf0f5; scrollbar-width: thin; }
::-webkit-scrollbar { width: .7rem; height: .7rem; }
::-webkit-scrollbar-track { background: #eaf0f5; }
::-webkit-scrollbar-thumb { border: .15rem solid #eaf0f5; border-radius: 999px; background: var(--accent); }

body.menu-is-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }
iframe { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--accent-dark); }
p, ul, ol { margin-block: 0 1rem; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.15; margin: 0 0 .75rem; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.025em; }
h3 { font-size: 1.125rem; }
button, input, select, textarea { font: inherit; }
button, [type="button"], [type="submit"], [type="reset"] { cursor: pointer; }
:target { scroll-margin-top: 9rem; }

:focus-visible {
  outline: .1875rem solid var(--focus);
  outline-offset: .125rem;
  box-shadow: 0 0 0 .3125rem #fff;
}

.skip-link {
  position: fixed;
  z-index: 99999;
  top: .75rem;
  left: .75rem;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  z-index: 100000;
  top: .75rem;
  left: .75rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: .75rem 1rem;
  clip: auto;
  background: #fff;
  color: var(--dark);
}

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 52rem); margin-inline: auto; }
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 7rem); }
.section--soft { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(145deg, #f3f8fc, #fff 48%, #edf7fe); }
.section--soft::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42; background-image: linear-gradient(rgb(47 111 168 / .08) 1px, transparent 1px), linear-gradient(90deg, rgb(47 111 168 / .08) 1px, transparent 1px); background-size: 3rem 3rem; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.section > .container { position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-head h2 { max-width: 42rem; margin-bottom: 0; }
.section-head p { max-width: 44rem; color: var(--muted); margin: 0; }
.section-kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 .65rem !important; color: var(--accent) !important; font-family: var(--mono); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 1.8rem; height: 1px; background: linear-gradient(90deg, var(--accent-light), var(--accent)); }
.mono, .sku, .product_meta .sku, .woocommerce-product-attributes-item__value { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.price, .amount, .qty { font-variant-numeric: tabular-nums; }

.button,
button.button,
input.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid var(--action);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: .75rem;
  padding: .65rem 1rem;
  background: linear-gradient(135deg, var(--action), var(--action-dark));
  color: #fff;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 .6rem 1.4rem rgb(198 60 19 / .18);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.catalog-hero .button::before, .expert-cta .button::before { content: ""; position: absolute; z-index: -1; inset: 0; transform: translateX(-105%); background: linear-gradient(100deg, transparent, rgb(255 255 255 / .22), transparent); transition: transform 520ms var(--ease); }
.catalog-hero .button:hover::before, .expert-cta .button:hover::before { transform: translateX(105%); }
.button:hover,
button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { border-color: var(--action-dark); background: linear-gradient(135deg, var(--action), var(--action-dark)); box-shadow: 0 .8rem 1.8rem rgb(198 60 19 / .24); color: #fff; transform: translateY(-1px); }
.button:active, button.button:active { transform: translateY(1px); }
.button--secondary { border-color: rgb(47 111 168 / .32); background: rgb(255 255 255 / .9); box-shadow: none; color: var(--accent); }
.button--secondary:hover { border-color: var(--accent-dark); background: var(--surface-blue); color: var(--accent-dark); }
.button:disabled, button:disabled, input:disabled { cursor: not-allowed; opacity: .55; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .5rem; font-weight: 750; text-decoration: none; }
.text-link:hover { transform: translateX(.18rem); }

input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  padding: .68rem .8rem;
  background: #fff;
  color: var(--body);
}
textarea { min-height: 8rem; resize: vertical; }
label { font-weight: 650; }
.required { color: var(--error); text-decoration: none; }

/* Header */
.scroll-progress { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; height: .18rem; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; background: linear-gradient(90deg, var(--accent-light), var(--electric), var(--action)); box-shadow: 0 0 1rem var(--accent-glow); }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgb(216 229 239 / .9); background: rgb(255 255 255 / .94); box-shadow: 0 .35rem 1.5rem rgb(8 29 48 / .035); backdrop-filter: blur(.75rem) saturate(135%); transition: background var(--transition), box-shadow var(--transition); }
.utility-bar { position: relative; max-height: 2.25rem; overflow: hidden; background: linear-gradient(90deg, #071929, #0d2a43 55%, #113b5d); color: #fff; font-size: .8125rem; }
.utility-bar::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(71 215 255 / .08), transparent); transform: translateX(-100%); animation: utilitySweep 8s ease-in-out infinite; }
.utility-bar__inner { min-height: 2.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.is-compact { background: rgb(255 255 255 / .98); box-shadow: 0 .75rem 2rem rgb(8 29 48 / .08); }
body.admin-bar .site-header { top: 32px; }
.utility-bar p { margin: 0; }
.utility-links { display: flex; align-items: center; gap: 1rem; }
.utility-bar a { min-width: 1.5rem; min-height: 1.5rem; display: inline-flex; align-items: center; color: #fff; }
.header-main { position: relative; }
.header-main::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-light), transparent); opacity: .28; }
.header-main__inner { min-height: 6rem; display: grid; grid-template-columns: 13rem minmax(18rem, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.site-branding { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
.site-logo { width: 10rem; max-height: 5rem; object-fit: contain; object-position: left center; }
.site-title { color: var(--dark); font-size: 1.6rem; font-weight: 850; letter-spacing: .03em; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-action { min-width: 2.75rem; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid rgb(47 111 168 / .16); border-radius: .75rem; padding: .55rem .75rem; background: linear-gradient(145deg, #fff, #f3f8fc); box-shadow: 0 .35rem 1rem rgb(8 29 48 / .05); color: var(--body); font-weight: 700; text-decoration: none; transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition); }
.header-action:hover { border-color: var(--accent-light); background: var(--surface-blue); box-shadow: 0 .55rem 1.4rem rgb(8 29 48 / .09); color: var(--accent); transform: translateY(-1px); }
.header-action svg, .menu-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-count { min-width: 1.35rem; height: 1.35rem; display: inline-grid; place-items: center; border-radius: 999px; padding-inline: .25rem; background: var(--action); color: #fff; font-size: .75rem; }
.menu-toggle { display: none; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid rgb(47 111 168 / .18); border-radius: .75rem; background: linear-gradient(145deg, #fff, #f3f8fc); color: var(--body); }

.product-search { display: flex; min-width: 0; filter: drop-shadow(0 .6rem 1rem rgb(8 29 48 / .07)); }
.product-search__field { min-width: 0; height: 3.25rem !important; border: 1px solid rgb(47 111 168 / .58) !important; border-right: 0 !important; border-radius: .85rem 0 0 .85rem !important; padding-inline: 1rem !important; background: rgb(255 255 255 / .96) !important; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
.product-search__button { min-width: 3.5rem; min-height: 3.25rem; border: 0; border-radius: 0 .85rem .85rem 0; background: linear-gradient(145deg, var(--accent-light), var(--accent)); box-shadow: inset 0 1px rgb(255 255 255 / .3); color: #fff; transition: filter var(--transition), transform var(--transition); }
.product-search__button:hover { background: linear-gradient(145deg, #39c6ff, var(--accent-dark)); filter: saturate(1.12); }
.product-search__button svg { width: 1.35rem; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; }

.catalog-nav { border-top: 1px solid rgb(216 229 239 / .82); background: rgb(255 255 255 / .72); }
.catalog-nav__inner { min-height: 3.25rem; display: flex; align-items: stretch; gap: 1.25rem; }
.category-menu { position: relative; min-width: 17rem; }
.category-menu summary { min-height: 3.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 1rem; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: inset 0 1px rgb(255 255 255 / .16); color: #fff; font-weight: 750; cursor: pointer; list-style: none; }
.category-menu summary::-webkit-details-marker { display: none; }
.category-menu summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; }
.category-menu[open] summary::after { content: "−"; }
.category-menu__panel { position: absolute; z-index: 120; top: calc(100% + 1px); left: 0; width: min(46rem, calc(100vw - 2rem)); max-height: min(70vh, 38rem); overflow: auto; overscroll-behavior: contain; border: 1px solid rgb(47 111 168 / .2); border-top: 0; border-radius: 0 0 1rem 1rem; padding: 1rem; background: rgb(255 255 255 / .98); box-shadow: var(--shadow); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem 1rem; margin: 0; padding: 0; list-style: none; }
.category-grid a { min-height: 2.75rem; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: var(--body); font-weight: 650; text-decoration: none; }
.category-grid a:hover { color: var(--accent); }
.primary-nav { min-width: 0; display: flex; align-items: stretch; }
.primary-nav ul { display: flex; align-items: stretch; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a { min-height: 3.25rem; position: relative; display: flex; align-items: center; padding: .55rem .75rem; color: var(--body); font-weight: 680; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; right: .75rem; bottom: .35rem; left: .75rem; height: .14rem; transform: scaleX(0); transform-origin: left; border-radius: 999px; background: linear-gradient(90deg, var(--accent-light), var(--accent)); transition: transform var(--transition); }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--accent); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); }

/* Mobile menu */
.site-menu-dialog { width: min(29rem, 100%); height: 100dvh; max-height: none; margin: 0 0 0 auto; border: 0; padding: 0; overflow: hidden; overscroll-behavior: contain; background: #fff; color: var(--body); box-shadow: -1rem 0 3rem rgb(11 31 51 / .2); }
.site-menu-dialog::backdrop { background: rgb(11 31 51 / .64); }
.mobile-panel { min-height: 100%; display: flex; flex-direction: column; }
.mobile-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 1rem; }
.mobile-panel__close { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--body); font-size: 1.5rem; }
.mobile-panel__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 1rem; }
.mobile-panel__body .product-search { margin-bottom: 1.25rem; }
.mobile-nav-list, .mobile-nav-list ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav-list a { min-height: 2.9rem; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: var(--body); font-weight: 700; text-decoration: none; }
.mobile-categories { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.mobile-categories summary { min-height: 3rem; display: flex; align-items: center; justify-content: space-between; font-weight: 800; cursor: pointer; }
.mobile-categories .category-grid { grid-template-columns: 1fr; }
.nojs-nav { display: none; border-top: 1px solid var(--line); }
.nojs-nav details { padding-block: .5rem; }
.nojs-nav summary { min-height: 2.75rem; display: flex; align-items: center; font-weight: 750; cursor: pointer; }

/* Homepage */
.catalog-hero { position: relative; overflow: hidden; border-bottom: 1px solid rgb(71 215 255 / .16); background: radial-gradient(circle at 15% 16%, rgb(47 111 168 / .35), transparent 30rem), linear-gradient(128deg, #061725 0%, #0a253b 50%, #0d3452 100%); }
.catalog-hero::before { content: ""; position: absolute; inset: 0; opacity: .23; pointer-events: none; background-image: linear-gradient(rgb(113 200 246 / .26) 1px, transparent 1px), linear-gradient(90deg, rgb(113 200 246 / .26) 1px, transparent 1px); background-size: 3.5rem 3.5rem; mask-image: linear-gradient(100deg, #000, transparent 78%); }
.catalog-hero::after { content: ""; position: absolute; top: -28rem; right: -23rem; width: 58rem; height: 58rem; border: 1px solid rgb(71 215 255 / .16); border-radius: 50%; box-shadow: inset 0 0 0 5rem rgb(71 215 255 / .018), inset 0 0 0 10rem rgb(71 215 255 / .018); pointer-events: none; }
.catalog-hero__circuit { position: absolute; inset: 0; pointer-events: none; }
.catalog-hero__glow { position: absolute; z-index: 0; top: -16rem; left: -16rem; width: 32rem; height: 32rem; transform: translate3d(var(--hero-glow-x, 76vw), var(--hero-glow-y, 10rem), 0); border-radius: 50%; background: radial-gradient(circle, rgb(40 183 244 / .25), transparent 68%); pointer-events: none; will-change: transform; }
.catalog-hero__circuit span { position: absolute; display: block; background: linear-gradient(90deg, transparent, rgb(71 215 255 / .5)); }
.catalog-hero__circuit span::after { content: ""; position: absolute; right: 0; width: .42rem; height: .42rem; transform: translate(50%, -45%); border: 1px solid var(--electric); border-radius: 50%; background: #0a253b; box-shadow: 0 0 .8rem var(--electric); }
.catalog-hero__circuit span:nth-child(1) { top: 22%; right: 3%; width: 17%; height: 1px; }
.catalog-hero__circuit span:nth-child(2) { right: 28%; bottom: 14%; width: 13%; height: 1px; transform: rotate(90deg); }
.catalog-hero__circuit span:nth-child(3) { top: 14%; left: 2%; width: 8%; height: 1px; transform: rotate(180deg); }
.catalog-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .6fr); align-items: center; gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(3rem, 7vw, 6.5rem); }
.catalog-hero__copy { max-width: 51rem; }
.catalog-hero__copy h1 { max-width: 50rem; color: #fff; font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: .98; letter-spacing: -.055em; text-shadow: 0 1rem 3rem rgb(0 0 0 / .16); }
.catalog-hero__copy > p:not(.eyebrow) { max-width: 42rem; color: #c7d9e7; font-size: clamp(1rem, 2vw, 1.16rem); }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; color: #8bdcff; font-family: var(--mono); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 2.5rem; height: 1px; background: linear-gradient(90deg, var(--electric), transparent); box-shadow: 0 0 .75rem var(--electric); }
.catalog-hero__search { max-width: 49rem; margin-top: 1.5rem; }
.catalog-hero__search .product-search { filter: drop-shadow(0 1rem 2rem rgb(0 0 0 / .2)); }
.catalog-hero__search .product-search__field, .catalog-hero__search .product-search__button { height: 4rem !important; }
.catalog-hero__search .product-search__field { border-color: rgb(139 220 255 / .55) !important; }
.search-hint { margin: .7rem 0 0 !important; color: #a9c0d2 !important; font-size: .84rem !important; }
.hero-points { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: .48rem; border: 1px solid rgb(139 220 255 / .16); border-radius: 999px; padding: .42rem .72rem; background: rgb(255 255 255 / .055); color: #d5e7f3; font-size: .78rem; }
.hero-points li::before { content: ""; width: .38rem; height: .38rem; border-radius: 50%; background: var(--electric); box-shadow: 0 0 .65rem var(--electric); }
.hero-aside { position: relative; overflow: hidden; border: 1px solid rgb(139 220 255 / .2); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 2rem); background: linear-gradient(145deg, rgb(255 255 255 / .13), rgb(255 255 255 / .055)); box-shadow: 0 1.5rem 4rem rgb(0 0 0 / .22), inset 0 1px rgb(255 255 255 / .16); backdrop-filter: blur(.65rem); }
.hero-aside::after { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 12rem; height: 12rem; border-radius: 50%; background: radial-gradient(circle, rgb(71 215 255 / .19), transparent 65%); pointer-events: none; }
.hero-aside__icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; margin-bottom: 1.5rem; border: 1px solid rgb(139 220 255 / .24); border-radius: 1rem; background: rgb(71 215 255 / .08); box-shadow: inset 0 1px rgb(255 255 255 / .1), 0 0 2rem rgb(71 215 255 / .08); }
.hero-aside__icon svg { width: 2rem; fill: none; stroke: var(--electric); stroke-width: 1.5; }
.hero-aside__label { margin: 0 0 .55rem; color: #8bdcff !important; font-family: var(--mono); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-aside h2 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.hero-aside p { color: #bdd1df; }
.hero-aside .button { width: 100%; }
.feature-strip { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #fff, #f7fbfe 50%, #fff); box-shadow: 0 1.25rem 3rem rgb(8 29 48 / .05); }
.feature-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-item { min-height: 7rem; position: relative; display: grid; grid-template-columns: auto 1fr; align-content: center; gap: .2rem .9rem; padding: 1rem clamp(1rem, 3vw, 2rem); border-right: 1px solid var(--line); }
.feature-item::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: .12rem; transform: scaleX(0); background: linear-gradient(90deg, var(--accent-light), transparent); transition: transform var(--transition); transform-origin: left; }
.feature-item:hover::before { transform: scaleX(1); }
.feature-item:last-child { border-right: 0; }
.feature-item__icon { grid-row: 1 / span 2; width: 2.75rem; height: 2.75rem; border: 1px solid rgb(47 111 168 / .14); border-radius: .85rem; padding: .62rem; background: var(--surface-blue); fill: none; stroke: var(--accent); stroke-width: 1.8; }
.feature-item strong { color: var(--dark); }
.feature-item span:last-child { color: var(--muted); font-size: .875rem; }
.section--categories::before { content: ""; position: absolute; top: 18%; right: 0; width: min(32rem, 45vw); height: 1px; background: linear-gradient(90deg, transparent, rgb(40 183 244 / .45)); }
.section--categories::after { content: ""; position: absolute; top: calc(18% - .2rem); right: 8%; width: .4rem; height: .4rem; border: 1px solid var(--accent-light); border-radius: 50%; background: var(--bg); box-shadow: 0 0 .8rem var(--accent-light); }
.home-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.category-card { min-height: 10.5rem; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid rgb(47 111 168 / .14); border-radius: 1.15rem; padding: 1.35rem; background: linear-gradient(145deg, #fff 20%, #f5faff); box-shadow: 0 .65rem 1.8rem rgb(8 29 48 / .055); color: var(--body); text-decoration: none; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.category-card::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 46%; height: 100%; opacity: .36; background-image: linear-gradient(rgb(47 111 168 / .12) 1px, transparent 1px), linear-gradient(90deg, rgb(47 111 168 / .12) 1px, transparent 1px); background-size: 1.4rem 1.4rem; mask-image: linear-gradient(to left, #000, transparent); }
.category-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: .18rem; transform: scaleY(.22); transform-origin: bottom; border-radius: 999px; background: linear-gradient(var(--accent-light), var(--accent)); transition: transform 420ms var(--ease); }
.category-card:hover, .category-card:focus-visible { border-color: rgb(40 183 244 / .58); box-shadow: 0 1.4rem 3rem rgb(8 29 48 / .11), 0 0 0 1px rgb(40 183 244 / .08); transform: translateY(-4px); color: var(--body); }
.category-card:hover::after, .category-card:focus-visible::after { transform: scaleY(1); }
.category-card__index { position: absolute; top: 1rem; right: 1rem; color: rgb(47 111 168 / .16); font-family: var(--mono); font-size: 2.5rem; font-weight: 800; line-height: 1; }
.category-card strong { position: relative; max-width: 82%; display: inline-block; color: var(--dark); font-size: 1.05rem; }
.category-card__count { color: var(--muted); font-size: .8125rem; }
.category-card__arrow { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 1px solid rgb(47 111 168 / .18); border-radius: 50%; background: #fff; color: var(--accent); font-size: 1.15rem; transition: background var(--transition), color var(--transition), transform var(--transition); }
.category-card:hover .category-card__arrow { background: var(--accent); color: #fff; transform: translateX(.2rem); }

/* Product loop */
.products-shell { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 2rem; }
.filter-toggle { display: none; }
.shop-sidebar { width: auto; max-width: none; min-width: 0; max-height: none; margin: 0; border: 0; padding: 0; overflow: visible; background: transparent; color: inherit; }
.shop-sidebar[open] { position: static; display: block; }
.shop-sidebar__inner { position: sticky; top: 8.5rem; }
.filter-dialog__head { display: none; }
.shop-sidebar .widget { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.shop-sidebar .widget:first-child { padding-top: 0; }
.shop-sidebar .widget-title { font-size: 1rem; }
.shop-sidebar ul { margin: 0; padding: 0; list-style: none; }
.shop-sidebar li { margin-block: .35rem; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 1.25rem; color: var(--muted); font-size: .875rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.shop-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.shop-head h1 { margin: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-block: 1px solid var(--line); padding-block: .75rem; margin-bottom: 1.25rem; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select { min-height: 2.75rem; }
.woocommerce ul.products, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce[class*="columns-"] ul.products li.product, .product-card { width: 100% !important; min-width: 0; float: none !important; margin: 0 !important; }
.product-card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgb(47 111 168 / .13); border-radius: 1.15rem; background: rgb(255 255 255 / .97); box-shadow: 0 .65rem 1.8rem rgb(8 29 48 / .055); transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.product-card::after { content: ""; position: absolute; z-index: 2; top: 0; right: 13%; left: 13%; height: .12rem; transform: scaleX(.25); border-radius: 999px; background: linear-gradient(90deg, transparent, var(--accent-light), transparent); opacity: 0; transition: opacity var(--transition), transform 420ms var(--ease); }
.product-card:hover, .product-card:focus-within { border-color: rgb(40 183 244 / .4); box-shadow: 0 1.4rem 3rem rgb(8 29 48 / .11); transform: translateY(-4px); }
.product-card:hover::after, .product-card:focus-within::after { transform: scaleX(1); opacity: 1; }
.product-card__media { position: relative; aspect-ratio: 1 / .82; display: grid; place-items: center; overflow: hidden; padding: 1rem; background: radial-gradient(circle at 50% 36%, #fff, #f1f7fb 72%); }
.product-card__media-link { position: absolute; z-index: 1; inset: 1rem; display: grid; place-items: center; color: inherit; text-decoration: none; }
.product-card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .32; background-image: linear-gradient(rgb(47 111 168 / .08) 1px, transparent 1px), linear-gradient(90deg, rgb(47 111 168 / .08) 1px, transparent 1px); background-size: 1.8rem 1.8rem; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.product-card__media img, .woocommerce ul.products li.product .product-card__media img { position: relative; z-index: 1; width: 100%; height: 100%; margin: 0; object-fit: contain; transition: transform 500ms var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.025); }
.product-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; border: 1px dashed #bec9d2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 1.5rem 1.5rem; color: var(--muted); font-size: .8125rem; text-align: center; }
.product-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.1rem; }
.product-card__category { margin: 0 0 .3rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.product-card__title { min-height: 2.5em; margin-bottom: .45rem; font-size: 1rem; line-height: 1.25; }
.product-card__title a { color: var(--dark); text-decoration: none; }
.product-card__title a:hover { color: var(--accent); }
.product-card__sku { width: fit-content; min-height: 1.35rem; margin: 0 0 .65rem; border: 1px solid rgb(47 111 168 / .12); border-radius: 999px; padding: .14rem .45rem; background: var(--surface-blue); color: var(--muted); font-family: var(--mono); font-size: .72rem; }
.product-card__specs { display: grid; gap: .25rem; margin: 0 0 .8rem; padding: 0; list-style: none; color: var(--muted); font-size: .8125rem; }
.product-card__specs li { min-width: 0; display: flex; align-items: start; justify-content: space-between; gap: .5rem; border-bottom: 1px dotted var(--line); }
.product-card__specs span { min-width: 0; overflow-wrap: anywhere; }
.product-card__specs span:first-child { flex: 1 1 42%; }
.product-card__specs span:last-child { flex: 1 1 58%; color: var(--body); font-family: var(--mono); text-align: right; }
.product-card__unit { margin: 0 0 .65rem; color: var(--muted); font-size: .8125rem; overflow-wrap: anywhere; }
.product-card__unit strong { color: var(--body); font-family: var(--mono); font-weight: 650; }
.stock { display: inline-flex; align-items: center; gap: .4rem; margin: auto 0 .45rem; font-size: .8125rem; font-weight: 700; }
.stock::before { content: ""; width: .5rem; height: .5rem; flex: 0 0 auto; border-radius: 50%; background: var(--muted); }
.stock.in-stock { color: var(--success); }
.stock.in-stock::before { background: var(--success); }
.stock.out-of-stock { color: var(--error); }
.stock.out-of-stock::before { background: var(--error); }
.product-card__price, .woocommerce ul.products li.product .product-card__price { min-height: 2rem; margin-bottom: .75rem; color: var(--dark); font-size: 1.15rem; font-weight: 800; }
.product-card__price del { color: var(--muted); font-size: .875rem; }
.product-card__price ins { text-decoration: none; }
.product-card__actions { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.product-card__actions .button, .woocommerce ul.products li.product .product-card__actions .button { width: 100%; margin: 0; box-shadow: none; }
.woocommerce span.onsale { min-width: 0; min-height: 0; top: .65rem; left: .65rem; margin: 0; border-radius: var(--radius); padding: .35rem .5rem; background: var(--action); line-height: 1.2; }
.woocommerce nav.woocommerce-pagination { margin-top: 2rem; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: .35rem; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 2.75rem; min-height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; }
.woocommerce nav.woocommerce-pagination ul li span.current { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Product */
.single-product .site-main { padding-bottom: 4rem; }
.woocommerce div.product { margin-top: 1.5rem; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { margin-bottom: 2rem; }
.woocommerce div.product div.images { overflow: hidden; border: 1px solid rgb(47 111 168 / .13); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 35%, #fff, #edf5fa); box-shadow: var(--shadow-soft); }
.woocommerce div.product div.images img { background: transparent; }
.woocommerce div.product div.summary { border: 1px solid rgb(47 111 168 / .13); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); background: #fff; box-shadow: var(--shadow-soft); }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.elins-anchor { display: block; scroll-margin-top: 8rem; }
.elins-anchor:focus { outline: .1875rem solid var(--focus); outline-offset: .25rem; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--dark); font-size: 1.5rem; font-weight: 850; }
.woocommerce div.product form.cart { display: flex; align-items: stretch; gap: .5rem; }
.woocommerce .quantity .qty { width: 5.25rem; min-height: 2.75rem; }
.product_meta { display: grid; gap: .45rem; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-family: var(--mono); font-size: .8rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom-color: var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1px solid var(--line); border-radius: .75rem .75rem 0 0; background: linear-gradient(145deg, #fff, var(--surface)); }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { min-height: 2.75rem; display: flex; align-items: center; }
.woocommerce table.shop_attributes, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-color: var(--line); }
.elins-mobile-buy-bar { display: none; }

/* Commerce forms and tables */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: 1px solid var(--line); border-left-width: .25rem; border-radius: .85rem; background: #fff; box-shadow: 0 .4rem 1.2rem rgb(8 29 48 / .05); color: var(--body); }
.woocommerce-message { border-left-color: var(--success); }
.woocommerce-info { border-left-color: var(--accent); }
.woocommerce-error { border-left-color: var(--error); }
.woocommerce-message::before { color: var(--success); }
.woocommerce-info::before { color: var(--accent); }
.woocommerce-error::before { color: var(--error); }
.woocommerce table.shop_table { overflow: hidden; border-color: var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 .5rem 1.5rem rgb(8 29 48 / .045); }
.woocommerce table.shop_table th { color: var(--dark); }
.woocommerce-cart table.cart img { width: 5rem; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { border: 1px solid rgb(47 111 168 / .14); border-radius: 1rem; padding: clamp(1rem, 3vw, 1.5rem); background: #fff; box-shadow: var(--shadow-soft); }
.woocommerce-checkout .col2-set { margin-bottom: 1.5rem; }
.woocommerce-checkout .entry-content > *, .woocommerce-cart .entry-content > * { max-width: none; }
.woocommerce form .form-row { margin: 0 0 1rem; }
.woocommerce form .form-row label { line-height: 1.4; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--line); border-radius: var(--radius); }
.select2-container .select2-selection--single { height: 2.75rem; border-color: var(--control-border); }
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  outline: .1875rem solid var(--focus);
  outline-offset: .125rem;
  box-shadow: 0 0 0 .3125rem #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 2.65rem; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 2.65rem; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { min-height: 2.75rem; display: flex; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a { color: var(--dark); font-weight: 800; }
.elins-cart-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 1rem; }
.elins-cart-scroll:focus-visible { outline-offset: -.1875rem; }

@media (min-width: 56.01rem) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(20rem, .8fr); align-items: start; gap: 1rem clamp(1.5rem, 4vw, 3rem); }
  .woocommerce-checkout .woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; grid-row: 1; }
  .woocommerce-checkout #customer_details { grid-column: 1; grid-row: 2 / span 2; }
  .woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 2; margin: 0; }
  .woocommerce-checkout #order_review { position: sticky; grid-column: 2; grid-row: 3; top: 8.5rem; }
  .woocommerce div.product div.summary { position: sticky; top: 8.5rem; }
}

/* Generic content */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid rgb(71 215 255 / .14); padding-block: clamp(2.5rem, 5vw, 5rem); background: radial-gradient(circle at 82% 18%, rgb(40 183 244 / .2), transparent 23rem), linear-gradient(125deg, #071929, #0d304b); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: linear-gradient(rgb(113 200 246 / .24) 1px, transparent 1px), linear-gradient(90deg, rgb(113 200 246 / .24) 1px, transparent 1px); background-size: 3.5rem 3.5rem; mask-image: linear-gradient(90deg, #000, transparent 80%); }
.page-hero > * { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c5d7e4; }
.page-content { padding-block: clamp(2.5rem, 6vw, 5rem); }
.entry-content > * { max-width: 52rem; }
.entry-content > .alignwide { max-width: 72rem; }
.entry-content > .alignfull { max-width: none; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .65rem; text-align: left; }
.navigation.pagination { margin-top: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .35rem; }
.nav-links .page-numbers { min-width: 2.75rem; min-height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; text-decoration: none; }
.nav-links .current { border-color: var(--accent); background: var(--accent); color: #fff; }
.search-result-count { margin: 0 0 1.25rem; color: var(--muted); font-weight: 650; }
.search-results-list { display: grid; gap: 1rem; }
.search-result { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.search-result h2 { font-size: 1.25rem; }
.empty-state { max-width: 48rem; border: 1px solid rgb(47 111 168 / .13); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2rem); background: linear-gradient(145deg, #fff, var(--surface)); box-shadow: var(--shadow-soft); }
.empty-state .product-search { margin-top: 1.25rem; }

.expert-cta { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem); background: #fff; }
.expert-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 30%, rgb(40 183 244 / .11), transparent 24rem); }
.expert-cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); overflow: hidden; border: 1px solid rgb(71 215 255 / .2); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); background: radial-gradient(circle at 85% 15%, rgb(40 183 244 / .2), transparent 18rem), linear-gradient(125deg, #071929, #0d304b); box-shadow: 0 1.5rem 4rem rgb(8 29 48 / .16); }
.expert-cta__inner::after { content: ""; position: absolute; top: 0; right: 8%; bottom: 0; width: 1px; background: linear-gradient(transparent, rgb(71 215 255 / .48), transparent); transform: rotate(28deg); }
.expert-cta h2 { max-width: 46rem; color: #fff; }
.expert-cta p:not(.section-kicker) { max-width: 44rem; margin: 0; color: #c5d7e4; }
.expert-cta .section-kicker { color: #8bdcff !important; }
.expert-cta .button { z-index: 1; min-width: 10rem; }
.expert-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }

/* Footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; margin-top: auto; background: linear-gradient(125deg, #061725, #0a263d 60%, #0d304b); color: #d8e0e8; }
.site-footer::before { content: "ELINS"; position: absolute; z-index: -1; right: -1vw; bottom: -6vw; color: transparent; font-size: clamp(9rem, 27vw, 30rem); font-weight: 900; line-height: .75; letter-spacing: -.08em; -webkit-text-stroke: 1px rgb(139 220 255 / .08); pointer-events: none; }
.site-footer::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .12; background-image: linear-gradient(rgb(139 220 255 / .18) 1px, transparent 1px), linear-gradient(90deg, rgb(139 220 255 / .18) 1px, transparent 1px); background-size: 3.5rem 3.5rem; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: 3.5rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { color: #e9f4ff; text-decoration-color: rgb(139 220 255 / .32); }
.site-footer a:hover { color: #8bdcff; }
.footer-brand p { max-width: 28rem; color: #b8c7d4; }
.footer-nav { margin: 0; padding: 0; list-style: none; }
.footer-nav li { margin-block: .45rem; }
.footer-meta { border-top: 1px solid rgb(255 255 255 / .14); }
.footer-meta__inner { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #b8c7d4; font-size: .8125rem; }
.footer-meta p { margin: 0; }

.motion-ready [data-reveal] { opacity: 0; transform: translateY(1rem); transition: opacity 500ms var(--ease) var(--reveal-delay, 0ms), transform 500ms var(--ease) var(--reveal-delay, 0ms); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes utilitySweep {
  0%, 72%, 100% { transform: translateX(-100%); }
  86% { transform: translateX(100%); }
}

@media (max-width: 72rem) {
  .header-main__inner { grid-template-columns: 11rem minmax(14rem, 1fr) auto; gap: 1rem; }
  .header-action__label { display: none; }
  .home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .woocommerce ul.products, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 56rem) {
  .site-header { background: rgb(255 255 255 / .985); backdrop-filter: none; }
  .hero-aside { backdrop-filter: none; }
  .catalog-hero__glow { display: none; }
  html { scroll-padding-top: 5rem; }
  .utility-links, .catalog-nav { display: none; }
  .utility-bar__inner { justify-content: center; text-align: center; }
  .header-main__inner { min-height: auto; grid-template-columns: 1fr auto auto; gap: .5rem; padding-block: .75rem; }
  .site-logo { width: 8.25rem; max-height: 3.75rem; }
  .header-main__search { grid-column: 1 / -1; grid-row: 2; }
  .menu-toggle { display: grid; place-items: center; }
  .no-js .menu-toggle { display: none; }
  .no-js .nojs-nav { display: block; }
  .catalog-hero__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-aside { max-width: 38rem; }
  .feature-strip__grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-item:last-child { border-bottom: 0; }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-shell { grid-template-columns: 1fr; }
  .has-js .filter-toggle { width: fit-content; display: inline-flex; }
  .shop-sidebar { width: min(29rem, 100%); height: 100dvh; max-height: none; margin: 0 0 0 auto; border: 0; padding: 0; overflow: hidden; overscroll-behavior: contain; background: #fff; color: var(--body); box-shadow: -1rem 0 3rem rgb(11 31 51 / .2); }
  .shop-sidebar[open] { position: fixed; inset: 0 0 0 auto; display: block; }
  .shop-sidebar::backdrop { background: rgb(11 31 51 / .64); }
  .shop-sidebar__inner { position: static; height: calc(100dvh - 4.8rem); overflow: auto; overscroll-behavior: contain; padding: 0 1rem 1rem; }
  .filter-dialog__head { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 1rem; }
  .filter-dialog__head h2 { margin: 0; font-size: 1.25rem; }
  .filter-dialog__close { width: 2.75rem; height: 2.75rem; flex: 0 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--body); font-size: 1.5rem; }
  .no-js .shop-sidebar { width: auto; height: auto; margin: 0; border: 1px solid var(--line); padding: 1rem; overflow: visible; box-shadow: none; }
  .no-js .shop-sidebar[open] { position: static; inset: auto; }
  .no-js .shop-sidebar__inner { height: auto; overflow: visible; padding: 0; }
  .no-js .filter-dialog__head { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
}

@media (max-width: 48.875rem) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 40rem) {
  html { scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--content)); }
  .section { padding-block: 2.5rem; }
  .header-action--cart { padding-inline: .6rem; }
  .catalog-hero__inner { padding-block: 2.75rem; }
  .hero-aside { padding: 1rem; }
  .home-category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 7rem; }
  .woocommerce ul.products, .product-grid { grid-template-columns: 1fr; gap: .65rem; }
  .product-card__body { padding: .75rem; }
  .product-card__specs { display: none; }
  .product-card__title { min-height: 3.75em; font-size: .9375rem; }
  .product-card__price { font-size: 1rem; }
  .shop-head, .shop-toolbar, .section-head { align-items: flex-start; flex-direction: column; }
  .expert-cta__inner { grid-template-columns: 1fr; }
  .expert-cta__actions { justify-content: flex-start; }
  .woocommerce .woocommerce-ordering, .woocommerce .woocommerce-ordering select { width: 100%; }
  .woocommerce div.product form.cart { flex-wrap: wrap; }
  .woocommerce div.product form.cart .button { flex: 1; }
  .single-product .site-main { padding-bottom: 5.5rem; }
  .elins-mobile-buy-bar { position: fixed; z-index: 95; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem; border-top: 1px solid var(--line); padding: .65rem max(.65rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left)); background: #fff; box-shadow: 0 -.5rem 1.5rem rgb(11 31 51 / .12); }
  .has-js .elins-mobile-buy-bar { transform: translateY(115%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform var(--transition), opacity var(--transition), visibility var(--transition); }
  .has-js .elins-mobile-buy-bar.is-visible { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .elins-mobile-buy-bar__price { min-width: 0; overflow: hidden; color: var(--dark); font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 2.5rem; }
  .footer-brand, .footer-grid > :last-child { grid-column: auto; }
  .footer-meta__inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1rem; }
  .single-product :where(a, button, input, select, textarea, [tabindex]):focus { scroll-margin-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

@media (min-width: 100rem) {
  .container { width: min(calc(100% - 4rem), var(--content)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .scroll-progress { display: none; }
  .motion-ready [data-reveal], .motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }
  .category-card:hover, .category-card:focus-visible, .product-card:hover, .product-card:focus-within { transform: none; }
  .product-card:hover .product-card__media img { transform: none; }
}

@media print {
  .utility-bar, .header-actions, .header-main__search, .catalog-nav, .site-footer, .elins-mobile-buy-bar, .woocommerce a.button { display: none !important; }
  .site-header { border: 0; }
  a { color: inherit; text-decoration: none; }
}
