:root{
  --black:#111111;
  --dark:#202020;
  --mid:#777777;
  --soft:#f4f4f4;
  --line:#dedede;
  --white:#ffffff;
  --shadow:0 24px 60px rgba(0,0,0,.10);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--black);background:#fff;line-height:1.5}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:min(1480px,calc(100% - 64px));margin:0 auto}
.announcement{position:relative;overflow:hidden;background:var(--black);color:#fff;text-align:center;font-size:12px;letter-spacing:.12em;text-transform:uppercase;padding:11px 15px;min-height:38px;display:flex;align-items:center;justify-content:center}.announcement:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 10%,rgba(255,255,255,.16) 48%,transparent 62%);transform:translateX(-130%);animation:k3dTickerStrong 3.6s ease-in-out infinite}.announcement>*{position:relative;z-index:1}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(0,0,0,.08)}
.nav-wrap{height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{width:145px;height:auto;display:block}
.nav{display:flex;gap:26px;font-size:14px;color:#333}
.nav a{position:relative;padding:10px 0}.nav a:after{content:"";position:absolute;left:0;bottom:2px;width:100%;height:1px;background:#111;transform:scaleX(0);transform-origin:right;transition:.25s}.nav a:hover:after{transform:scaleX(1);transform-origin:left}
.nav-actions{display:flex;align-items:center;gap:10px}.icon-btn,.cart-btn,.menu-btn{border:1px solid var(--line);background:#fff;border-radius:12px;height:42px}.icon-btn{width:42px;font-size:23px}.cart-btn{padding:0 14px;display:flex;align-items:center;gap:8px}.cart-btn b{min-width:22px;height:22px;border-radius:99px;background:var(--black);color:white;font-size:12px;display:grid;place-items:center}.menu-btn{display:none;width:42px}
.hero{position:relative;padding:74px 0 92px;overflow:hidden;background:radial-gradient(circle at 78% 40%,rgba(0,0,0,.075),transparent 27%),linear-gradient(180deg,#fff 0%,#f8f8f8 100%)}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px;min-height:610px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:#777;display:block;margin-bottom:14px}.hero h1{font-size:clamp(50px,7vw,88px);line-height:.94;letter-spacing:-.055em;margin:0 0 26px;max-width:760px}.hero h1 span{color:#7b7b7b}.hero p{max-width:590px;font-size:19px;color:#555;margin:0 0 32px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:13px;font-weight:700;font-size:14px;transition:.2s}.btn-dark{background:#111;color:#fff}.btn-dark:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(0,0,0,.18)}.btn-light{border:1px solid #d9d9d9;background:#fff}.btn-light:hover{background:#f4f4f4}.hero-meta{display:flex;gap:30px;margin-top:36px}.hero-meta div{display:flex;align-items:baseline;gap:8px}.hero-meta strong{font-size:13px}.hero-meta span{font-size:12px;color:#777}
.hero-art{min-height:610px;position:relative;display:grid;place-items:center}.glow{position:absolute;width:480px;height:480px;background:radial-gradient(circle,#dcdcdc 0%,rgba(220,220,220,0) 68%);filter:blur(4px)}.print-card{position:absolute;width:360px;height:430px;border-radius:30px;border:1px solid rgba(0,0,0,.10);box-shadow:var(--shadow);transform:rotate(-9deg)}.print-back{background:#d5d5d5;transform:translate(-48px,-18px) rotate(-10deg)}.print-mid{background:#8f8f8f;transform:translate(46px,16px) rotate(7deg)}.print-front{background:linear-gradient(145deg,#202020,#050505);transform:rotate(-2deg);overflow:hidden;border:1px solid #333;box-shadow:0 35px 90px rgba(0,0,0,.33)}.print-label{position:absolute;left:26px;bottom:24px;color:white;font-weight:900;letter-spacing:.18em;font-size:13px}.cube{position:absolute;border:2px solid rgba(255,255,255,.75);transform:skewY(-20deg) rotate(45deg)}.cube-top{width:130px;height:130px;left:58px;top:80px}.cube-bottom{width:190px;height:190px;right:15px;bottom:25px;border-color:rgba(255,255,255,.28)}.ring{position:absolute;width:150px;height:150px;border:18px solid #ededed;border-left-color:#585858;border-radius:50%;left:112px;top:210px;transform:rotate(-26deg);box-shadow:0 0 0 2px #111}.hero-badge{position:absolute;bottom:20px;right:10px;background:#fff;border:1px solid #ddd;padding:10px 14px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.12em;box-shadow:0 12px 35px rgba(0,0,0,.12)}
.section{padding:100px 0}.section-soft{background:#f6f6f6}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:40px}.section-head h2{font-size:clamp(32px,4vw,54px);line-height:1.02;letter-spacing:-.04em;margin:0;max-width:720px}.section-head p{max-width:390px;color:#666;margin:0 0 4px}.center-head{justify-content:center;text-align:center}.text-link{font-size:14px;font-weight:800}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.category-card{min-height:230px;border-radius:20px;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden;border:1px solid #ddd;isolation:isolate}.category-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#fafafa,#bdbdbd);z-index:-2}.category-card:after{content:"";position:absolute;inset:18% -6% -15% 28%;border:1px solid rgba(0,0,0,.18);transform:rotate(-18deg);border-radius:22px;z-index:-1}.cat-2:after{transform:rotate(12deg);inset:16% 22% -20% -8%}.cat-3:after{border-radius:50%;inset:20% 18% -12% 18%}.cat-4:after{inset:13% 18% 5% 14%;transform:rotate(45deg)}.cat-5:after{inset:25% 10% -10% 10%;transform:skewX(-8deg)}.cat-6:after{inset:18% 13% 8% 19%;transform:rotate(-8deg)}.category-card span{font-size:24px;font-weight:800;letter-spacing:-.03em}.category-card small{color:#666;margin-top:5px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{background:#fff;border:1px solid #ddd;border-radius:20px;overflow:hidden}.product-visual{height:285px;position:relative;display:grid;place-items:center;background:linear-gradient(160deg,#fafafa,#e6e6e6);overflow:hidden}.product-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 60%,rgba(0,0,0,.08));pointer-events:none}.v1 .mini-cube{width:130px;height:130px;border:22px solid #222;border-right-color:#888;transform:rotate(45deg);box-shadow:20px 20px 0 -5px rgba(0,0,0,.15)}.v2 .stand{width:145px;height:120px;border:18px solid #1f1f1f;border-bottom-width:32px;transform:perspective(160px) rotateX(16deg);box-shadow:0 24px 0 -10px #999}.v3 .figurine{width:110px;height:170px;border-radius:48% 48% 35% 35%;background:#222;box-shadow:0 18px 0 #666}.figurine i,.figurine b{position:absolute;background:#fff;width:10px;height:10px;border-radius:50%}.figurine i{transform:translate(-22px,24px)}.figurine b{transform:translate(22px,24px)}.v4 .grid-piece{width:180px;height:135px;background:linear-gradient(90deg,#151515 10px,transparent 10px) 0 0/30px 30px,linear-gradient(#151515 10px,transparent 10px) 0 0/30px 30px;transform:perspective(220px) rotateX(55deg) rotateZ(-12deg);box-shadow:0 30px 45px rgba(0,0,0,.18)}.product-info{padding:20px}.product-info>span{font-size:10px;font-weight:800;letter-spacing:.14em;color:#888}.product-info h3{margin:8px 0 5px;font-size:18px}.product-info p{margin:0;color:#707070;font-size:13px}.product-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:18px}.product-bottom strong{font-size:14px}.add-btn{border:none;background:#111;color:#fff;padding:9px 12px;border-radius:10px;cursor:pointer;font-weight:700;font-size:12px}
.custom-section{padding:100px 0;background:#111;color:#fff}.custom-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:70px;align-items:center}.custom-visual{min-height:420px;border-radius:28px;border:1px solid #333;background:radial-gradient(circle at 45% 42%,#444 0,#252525 40%,#101010 72%);position:relative;display:grid;place-items:center;overflow:hidden}.custom-orbit{width:290px;height:290px;border:1px solid #666;border-radius:50%;box-shadow:0 0 0 40px rgba(255,255,255,.025),0 0 0 80px rgba(255,255,255,.02);transform:rotate(20deg) scaleX(.7)}.custom-core{position:absolute;width:160px;height:160px;border:1px solid #777;border-radius:24px;display:grid;place-items:center;text-align:center;font-size:26px;font-weight:900;letter-spacing:.06em;background:linear-gradient(145deg,#323232,#171717);box-shadow:0 35px 65px rgba(0,0,0,.45)}.custom-copy .eyebrow{color:#999}.custom-copy h2{font-size:clamp(36px,4vw,60px);line-height:1;letter-spacing:-.045em;margin:0 0 20px}.custom-copy p{color:#b8b8b8;max-width:620px;font-size:17px}.custom-points{display:flex;flex-wrap:wrap;gap:10px 18px;color:#eee;font-size:13px;margin:24px 0 30px}.custom-copy .btn-dark{background:#fff;color:#111}.custom-copy .btn-dark:hover{box-shadow:0 12px 25px rgba(255,255,255,.12)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #ddd}.step{padding:30px 22px 0;border-right:1px solid #ddd}.step:last-child{border-right:0}.step span{font-size:12px;font-weight:900;color:#888}.step h3{font-size:22px;margin:20px 0 8px}.step p{color:#666;margin:0;font-size:14px}
.trust-section{background:#f5f5f5;border-top:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr)}.trust-grid>div{padding:30px 0;display:flex;flex-direction:column;gap:5px;border-right:1px solid #ddd}.trust-grid>div:not(:first-child){padding-left:28px}.trust-grid>div:last-child{border:0}.trust-grid strong{font-size:15px}.trust-grid span{color:#666;font-size:13px}
.contact-section{padding-top:80px}.contact-box{border:1px solid #ddd;border-radius:26px;padding:38px;display:flex;justify-content:space-between;align-items:center;gap:30px}.contact-box h2{font-size:40px;letter-spacing:-.04em;margin:0 0 6px}.contact-box p{margin:0;color:#666}
.footer{background:#111;color:#fff;padding:65px 0 20px}.footer-grid{display:grid;grid-template-columns:1.8fr repeat(3,1fr);gap:40px}.footer-logo{width:170px;filter:grayscale(1);background:#fff;border-radius:2px}.footer p{color:#aaa;max-width:260px}.footer h4{margin:0 0 16px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#888}.footer a{display:block;color:#ddd;margin:8px 0;font-size:14px}.footer-bottom{border-top:1px solid #2a2a2a;margin-top:45px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:#777;font-size:12px}
@media(max-width:980px){.nav{display:none}.menu-btn{display:block}.hero-grid,.custom-grid{grid-template-columns:1fr}.hero-art{min-height:430px}.product-grid{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}.step:nth-child(2){border-right:0}.step:nth-child(n+3){border-top:1px solid #ddd}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.container{width:min(100% - 24px,1180px)}.nav-wrap{height:72px}.brand img{width:120px}.hero{padding:56px 0}.hero h1{font-size:54px}.hero p{font-size:17px}.hero-art{min-height:330px}.print-card{width:250px;height:300px}.cube-top{width:92px;height:92px;left:40px;top:55px}.cube-bottom{width:130px;height:130px}.ring{width:110px;height:110px;left:77px;top:150px;border-width:14px}.hero-meta{gap:18px}.section{padding:72px 0}.section-head{align-items:start;flex-direction:column}.category-grid,.product-grid{grid-template-columns:1fr}.category-card{min-height:200px}.custom-section{padding:72px 0}.steps{grid-template-columns:1fr}.step{border-right:0}.step:nth-child(n+2){border-top:1px solid #ddd}.trust-grid{grid-template-columns:1fr}.trust-grid>div,.trust-grid>div:not(:first-child){padding:22px 0;border-right:0;border-bottom:1px solid #ddd}.contact-box{padding:28px;flex-direction:column;align-items:flex-start}.contact-box h2{font-size:34px}.footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column}.cart-btn span{display:none}}


/* Kroma3D dynamic store additions — preserves the original site visual language */
.store-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:24px}
.store-tools input,.store-tools select{border:1px solid #d8d8d8;background:#fff;border-radius:12px;padding:11px 13px;outline:none;color:#111}
.store-tools input{min-width:260px}
.dynamic-product .product-visual{background:linear-gradient(160deg,#fafafa,#e6e6e6)}
.dynamic-product .product-visual img{width:100%;height:100%;object-fit:cover;display:block}
.dynamic-product .product-visual .no-image{font-size:13px;font-weight:800;letter-spacing:.12em;color:#8a8a8a}
.product-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.product-actions .add-btn,.product-actions .wa-btn{flex:1}
.wa-btn{border:1px solid #111;background:#fff;color:#111;padding:9px 12px;border-radius:10px;cursor:pointer;font-weight:700;font-size:12px;text-align:center}
.store-empty{padding:36px 0;color:#777;text-align:center}
.cart-panel{position:fixed;right:0;top:0;width:min(430px,94vw);height:100vh;background:#fff;z-index:120;transform:translateX(105%);transition:transform .25s ease;box-shadow:-25px 0 70px rgba(0,0,0,.18);display:flex;flex-direction:column;border-left:1px solid #ddd}
.cart-panel.open{transform:translateX(0)}
.cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:110;opacity:0;pointer-events:none;transition:.2s}
.cart-overlay.open{opacity:1;pointer-events:auto}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:22px;border-bottom:1px solid #ddd}
.cart-head h3{margin:0;font-size:22px}
.cart-close{border:0;background:transparent;font-size:30px;cursor:pointer}
.cart-list{padding:18px;overflow:auto;flex:1}
.cart-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #eee}
.cart-item-img{width:64px;height:64px;border-radius:10px;background:#f2f2f2;object-fit:cover}
.cart-item h4{margin:0 0 4px;font-size:14px}
.cart-item p{margin:0;color:#777;font-size:12px}
.cart-qty{display:flex;gap:7px;align-items:center;margin-top:7px}
.cart-qty button{width:28px;height:28px;border:1px solid #ddd;background:#fff;border-radius:8px;cursor:pointer}
.cart-foot{border-top:1px solid #ddd;padding:18px}
.cart-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:17px}
.cart-total strong{font-size:20px}
@media (max-width: 760px){
  .store-tools{flex-direction:column;align-items:stretch}
  .store-tools input{min-width:0;width:100%}
  .store-tools select{width:100%}
  .product-actions{display:grid;grid-template-columns:1fr 1fr}
}


/* ---- Kroma3D admin panel ---- */
.admin-body{background:#f5f5f5;color:#111;min-height:100vh}
.admin-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid #ddd}
.admin-shell{max-width:1280px;margin:0 auto;padding:50px 5vw 90px}
.admin-login{max-width:520px;margin:55px auto}
.admin-login h1{font-size:46px;line-height:1;letter-spacing:-.045em;margin:0 0 16px}
.muted{color:#707070;line-height:1.6}
.form-card{background:#fff;border:1px solid #ddd;border-radius:22px;padding:24px;box-shadow:0 14px 45px rgba(0,0,0,.06)}
.form-card label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;margin-bottom:15px}
.form-card input,.form-card select,.form-card textarea{width:100%;border:1px solid #d6d6d6;border-radius:12px;padding:12px 13px;background:#fff;color:#111;outline:none}
.form-card input:focus,.form-card select:focus,.form-card textarea:focus,.settings-grid input:focus{border-color:#111;box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.setup-note{margin-top:15px;background:#fff;border:1px dashed #cfcfcf;border-radius:16px;padding:17px;color:#555;line-height:1.5}
.setup-note ol{margin:10px 0 0 18px;padding:0}
.setup-note li{margin:7px 0}
.setup-note code{background:#f0f0f0;padding:2px 5px;border-radius:5px}
.admin-top{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}
.admin-top h1{font-size:54px;line-height:1;letter-spacing:-.05em;margin:0 0 8px}
.admin-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:24px}
.admin-list{display:grid;gap:12px}
.admin-item{background:#fff;border:1px solid #dedede;border-radius:18px;padding:14px;display:grid;grid-template-columns:88px 1fr auto;gap:16px;align-items:center;box-shadow:0 5px 22px rgba(0,0,0,.04)}
.admin-thumb{width:88px;height:88px;border-radius:14px;background:#f0f0f0;object-fit:cover}
.admin-meta h3{margin:0 0 6px;font-size:17px}
.admin-meta p{margin:3px 0;color:#757575;font-size:12px}
.admin-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.admin-actions button{border:1px solid #d8d8d8;background:#fff;color:#111;border-radius:10px;padding:9px 11px;cursor:pointer;font-weight:700}
.admin-actions button:hover{background:#111;color:#fff;border-color:#111}
.status-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#efefef;color:#222;font-size:10px;font-weight:800}
.status-pill.off{background:#111;color:#fff}
.image-preview{display:none;margin:9px 0 13px}
.image-preview img{width:100%;max-height:260px;object-fit:cover;border-radius:14px;border:1px solid #ddd}
.check-row{display:flex;gap:18px}
.inline{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important}
.inline input{width:auto!important}
.form-actions{display:flex;gap:9px;margin-top:10px}
.sticky{position:sticky;top:105px}
.settings-section{margin-top:35px}
.settings-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}
.settings-grid label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700}
.settings-grid input{border:1px solid #d6d6d6;border-radius:12px;padding:12px 13px;background:#fff}
@media(max-width:900px){
  .admin-layout{grid-template-columns:1fr}
  .sticky{position:static}
  .settings-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .admin-shell{padding:35px 4vw 70px}
  .admin-top{align-items:start;flex-direction:column}
  .admin-top h1,.admin-login h1{font-size:38px}
  .admin-item{grid-template-columns:64px 1fr}
  .admin-thumb{width:64px;height:64px}
  .admin-actions{grid-column:1/-1;justify-content:flex-start}
}

.login-error{
  margin:0 0 14px;
  padding:12px 13px;
  border:1px solid #f0b5b5;
  background:#fff3f3;
  color:#9b1c1c;
  border-radius:12px;
  font-size:13px;
  line-height:1.45;
  font-weight:600;
}
.login-error.show{display:block}

.login-error{margin:0 0 14px;padding:12px 13px;border:1px solid #efb4b4;background:#fff3f3;color:#8f1b1b;border-radius:12px;font-size:13px;line-height:1.45;font-weight:700}.login-error.show{display:block}

.password-wrap{position:relative;display:flex;align-items:center}
.password-wrap input{padding-right:86px!important}
.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:1px solid #d7d7d7;background:#f7f7f7;color:#222;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:700;cursor:pointer}
.password-toggle:hover{background:#111;color:#fff;border-color:#111}

.settings-grid-social{grid-template-columns:repeat(2,minmax(0,1fr))}
.settings-grid-social button{grid-column:1 / -1;justify-self:start}
@media(max-width:760px){.settings-grid-social{grid-template-columns:1fr}.settings-grid-social button{grid-column:auto}}

/* Stock + price filter + notification UI */
.store-tools{align-items:flex-end}
.price-filter{min-width:300px;flex:1 1 330px;background:#fff;border:1px solid #d8d8d8;border-radius:12px;padding:10px 13px}
.price-filter-head{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:5px}.price-filter-head span{color:#666;font-weight:600}
.price-sliders{position:relative;height:22px}.price-sliders input{position:absolute!important;left:0;top:2px;width:100%!important;margin:0;padding:0!important;border:0!important;background:transparent!important;pointer-events:none}.price-sliders input::-webkit-slider-thumb{pointer-events:auto}.price-sliders input::-moz-range-thumb{pointer-events:auto}
.stock-badge{position:absolute;top:14px;right:14px;background:#111;color:#fff;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;letter-spacing:.08em;z-index:2}.is-out-of-stock .product-visual img{filter:grayscale(.35);opacity:.78}.notify-btn{width:100%;border:1px solid #111;background:#fff;color:#111;padding:10px 12px;border-radius:10px;cursor:pointer;font-weight:800;font-size:12px;transition:transform .2s ease,background .2s ease,color .2s ease}.notify-btn:hover{transform:translateY(-2px);background:#111;color:#fff}
.notify-modal[hidden]{display:none}.notify-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:20px}.notify-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(5px)}.notify-card{position:relative;width:min(470px,100%);background:#fff;border:1px solid #ddd;border-radius:22px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.25);animation:k3dNotifyIn .35s cubic-bezier(.22,1,.36,1)}.notify-card h3{font-size:26px;line-height:1.08;margin:7px 0}.notify-card p{color:#666;margin:0 0 18px}.notify-card form{display:grid;grid-template-columns:1fr auto;gap:8px}.notify-card input{min-width:0;border:1px solid #d6d6d6;border-radius:11px;padding:12px}.notify-card small{display:block;color:#777;margin-top:12px;line-height:1.45}.notify-close{position:absolute;right:13px;top:10px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#555}.notify-message{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f1f5f1;color:#285a31;font-size:13px;font-weight:700}.stock-toggle{font-weight:800}.stock-ok{background:#e9f7ec;color:#246b31}.stock-out{background:#111;color:#fff}.waiter-pill{display:inline-flex;align-items:center;margin-left:6px;padding:4px 8px;border-radius:999px;background:#f0f0f0;color:#333;font-size:10px;font-weight:800}
@keyframes k3dNotifyIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:700px){.notify-card form{grid-template-columns:1fr}.price-filter{min-width:0}.store-tools{align-items:stretch}}


/* ============================================================
   Kroma3D V2 — stronger motion + richer header/hero
   Keeps the original monochrome visual language.
   ============================================================ */
.announcement{position:relative;overflow:hidden;background:linear-gradient(90deg,#0d0d0d,#181818,#0d0d0d);box-shadow:0 1px 0 rgba(255,255,255,.08) inset}
.announcement:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.12) 50%,transparent 80%);transform:translateX(-120%);animation:k3dTicker 5s ease-in-out infinite}
.announcement-dot,.announcement-pulse{display:inline-block}
.announcement-dot{width:6px;height:6px;border-radius:50%;background:#fff;vertical-align:middle;margin-right:5px;box-shadow:0 0 0 0 rgba(255,255,255,.5);animation:k3dPulse 2s infinite}
.announcement-pulse{font-size:7px;margin-left:5px;animation:k3dPulse 2s .4s infinite}
.site-header{box-shadow:0 6px 24px rgba(0,0,0,.045)}
.site-header:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,transparent 0%,#111 50%,transparent 100%);transform:scaleX(.18);transform-origin:center;animation:k3dHeaderLine 4s ease-in-out infinite}
.brand{position:relative;z-index:2}
.brand img{filter:drop-shadow(0 8px 13px rgba(0,0,0,.12));transition:transform .45s cubic-bezier(.22,1,.36,1),filter .45s ease}
.brand:hover img{transform:translateY(2px) rotate(-1deg) scale(1.025);filter:drop-shadow(0 12px 20px rgba(0,0,0,.18))}
.nav a{transition:transform .25s ease,color .25s ease}
.nav a:hover{transform:translateY(-2px)}
.icon-btn,.cart-btn{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.icon-btn:hover,.cart-btn:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.10);border-color:#bbb}
.cart-btn b{transition:transform .25s cubic-bezier(.22,1,.36,1)}
.cart-btn.cart-bump b{animation:k3dCartBump .5s cubic-bezier(.22,1,.36,1)}
.hero{position:relative}
.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 36%,rgba(0,0,0,.045),transparent 28%),linear-gradient(90deg,transparent 0 49.5%,rgba(0,0,0,.035) 50%,transparent 50.5%);pointer-events:none}
.hero-grid{position:relative;z-index:1}
.hero-copy{animation:k3dHeroCopy .9s cubic-bezier(.22,1,.36,1) both}
.hero-copy .eyebrow{animation:k3dFadeUp .55s .05s both}
.hero-copy h1{animation:k3dFadeUp .7s .12s both}
.hero-copy p{animation:k3dFadeUp .7s .2s both}
.hero-actions{animation:k3dFadeUp .7s .28s both}
.hero-meta{animation:k3dFadeUp .7s .36s both}
.hero-art{isolation:isolate}
.hero-grid-lines{position:absolute;inset:7% 2%;border:1px solid rgba(0,0,0,.12);border-radius:38px;transform:perspective(600px) rotateY(-9deg) rotateX(3deg);opacity:1;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);animation:k3dGridFloat 8s ease-in-out infinite}
.hero-grid-lines:before,.hero-grid-lines:after{content:"";position:absolute;inset:12%;border:1px solid rgba(0,0,0,.045);border-radius:26px}
.hero-grid-lines:after{inset:26%;border-radius:18px}
.hero-orbit{position:absolute;border:2px solid rgba(0,0,0,.16);border-radius:50%;pointer-events:none}
.orbit-a{width:520px;height:230px;transform:rotate(-18deg);animation:k3dOrbitA 9s linear infinite}
.orbit-b{width:430px;height:180px;transform:rotate(30deg);border-color:rgba(0,0,0,.12);animation:k3dOrbitB 12s linear infinite}
.hero-dot{position:absolute;width:10px;height:10px;background:#111;border-radius:50%;box-shadow:0 0 0 6px rgba(0,0,0,.06);z-index:3}
.dot-a{top:20%;right:11%;animation:k3dDotA 4.2s ease-in-out infinite}
.dot-b{bottom:24%;left:8%;animation:k3dDotB 5s ease-in-out infinite}
.dot-c{top:35%;left:4%;width:5px;height:5px;animation:k3dDotC 3.5s ease-in-out infinite}
.print-card{transition:transform .7s cubic-bezier(.22,1,.36,1)}
.hero-art:hover .print-back{transform:translate(-64px,-24px) rotate(-13deg)}
.hero-art:hover .print-mid{transform:translate(60px,22px) rotate(10deg)}
.hero-art:hover .print-front{transform:translateY(-8px) rotate(-2deg) scale(1.015)}
.hero-status{position:absolute;left:2%;top:12%;z-index:4;background:#111;color:#fff;border-radius:999px;padding:8px 12px;font-size:9px;font-weight:900;letter-spacing:.12em;box-shadow:0 12px 28px rgba(0,0,0,.18);animation:k3dStatus 2.8s ease-in-out infinite}
.hero-status span{display:inline-block;width:6px;height:6px;background:#fff;border-radius:50%;margin-right:6px;box-shadow:0 0 0 4px rgba(255,255,255,.12)}
.hero-badge{animation:k3dBadge 3.2s ease-in-out infinite}
.section:not(.hero) .section-head{animation:k3dFadeUp .75s cubic-bezier(.22,1,.36,1) both}
.category-card{transition:transform .38s cubic-bezier(.22,1,.36,1),box-shadow .38s ease}
.category-card:hover{transform:translateY(-10px) scale(1.012);box-shadow:0 22px 48px rgba(0,0,0,.12)}
.category-card:after{transition:transform .55s cubic-bezier(.22,1,.36,1)}
.category-card:hover:after{transform:rotate(-12deg) translate(7px,-5px) scale(1.05)}
.product-card{transition:transform .36s cubic-bezier(.22,1,.36,1),box-shadow .36s ease}
.product-card:hover{transform:translateY(-10px);box-shadow:0 24px 55px rgba(0,0,0,.13)}
.product-visual img{transition:transform .7s cubic-bezier(.22,1,.36,1),filter .35s ease}
.product-card:hover .product-visual img{transform:scale(1.075)}
.custom-orbit{animation:k3dOrbitC 12s linear infinite}
.custom-core{animation:k3dCore 4s ease-in-out infinite}
.step{transition:transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s ease}
.step:hover{transform:translateY(-7px);box-shadow:0 15px 30px rgba(0,0,0,.06)}
.contact-box{transition:transform .3s ease,box-shadow .3s ease}
.contact-box:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(0,0,0,.08)}
@keyframes k3dTicker{0%,45%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}
@keyframes k3dPulse{0%,100%{opacity:.5;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}
@keyframes k3dHeaderLine{0%,100%{transform:scaleX(.18);opacity:.25}50%{transform:scaleX(.75);opacity:.7}}
@keyframes k3dCartBump{0%{transform:scale(1)}35%{transform:scale(1.25)}70%{transform:scale(.92)}100%{transform:scale(1)}}
@keyframes k3dHeroCopy{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes k3dFadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes k3dGridFloat{0%,100%{transform:perspective(600px) rotateY(-9deg) rotateX(3deg) translateY(0)}50%{transform:perspective(600px) rotateY(-7deg) rotateX(2deg) translateY(-10px)}}
@keyframes k3dOrbitA{from{transform:rotate(-18deg)}to{transform:rotate(342deg)}}
@keyframes k3dOrbitB{from{transform:rotate(30deg)}to{transform:rotate(-330deg)}}
@keyframes k3dDotA{0%,100%{transform:translate(0,0)}50%{transform:translate(-15px,18px)}}
@keyframes k3dDotB{0%,100%{transform:translate(0,0)}50%{transform:translate(12px,-12px)}}
@keyframes k3dDotC{0%,100%{transform:translateY(0)}50%{transform:translateY(18px)}}
@keyframes k3dStatus{0%,100%{transform:translateY(0);box-shadow:0 12px 28px rgba(0,0,0,.18)}50%{transform:translateY(-5px);box-shadow:0 18px 34px rgba(0,0,0,.20)}}
@keyframes k3dBadge{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes k3dOrbitC{from{transform:rotate(20deg) scaleX(.7)}to{transform:rotate(380deg) scaleX(.7)}}
@keyframes k3dCore{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(1.5deg)}}

/* Admin catalog filters */
.admin-catalog-tools{margin:0 0 22px;padding:22px}
.admin-filter-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.admin-filter-title h2{margin:0;font-size:22px;letter-spacing:-.03em}
.admin-count{background:#111;color:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}
.admin-filter-grid{display:grid;grid-template-columns:1.25fr .8fr .8fr 1.25fr auto;gap:10px;align-items:end}
.admin-filter-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800}
.admin-filter-grid input[type=search],.admin-filter-grid select{width:100%;border:1px solid #d6d6d6;border-radius:12px;padding:11px 12px;background:#fff}
.admin-price-filter{background:#fafafa;border:1px solid #e2e2e2;border-radius:12px;padding:9px 12px}
.admin-clear-filters{white-space:nowrap;height:42px}
.admin-empty{text-align:center;padding:45px 20px}
.admin-empty-icon{width:46px;height:46px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;margin:0 auto 14px;font-size:22px}
.admin-item{transition:transform .25s ease,box-shadow .25s ease}
.admin-item:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(0,0,0,.08)}
@media(max-width:1050px){.admin-filter-grid{grid-template-columns:1fr 1fr}.admin-clear-filters{width:max-content}.admin-price-filter{grid-column:1/-1}}
@media(max-width:760px){.admin-filter-title{align-items:start;flex-direction:column}.admin-filter-grid{grid-template-columns:1fr}.admin-price-filter{grid-column:auto}.hero-status{left:2%;top:12%}.hero-grid-lines{inset:7% 0}.hero-orbit{transform:scale(.8)}}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}


/* Optional price range in product editor */
.price-mode-box{border:1px solid #dedede;border-radius:14px;padding:13px;background:#fafafa;margin-bottom:14px}
.price-mode-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.price-mode-head>div{display:flex;flex-direction:column;gap:3px}
.price-mode-toggle{white-space:nowrap;background:#fff;border:1px solid #ddd;border-radius:999px;padding:7px 10px}
.range-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.range-price-help{grid-column:1/-1;margin:0}
.range-pill{display:inline-block;padding:2px 7px;border-radius:999px;background:#f1f1f1;color:#555;font-size:10px;font-weight:800;margin-left:4px}
@media(max-width:760px){.range-price-fields{grid-template-columns:1fr}.price-mode-head{align-items:flex-start;flex-direction:column}}


/* K3D — hidden attribute must win over component display rules. */
[hidden]{display:none !important;}

/* Anime.js category motion system */
.category-card{transform-style:preserve-3d;perspective:900px}
.cat-art i{transform-style:preserve-3d}
.cat-2 .cat-art:after{content:"";position:absolute;left:8%;right:8%;top:42%;height:2px;background:linear-gradient(90deg,transparent,#111,transparent);opacity:.18;filter:blur(.2px)}
.cat-3 .cat-art:after{content:"";position:absolute;width:10px;height:10px;right:34%;top:38%;border-radius:50%;background:#111;box-shadow:0 0 0 7px rgba(0,0,0,.07)}
.cat-4 .cat-art:after{content:"✦";position:absolute;right:28%;top:25%;font-size:18px;opacity:.35}
.cat-5 .cat-art:after{content:"";position:absolute;right:31%;top:26%;width:70px;height:70px;border:1px dashed rgba(0,0,0,.22);border-radius:50%}
.cat-6 .cat-art:after{content:"";position:absolute;right:20%;top:28%;width:110px;height:70px;border:1px solid rgba(0,0,0,.18);border-radius:18px;transform:rotate(-8deg)}
.category-card.is-anime-active{will-change:transform,box-shadow}

/* V4 — visible motion and full-width composition */
.hero:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(0,0,0,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.035) 1px,transparent 1px);background-size:72px 72px;mask-image:radial-gradient(circle at 72% 42%,#000 0,transparent 55%);animation:k3dGridDrift 14s linear infinite}
.site-header:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,transparent,#111 20%,#777 50%,#111 80%,transparent);background-size:200% 100%;animation:k3dHeaderSweep 5s linear infinite}
.hero-art:before,.hero-art:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.hero-art:before{width:18px;height:18px;background:#111;right:5%;top:9%;box-shadow:0 0 0 8px rgba(0,0,0,.05),0 0 0 18px rgba(0,0,0,.025);animation:k3dFloatLarge 4.5s ease-in-out infinite}.hero-art:after{width:9px;height:9px;background:#777;left:4%;bottom:12%;box-shadow:0 0 0 7px rgba(0,0,0,.045);animation:k3dFloatSmall 3.4s ease-in-out infinite}
.hero h1{animation:k3dHeroTitle 1s cubic-bezier(.16,1,.3,1) both}
.hero-art .print-card{animation:k3dCardFloat 5s ease-in-out infinite}
.hero-art .print-mid{animation-delay:.25s}.hero-art .print-front{animation-delay:.5s}
.btn-dark{position:relative;overflow:hidden}.btn-dark:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 25%,rgba(255,255,255,.22) 50%,transparent 75%);transform:translateX(-130%);animation:k3dButtonSweep 4s ease-in-out infinite}
@keyframes k3dTickerStrong{0%,35%{transform:translateX(-130%)}65%,100%{transform:translateX(130%)}}
@keyframes k3dHeaderSweep{0%{background-position:200% 0}100%{background-position:-200% 0}}
@keyframes k3dGridDrift{0%{background-position:0 0}100%{background-position:72px 72px}}
@keyframes k3dFloatLarge{0%,100%{transform:translate(0,0)}50%{transform:translate(-20px,28px)}}
@keyframes k3dFloatSmall{0%,100%{transform:translate(0,0)}50%{transform:translate(18px,-24px)}}
@keyframes k3dCardFloat{0%,100%{margin-top:0}50%{margin-top:-12px}}
@keyframes k3dHeroTitle{from{opacity:0;transform:translateY(35px) scale(.985);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
@keyframes k3dButtonSweep{0%,65%{transform:translateX(-130%)}85%,100%{transform:translateX(130%)}}
@media(max-width:980px){.container{width:min(100% - 40px,1480px)}.hero-grid{min-height:auto;gap:30px}.hero-art{min-height:500px}}
@media(max-width:640px){.container{width:calc(100% - 24px)}.hero{padding:56px 0}.hero-art{min-height:380px}}
.header-live{position:absolute;left:50%;top:7px;transform:translateX(-50%);font-size:8px;font-weight:900;letter-spacing:.16em;color:#777;white-space:nowrap;animation:k3dLivePulse 2.6s ease-in-out infinite}.header-live span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#111;margin-right:5px;box-shadow:0 0 0 0 rgba(0,0,0,.18);animation:k3dLiveDot 1.8s infinite}@keyframes k3dLivePulse{0%,100%{opacity:.55}50%{opacity:1}}@keyframes k3dLiveDot{0%,100%{box-shadow:0 0 0 0 rgba(0,0,0,.18)}50%{box-shadow:0 0 0 5px rgba(0,0,0,.06)}}
@media(max-width:980px){.header-live{display:none}}


/* Promotion banner */
.promotion-banner[hidden]{display:none!important}.promotion-banner{position:relative;display:grid;grid-template-columns:300px 1fr auto;align-items:center;gap:22px;min-height:150px;margin:18px 0 0;padding:12px 14px 12px 12px;border:1px solid #222;border-radius:22px;background:#111;color:#fff;overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.16);isolation:isolate;animation:k3dPromoIn .8s cubic-bezier(.22,1,.36,1) both}.promotion-banner:after{content:"";position:absolute;inset:-60% -20%;background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.12) 50%,transparent 65%);transform:translateX(-55%);animation:k3dPromoSweep 6s ease-in-out infinite;z-index:-1}.promotion-banner-media{height:126px;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#252525,#111);display:grid;place-items:center}.promotion-banner-media img{width:100%;height:100%;object-fit:cover;display:block}.promotion-banner-copy{display:flex;align-items:center;gap:11px;min-width:0}.promotion-banner-copy>div{display:flex;flex-direction:column;gap:3px}.promotion-banner-copy strong{font-size:20px;letter-spacing:-.03em}.promotion-banner-copy span:not(.promo-live-dot){font-size:12px;color:#d1d1d1}.promo-live-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#fff;box-shadow:0 0 0 6px rgba(255,255,255,.08);animation:k3dPulse 1.8s infinite}.promotion-banner-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 15px;border-radius:12px;background:#fff;color:#111;font-size:12px;font-weight:900;white-space:nowrap;transition:transform .22s ease,box-shadow .22s ease}.promotion-banner-btn:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(255,255,255,.14)}
.discount-badge{position:absolute;top:12px;right:12px;z-index:3;background:#e51f2a;color:#fff;padding:7px 9px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.06em;box-shadow:0 9px 20px rgba(229,31,42,.22);animation:k3dDiscountPop .55s cubic-bezier(.22,1,.36,1) both}.product-price-stack{display:flex;flex-direction:column;gap:2px}.product-price-stack del{font-size:11px;color:#999}.product-price-stack strong{font-size:15px;color:#111}.admin-tabs{display:flex;gap:6px;margin:0 0 18px;padding:5px;background:#f1f1f1;border:1px solid #ddd;border-radius:14px;width:max-content}.admin-tab{border:0;background:transparent;padding:10px 15px;border-radius:10px;font-weight:800;font-size:12px;cursor:pointer}.admin-tab.active{background:#111;color:#fff;box-shadow:0 7px 18px rgba(0,0,0,.12)}.admin-tab-panel[hidden]{display:none}.promo-admin-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:5px 0 20px}.promo-admin-head h2{margin:0;font-size:28px}.promo-enable{background:#111;color:#fff;padding:10px 13px;border-radius:999px}.promotion-admin-card{margin-bottom:18px}.promotion-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.promotion-live-preview{background:#f6f6f6;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:12px}.promo-banner-preview{min-height:150px;border-radius:16px;background:#111;color:#fff;display:grid;grid-template-columns:100px 1fr auto;align-items:center;gap:12px;padding:10px}.promo-preview-media{height:126px;border-radius:11px;overflow:hidden;background:linear-gradient(135deg,#2a2a2a,#111)}.promo-preview-media img{width:100%;height:100%;object-fit:cover}.promo-banner-preview>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.promo-banner-preview>div:nth-child(2) span{font-size:10px;color:#ccc}.promo-preview-btn{font-size:10px;font-weight:900;background:#fff;color:#111;padding:8px 10px;border-radius:9px;white-space:nowrap}.promotion-preview{margin-top:8px;border:1px dashed #ccc;border-radius:12px;min-height:40px;padding:5px}.promotion-preview img{width:100%;max-height:130px;object-fit:cover;border-radius:8px;display:block}.promotion-tip{display:flex;gap:10px;align-items:flex-start;background:#fafafa;border:1px solid #e2e2e2;border-radius:16px;padding:15px 18px;font-size:12px}.promotion-tip span{color:#666}.discount-box{border:1px solid #dedede;border-radius:14px;padding:13px;background:#fafafa;margin-bottom:14px}.discount-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.discount-head>div{display:flex;flex-direction:column;gap:3px}.discount-toggle{white-space:nowrap;background:#fff;border:1px solid #ddd;border-radius:999px;padding:7px 10px}.discount-preview{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding:10px 12px;border-radius:11px;background:#111;color:#fff}.discount-preview span{font-size:11px;color:#bbb}.discount-preview strong{font-size:15px}.discount-pill{display:inline-block;margin-left:5px;padding:2px 7px;border-radius:999px;background:#e51f2a;color:#fff;font-size:10px;font-weight:900}
@keyframes k3dPromoIn{from{opacity:0;transform:translateY(-12px) scale(.985)}to{opacity:1;transform:none}}@keyframes k3dPromoSweep{0%,45%{transform:translateX(-65%)}75%,100%{transform:translateX(65%)}}@keyframes k3dDiscountPop{from{opacity:0;transform:scale(.75) rotate(-5deg)}to{opacity:1;transform:none}}
@media(max-width:760px){.promotion-banner{grid-template-columns:120px 1fr;gap:10px;margin-top:12px;min-height:78px;padding:9px}.promotion-banner-media{height:92px}.promotion-banner-copy strong{font-size:15px}.promotion-banner-copy span:not(.promo-live-dot){font-size:10px}.promotion-banner-btn{grid-column:1/-1;width:100%;padding:9px}.promotion-banner-btn[hidden]{display:none}.promotion-admin-grid{grid-template-columns:1fr}.promo-admin-head{align-items:flex-start;flex-direction:column}.promo-banner-preview{grid-template-columns:70px 1fr}.promo-preview-btn{grid-column:1/-1;text-align:center}.admin-tabs{width:100%}.admin-tab{flex:1}}

/* Image framing controls */
.image-position-editor{margin-top:10px;padding:12px;border:1px solid #dedede;border-radius:14px;background:#fafafa}.image-position-stage{position:relative;height:220px;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#ededed,#d7d7d7);display:grid;place-items:center;touch-action:none;cursor:grab}.image-position-stage:active{cursor:grabbing}.image-position-stage img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block;transform-origin:0 0;user-select:none;pointer-events:none;will-change:transform,width,height}.promo-position-stage{height:240px}.position-placeholder{padding:20px;text-align:center;color:#777;font-size:12px}.image-position-controls{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:end;margin-top:10px}.image-position-controls label{font-size:11px;font-weight:800}.image-position-controls input[type=range]{width:100%;display:block;margin-top:6px}.btn-small{padding:8px 10px;font-size:11px!important;white-space:nowrap}.promotion-banner{width:min(1120px,calc(100% - 40px));margin:18px auto 0}.promotion-banner-media img{object-position:50% 50%;transform-origin:center;will-change:transform}.promo-preview-media img{object-position:50% 50%;transform-origin:center;will-change:transform}.promotion-preview img{object-position:50% 50%;transform-origin:center}
@media(max-width:760px){.image-position-controls{grid-template-columns:1fr 1fr}.image-position-controls .btn-small{grid-column:1/-1}.promotion-banner{width:calc(100% - 20px);margin:10px auto 0}}

/* Kroma3D promo sizing + image positioning fixes */
.promotion-banner-media,.promo-preview-media{overflow:hidden;position:relative;}
.promotion-banner-media img,.promo-preview-media img{object-fit:cover;object-position:50% 50%;transform-origin:center;display:block;width:100%;height:100%;}
#promotionImageStage img,#productImageStage img{cursor:grab;touch-action:none;}
.save-error{margin-top:10px;padding:10px 12px;border-radius:10px;background:#fff0f0;border:1px solid #efb1b1;color:#8d1c1c;font-size:12px;font-weight:700;line-height:1.4}
.image-position-controls input[type=range]{cursor:pointer;pointer-events:auto}

/* Kroma3D - Anime.js / promo countdown / product gallery */
.promotion-stack{width:min(1120px,calc(100% - 40px));margin:16px auto 0;display:grid;gap:12px}
.promo-countdown{position:relative;display:grid;grid-template-columns:220px 1fr;align-items:center;gap:24px;min-height:170px;padding:14px;border:1px solid #222;border-radius:22px;background:#101010;color:#fff;overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.15)}
.promo-countdown-media{height:140px;border-radius:15px;overflow:hidden;background:#1d1d1d;display:grid;place-items:center}.promo-countdown-media img{width:100%;height:100%;object-fit:cover;transform-origin:center;display:block}
.promo-countdown-copy h2{margin:4px 0 3px;font-size:28px;letter-spacing:-.04em}.promo-countdown-copy p{margin:0 0 14px;color:#c9c9c9;font-size:13px}.countdown-grid{display:grid;grid-template-columns:repeat(4,minmax(65px,1fr));gap:8px}.countdown-grid>div{padding:10px 8px;border:1px solid rgba(255,255,255,.14);border-radius:13px;background:rgba(255,255,255,.05);text-align:center}.countdown-grid strong{display:block;font-size:24px;letter-spacing:-.04em}.countdown-grid span{font-size:9px;color:#aaa;font-weight:900;letter-spacing:.08em}
.product-modal[hidden]{display:none}.product-modal{position:fixed;inset:0;z-index:500;display:grid;place-items:center;padding:20px}.product-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(7px)}.product-modal-card{position:relative;width:min(1050px,100%);max-height:min(850px,calc(100vh - 40px));overflow:auto;background:#fff;border-radius:26px;box-shadow:0 35px 100px rgba(0,0,0,.3);padding:26px}.product-modal-close{position:absolute;right:15px;top:10px;width:38px;height:38px;border:0;border-radius:50%;background:#f2f2f2;font-size:28px;line-height:1;cursor:pointer;z-index:3}.product-modal-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:34px}.product-gallery{position:relative}.product-gallery-main{height:500px;border-radius:20px;overflow:hidden;background:#f2f2f2;display:grid;place-items:center}.product-gallery-main img{width:100%;height:100%;object-fit:contain;display:block}.product-gallery-thumbs{display:flex;gap:8px;overflow:auto;margin-top:10px;padding:2px}.gallery-thumb{flex:0 0 72px;width:72px;height:72px;border:2px solid transparent;border-radius:11px;padding:0;overflow:hidden;background:#eee;cursor:pointer}.gallery-thumb.active{border-color:#111}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.gallery-arrow{position:absolute;top:calc(50% - 22px);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 8px 20px rgba(0,0,0,.14);font-size:34px;line-height:1;cursor:pointer;z-index:2}.gallery-prev{left:12px}.gallery-next{right:12px}.product-modal-copy{padding:26px 10px 10px}.product-modal-copy h2{font-size:38px;line-height:1.02;letter-spacing:-.05em;margin:8px 0 14px}.modal-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.modal-price strong{font-size:27px}.modal-price del{color:#999}.discount-modal-badge{background:#e51f2a;color:#fff;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.modal-stock{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;margin-bottom:18px}.modal-stock.ok{background:#e9f7ec;color:#246b31}.modal-stock.out{background:#111;color:#fff}.modal-description{color:#555;line-height:1.7;white-space:pre-line;max-height:290px;overflow:auto;margin-bottom:20px}.modal-actions{display:flex;gap:9px;flex-wrap:wrap}.modal-actions .btn{display:inline-flex;text-decoration:none}
body.modal-open{overflow:hidden}
.admin-gallery-existing{margin:8px 0 12px}.admin-gallery-title{font-size:11px;font-weight:900;margin-bottom:7px}.admin-gallery-grid{display:flex;gap:8px;overflow:auto}.admin-gallery-grid>div{width:76px;flex:0 0 76px}.admin-gallery-grid img{width:76px;height:76px;object-fit:cover;border-radius:10px;border:1px solid #ddd;display:block}.admin-gallery-grid small{display:block;font-size:9px;color:#777;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timer-admin-card{margin:0 0 18px}.timer-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.timer-admin-preview{margin-top:10px;border:1px solid #ddd;border-radius:13px;padding:14px;text-align:center;font-weight:900;font-size:15px;background:#111;color:#fff;letter-spacing:.04em}.timer-save-btn{margin-top:10px;width:100%}.promo-admin-head.compact{margin-bottom:12px}.k3d-visible{will-change:transform,opacity}
@media(max-width:760px){.promotion-stack{width:calc(100% - 20px);margin-top:10px}.promo-countdown{grid-template-columns:100px 1fr;gap:12px;min-height:112px;padding:9px}.promo-countdown-media{height:92px}.promo-countdown-copy h2{font-size:19px}.promo-countdown-copy p{font-size:10px;margin-bottom:8px}.countdown-grid{gap:4px}.countdown-grid>div{padding:7px 3px}.countdown-grid strong{font-size:16px}.countdown-grid span{font-size:7px}.product-modal{padding:10px}.product-modal-card{max-height:calc(100vh - 20px);padding:16px;border-radius:20px}.product-modal-grid{grid-template-columns:1fr;gap:14px}.product-gallery-main{height:300px}.product-modal-copy{padding:0 4px 8px}.product-modal-copy h2{font-size:29px}.modal-description{max-height:220px}.timer-admin-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.k3d-visible{opacity:1!important;transform:none!important}.promotion-banner,.promo-countdown{animation:none!important}}

.dynamic-product .product-info>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.8em}


/* Kroma3D — animated topographic / technical visual language */
.topo-surface{position:relative;isolation:isolate;overflow:hidden}
.topo-surface>*:not(.topo-field):not(.scan-line){position:relative;z-index:2}
.topo-field{position:absolute;inset:-18%;z-index:0;pointer-events:none;background-image:url('assets/topo-lines.svg');background-size:900px 700px;background-repeat:repeat;opacity:.24;mix-blend-mode:multiply;animation:topoDrift 24s linear infinite;will-change:transform,background-position}
.topo-field-soft{opacity:.11;animation-duration:34s}
.topo-surface:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.9),transparent 30%),linear-gradient(90deg,rgba(255,255,255,.82),transparent 30%,transparent 70%,rgba(255,255,255,.72));opacity:.72}
.scan-line{position:absolute;z-index:3;left:-10%;right:-10%;top:18%;height:1px;background:linear-gradient(90deg,transparent,rgba(0,0,0,.35),transparent);box-shadow:0 0 18px rgba(0,0,0,.12);pointer-events:none;animation:scanSweep 7s ease-in-out infinite}
.hero .topo-field{opacity:.18;background-size:760px 590px}
.hero .topo-surface:after{display:none}

.hero-copy .eyebrow,.hero-copy h1,.hero-copy>p,.hero-actions,.hero-meta{will-change:transform,opacity}
.hero h1{position:relative}
.hero h1:after{content:"";position:absolute;left:0;bottom:-9px;width:82px;height:3px;background:#111;transform-origin:left;animation:lineReveal 1.2s .8s cubic-bezier(.22,1,.36,1) both}
.hero-art{perspective:1100px}
.hero-art .print-card{transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s ease}
.hero-art:hover .print-back{transform:translate(-66px,-28px) rotate(-13deg)}
.hero-art:hover .print-mid{transform:translate(62px,26px) rotate(10deg)}
.hero-art:hover .print-front{transform:rotate(-1deg) translateZ(18px);box-shadow:0 45px 110px rgba(0,0,0,.38)}
.hero-art .cube-top{animation:floatCube 5.5s ease-in-out infinite}
.hero-art .cube-bottom{animation:floatCube 7s 1s ease-in-out infinite reverse}
.hero-art .ring{animation:ringPulse 4s ease-in-out infinite}
.hero-dot{animation:dotPulse 2.8s ease-in-out infinite}
.dot-b{animation-delay:.7s}.dot-c{animation-delay:1.35s}
.hero-status{animation:statusFloat 3.5s ease-in-out infinite}
.hero-badge{animation:badgeFloat 4.5s ease-in-out infinite}

.btn,.cart-btn,.icon-btn,.menu-btn{position:relative;overflow:hidden;will-change:transform}
.btn:after,.cart-btn:after,.icon-btn:after,.menu-btn:after{content:"";position:absolute;inset:-40%;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.34) 50%,transparent 58%);transform:translateX(-120%) rotate(8deg);transition:transform .7s ease;pointer-events:none}
.btn:hover:after,.cart-btn:hover:after,.icon-btn:hover:after,.menu-btn:hover:after{transform:translateX(120%) rotate(8deg)}
.btn:hover{transform:translateY(-3px)}
.btn:active{transform:translateY(0) scale(.98)}

.category-card,.product-card,.step,.trust-grid>div,.contact-box{will-change:transform;transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease,border-color .35s ease}
.category-card:hover,.product-card:hover{transform:translateY(-8px) rotateX(1deg);box-shadow:0 22px 55px rgba(0,0,0,.13)}
.product-card:hover .product-visual img{transform:scale(calc(var(--image-zoom, 1) * 1.045))!important}
.product-visual img{transition:transform .5s cubic-bezier(.22,1,.36,1),filter .4s ease;will-change:transform}
.product-card:hover .product-visual img{filter:saturate(1.08) contrast(1.03)}
.category-card:before{transition:transform .7s cubic-bezier(.22,1,.36,1),opacity .4s ease}
.category-card:hover:before{transform:scale(1.08) rotate(2deg);opacity:.9}

.section-head h2{position:relative}
.section-head h2:after{content:"";display:block;width:52px;height:2px;background:#111;margin-top:16px;transform-origin:left;transform:scaleX(0);transition:transform .8s cubic-bezier(.22,1,.36,1)}
.k3d-visible .section-head h2:after,.section-head.k3d-visible h2:after{transform:scaleX(1)}

.promotion-banner,.promo-countdown{will-change:transform,opacity;overflow:hidden}
.promotion-banner:before,.promo-countdown:before{content:"";position:absolute;inset:0;background-image:url('assets/topo-lines.svg');background-size:720px 560px;opacity:.08;mix-blend-mode:screen;animation:topoDrift 20s linear infinite;pointer-events:none}
.promo-countdown .countdown-grid>div{transition:transform .25s ease,border-color .25s ease;background:rgba(255,255,255,.055)}
.promo-countdown .countdown-grid>div:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.35)}

.product-modal-card{will-change:transform,opacity}
.product-gallery-main{position:relative;overflow:hidden}
.product-gallery-main:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.16) 50%,transparent 65%);transform:translateX(-120%);animation:gallerySweep 6s ease-in-out infinite}
.gallery-thumb{transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.gallery-thumb:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(0,0,0,.12)}

.announcement{background-image:linear-gradient(90deg,#111,#0b0b0b,#111);background-size:220% 100%;animation:announcementFlow 8s linear infinite}
.site-header{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.brand img{transition:transform .45s cubic-bezier(.22,1,.36,1),filter .45s ease}
.brand:hover img{transform:translateY(2px) rotate(-2deg) scale(1.025);filter:drop-shadow(0 10px 16px rgba(0,0,0,.18))}

@keyframes topoDrift{0%{background-position:0 0;transform:rotate(-1deg) scale(1.02)}50%{background-position:120px 70px;transform:rotate(1deg) scale(1.04)}100%{background-position:240px 140px;transform:rotate(-1deg) scale(1.02)}}
@keyframes scanSweep{0%,100%{transform:translateY(-10vh);opacity:0}20%{opacity:.7}50%{transform:translateY(48vh);opacity:.45}80%{opacity:.7} }
@keyframes lineReveal{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}
@keyframes floatCube{0%,100%{translate:0 0 rotate(0deg)}50%{translate:0 -10px rotate(2deg)}}
@keyframes ringPulse{0%,100%{scale:1;opacity:1}50%{scale:1.045;opacity:.82}}
@keyframes dotPulse{0%,100%{scale:1;opacity:.55}50%{scale:1.45;opacity:1}}
@keyframes statusFloat{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes badgeFloat{0%,100%{translate:0 0 rotate(0)}50%{translate:0 -6px rotate(-1deg)}}
@keyframes gallerySweep{0%,55%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}
@keyframes announcementFlow{0%{background-position:0 50%}100%{background-position:220% 50%}}

@media(max-width:760px){
  .topo-field{opacity:.12;background-size:620px 480px}
  .scan-line{animation-duration:9s;opacity:.45}
  .hero-art:hover .print-back{transform:translate(-52px,-20px) rotate(-11deg)}
  .hero-art:hover .print-mid{transform:translate(50px,20px) rotate(8deg)}
  .hero-art:hover .print-front{transform:rotate(-1deg)}
}
@media(prefers-reduced-motion:reduce){
  .topo-field,.scan-line,.hero-art .cube-top,.hero-art .cube-bottom,.hero-art .ring,.hero-dot,.hero-status,.hero-badge,.announcement,.product-gallery-main:after{animation:none!important}
  .btn:hover,.category-card:hover,.product-card:hover,.gallery-thumb:hover{transform:none}
}

/* Kroma3D V5 — category-specific Anime.js motion surfaces */
.category-card{transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease,background .45s ease}
.category-card:hover{box-shadow:0 22px 50px rgba(0,0,0,.12);transform:translateY(-8px) rotateX(1deg)}
.cat-art{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:-1}
.cat-art i{position:absolute;display:block;border:1px solid rgba(0,0,0,.24);background:rgba(255,255,255,.08);will-change:transform}
.cat-1 .cat-art i:nth-child(1){width:130px;height:130px;right:42px;top:28px;border-radius:32px;transform:rotate(16deg)}
.cat-1 .cat-art i:nth-child(2){width:80px;height:80px;right:150px;top:62px;border-radius:50%}
.cat-1 .cat-art i:nth-child(3){width:180px;height:1px;right:30px;top:100px;transform:rotate(-25deg)}
.cat-2 .cat-art i:nth-child(1){width:210px;height:1px;right:20px;top:72px;box-shadow:0 28px 0 rgba(0,0,0,.16),0 56px 0 rgba(0,0,0,.11)}
.cat-2 .cat-art i:nth-child(2){width:70px;height:70px;right:90px;top:34px;border-radius:8px;transform:rotate(45deg)}
.cat-2 .cat-art i:nth-child(3){width:14px;height:14px;right:40px;top:42px;border-radius:50%;background:#111}
.cat-3 .cat-art i:nth-child(1){width:120px;height:120px;right:64px;top:30px;border-radius:50% 50% 45% 45%}
.cat-3 .cat-art i:nth-child(2),.cat-3 .cat-art i:nth-child(3){width:26px;height:36px;top:52px;border-radius:50% 50% 40% 40%;transform:rotate(25deg)}
.cat-3 .cat-art i:nth-child(2){right:170px}.cat-3 .cat-art i:nth-child(3){right:145px;transform:rotate(-25deg)}
.cat-4 .cat-art i:nth-child(1){width:96px;height:96px;right:92px;top:42px;border-radius:50%;border-width:2px}
.cat-4 .cat-art i:nth-child(2){width:132px;height:132px;right:74px;top:24px;border-radius:50%;border-style:dashed}
.cat-4 .cat-art i:nth-child(3){width:12px;height:12px;right:42px;top:86px;border-radius:50%;background:#111}
.cat-5 .cat-art i:nth-child(1){width:96px;height:96px;right:92px;top:38px;border-radius:50%;border-width:3px}
.cat-5 .cat-art i:nth-child(2){width:22px;height:120px;right:129px;top:26px;border-width:2px}
.cat-5 .cat-art i:nth-child(3){width:120px;height:22px;right:80px;top:75px;border-width:2px}
.cat-6 .cat-art i:nth-child(1){width:180px;height:90px;right:52px;top:36px;border-radius:8px;transform:rotate(-10deg)}
.cat-6 .cat-art i:nth-child(2){width:28px;height:28px;right:174px;top:72px;border-radius:50%;background:#111}
.cat-6 .cat-art i:nth-child(3){width:120px;height:1px;right:90px;top:86px;transform:rotate(18deg)}
.cat-1:before,.cat-2:before,.cat-3:before,.cat-4:before,.cat-5:before,.cat-6:before{animation:categoryGradient 8s ease-in-out infinite alternate}
@keyframes categoryGradient{from{filter:brightness(.98);background-position:0 0}to{filter:brightness(1.04);background-position:100% 100%}}
@media(prefers-reduced-motion:reduce){.category-card{transition:none}.cat-1:before,.cat-2:before,.cat-3:before,.cat-4:before,.cat-5:before,.cat-6:before{animation:none}.cat-art i{transform:none!important}}

/* Modo de colores invertidos exclusivo del panel de administración.
   Las imágenes se vuelven a invertir para conservar sus colores originales. */
.admin-color-toggle{min-width:170px}
body.admin-inverted .admin-header,
body.admin-inverted .admin-shell,
body.admin-inverted #toast{filter:invert(1) hue-rotate(180deg)}
body.admin-inverted .admin-header img,
body.admin-inverted .admin-shell img,
body.admin-inverted .admin-shell video,
body.admin-inverted .admin-shell canvas{filter:invert(1) hue-rotate(180deg)}
body.admin-inverted .admin-header,
body.admin-inverted .admin-shell{transition:filter .35s ease}
@media(max-width:700px){.admin-color-toggle{min-width:0;padding:10px 12px;font-size:12px}}
/* Kroma3D: el modal respeta exactamente el encuadre guardado desde Admin. */
.product-gallery-main{display:block;position:relative;overflow:hidden}
.product-gallery-main img{display:block;max-width:none!important;max-height:none!important}
