:root {
  color-scheme: dark;
  --bg-base: #07110f;
  --bg-deep: #040a09;
  --bg-surface: rgba(10, 24, 21, .9);
  --bg-card: rgba(14, 31, 27, .88);
  --jade: #55e0b2;
  --jade-bright: #79f2ca;
  --aqua: #69eaff;
  --text-main: #f4fbf8;
  --text-muted: #9ab3aa;
  --border: rgba(109, 233, 196, .17);
  --border-bright: rgba(109, 233, 196, .42);
  --danger: #ff819d;
  --shadow: 0 24px 70px rgba(0, 0, 0, .36);
  --promo-banner-height: 39px;
  --site-header-height: 70px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; position: relative; isolation: isolate;
  background: radial-gradient(ellipse at 50% -20%, #173c33 0%, var(--bg-base) 46%, var(--bg-deep) 100%);
  color: var(--text-main); font-family: "DM Sans", sans-serif;
}
body.modal-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
::selection { color: #04100d; background: var(--jade); }
.ambient { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(110px); opacity: .17; }
.ambient-one { width: 48vw; height: 50vw; left: -22vw; top: 18vh; background: #11c995; }
.ambient-two { width: 42vw; height: 45vw; right: -24vw; top: 62vh; background: #12b9d3; opacity: .12; }
#cyber-wipe { position: fixed; inset: 0; z-index: 2999; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(105,234,255,.25), rgba(85,224,178,.1), transparent 70%); transition: opacity .22s; }
#cyber-wipe.active { opacity: 1; }
#cyber-toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 9999; max-width: min(90vw, 380px); padding: 12px 16px;
  border: 1px solid var(--border-bright); border-radius: 13px; color: var(--text-main);
  background: rgba(7,19,16,.96); box-shadow: 0 14px 36px rgba(0,0,0,.35); font-size: 12px; font-weight: 700;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .22s, transform .22s; backdrop-filter: blur(16px);
}
#cyber-toast.show { opacity: 1; transform: translateY(0); }
.top-banner {
  position: sticky; top: 0; z-index: 1001; width: 100%; height: var(--promo-banner-height); display: block; overflow: hidden; isolation: isolate;
  color: #e8fff6; background: linear-gradient(110deg,#07110f 0%,#0b3026 24%,#082018 50%,#0d3e30 76%,#07110f 100%);
  background-size: 300% 100%; border-bottom: 1px solid rgba(85,224,178,.24); font-size: 10px; letter-spacing: .035em; text-decoration: none;
  animation: banner-gradient-wave 7s ease-in-out infinite alternate;
}
.top-banner::before { position: absolute; z-index: 0; inset: 0; content: ""; pointer-events: none; opacity: .8; background: linear-gradient(110deg,transparent 0%,rgba(78,236,185,.05) 34%,rgba(105,255,218,.34) 50%,rgba(78,236,185,.08) 66%,transparent 100%); background-size: 220% 100%; animation: banner-light-wave 4.2s ease-in-out infinite; mix-blend-mode: screen; }
.promo-marquee { position: relative; z-index: 1; display: flex; width: 100%; height: 100%; overflow: hidden; align-items: center; }
.promo-track { display: flex; flex: 0 0 auto; width: max-content; height: 100%; align-items: center; animation: promo-loop 22s linear infinite; will-change: transform; }
.promo-sequence { display: flex; flex: 0 0 auto; align-items: center; }
.promo-group { display: flex; flex: 0 0 auto; align-items: center; padding-right: clamp(42px,8vw,112px); }
.promo-message { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.promo-message > i, .promo-message strong { color: var(--jade-bright); }
.promo-message b { color: #c8ffe9; letter-spacing: .11em; }
.promo-cta { display: inline-flex; align-items: center; gap: 7px; margin-left: 7px; color: #b8e9d6; font-size: 10px; font-weight: 700; }
.promo-cta i { color: var(--jade-bright); transition: transform .25s ease; }
.top-banner:hover .promo-cta i { transform: translateX(4px); }
.top-banner:hover { border-bottom-color: rgba(105,255,218,.55); }
@keyframes promo-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes banner-gradient-wave { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes banner-light-wave { from { background-position: 120% 50%; opacity: .45; } 50% { opacity: 1; } to { background-position: -20% 50%; opacity: .45; } }
.text-link, .hero-link, .footer-tools-link { border: 0; padding: 0; background: none; color: var(--jade-bright); cursor: pointer; font-size: 9px; font-weight: 800; }
.text-link:hover, .hero-link:hover, .footer-tools-link:hover { color: var(--aqua); }
.site-header {
  position: sticky; top: var(--promo-banner-height); z-index: 1000; min-height: 70px; padding: 11px max(22px, calc((100vw - 1280px)/2));
  display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--border);
  background: rgba(6,17,14,.86); backdrop-filter: blur(22px);
}
.logo { display: flex; align-items: center; gap: 4px; border: 0; color: var(--text-main); background: none; cursor: pointer; font: 700 18px "Space Grotesk", sans-serif; letter-spacing: -.07em; }
.logo b { color: var(--jade); }
.logo small { color: var(--text-muted); font-size: 12px; letter-spacing: -.02em; }
.logo-mark, .profile-large-avatar {
  display: inline-grid; place-items: center; flex: 0 0 auto; color: #06120f; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  background: linear-gradient(145deg, var(--jade-bright), #34ad8b); box-shadow: 0 0 24px rgba(85,224,178,.18);
}
.logo-mark { width: 26px; height: 26px; margin-right: 6px; border-radius: 8px; font-size: 14px; }
.header-nav-links { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--border); border-radius: 12px; background: rgba(6,18,15,.72); }
.nav-btn { border: 0; border-radius: 8px; padding: 9px 14px; color: var(--text-muted); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; transition: .2s; }
.nav-btn:hover, .nav-btn.active { color: var(--text-main); background: rgba(85,224,178,.12); }
.nav-btn.active { box-shadow: inset 0 0 0 1px rgba(85,224,178,.16); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .profile-avatar-btn {
  position: relative; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 11px; color: var(--text-muted); background: rgba(12,29,25,.9); cursor: pointer; transition: .2s;
}
.icon-btn:hover, .profile-avatar-btn:hover { color: var(--jade-bright); border-color: var(--border-bright); transform: translateY(-1px); }
.icon-count { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--bg-base); border-radius: 99px; color: #03110c; background: var(--jade); font-size: 9px; font-weight: 800; }
.profile-menu-container { position: relative; }
.profile-avatar-btn { width: 39px; height: 39px; border-radius: 50%; color: #06120f; border-color: rgba(121,242,202,.65); background: linear-gradient(145deg, var(--jade-bright), #24a985); font: 800 11px "Space Grotesk", sans-serif; }
.profile-dropdown { position: absolute; right: 0; top: 50px; z-index: 2001; width: 235px; display: none; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--border-bright); border-radius: 15px; background: rgba(7,19,16,.98); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.profile-dropdown.show { display: flex; }
.dropdown-user-info { padding: 8px 10px; }
.dropdown-user-info strong { display: block; font-size: 12px; }
.dropdown-user-info span { color: var(--jade); font-size: 9px; font-weight: 800; }
.dropdown-divider { height: 1px; margin: 4px 0; background: var(--border); }
.dropdown-link { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 0; border-radius: 8px; text-align: left; color: var(--text-muted); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.dropdown-link:hover { color: var(--text-main); background: rgba(85,224,178,.1); }
.dropdown-link i { width: 14px; color: var(--jade); }
.wrapper { width: min(1280px,100%); flex: 1; margin: 0 auto; padding: 30px 26px 70px; }
.page-section { display: none; animation: sectionIn .34s ease both; }
.page-section.active { display: block; }
@keyframes sectionIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hero-center { max-width: 850px; margin: 40px auto 26px; text-align: center; }
.hero-tagline-sub, .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--jade); font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jade-bright); box-shadow: 0 0 12px var(--jade); }
.hero-center h1 { margin: 15px 0 13px; color: var(--text-main); font: 700 clamp(40px,7vw,76px)/.98 "Space Grotesk",sans-serif; letter-spacing: -.075em; }
.hero-center h1 span { color: var(--jade); }
.hero-desc { max-width: 560px; margin: 0 auto 24px; color: var(--text-muted); font-size: 12px; line-height: 1.7; }
.central-search-box { max-width: 580px; min-height: 51px; margin: 0 auto 16px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid var(--border-bright); border-radius: 13px; background: rgba(9,25,21,.86); box-shadow: 0 0 40px rgba(50,202,156,.08); transition: .2s; }
.central-search-box:focus-within { border-color: var(--jade); box-shadow: 0 0 0 4px rgba(85,224,178,.08), 0 0 42px rgba(50,202,156,.14); }
.central-search-box > i { color: var(--jade); }
.central-search-box input { width: 100%; padding: 12px 0; outline: 0; border: 0; color: var(--text-main); background: transparent; font-size: 12px; }
.central-search-box input::placeholder, .text-input::placeholder, .search-box-inline input::placeholder { color: #718b81; }
.ctrl-k-badge { padding: 4px 7px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); font-size: 8px; font-weight: 800; white-space: nowrap; }
.hero-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 9px; letter-spacing: .04em; }
.hero-link:hover { color: var(--jade); }
.categories-bar-horizontal { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 28px 0 50px; }
.cat-pill, .cat-btn { border: 1px solid var(--border); color: var(--text-muted); background: rgba(12,29,25,.73); cursor: pointer; font-size: 9px; font-weight: 700; white-space: nowrap; transition: .2s; }
.cat-pill { padding: 9px 13px; border-radius: 99px; }
.cat-btn { padding: 8px 11px; border-radius: 8px; }
.cat-sub-btn { padding: 7px 11px; border: 1px solid rgba(121,242,202,.18); border-radius: 99px; color: var(--text-muted); background: rgba(7,19,16,.6); font-size: 10px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: .2s; }
.cat-sub-btn:hover, .cat-sub-btn.active { color: var(--jade-bright); border-color: var(--border-bright); background: rgba(85,224,178,.1); }
.cat-pill:hover, .cat-btn:hover { color: var(--jade-bright); border-color: var(--border-bright); transform: translateY(-1px); }
.cat-pill.active, .cat-btn.active { color: var(--jade-bright); border-color: rgba(85,224,178,.52); background: rgba(85,224,178,.11); box-shadow: 0 0 19px rgba(85,224,178,.07); }
.home-discovery-block { margin: 0 0 43px; animation: homeReveal .65s cubic-bezier(.2,.8,.2,1) both; }
.home-discovery-block:nth-of-type(2) { animation-delay: .06s; }
.home-featured-block { animation-delay: .12s; }
@keyframes homeReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.home-rail-heading { align-items: center; margin-bottom: 14px; }
.rail-controls { display: flex; gap: 7px; }
.rail-arrow { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--jade-bright); background: rgba(21,17,31,.8); cursor: pointer; transition: transform .22s,border-color .22s,background .22s,box-shadow .22s; }
.rail-arrow:hover { transform: translateY(-2px) scale(1.06); border-color: var(--jade); background: rgba(85,224,178,.13); box-shadow: 0 0 22px rgba(85,224,178,.18); }
.home-category-rail,.home-featured-rail { display: flex; gap: 13px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(85,224,178,.48) transparent; padding: 3px 2px 13px; }
.home-category-tile { position: relative; flex: 0 0 clamp(112px,12vw,150px); height: 156px; display: flex; align-items: end; overflow: hidden; scroll-snap-align: start; border: 1px solid rgba(121,242,202,.18); border-radius: 16px; isolation: isolate; color: white; background: #21192a; cursor: pointer; text-align: left; transition: transform .28s cubic-bezier(.2,.8,.2,1),border-color .28s,box-shadow .28s; }
.home-category-product { position: absolute; inset: 0 0 19px; z-index: -2; background-image: url("assets/category-cutouts.png"); background-repeat: no-repeat; background-size: 400% 400%; background-position: var(--sprite-x) var(--sprite-y); transition: transform .5s cubic-bezier(.2,.8,.2,1),filter .3s; }
.home-category-product-image { position: absolute; inset: 0 0 19px; z-index: -2; width: 100%; height: calc(100% - 19px); object-fit: contain; padding: 7px; transition: transform .5s cubic-bezier(.2,.8,.2,1),filter .3s; }
.home-category-tile:hover { transform: translateY(-5px); border-color: var(--jade-bright); box-shadow: 0 13px 28px rgba(0,0,0,.28),0 0 24px rgba(85,224,178,.13); }
.home-category-tile:hover .home-category-product { transform: scale(1.08); }
.home-category-tile:hover .home-category-product-image { transform: scale(1.08); }
.home-category-shade { position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(transparent,rgba(8,6,13,.88)); }
.home-category-label { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 11px; font: 700 12px "Space Grotesk",sans-serif; text-shadow: 0 2px 9px rgba(0,0,0,.6); }
.home-category-label i { color: var(--jade-bright); font-size: 9px; opacity: 0; transform: translateX(-5px); transition: .24s; }
.home-category-tile:hover .home-category-label i { opacity: 1; transform: translateX(0); }
.home-category-icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--jade-bright); font-size: 38px; background: radial-gradient(circle at 50% 38%,rgba(85,224,178,.17),transparent 65%),#21192a; }
.rail-subtitle { margin-top: 5px; color: var(--text-muted); font-size: 9px; }
.home-featured-rail { gap: 14px; }
.home-featured-card { flex: 0 0 clamp(210px,23vw,270px); scroll-snap-align: start; animation: cardPop .6s cubic-bezier(.2,.8,.2,1) both; }
.home-featured-card:nth-child(2) { animation-delay: .035s; }.home-featured-card:nth-child(3) { animation-delay: .07s; }.home-featured-card:nth-child(4) { animation-delay: .105s; }.home-featured-card:nth-child(5) { animation-delay: .14s; }.home-featured-card:nth-child(6) { animation-delay: .175s; }
@keyframes cardPop { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.home-featured-card .product-card { height: 100%; }
.home-featured-card .card-media { aspect-ratio: 1/.88; background: #fff; }
.home-featured-card .card-media img { object-fit: contain; padding: 10px; background: #fff; }
.home-featured-card .product-card:hover .card-media img { transform: scale(1.055); }
.card-media { background: #fff; }
.product-card:hover .card-media img { transform: scale(1.035); }
.section-block-title { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 0 0 17px; }
.section-block-title h2 { margin-top: 5px; font: 700 24px "Space Grotesk",sans-serif; letter-spacing: -.045em; }
.text-link { font-size: 9px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 14px; }
.product-card { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(160deg,rgba(17,38,32,.96),rgba(8,20,17,.96)); box-shadow: 0 10px 26px rgba(0,0,0,.16); transition: transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s ease; }
.product-card:hover { transform: translateY(-3px); border-color: var(--border-bright); }
.card-media { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 1/1.05; overflow: hidden; border: 0; background: #12231f; cursor: pointer; }
.card-media img { display: block; width: 100%; height: 100%; padding: 8px; object-fit: contain; background: #fff; transition: transform .32s ease; }
.product-card:hover .card-media img { transform: scale(1.035); }
.product-category-tag { position: absolute; top: 9px; left: 9px; max-width: calc(100% - 55px); overflow: hidden; padding: 5px 7px; border: 1px solid rgba(121,242,202,.2); border-radius: 7px; color: var(--jade-bright); background: rgba(4,15,12,.82); font-size: 7px; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; backdrop-filter: blur(8px); }
.qc-status-badge { position: absolute; right: 9px; bottom: 9px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 18px); overflow: hidden; padding: 6px 8px; border: 1px solid rgba(181,198,190,.24); border-radius: 999px; color: #d3ddd8; background: rgba(4,15,12,.88); font-size: 7px; font-weight: 800; letter-spacing: .035em; line-height: 1; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(9px); pointer-events: none; }
.qc-status-badge i { flex: 0 0 auto; }
.qc-status-badge.qc-hidden { border-color: rgba(181,198,190,.24); color: #c3cec8; }
.qc-status-badge.qc-pending { border-color: rgba(242,190,94,.45); color: #f5d28b; }
.qc-status-badge.qc-visible { border-color: rgba(85,224,178,.58); color: var(--jade-bright); box-shadow: 0 0 14px rgba(85,224,178,.14); }
.wishlist-btn-corner { position: absolute; z-index: 2; top: 9px; right: 9px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; background: rgba(5,13,11,.72); cursor: pointer; backdrop-filter: blur(8px); transition: .2s; }
.wishlist-btn-corner:hover, .wishlist-btn-corner.active { color: var(--jade-bright); border-color: var(--jade); background: rgba(9,39,30,.92); transform: scale(1.06); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 11px 12px; }
.card-title { min-height: 34px; margin-bottom: 4px; font: 700 11px/1.45 "Space Grotesk",sans-serif; }
.card-meta { margin-bottom: 7px; color: var(--text-muted); font-size: 8px; }
.card-sizes { min-height: 17px; margin-bottom: 9px; color: #bdd0c8; font-size: 8px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(121,242,202,.1); }
.card-price { color: var(--jade-bright); font: 700 11px "Space Grotesk",sans-serif; white-space: nowrap; }
.card-category { color: var(--text-muted); font-size: 7px; text-align: right; }
.empty-state { grid-column: 1/-1; padding: 42px 15px; border: 1px dashed var(--border-bright); border-radius: 14px; color: var(--text-muted); text-align: center; font-size: 11px; }
.archive-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin: 31px 0 25px; animation: archiveReveal .42s cubic-bezier(.2,.8,.2,1) both; }
.archive-heading h1, .tools-heading h1 { margin: 7px 0 9px; font: 700 clamp(36px,5.3vw,56px)/1 "Space Grotesk",sans-serif; letter-spacing: -.065em; }
.archive-heading p, .tools-heading p { max-width: 560px; color: var(--text-muted); font-size: 11px; line-height: 1.7; }
.archive-count { display: grid; align-items: end; justify-items: end; gap: 0; color: var(--text-muted); font-size: 10px; }
.archive-count-label { color: var(--jade); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.archive-count strong { color: var(--jade-bright); font: 700 clamp(30px,4vw,42px)/1 "Space Grotesk",sans-serif; letter-spacing: -.06em; }
.archive-browser { position: relative; isolation: isolate; overflow: hidden; margin-bottom: 28px; padding: 19px; border: 1px solid rgba(121,242,202,.22); border-radius: 20px; background: linear-gradient(142deg,rgba(35,24,46,.97),rgba(15,24,23,.98) 63%,rgba(8,29,24,.97)); box-shadow: 0 15px 40px rgba(0,0,0,.2); animation: archiveReveal .48s cubic-bezier(.2,.8,.2,1) .04s both; }
.archive-browser::before { position: absolute; z-index: -1; top: -130px; right: -90px; width: 360px; height: 260px; content: ""; pointer-events: none; background: radial-gradient(ellipse,rgba(52,211,167,.13),transparent 69%); }
.archive-browser-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.archive-browser-title { display: flex; align-items: center; gap: 13px; }
.archive-browser-index { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(85,224,178,.3); border-radius: 13px; color: var(--jade-bright); background: rgba(85,224,178,.08); font: 700 13px "Space Grotesk",sans-serif; }
.archive-browser-title .eyebrow { margin-bottom: 4px; }
.archive-browser-title h2 { margin: 0; font: 700 18px/1.2 "Space Grotesk",sans-serif; letter-spacing: -.035em; }
.archive-browser-title p { margin-top: 4px; color: var(--text-muted); font-size: 9px; line-height: 1.5; }
.archive-search { width: min(310px,40%); }
.archive-search input { min-height: 43px; padding: 10px 34px 10px 35px; border-radius: 11px; background: rgba(11,10,18,.56); font-size: 10px; }
.archive-search i { left: 13px; font-size: 11px; }
.archive-search kbd { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); padding: 3px 5px; border: 1px solid rgba(177,193,186,.19); border-radius: 5px; color: var(--text-muted); background: rgba(255,255,255,.04); font: 700 8px "DM Sans",sans-serif; }
.category-directory { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.category-all-card { grid-column: 1/-1; min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid rgba(85,224,178,.24); border-radius: 13px; color: var(--text-main); background: linear-gradient(100deg,rgba(85,224,178,.11),rgba(255,255,255,.025) 46%,rgba(105,234,255,.045)); cursor: pointer; text-align: left; transition: transform .18s ease,border-color .18s ease,background-color .18s ease; }
.category-all-card:hover { transform: translateY(-2px); border-color: var(--jade-bright); }
.category-all-card.is-active { border-color: var(--jade-bright); background: linear-gradient(100deg,rgba(85,224,178,.19),rgba(255,255,255,.035) 55%,rgba(105,234,255,.07)); }
.category-all-mark { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(85,224,178,.27); border-radius: 10px; color: var(--jade-bright); background: rgba(85,224,178,.1); }
.category-all-card > span:first-child { display: grid; gap: 3px; }
.category-all-card strong { font: 700 12px "Space Grotesk",sans-serif; }
.category-all-card small { color: var(--text-muted); font-size: 8px; }
.category-all-count { display: grid; gap: 1px; margin-left: auto; color: var(--jade-bright); font: 700 16px "Space Grotesk",sans-serif; text-align: right; }
.category-all-count small { font: 700 7px "DM Sans",sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.category-all-arrow { margin-left: 4px; color: var(--jade-bright); font-size: 11px; transition: transform .18s ease; }
.category-all-card:hover .category-all-arrow { transform: translateX(3px); }
.category-group { min-width: 0; padding: 12px; border: 1px solid rgba(169,149,190,.15); border-radius: 14px; background: rgba(9,11,17,.36); animation: archiveGroupIn .32s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--category-order,0) * 24ms); transition: transform .18s ease,border-color .18s ease,background-color .18s ease; }
.category-group:hover { transform: translateY(-2px); border-color: rgba(121,242,202,.35); background: rgba(14,20,21,.58); }
.category-group.is-active,.category-group.has-active { border-color: rgba(85,224,178,.47); background: linear-gradient(145deg,rgba(37,106,83,.14),rgba(18,14,25,.42)); }
.category-group-title { width: 100%; display: flex; align-items: center; gap: 9px; padding: 0 0 10px; border: 0; border-bottom: 1px solid rgba(169,149,190,.12); color: var(--text-main); background: transparent; cursor: pointer; text-align: left; }
.category-group-icon { width: 31px; height: 31px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(85,224,178,.2); border-radius: 10px; color: var(--jade-bright); background: rgba(85,224,178,.075); font-size: 11px; }
.category-group:nth-child(3n+1) .category-group-icon { color: #9ee8ff; border-color: rgba(105,234,255,.22); background: rgba(105,234,255,.07); }
.category-group-name { min-width: 0; display: grid; gap: 2px; }
.category-group-name strong { font: 700 12px "Space Grotesk",sans-serif; letter-spacing: -.01em; }
.category-group-name small { color: var(--text-muted); font-size: 8px; }
.category-group-count { display: grid; min-width: 28px; height: 24px; place-items: center; margin-left: auto; padding: 0 6px; border: 1px solid rgba(169,149,190,.14); border-radius: 7px; color: var(--text-muted); background: rgba(255,255,255,.025); font: 700 9px "Space Grotesk",sans-serif; }
.category-group.is-active .category-group-count,.category-group.has-active .category-group-count { color: var(--jade-bright); border-color: rgba(85,224,178,.25); background: rgba(85,224,178,.08); }
.category-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.category-filter-chip { min-height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid rgba(169,149,190,.16); border-radius: 8px; color: #c7c1ce; background: rgba(11,10,17,.48); cursor: pointer; font-size: 9px; font-weight: 600; line-height: 1.2; transition: transform .16s ease,color .16s ease,border-color .16s ease,background-color .16s ease; }
.category-filter-chip:hover { transform: translateY(-1px); color: var(--text-main); border-color: rgba(121,242,202,.45); background: rgba(85,224,178,.07); }
.category-filter-chip.is-active { color: #061710; border-color: rgba(119,244,205,.68); background: linear-gradient(105deg,#8af3cc,#44d3ab); }
.category-filter-chip small { min-width: 15px; padding: 2px 4px; border-radius: 5px; color: var(--text-muted); background: rgba(255,255,255,.055); font-size: 7px; text-align: center; }
.category-filter-chip.is-active small { color: rgba(6,23,16,.73); background: rgba(6,23,16,.09); }
.category-group-note { display: block; padding-top: 12px; color: var(--text-muted); font-size: 8px; }
.archive-results-heading { display: flex; align-items: end; justify-content: space-between; margin: 28px 0 15px; }
.archive-results-heading h2 { margin-top: 4px; font: 700 22px "Space Grotesk",sans-serif; letter-spacing: -.04em; }
.archive-results-heading .eyebrow { font-size: 8px; }
@keyframes archiveReveal { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes archiveGroupIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.tools-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 1240px; align-items: start; }
.shipping-result { display: grid; gap: 4px; margin-top: 16px; padding: 13px; border: 1px solid var(--border-bright); border-radius: 11px; background: rgba(85,224,178,.07); }
.shipping-result span, .shipping-result small { color: var(--text-muted); font-size: 8px; }
.shipping-result strong { color: var(--jade-bright); font: 700 21px "Space Grotesk",sans-serif; }
.shipping-mode-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; margin:7px 0 14px; padding:4px; border:1px solid var(--border); border-radius:12px; background:rgba(8,13,19,.55); }
.shipping-mode-btn { min-height:36px; padding:6px 9px; border:1px solid transparent; border-radius:9px; color:var(--text-muted); background:transparent; cursor:pointer; font:700 10px "DM Sans",sans-serif; transition:color .18s,border-color .18s,background .18s,box-shadow .18s; }
.shipping-mode-btn:hover { color:var(--text-main); }
.shipping-mode-btn.active { color:#071710; border-color:rgba(119,244,205,.65); background:linear-gradient(105deg,#8af3cc,#44d3ab); box-shadow:0 5px 15px rgba(57,210,164,.13); }
.shipping-card .input-label { margin-top:18px; font-size:11px; }
.shipping-card .text-input, .shipping-card .agent-select { min-height:48px; padding:12px 14px; font-size:13px; }
.shipping-live-tag { display:inline-flex; align-items:center; gap:6px; padding:5px 8px; border:1px solid var(--border); border-radius:20px; color:var(--jade-bright); font-size:9px; }
.shipping-live-tag > span { width:5px; height:5px; border-radius:50%; background:currentColor; }
.shipping-weight-input { position:relative; }
.shipping-weight-input .text-input { width:100%; padding-right:42px; font:600 22px "Space Grotesk",sans-serif; }
.shipping-weight-input > span { position:absolute; right:15px; top:50%; transform:translateY(-50%); color:var(--text-muted); font-size:14px; pointer-events:none; }
.shipping-weight-input input::-webkit-inner-spin-button { -webkit-appearance:none; }
.shipping-weight-help { display:block; margin:7px 0 18px; color:var(--text-muted); font-size:10px; }
.shipping-card .shipping-mode-btn { min-height:40px; font-size:11px; }
.shipping-result { gap:6px; margin-top:17px; padding:15px; }
.shipping-result span { font-size:10px; }
.shipping-result strong { font-size:32px; letter-spacing:-.04em; line-height:1.3; }
.shipping-result small { font-size:10px; line-height:1.5; }
.shipping-breakdown { display:grid; gap:7px; padding:12px 0; margin:5px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.shipping-breakdown[hidden] { display:none; }
.shipping-breakdown > div { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.shipping-breakdown b { color:var(--text-main); font-size:11px; font-weight:600; }
.shipping-card .shipping-note { margin:13px 0 9px; color:var(--text-muted); font-size:10px; line-height:1.6; }
.shipping-source { display:inline-flex; align-items:center; gap:6px; color:var(--jade-bright); font-size:11px; text-decoration:none; }
.shipping-source:hover { text-decoration:underline; text-underline-offset:3px; }
.shipping-result.is-loading strong { color:var(--text-muted); }
.shipping-result.is-error { border-color:rgba(232,178,89,.45); background:rgba(232,178,89,.05); }
.shipping-result.is-error strong { color:var(--text-muted); }
:root[data-theme="light"] .shipping-mode-switch { background:rgba(15,35,25,.035); }
:root[data-theme="light"] .shipping-mode-btn.active { color:#071710; }
.search-box-inline { position: relative; display: block; flex: 0 0 auto; width: min(240px,100%); }
.search-box-inline i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--jade); font-size: 10px; }
.search-box-inline input { width: 100%; padding: 9px 10px 9px 30px; border: 1px solid var(--border); border-radius: 8px; outline: 0; color: var(--text-main); background: var(--bg-card); font-size: 9px; }
.search-box-inline input:focus { border-color: var(--jade); }
.tools-heading { max-width: 800px; margin: 32px auto 26px; text-align: center; }
.tools-heading h1 { font-size: clamp(31px,5vw,44px); }
.tools-heading p { max-width: 520px; margin: 0 auto; }
.tools-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.tool-card, .modal-content { border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg,rgba(15,34,29,.95),rgba(8,19,16,.96)); box-shadow: 0 16px 45px rgba(0,0,0,.2); }
.tool-card { padding: 21px; }
.tool-card h2 { margin: 12px 0 5px; font: 700 17px "Space Grotesk",sans-serif; letter-spacing: -.035em; }
.tool-card > p { min-height: 31px; margin-bottom: 14px; color: var(--text-muted); font-size: 9px; line-height: 1.55; }
.tool-card-heading { display: flex; align-items: center; justify-content: space-between; }
.tool-icon { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--border); border-radius: 9px; color: var(--jade); background: rgba(85,224,178,.1); }
.recommended-tag, .local-tag { padding: 5px 8px; border: 1px solid rgba(85,224,178,.22); border-radius: 99px; color: var(--jade-bright); background: rgba(85,224,178,.08); font-size: 7px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.local-tag { color: var(--aqua); border-color: rgba(105,234,255,.2); background: rgba(105,234,255,.06); }
.input-label { display: block; margin: 12px 0 6px; color: #c3d6ce; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.agent-select, .text-input { width: 100%; border: 1px solid var(--border); border-radius: 9px; outline: 0; color: var(--text-main); background: #0a1915; font-size: 10px; transition: border-color .2s,box-shadow .2s; }
.agent-select { min-height: 39px; padding: 0 11px; cursor: pointer; }
.text-input { min-height: 40px; padding: 10px 11px; }
.text-input:focus, .agent-select:focus { border-color: var(--jade); box-shadow: 0 0 0 3px rgba(85,224,178,.08); }
.text-input::placeholder { color: #718b81; }
.bulk-textarea { min-height: 165px; resize: vertical; line-height: 1.5; }
.btn-main-glow, .btn-sub-glass { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; border-radius: 9px; padding: 9px 13px; font-size: 9px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s,box-shadow .2s,border-color .2s,color .2s,background .2s; }
.btn-main-glow { border: 1px solid rgba(121,242,202,.5); color: #03130e; background: linear-gradient(125deg,var(--jade-bright),#39c69a 60%,#27ac95); box-shadow: 0 7px 22px rgba(37,177,137,.14); }
.btn-main-glow:hover { transform: translateY(-1px); box-shadow: 0 9px 26px rgba(37,177,137,.24),0 0 22px rgba(105,234,255,.12); }
.btn-main-glow:disabled, .btn-sub-glass:disabled { opacity: .46; cursor: not-allowed; }
.btn-sub-glass { border: 1px solid var(--border); color: var(--text-main); background: rgba(14,31,27,.9); }
.btn-sub-glass:hover { color: var(--jade-bright); border-color: var(--border-bright); background: rgba(85,224,178,.08); }
.full-width { width: 100%; margin-top: 10px; }
.output-box { margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(4,14,11,.76); font-size: 9px; }
.converted-link-row { display: flex; align-items: start; justify-content: space-between; gap: 9px; }
.converted-link-copy { min-width: 0; }
.converted-link-copy strong { display: block; margin-bottom: 5px; color: var(--jade-bright); font-size: 9px; }
.converted-link-copy a { display: block; overflow-wrap: anywhere; color: #d4e9e1; line-height: 1.5; }
.copy-one-btn { flex: 0 0 auto; min-height: 31px; padding: 6px 8px; font-size: 8px; }
.bulk-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.bulk-results { display: grid; gap: 6px; max-height: 360px; overflow-y: auto; margin-top: 11px; }
.bulk-result-row { min-width: 0; padding: 8px 9px; border: 1px solid var(--border); border-radius: 8px; background: rgba(4,14,11,.58); }
.bulk-result-top { display: flex; justify-content: space-between; gap: 7px; margin-bottom: 4px; }
.bulk-result-top strong { font-size: 8px; }
.bulk-result-status { color: var(--jade); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.bulk-result-status.error, .bulk-error { color: var(--danger); }
.bulk-result-url { display: block; overflow-wrap: anywhere; color: #b6d5c9; font-size: 8px; line-height: 1.4; }
.bulk-error { font-size: 8px; line-height: 1.45; }
.tools-footnote { max-width: 1000px; margin: 14px auto 0; color: var(--text-muted); font-size: 8px; line-height: 1.6; }
.tools-footnote i { margin-right: 4px; color: var(--aqua); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px max(26px,calc((100vw - 1280px)/2)); border-top: 1px solid var(--border); background: rgba(4,12,10,.75); }
.footer-brand { display: grid; grid-template-columns: 27px auto; align-items: center; column-gap: 7px; color: var(--text-main); font: 800 9px "Space Grotesk",sans-serif; letter-spacing: .1em; }
.footer-brand .logo-mark { grid-row: 1/span 2; margin: 0; }
.footer-brand small { color: var(--text-muted); font: 700 7px "DM Sans",sans-serif; letter-spacing: .16em; }
.site-footer > p { color: var(--text-muted); font: 600 9px "Space Grotesk",sans-serif; }
.modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(2,8,7,.83); backdrop-filter: blur(11px); }
.modal.is-open { display: flex; animation: modalIn .18s ease both; }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content { width: min(500px,100%); max-height: 92vh; overflow: auto; padding: 21px; }
.qc-notice-card { position: relative; width: min(460px,100%); padding: 29px 25px 23px; border-color: var(--border-bright); text-align: center; box-shadow: 0 22px 70px rgba(0,0,0,.48),0 0 40px rgba(85,224,178,.1); }
.qc-notice-close { position: absolute; top: 13px; right: 13px; }
.qc-notice-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 14px; border: 1px solid var(--border-bright); border-radius: 15px; color: var(--jade-bright); background: rgba(85,224,178,.1); font-size: 20px; box-shadow: 0 0 24px rgba(85,224,178,.12); }
.qc-notice-card > .eyebrow { margin-bottom: 8px; }
.qc-notice-card h2 { margin: 5px 34px 12px; font: 700 22px/1.2 "Space Grotesk",sans-serif; letter-spacing: -.04em; }
.qc-notice-card p { color: var(--text-muted); font-size: 11px; line-height: 1.65; }
.qc-notice-card .qc-notice-footnote { margin: 14px 0 20px; padding-top: 13px; border-top: 1px solid var(--border); font-size: 9px; }
.modal-content-large { width: min(970px,100%); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 13px; margin-bottom: 17px; border-bottom: 1px solid var(--border); }
.modal-header h2 { margin-top: 4px; font: 700 18px "Space Grotesk",sans-serif; letter-spacing: -.04em; }
.close-btn { width: 33px; height: 33px; border: 1px solid var(--border); border-radius: 9px; color: var(--text-muted); background: rgba(10,25,21,.8); font-size: 21px; cursor: pointer; }
.close-btn:hover { color: var(--jade-bright); border-color: var(--border-bright); }
.modal-product-body { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(260px,.92fr); gap: 22px; }
.modal-gallery { min-width: 0; }
.main-qc-preview { display: block; width: 100%; height: min(53vh,460px); overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: #0b1b17; cursor: zoom-in; }
.main-qc-preview img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.main-qc-preview:hover img { transform: scale(1.015); }
.gallery-controls { display: flex; justify-content: space-between; margin: 7px 2px; color: var(--text-muted); font-size: 8px; }
.qc-thumbnails { display: flex; gap: 7px; overflow-x: auto; padding: 2px 1px 7px; scrollbar-color: rgba(85,224,178,.34) transparent; scrollbar-width: thin; }
.qc-thumb { flex: 0 0 60px; width: 60px; height: 60px; overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 8px; opacity: .58; background: #11251f; cursor: pointer; transition: .2s; }
.qc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qc-thumb.active, .qc-thumb:hover { opacity: 1; border-color: var(--jade); transform: translateY(-1px); }
.modal-details-pane { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(121,242,202,.09); font-size: 9px; }
.spec-row span { color: var(--text-muted); }
.spec-row strong { text-align: right; }
.desc-box-title { margin: 13px 0 7px; color: #c8ded5; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.size-list { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 37px; min-height: 33px; padding: 6px 9px; border: 1px solid var(--border-bright); border-radius: 7px; color: var(--jade-bright); background: rgba(85,224,178,.08); font: 700 9px "Space Grotesk",sans-serif; }
.size-note { margin-top: 7px; color: var(--text-muted); font-size: 8px; line-height: 1.55; }
.modal-long-desc { color: #b0c3bb; font-size: 9px; line-height: 1.65; overflow-wrap: anywhere; }
.product-link-panel { padding: 11px; border: 1px solid var(--border); border-radius: 11px; background: rgba(4,14,11,.5); }
.product-link-panel .input-label { margin-top: 0; }
.modal-actions-box { display: flex; gap: 7px; margin-top: 8px; }
.modal-actions-box #modalBuyBtn { flex: 1; }
.wishlist-modal-btn { min-width: 42px; color: var(--jade-bright); }
.original-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--text-muted); font-size: 8px; text-decoration: none; }
.original-link:hover { color: var(--aqua); }
.profile-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.profile-large-avatar { width: 54px; height: 54px; border-radius: 50%; font-size: 17px; }
.profile-summary h3 { margin-bottom: 3px; font: 700 15px "Space Grotesk",sans-serif; }
.profile-summary span { color: var(--text-muted); font-size: 8px; }
.profile-auth-box { padding: 11px; border: 1px solid var(--border); border-radius: 11px; background: rgba(4,14,11,.48); }
.auth-provider-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.oauth-btn { flex: 1; min-width: 175px; }
.oauth-btn i { color: var(--jade); }
.auth-setup-hint { margin-top: 8px; color: var(--text-muted); font-size: 8px; line-height: 1.55; }
.auth-setup-hint.is-ready { color: var(--jade-bright); }
.profile-name-form { margin-top: 12px; }
.profile-name-row { display: flex; gap: 7px; }
.profile-name-row .text-input { flex: 1; min-width: 0; }
.collection-grid { max-height: min(64vh,650px); overflow-y: auto; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); padding: 2px; }
.collection-grid .card-media { aspect-ratio: 1/1; }
.profile-modal-card { width: min(510px,100%); }
.empty-profile { padding: 24px 10px; color: var(--text-muted); text-align: center; font-size: 9px; }
.lightbox-modal { z-index: 4000; padding: 25px; }
.lightbox-content { position: relative; width: min(1200px,100%); height: min(88vh,900px); display: flex; align-items: center; justify-content: center; }
.lightbox-content > img { display: block; max-width: calc(100% - 108px); max-height: calc(100% - 45px); object-fit: contain; border-radius: 7px; box-shadow: 0 20px 80px rgba(0,0,0,.48); }
.lightbox-close { position: absolute; top: -2px; right: 0; z-index: 2; }
.lightbox-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 41px; height: 41px; margin-top: -20px; border: 1px solid var(--border-bright); border-radius: 50%; color: var(--text-main); background: rgba(8,24,19,.86); cursor: pointer; }
.lightbox-arrow:hover { color: var(--jade-bright); background: rgba(14,45,35,.96); }
.lightbox-prev { left: 2px; }
.lightbox-next { right: 2px; }
.lightbox-caption { position: absolute; right: 53px; bottom: 0; left: 53px; display: flex; justify-content: space-between; gap: 10px; color: #cce0d8; font-size: 8px; }
.lightbox-caption span:last-child { color: var(--jade); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.ripple-host { position: relative; overflow: hidden; isolation: isolate; }
.ripple-host > :not(.ripple-spark) { position: relative; z-index: 1; }
.ripple-spark { position: absolute; z-index: 0; width: 12px; height: 12px; border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%) scale(0); background: radial-gradient(circle,rgba(112,255,227,.8),rgba(105,234,255,.38) 36%,rgba(85,224,178,0) 72%); animation: sea-spark .62s ease-out forwards; }
@keyframes sea-spark { 0% { opacity:.9; transform:translate(-50%,-50%) scale(0); } 70% { opacity:.45; transform:translate(-50%,-50%) scale(17); } 100% { opacity:0; transform:translate(-50%,-50%) scale(22); } }
@media(max-width:1050px) { .category-directory { grid-template-columns:repeat(2,minmax(0,1fr)); } .tools-grid-three { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:800px; } .shipping-card { grid-column:1/-1; } }
@media(max-width:900px) { .site-header { padding-right:17px; padding-left:17px; } .wrapper { padding:24px 18px 55px; } .tools-grid { grid-template-columns:1fr; max-width:640px; } .tools-grid-three { grid-template-columns:1fr; } .shipping-card { grid-column:auto; } }
@media(max-width:640px) {
  :root { --promo-banner-height:34px; --site-header-height:60px; }
  .top-banner { height:var(--promo-banner-height); font-size:8px; }
  .promo-message { gap:6px; font-size:9px; } .promo-cta { gap:5px; margin-left:4px; font-size:8px; } .promo-group { padding-right:38px; } .promo-track { animation-duration:18s; }
  .site-header { min-height:60px; padding:8px 10px; gap:6px; }
  .logo { font-size:15px; } .logo-mark { width:23px; height:23px; }
  .header-nav-links { gap:1px; padding:3px; } .nav-btn { padding:8px 7px; font-size:8px; }
  .header-actions { gap:4px; } .icon-btn,.profile-avatar-btn { width:32px; height:32px; } .icon-count { top:-5px; right:-5px; min-width:15px; height:15px; font-size:8px; }
  .wrapper { padding:16px 11px 40px; } .hero-center { margin:40px auto 21px; }
  .hero-center h1 { font-size:clamp(38px,11vw,56px); } .hero-desc { max-width:335px; font-size:10px; }
  .categories-bar-horizontal { justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; margin:22px -11px 38px; padding:0 11px 7px; }
  .cat-pill { padding:8px 10px; } .section-block-title h2 { font-size:21px; } .text-link { font-size:8px; }
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } .card-media { aspect-ratio:1/1.15; }
  .card-body { padding:8px; } .card-title { min-height:31px; font-size:9px; } .card-meta,.card-sizes { font-size:7px; } .card-price { font-size:9px; }
  .archive-heading { align-items:flex-start; margin-top:19px; gap:11px; } .archive-heading h1 { font-size:34px; } .archive-heading p { max-width:270px; font-size:9px; }
  .archive-count { align-self:center; } .archive-count strong { font-size:24px; }
  .archive-browser { margin-bottom:21px; padding:12px; border-radius:16px; } .archive-browser-head { align-items:stretch; flex-direction:column; gap:12px; margin-bottom:12px; }
  .archive-browser-title { align-items:flex-start; gap:10px; } .archive-browser-index { width:34px; height:34px; border-radius:10px; } .archive-browser-title h2 { font-size:16px; } .archive-browser-title p { font-size:8px; }
  .archive-search { width:100%; } .category-directory { grid-template-columns:1fr; gap:7px; } .category-group { padding:10px; } .category-filter-chips { gap:5px; } .category-filter-chip { min-height:29px; padding:6px 8px; font-size:9px; }
  .archive-results-heading { margin:22px 0 12px; } .archive-results-heading h2 { font-size:20px; } .tools-heading { margin:23px auto 17px; } .tools-heading p { font-size:9px; }
  .tool-card { padding:15px; } .site-footer { align-items:flex-start; flex-direction:column; padding:17px 14px; gap:9px; }
  .modal { padding:9px; } .modal-content { max-height:94vh; padding:14px; } .modal-header h2 { font-size:15px; } .qc-notice-card { padding:26px 16px 17px; } .qc-notice-card h2 { font-size:19px; }
  .modal-product-body { grid-template-columns:1fr; gap:13px; } .main-qc-preview { height:min(42vh,330px); }
  .collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lightbox-modal { padding:10px; } .lightbox-content { height:88vh; } .lightbox-content > img { max-width:calc(100% - 68px); max-height:calc(100% - 42px); }
  .lightbox-arrow { width:33px; height:33px; } .lightbox-prev { left:0; } .lightbox-next { right:0; }
  .lightbox-caption { right:37px; left:37px; font-size:7px; }
}
@media(max-width:640px) {
  .home-discovery-block { margin-bottom:31px; }
  .home-category-rail,.home-featured-rail { gap:9px; margin-right:-11px; padding-right:11px; }
  .home-category-tile { flex-basis:112px; height:130px; border-radius:14px; }
  .home-category-label { padding:10px 9px; font-size:11px; }
  .home-featured-card { flex-basis: min(72vw,250px); }
  .rail-arrow { width:31px; height:31px; }
  .rail-subtitle { max-width:230px; line-height:1.5; }
}
@media(prefers-reduced-motion:reduce) {
  .home-discovery-block,.home-featured-card { animation:none!important; }
  .home-category-tile,.home-category-product,.home-category-product-image,.home-featured-card .product-card,.rail-arrow { transition:none!important; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  .top-banner { animation: banner-gradient-wave 12s ease-in-out infinite alternate !important; }
  .top-banner::before { animation: banner-light-wave 8s ease-in-out infinite !important; }
  .promo-track { animation: promo-loop 36s linear infinite !important; }
  .ripple-spark { display:none; }
}

/* Jasny motyw ustawiany w profilu. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg-base: #edf4f1;
  --bg-deep: #e3ece8;
  --bg-surface: rgba(255,255,255,.94);
  --bg-card: rgba(255,255,255,.88);
  --jade: #168d6b;
  --jade-bright: #087c5b;
  --aqua: #087c9b;
  --text-main: #14251f;
  --text-muted: #52685f;
  --border: rgba(29,111,83,.19);
  --border-bright: rgba(29,133,97,.43);
  --danger: #bd3d5c;
  --shadow: 0 20px 55px rgba(25,62,48,.14);
}
:root[data-theme="light"] body {
  background: radial-gradient(ellipse at 50% -20%, #d5eee4 0%, var(--bg-base) 48%, var(--bg-deep) 100%);
}
:root[data-theme="light"] .ambient { opacity: .07; }
:root[data-theme="light"] #cyber-toast {
  color: var(--text-main);
  background: rgba(255,255,255,.97);
  box-shadow: 0 14px 36px rgba(25,62,48,.16);
}
:root[data-theme="light"] .top-banner {
  color: #17362c;
  background: linear-gradient(110deg,#e7f5ef 0%,#c7eddf 28%,#e8f7f1 52%,#c8eee0 78%,#e7f5ef 100%);
  border-bottom-color: rgba(22,141,107,.25);
}
:root[data-theme="light"] .promo-message b,
:root[data-theme="light"] .promo-cta { color: #355c4d; }
:root[data-theme="light"] .site-header {
  background: rgba(247,251,249,.91);
  box-shadow: 0 5px 22px rgba(33,71,56,.06);
}
:root[data-theme="light"] .header-nav-links,
:root[data-theme="light"] .central-search-box,
:root[data-theme="light"] .profile-dropdown { background: rgba(255,255,255,.91); }
:root[data-theme="light"] .icon-btn { background: rgba(255,255,255,.8); }
:root[data-theme="light"] .dropdown-link:hover { background: rgba(22,141,107,.08); }
:root[data-theme="light"] .central-search-box input { color: var(--text-main); }
:root[data-theme="light"] .central-search-box input::placeholder,
:root[data-theme="light"] .text-input::placeholder,
:root[data-theme="light"] .search-box-inline input::placeholder { color: #71877d; }
:root[data-theme="light"] .cat-pill,
:root[data-theme="light"] .cat-btn { background: rgba(255,255,255,.8); }
:root[data-theme="light"] .cat-sub-btn { background: rgba(255,255,255,.72); }
:root[data-theme="light"] .cat-pill.active,
:root[data-theme="light"] .cat-btn.active { color: #076c4e; background: rgba(37,178,130,.13); }
:root[data-theme="light"] .product-card {
  background: linear-gradient(160deg,#ffffff,#f4faf7);
  box-shadow: 0 9px 24px rgba(28,68,52,.09);
}
:root[data-theme="light"] .product-card:hover { box-shadow: 0 9px 24px rgba(28,68,52,.09); }
:root[data-theme="light"] .card-media { background: #e7efeb; }
:root[data-theme="light"] .product-category-tag {
  color: #126c51;
  border-color: rgba(24,125,91,.2);
  background: rgba(250,255,252,.92);
}
:root[data-theme="light"] .card-sizes { color: #52685f; }
:root[data-theme="light"] .filters-bar {
  background: rgba(248,252,250,.96);
  box-shadow: 0 10px 24px rgba(25,62,48,.11);
}
:root[data-theme="light"] .archive-browser {
  border-color: rgba(24,125,91,.22);
  background: linear-gradient(142deg,#ffffff,#f5f7fb 62%,#edf8f3);
  box-shadow: 0 15px 38px rgba(25,62,48,.1);
}
:root[data-theme="light"] .archive-browser::before { opacity: .55; }
:root[data-theme="light"] .category-all-card { color: var(--text-main); border-color: rgba(24,125,91,.2); background: linear-gradient(100deg,rgba(37,178,130,.1),rgba(255,255,255,.7) 50%,rgba(105,194,255,.06)); }
:root[data-theme="light"] .category-group { border-color: rgba(87,104,93,.15); background: rgba(255,255,255,.74); }
:root[data-theme="light"] .category-group:hover { border-color: rgba(24,125,91,.35); background: #fff; }
:root[data-theme="light"] .category-group.is-active,
:root[data-theme="light"] .category-group.has-active { border-color: rgba(24,125,91,.39); background: linear-gradient(145deg,rgba(37,178,130,.08),rgba(255,255,255,.86)); }
:root[data-theme="light"] .category-group-title { color: #17231d; border-bottom-color: rgba(87,104,93,.14); }
:root[data-theme="light"] .category-group-icon { background: rgba(37,178,130,.08); }
:root[data-theme="light"] .category-group:nth-child(3n+1) .category-group-icon { background: rgba(105,194,255,.1); }
:root[data-theme="light"] .category-filter-chip { color: #526158; border-color: rgba(87,104,93,.17); background: rgba(255,255,255,.92); }
:root[data-theme="light"] .category-filter-chip:hover { color: #153b2d; border-color: rgba(24,125,91,.4); background: rgba(37,178,130,.07); }
:root[data-theme="light"] .category-filter-chip.is-active { color: #061710; border-color: rgba(24,125,91,.5); background: linear-gradient(105deg,#86e7c2,#4dc99e); }
:root[data-theme="light"] .category-filter-chip small { background: rgba(15,35,25,.06); }
:root[data-theme="light"] .category-filter-chip.is-active small { background: rgba(6,23,16,.09); }
:root[data-theme="light"] .archive-search input { background: rgba(255,255,255,.94); }
:root[data-theme="light"] .tool-card,
:root[data-theme="light"] .modal-content {
  background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(241,249,245,.99));
  box-shadow: 0 16px 45px rgba(25,62,48,.14);
}

/* Archive: three clear parent departments with expandable subcategories. */
.category-directory { align-items: start; grid-auto-rows: min-content; }
.category-group { padding: 13px; border-color: rgba(143,170,192,.24); background: linear-gradient(145deg,rgba(31,25,43,.78),rgba(10,18,20,.84)); }
.category-group { align-self: start; }
.category-group:nth-child(2) { border-color: rgba(121,242,202,.34); background: linear-gradient(145deg,rgba(35,24,46,.88),rgba(8,28,23,.9)); }
.category-group:nth-child(3) { border-color: rgba(105,234,255,.3); background: linear-gradient(145deg,rgba(19,29,44,.82),rgba(8,19,25,.9)); }
.category-group:nth-child(4) { border-color: rgba(169,149,190,.3); background: linear-gradient(145deg,rgba(34,24,44,.84),rgba(13,22,24,.9)); }
.category-group-head { display: flex; align-items: center; gap: 9px; }
.category-group-title { flex: 1 1 auto; min-width: 0; padding: 0; border: 0; text-align: left; }
.category-group-name strong { font-size: 16px; }
.category-group-name small { font-size: 10px; }
.category-group-count { min-width: 36px; height: 30px; border-color: rgba(121,242,202,.24); color: var(--jade-bright); background: rgba(85,224,178,.08); font-size: 11px; }
.category-group-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 35px; padding: 0 10px; border: 1px solid rgba(121,242,202,.3); border-radius: 9px; color: var(--jade-bright); background: rgba(85,224,178,.09); cursor: pointer; font: 700 11px "DM Sans",sans-serif; transition: border-color .18s ease,background .18s ease,transform .18s ease; }
.category-group-toggle:hover, .category-group-toggle:focus-visible { transform: translateY(-1px); border-color: var(--jade-bright); background: rgba(85,224,178,.16); }
.category-group-toggle i { font-size: 9px; transition: transform .22s ease; }
.category-group-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.category-filter-chips { max-height: 0; padding-top: 0; overflow: hidden; visibility: hidden; opacity: 0; transition: max-height .26s ease,opacity .2s ease,padding-top .2s ease,visibility .2s ease; }
.category-filter-chips.is-expanded { max-height: 560px; padding-top: 11px; visibility: visible; opacity: 1; }
.category-filter-chip { min-height: 36px; padding: 7px 11px; border-color: rgba(169,190,204,.28); color: #e2e8eb; background: rgba(8,12,19,.68); font-size: 12px; }
.category-filter-chip small { min-width: 20px; color: #d2dbe0; background: rgba(255,255,255,.1); font-size: 9px; }
.category-group-note { padding: 3px 0 2px; font-size: 10px; }
.archive-results-heading { scroll-margin-top: 18px; }
.clear-category-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(121,242,202,.32); border-radius: 10px; color: var(--jade-bright); background: rgba(85,224,178,.09); cursor: pointer; font: 700 11px "DM Sans",sans-serif; transition: background .18s ease,border-color .18s ease; }
.clear-category-filter:hover { border-color: var(--jade-bright); background: rgba(85,224,178,.16); }
.clear-category-filter[hidden] { display: none; }
:root[data-theme="light"] .category-group { border-color: rgba(87,104,93,.22); background: linear-gradient(145deg,rgba(249,247,255,.96),rgba(239,249,245,.97)); }
:root[data-theme="light"] .category-group:nth-child(2) { border-color: rgba(24,125,91,.34); }
:root[data-theme="light"] .category-group:nth-child(3) { border-color: rgba(45,132,160,.3); }
:root[data-theme="light"] .category-group:nth-child(4) { border-color: rgba(112,82,135,.3); }
:root[data-theme="light"] .category-group-toggle { color: #126b50; border-color: rgba(24,125,91,.3); background: rgba(37,178,130,.08); }
:root[data-theme="light"] .category-filter-chip { color: #34463e; border-color: rgba(87,104,93,.24); background: rgba(255,255,255,.9); }
:root[data-theme="light"] .category-filter-chip small { color: #526158; background: rgba(15,35,25,.07); }
@media(max-width:640px) {
  .category-group-head { gap: 6px; }
  .category-group { padding: 11px; }
  .category-group-toggle { gap: 5px; min-height: 32px; padding: 0 8px; font-size: 10px; }
  .category-filter-chips.is-expanded { max-height: 700px; }
  .clear-category-filter { min-height: 32px; padding: 0 9px; font-size: 9px; }
}

/* Flat department bar: filters float above the archive instead of stretching its frame. */
.archive-browser { position: relative; z-index: 50; overflow: visible; }
.archive-results-heading,.archive-browser ~ .grid { position: relative; z-index: 0; }
.archive-browser::before { top: 0; right: 0; width: 100%; height: 100%; border-radius: inherit; }
.category-directory { grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 0; row-gap: 12px; overflow: visible; }
.category-group { position: relative; z-index: 0; align-self: start; min-height: 64px; padding: 8px 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; animation: none; transform: none; }
.category-group.is-expanded { z-index: 100; }
.category-group:hover { transform: none; border: 0; background: transparent; }
.category-group.is-active,.category-group.has-active { border: 0; background: transparent; box-shadow: inset 0 -2px 0 rgba(85,224,178,.8); }
.category-group:nth-child(3)::before,.category-group:nth-child(4)::before { position: absolute; top: 8px; bottom: 8px; left: 0; width: 1px; content: ""; background: rgba(169,190,204,.16); }
.category-group-head { min-height: 48px; }
.category-group-title { border: 0; background: transparent; }
.category-group-toggle { min-height: 38px; padding: 0 12px; font-size: 12px; }
.category-group-toggle i { font-size: 10px; }
.category-group-name strong { font-size: 17px; }
.category-group-name small { font-size: 11px; }
.category-group-count { min-width: 40px; height: 34px; font-size: 12px; }
.category-filter-chips { position: absolute; z-index: 999; top: calc(100% + 8px); right: auto; left: 8px; display: flex; width: min(430px,calc(100vw - 48px)); max-height: 0; margin: 0; padding: 0 12px; overflow: hidden; visibility: hidden; opacity: 0; border: 0 solid rgba(121,242,202,.34); border-radius: 14px; background: linear-gradient(145deg,rgba(24,20,34,.99),rgba(7,24,20,.995)); box-shadow: 0 18px 42px rgba(0,0,0,.48); transition: max-height .22s ease,opacity .18s ease,padding .18s ease,visibility .18s ease; }
.category-filter-chips.is-expanded { max-height: 270px; padding: 12px; overflow-y: auto; visibility: visible; opacity: 1; border-width: 1px; }
.category-group:nth-child(4) .category-filter-chips { right: 8px; left: auto; }
.category-filter-chip { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.category-filter-chip small { font-size: 10px; }
.category-group-note { font-size: 11px; }
:root[data-theme="light"] .category-group:nth-child(3)::before,:root[data-theme="light"] .category-group:nth-child(4)::before { background: rgba(87,104,93,.22); }
:root[data-theme="light"] .category-filter-chips.is-expanded { border-color: rgba(24,125,91,.34); background: linear-gradient(145deg,rgba(255,255,255,.99),rgba(239,249,245,.99)); box-shadow: 0 18px 42px rgba(25,62,48,.2); }
@media(max-width:640px) {
  .category-directory { grid-template-columns: 1fr; row-gap: 2px; }
  .category-group { min-height: 60px; padding: 6px 4px; }
  .category-group:nth-child(3)::before,.category-group:nth-child(4)::before { top: 0; right: 0; bottom: auto; left: 0; width: auto; height: 1px; }
  .category-filter-chips,.category-group:nth-child(4) .category-filter-chips { right: 0; left: 0; width: auto; }
  .category-group-toggle { min-height: 36px; font-size: 11px; }
}
:root[data-theme="light"] .agent-select,
:root[data-theme="light"] .text-input,
:root[data-theme="light"] .search-box-inline input {
  color: var(--text-main);
  background: #fff;
}
:root[data-theme="light"] .input-label,
:root[data-theme="light"] .desc-box-title { color: #405c50; }
:root[data-theme="light"] .btn-sub-glass {
  color: var(--text-main);
  background: rgba(255,255,255,.9);
}
:root[data-theme="light"] .output-box,
:root[data-theme="light"] .bulk-result-row,
:root[data-theme="light"] .product-link-panel,
:root[data-theme="light"] .profile-auth-box {
  color: var(--text-main);
  background: rgba(255,255,255,.78);
}
:root[data-theme="light"] .converted-link-copy a { color: #365b4c; }
:root[data-theme="light"] .bulk-result-url { color: #45695a; }
:root[data-theme="light"] .site-footer { background: rgba(231,241,236,.92); }
:root[data-theme="light"] .close-btn { background: rgba(255,255,255,.88); }
:root[data-theme="light"] .main-qc-preview,
:root[data-theme="light"] .qc-thumb { background: #e7efeb; }
:root[data-theme="light"] .modal-long-desc { color: #40594e; }
:root[data-theme="light"] .lightbox-caption { color: #f3fff9; }
.profile-theme-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg-card);
}
.profile-theme-copy { display: grid; gap: 3px; }
.profile-theme-copy strong { font-size: 10px; }
.profile-theme-copy span { color: var(--text-muted); font-size: 8px; }
.theme-switch { position: relative; display: inline-flex; flex: 0 0 auto; cursor: pointer; }
.theme-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.theme-switch-track {
  width: 43px;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border-bright);
  border-radius: 99px;
  background: rgba(94,116,106,.22);
  transition: background .2s,border-color .2s;
}
.theme-switch-track > span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
  transition: transform .2s;
}
.theme-switch input:checked + .theme-switch-track { background: var(--jade); }
.theme-switch input:checked + .theme-switch-track > span { transform: translateX(19px); }
.theme-switch input:focus-visible + .theme-switch-track { outline: 2px solid var(--aqua); outline-offset: 3px; }

/* Product source, QC and style gallery */
.gallery-mode-tabs { display:flex; gap:6px; margin-top:9px; overflow-x:auto; }
.gallery-mode-btn { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border:1px solid var(--border); border-radius:999px; color:var(--text-muted); background:rgba(7,20,16,.62); font-size:9px; font-weight:800; cursor:pointer; transition:.2s; }
.gallery-mode-btn span { display:inline-grid; min-width:17px; height:17px; place-items:center; padding:0 4px; border-radius:999px; color:var(--jade-bright); background:rgba(85,224,178,.1); font-size:8px; }
.gallery-mode-btn.active,.gallery-mode-btn:hover { border-color:var(--border-bright); color:var(--jade-bright); background:rgba(85,224,178,.09); }
.gallery-mode-btn[hidden],.style-variants-panel[hidden],.modal-agent-note[hidden] { display:none!important; }
.qc-more-btn,.style-more-btn { flex:0 0 auto; min-width:82px; display:grid; place-content:center; gap:3px; padding:8px; border:1px dashed var(--border-bright); border-radius:9px; color:var(--jade-bright); background:rgba(85,224,178,.05); font-size:8px; font-weight:800; cursor:pointer; }
.qc-more-btn span,.style-more-btn span { color:var(--text-muted); font-size:7px; font-weight:600; }
.style-variants-panel { margin-top:11px; padding-top:9px; border-top:1px solid var(--border); }
.style-variants-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:7px; color:var(--jade-bright); font-size:9px; font-weight:800; }
.style-variants-heading small { color:var(--text-muted); font-size:8px; font-weight:600; }
.style-variant-tiles { display:flex; align-items:stretch; gap:7px; overflow-x:auto; padding:2px 1px 8px; scrollbar-color:rgba(85,224,178,.34) transparent; scrollbar-width:thin; }
.style-variant-tile { flex:0 0 82px; width:82px; display:flex; flex-direction:column; gap:4px; overflow:hidden; padding:4px; border:1px solid var(--border); border-radius:9px; color:var(--text-muted); text-align:left; background:rgba(8,23,18,.72); cursor:pointer; transition:.18s; }
.style-variant-tile img { width:72px; height:65px; padding:3px; object-fit:contain; border-radius:5px; background:#fff; }
.style-variant-tile.active,.style-variant-tile:hover { border-color:var(--jade); color:var(--jade-bright); transform:translateY(-1px); }
.style-variant-name { overflow:hidden; font-size:7px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.style-variant-status { color:var(--jade-bright); font-size:7px; }
.style-variant-status.unavailable { color:#e8a6a6; }
.modal-agent-note { margin:7px 0 0; color:var(--text-muted); font-size:8px; line-height:1.5; }
@media(max-width:680px) { .style-variant-tile { flex-basis:72px; width:72px; } .style-variant-tile img { width:62px; height:58px; } .gallery-mode-btn { padding:6px 8px; font-size:8px; } }

/* Uspójnienie ciemnego motywu: śliwkowy grafit i obecne jadeitowe akcenty. */
:root:not([data-theme="light"]) {
  --bg-base: #100B17;
  --bg-deep: #09070F;
  --bg-surface: rgba(21, 15, 29, .94);
  --bg-card: rgba(24, 18, 31, .92);
  --text-main: #F4F0F7;
  --text-muted: #B0A6B8;
}

:root:not([data-theme="light"]) body {
  background: radial-gradient(ellipse at 50% -20%, #2A1A39 0%, var(--bg-base) 46%, var(--bg-deep) 100%);
}

/* Zamiast dużych, rozmytych plam używamy lekkiego gradientu tła. */
:root:not([data-theme="light"]) .ambient {
  display: none;
}

:root:not([data-theme="light"]) .top-banner {
  background-image: linear-gradient(110deg, #100B17 0%, #2A1838 24%, #14201D 50%, #30203F 76%, #100B17 100%);
}

:root:not([data-theme="light"]) .site-header {
  background: rgba(16, 11, 23, .92);
  backdrop-filter: blur(14px);
}

:root:not([data-theme="light"]) .header-nav-links {
  background: rgba(20, 14, 28, .86);
}

:root:not([data-theme="light"]) .icon-btn,
:root:not([data-theme="light"]) .profile-dropdown,
:root:not([data-theme="light"]) .central-search-box,
:root:not([data-theme="light"]) .cat-pill,
:root:not([data-theme="light"]) .cat-btn {
  background-color: rgba(24, 18, 31, .94);
}

:root:not([data-theme="light"]) .profile-dropdown {
  background: rgba(15, 10, 22, .98);
}

:root:not([data-theme="light"]) .hero-center {
  margin-top: 28px;
  padding: 28px 20px 24px;
  border: 1px solid rgba(109, 233, 196, .15);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(35, 23, 47, .68), rgba(18, 13, 25, .42));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .13);
}

:root:not([data-theme="light"]) .central-search-box {
  background: rgba(17, 12, 24, .92);
  box-shadow: 0 0 28px rgba(85, 224, 178, .06);
}

:root:not([data-theme="light"]) .central-search-box:focus-within {
  box-shadow: 0 0 0 4px rgba(85, 224, 178, .08), 0 0 28px rgba(85, 224, 178, .1);
}

:root:not([data-theme="light"]) .cat-sub-btn {
  background: rgba(17, 12, 24, .78);
}

:root:not([data-theme="light"]) .categories-bar-horizontal {
  margin-top: 22px;
  margin-bottom: 38px;
}

:root:not([data-theme="light"]) .grid {
  gap: 16px;
}

:root:not([data-theme="light"]) .product-card {
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(31, 22, 41, .98), rgba(17, 12, 24, .98));
  box-shadow: 0 5px 16px rgba(0, 0, 0, .12);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), border-color .2s ease;
}

:root:not([data-theme="light"]) .product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(121,242,202,.38);
}

:root:not([data-theme="light"]) .card-media {
  background: #21192A;
}

:root:not([data-theme="light"]) .card-media img {
  transition: transform .32s ease;
}

:root:not([data-theme="light"]) .product-card:hover .card-media img {
  filter: none;
}

:root:not([data-theme="light"]) .product-category-tag,
:root:not([data-theme="light"]) .qc-status-badge,
:root:not([data-theme="light"]) .wishlist-btn-corner {
  backdrop-filter: none;
  background-color: rgba(12, 8, 17, .93);
}

:root:not([data-theme="light"]) .wishlist-btn-corner:hover,
:root:not([data-theme="light"]) .wishlist-btn-corner.active {
  background: #21192A;
}

:root:not([data-theme="light"]) .card-body {
  padding: 13px 14px 12px;
}

:root:not([data-theme="light"]) .card-title {
  font-size: 12px;
  line-height: 1.4;
}

:root:not([data-theme="light"]) .card-meta,
:root:not([data-theme="light"]) .card-sizes {
  font-size: 8.5px;
}

:root:not([data-theme="light"]) .card-sizes {
  color: #D2C8D9;
}

:root:not([data-theme="light"]) .card-footer {
  border-top-color: rgba(121, 242, 202, .14);
}

:root:not([data-theme="light"]) .card-price {
  font-size: 12px;
}

:root:not([data-theme="light"]) .filters-bar {
  top: calc(var(--site-header-height) + 8px);
  border-color: rgba(109, 233, 196, .22);
  background: rgba(16, 11, 23, .97);
  backdrop-filter: blur(10px);
}

:root:not([data-theme="light"]) .cat-btn {
  padding: 9px 12px;
}

:root:not([data-theme="light"]) .search-box-inline {
  width: min(270px, 100%);
}

:root:not([data-theme="light"]) .tool-card,
:root:not([data-theme="light"]) .modal-content {
  background: linear-gradient(145deg, rgba(31, 22, 41, .98), rgba(17, 12, 24, .99));
}

:root:not([data-theme="light"]) .agent-select,
:root:not([data-theme="light"]) .text-input {
  background: #120D1A;
}

:root:not([data-theme="light"]) .btn-sub-glass {
  background: rgba(31, 22, 41, .9);
}

:root:not([data-theme="light"]) .output-box,
:root:not([data-theme="light"]) .bulk-result-row,
:root:not([data-theme="light"]) .product-link-panel,
:root:not([data-theme="light"]) .profile-auth-box {
  background: rgba(13, 9, 19, .68);
}

:root:not([data-theme="light"]) .site-footer {
  background: rgba(11, 8, 16, .88);
}

:root:not([data-theme="light"]) .modal {
  background: rgba(7, 5, 11, .84);
  backdrop-filter: blur(8px);
}

:root:not([data-theme="light"]) .main-qc-preview,
:root:not([data-theme="light"]) .qc-thumb,
:root:not([data-theme="light"]) .style-variant-tile,
:root:not([data-theme="light"]) .lightbox-arrow,
:root:not([data-theme="light"]) .close-btn {
  background-color: #18121F;
}

:root:not([data-theme="light"]) .style-variant-tile img {
  background: #fff;
}

:root:not([data-theme="light"]) .modal-long-desc {
  color: #D2C8D9;
}

:root:not([data-theme="light"]) button:focus-visible,
:root:not([data-theme="light"]) a:focus-visible,
:root:not([data-theme="light"]) input:focus-visible,
:root:not([data-theme="light"]) textarea:focus-visible,
:root:not([data-theme="light"]) select:focus-visible {
  outline-color: var(--jade-bright);
}

@media (max-width: 640px) {
  :root:not([data-theme="light"]) .hero-center {
    margin-top: 20px;
    padding: 22px 12px 19px;
    border-radius: 18px;
  }

  :root:not([data-theme="light"]) .grid {
    gap: 9px;
  }

  :root:not([data-theme="light"]) .card-body {
    padding: 9px;
  }

  :root:not([data-theme="light"]) .card-title {
    font-size: 9px;
  }

  :root:not([data-theme="light"]) .card-meta,
  :root:not([data-theme="light"]) .card-sizes {
    font-size: 7px;
  }

  :root:not([data-theme="light"]) .card-price {
    font-size: 9px;
  }
}

/* Odświeżony, czytelny podgląd produktu i osobna galeria QC */
.product-modal-refresh { width:min(1080px,96vw); padding:clamp(18px,2.4vw,30px); border-radius:24px; }
.product-modal-refresh .modal-header { align-items:flex-start; margin-bottom:20px; padding-bottom:16px; }
.product-modal-refresh .modal-header h2 { max-width:760px; font-size:clamp(20px,2.2vw,29px); line-height:1.13; }
.product-category-line { margin:7px 0 0; color:var(--jade-bright); font-size:11px; }
.product-modal-refresh .modal-product-body { grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr); gap:clamp(18px,3vw,34px); }
.product-modal-refresh .main-qc-preview { height:min(55vh,500px); border-radius:18px; background:radial-gradient(ellipse at center,rgba(92,220,176,.1),rgba(15,10,22,.96)); }
.product-modal-refresh .gallery-controls { margin:11px 3px 8px; font-size:10px; }
.product-modal-refresh .gallery-mode-tabs { margin:8px 0; }
.product-modal-refresh .gallery-mode-btn { font-size:10px; padding:8px 12px; }
.product-modal-refresh .modal-details-pane { justify-content:flex-start; gap:14px; }
.product-info-card { padding:16px; border:1px solid var(--border); border-radius:16px; background:rgba(85,224,178,.035); }
.product-price-line { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:13px; border-bottom:1px solid var(--border); }
.product-price-line > span:first-child { color:var(--jade-bright); font:700 28px "Space Grotesk",sans-serif; letter-spacing:-.04em; }
.product-weight-pill { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border:1px solid var(--border); border-radius:999px; color:var(--text-muted); font-size:10px; }
.product-modal-refresh .desc-box-title { margin:15px 0 9px; font-size:10px; }
.product-modal-refresh .size-list { gap:8px; }
.product-modal-refresh .size-chip { min-width:42px; min-height:38px; display:grid; place-items:center; padding:0 11px; border:1px solid var(--border); border-radius:11px; background:var(--bg-card); font-size:11px; }
.product-modal-refresh .style-variants-panel { margin-top:15px; padding-top:13px; }
.product-modal-refresh .style-variant-tiles { flex-wrap:wrap; max-height:220px; overflow:auto; }
.product-modal-refresh .style-variant-tile { flex-basis:72px; width:72px; border-radius:11px; }
.product-modal-refresh .style-variant-tile img { width:62px; height:60px; }
.product-modal-refresh .style-variant-name,.product-modal-refresh .style-variant-status { font-size:8px; }
.product-modal-refresh .modal-long-desc { font-size:11px; line-height:1.6; }
.product-modal-refresh .product-link-panel { padding:14px; border-radius:16px; }
.product-modal-refresh .modal-actions-box .btn-main-glow { min-height:46px; font-size:11px; }
.product-modal-refresh .qc-thumbnails { gap:8px; padding:4px 1px 8px; }
.qc-gallery-section { margin-top:24px; padding-top:18px; border-top:1px solid var(--border); }
.qc-gallery-section[hidden] { display:none!important; }
.qc-gallery-heading { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:12px; }
.qc-gallery-heading h3 { margin:5px 0 0; font:700 19px "Space Grotesk",sans-serif; }
.qc-gallery-heading > span { color:var(--text-muted); font-size:10px; }
.qc-photo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:11px; max-height:290px; overflow:auto; padding:2px 3px 10px; scrollbar-color:rgba(85,224,178,.34) transparent; scrollbar-width:thin; }
.qc-photo-card { position:relative; min-width:0; height:142px; overflow:hidden; padding:0; border:1px solid var(--border); border-radius:13px; background:var(--bg-card); cursor:pointer; transition:transform .18s,border-color .18s,box-shadow .18s; }
.qc-photo-card:hover,.qc-photo-card.active { transform:translateY(-2px); border-color:var(--jade-bright); box-shadow:0 8px 22px rgba(57,210,164,.16); }
.qc-photo-card img { width:100%; height:100%; display:block; object-fit:cover; }
.qc-photo-card > span { position:absolute; right:7px; bottom:7px; display:flex; gap:5px; padding:5px 8px; border:1px solid rgba(121,242,202,.4); border-radius:999px; color:#dffef3; background:rgba(11,9,17,.8); backdrop-filter:blur(8px); font-size:9px; font-weight:800; }
.qc-photo-card > span b { color:var(--jade-bright); }
@media(max-width:700px) { .product-modal-refresh .modal-product-body { grid-template-columns:1fr; gap:14px; } .product-modal-refresh .main-qc-preview { height:min(43vh,380px); } .product-info-card { padding:13px; } .qc-photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; } .qc-photo-card { height:clamp(92px,28vw,130px); } }
:root[data-theme="light"] .product-info-card { background:rgba(37,178,130,.045); }
:root[data-theme="light"] .qc-photo-card > span { color:#f6fffb; }
.qc-scroll-hint { min-height:60px; display:flex; align-items:center; justify-content:center; gap:11px; margin-top:11px; padding:12px 16px; border:1px solid rgba(71,220,244,.38); border-radius:15px; color:#c9faff; background:linear-gradient(110deg,rgba(27,176,202,.11),rgba(39,31,60,.42),rgba(27,176,202,.08)); box-shadow:inset 0 0 22px rgba(71,220,244,.045),0 7px 25px rgba(16,194,224,.07); font-size:clamp(11px,1.1vw,14px); font-weight:700; letter-spacing:.01em; text-align:center; }
.qc-scroll-smile { width:31px; height:31px; display:grid; place-items:center; flex:0 0 auto; border:1px solid rgba(71,220,244,.52); border-radius:50%; color:#4de5ff; background:rgba(34,195,223,.13); box-shadow:0 0 18px rgba(71,220,244,.22); font-family:Arial,sans-serif; font-size:24px; line-height:1; }
.qc-scroll-hint > i { color:#4de5ff; font-size:14px; animation:qcScrollNudge 1.6s ease-in-out infinite; }
@keyframes qcScrollNudge { 0%,100% { transform:translateY(-2px); opacity:.7; } 50% { transform:translateY(3px); opacity:1; } }
:root[data-theme="light"] .qc-scroll-hint { color:#174b58; border-color:rgba(0,160,190,.32); background:linear-gradient(110deg,rgba(44,211,230,.12),rgba(255,255,255,.7),rgba(44,211,230,.08)); }
