/* CLICI Design 2 — responsive repair, 2026-11-07. Loaded after style.css.
   Keeps the chosen white/blue/purple design while avoiding layout collisions. */
:root {
  --ink: #141b3e;
  --muted: #626e8d;
  --bg: #f7f9ff;
  --line: #dce5f7;
  --shadow: 0 9px 26px rgba(32,57,112,.085);
}
html { scroll-padding-top: 116px; }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; }
.container { width: min(1320px,calc(100% - 48px)); min-width: 0; }
img,svg { vertical-align: middle; }
button,a,input,textarea,select { -webkit-tap-highlight-color: transparent; }
:where(a,button,input,select,textarea):focus-visible { outline: 3px solid #29b9ec; outline-offset: 3px; }
.site-header { background: rgba(255,255,255,.98); border-bottom: 1px solid #e7edfa; backdrop-filter: blur(10px); }
.nav-wrap { gap: 11px; min-height: 86px; }
.logo { flex: 0 0 auto; min-width: 0; }
.logo img { display: block; width: 157px; height: auto; max-height: 72px; object-fit: contain; }
.main-nav { flex: 0 0 auto; min-width: 0; gap: 2px; }
.main-nav>a,.nav-dropdown>a { gap: 6px; padding: 11px 8px; font-size: 12px; }
.main-nav>a:first-child { background: linear-gradient(115deg,#9551ee,#2567f8); color: #fff; }
.nav-search { min-width: 120px; max-width: none; flex: 1 1 180px; }
.nav-search button { flex: 0 0 35px; }
.nav-tools { flex: 0 0 auto; gap: 6px; }
.switcher { flex: 0 0 auto; }
.switcher select { height: 36px; max-width: 75px; background-color: white; padding-inline: 7px; }
.icon-nav { flex: 0 0 32px; }
.dropdown-box { max-height: min(65vh,560px); overflow-y: auto; }
.dropdown-box a { white-space: normal; }
.dropdown-logo { object-fit: contain; }
.hero,.showcase-wrap,.section,.brand-marquee,.products-grid,.category-grid { min-width: 0; }
.section-heading { align-items: baseline; }
.section-heading h2 { color:#15204c; font-size: clamp(21px,2vw,26px); }
.section-heading a { flex: 0 0 auto; }
.category-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.category-tile { min-width: 0; text-align:center; overflow:hidden; }
.category-tile strong { overflow-wrap:anywhere; line-height:1.28; }
.category-logo { object-fit: contain; }
.products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.product-card { min-width: 0; display:flex; flex-direction:column; border-radius:17px; }
.product-card .product-visual { height:188px; background:linear-gradient(145deg,#f7faff,#eaf2ff); }
.product-visual img { object-fit:contain; }
.product-card .product-info { display:flex; flex-direction:column; flex:1; }
.product-title { line-height:1.35; overflow-wrap:anywhere; }
.product-info p { flex: 1; }
.product-card .price-line { margin-top:auto; }
.promo-panel { min-width:0; }
.blog-grid,.catalog-layout,.catalog-main,.detail-image,.checkout-layout { min-width: 0; }
.catalog-main .products-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.brand-marquee { max-width:100%; height:70px; margin-top:14px; margin-bottom:17px; }
.brand-marquee-set { min-width: max-content; }
.brand-marquee-window { -webkit-mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.marquee-brand { height:70px; }
.marquee-brand img { max-height:43px; width:auto; }
.showcase { border-radius:22px; max-width:100%; background: radial-gradient(ellipse at 85% 12%, #1260f0 0%, transparent 45%), linear-gradient(115deg,#09224e,#19358f 53%,#1569cc); }
.showcase-slides,.showcase { min-height:408px; }
.showcase-slide { padding:38px 68px 52px 81px; grid-template-columns:minmax(0,43%) minmax(0,57%); gap:0; }
.showcase-copy { min-width:0; }
.showcase-copy h1 { font-size:clamp(30px,3.1vw,50px); overflow-wrap:normal; letter-spacing:-1.3px; }
.showcase-art { min-width:0; height:335px; }
.showcase-art img { display:block; max-width:100%; height:100%; object-fit:contain; }
.showcase-arrow { top:50%; }
.showcase-dots { bottom:19px; }
.showcase-feature-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.showcase-feature-card { min-width:0; }
.showcase-feature-card img { max-width:100%; }
.social-explain { min-width:0; }
.newsletter-band { min-width:0; }
.newsletter-band form { min-width:0; }
.newsletter-band input[type=email] { min-width:130px; }
.footer { margin-top: 18px; }
.footer-grid { grid-template-columns: minmax(0,2fr) repeat(3,minmax(0,1fr)); }
.footer-logo { display:block; max-width:100%; height:auto; }
.floating-actions { z-index:50; }
.bubble { font-size:0; }
.bubble svg { width:26px; height:26px; display:block; }
.cookie-banner { max-height: min(86vh,550px); overflow-y:auto; }
/* Layout rules for laptop screens: search occupies its own row instead of crushing navigation. */
@media (max-width:1280px) and (min-width:1051px) {
  .nav-wrap { display:grid; grid-template-columns:145px minmax(0,1fr) auto; grid-template-rows:auto auto; row-gap:6px; padding:9px 0; }
  .logo { grid-column:1; grid-row:1; }
  .main-nav { grid-column:2; grid-row:1; justify-content:center; }
  .nav-tools { grid-column:3; grid-row:1; justify-content:flex-end; }
  .nav-search { grid-column:1 / -1; grid-row:2; width: min(100%,620px); justify-self:center; max-width:620px; }
}
/* Tablet menu and the responsive admin. */
@media (max-width:1050px) {
  .nav-wrap { display:grid; grid-template-columns:auto minmax(0,1fr) auto; grid-template-rows:auto auto; gap:9px 12px; padding:9px 0; }
  .logo { grid-column:1; grid-row:1; }
  .mobile-toggle { display:grid; place-items:center; grid-column:3; grid-row:1; margin:0; width:40px; height:40px; background:#eff4ff; border:1px solid #dce6fb; border-radius:12px; color:#244ed4; }
  .main-nav { display:none; position:absolute; top:100%; left: max(18px,calc((100vw - 1320px)/2)); right:max(18px,calc((100vw - 1320px)/2)); padding:13px; background:white; border:1px solid #e1eafa; box-shadow:0 18px 42px #1b377d29; border-radius: 0 0 17px 17px; flex-direction:column; align-items:stretch; gap:3px; max-height:calc(100vh - 110px); overflow-y:auto; z-index:60; }
  .main-nav.open { display:flex; }
  .main-nav>a,.nav-dropdown>a { padding:11px 13px; font-size:14px; }
  .nav-dropdown .dropdown-box { position:static; display:block; border:0; background:#f7f9ff; box-shadow:none; max-height:40vh; }
  .nav-tools { grid-column:2; grid-row:1; justify-self:end; margin:0; }
  .nav-search { grid-column:1 / -1; grid-row:2; width:100%; min-width:0; max-width:none; }
  .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .products-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .catalog-main .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .showcase-slide { grid-template-columns:minmax(0,46%) minmax(0,54%); padding:34px 52px 48px; }
  .showcase-copy h1 { font-size:clamp(28px,3.5vw,39px); }
  .showcase-art { height:310px; }
  .admin-layout { grid-template-columns:195px minmax(0,1fr); }
  .admin-main { min-width:0; }
  .admin-stat-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .showcase-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .social-explain { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-layout { display:block; }
  .admin-sidebar { position:relative; top:auto; height:auto; overflow:visible; padding:9px 14px; border-bottom:1px solid var(--line); }
  .admin-sidebar .logo { display:none; }
  .admin-sidebar nav { display:flex; gap:5px; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; padding-bottom:4px; }
  .admin-sidebar nav a { white-space:nowrap; margin:0; flex:0 0 auto; }
  .admin-main { padding: 0 16px 28px; }
  .admin-cols { grid-template-columns:minmax(0,1fr); }
  .admin-topbar { flex-wrap:wrap; padding:12px 0; }
  .admin-topbar-links { flex-wrap:wrap; }
}
@media (max-width:700px) {
  .container { width:calc(100% - 28px); }
  .nav-wrap { grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto auto; column-gap:7px; padding:10px 0; }
  .logo { grid-column:1; grid-row:1; }
  .logo img { width:132px; max-height:62px; }
  .mobile-toggle { grid-column:2; grid-row:1; }
  .nav-tools { grid-column:1 / -1; grid-row:2; width:100%; justify-content:space-between; justify-self:stretch; gap:5px; }
  .nav-tools .switcher { flex:0 0 auto; }
  .switcher select { max-width:none; width: min(24vw,100px); }
  .nav-search { grid-column:1 / -1; grid-row:3; }
  .main-nav { top: 69px; }
  .showcase,.showcase-slides { min-height:545px; }
  .showcase-slide { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); padding:27px 35px 55px; gap:10px; align-content:start; text-align:center; }
  .showcase-copy { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; }
  .showcase-kicker { margin-bottom:9px; }
  .showcase-copy h1 { font-size:clamp(25px,6vw,37px); line-height:1.16; margin-bottom:11px; }
  .showcase-copy p { font-size:13px; line-height:1.55; margin-bottom:15px; }
  .showcase-art { height:225px; align-self:center; }
  .showcase-arrow { top:65%; }
  .showcase-dots { bottom:18px; }
  .showcase-feature-grid { grid-template-columns:minmax(0,1fr); }
  .showcase-feature-card { min-height:210px; }
  .products-grid,.catalog-main .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-card .product-visual { height:140px; }
  .benefits { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .review-viewport { grid-auto-columns:minmax(0,85%); }
  .newsletter-band form { flex:1 1 100%; }
  .newsletter-band input[type=email] { flex:1 1 160px; }
  .trust-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; }
  .admin-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-topbar strong { font-size:18px; }
  .admin-content .section-heading { align-items:flex-start; flex-wrap:wrap; }
  .admin-actions { width:100%; }
  .admin-actions input,.admin-actions select { max-width:100%; }
}
@media (max-width:400px) {
  .container { width:calc(100% - 22px); }
  .logo img { width:116px; }
  .nav-tools .icon-nav { width:30px; flex-basis:30px; }
  .switcher select { width: min(24vw,78px); padding-inline:5px; }
  .showcase,.showcase-slides { min-height:565px; }
  .showcase-slide { padding:26px 31px 60px; }
  .showcase-copy h1 { font-size:26px; }
  .showcase-art { height:195px; }
  .showcase-arrow { width:29px; height:29px; }
  .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-card .product-visual { height:118px; }
  .product-card .product-info { padding:10px; }
  .product-card .product-title { font-size:12px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .why-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .brand-marquee-track { animation:none!important; }
  .showcase-slide { transition:none; }
  .product-card,.category-tile,.btn { transition:none; }
}
