:root{font-family:Inter,Arial,sans-serif;color:#1e242b;background:#f5f6f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}h1,h2,p{margin-top:0}h1{font-size:clamp(1.7rem,3vw,2.4rem);letter-spacing:-.035em;margin-bottom:10px}h2{font-size:1.1rem;margin-bottom:20px}.muted{color:#68717b}.small{font-size:.85rem}.eyebrow{font-size:.71rem;letter-spacing:.14em;font-weight:750;color:#53606b;margin-bottom:12px}.brand,.auth-brand{display:flex;align-items:center;gap:10px;color:#122733;letter-spacing:.1em}.brand strong,.auth-brand strong{font-size:1.45rem;letter-spacing:-.11em;font-weight:850}.brand span,.auth-brand span{font-size:.66rem;letter-spacing:.2em;font-weight:750}.header{height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 max(25px,calc((100vw - 1250px)/2));background:#fff;border-bottom:1px solid #e2e5e8;position:sticky;top:0;z-index:5}.header nav{display:flex;gap:4px}.header nav button,.text-btn{border:0;background:transparent;color:#5a6670;padding:12px 15px;border-radius:6px;font-size:.88rem}.header nav button:hover,.header nav .nav-on{background:#e8eef0;color:#183744}.header nav b{border-radius:20px;background:#163847;color:white;padding:2px 6px;font-size:.7rem}.account{display:flex;align-items:center;gap:8px;font-size:.82rem;color:#5f6972}.layout{max-width:1250px;margin:0 auto;padding:42px 25px 90px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:29px}.page-head p:last-child{margin-bottom:0}.min-tag{border:1px solid #dce2e5;background:#fff;border-radius:8px;padding:13px 18px;color:#66727b;font-size:.8rem;white-space:nowrap}.min-tag strong{display:block;color:#153947;font-size:1rem;margin-top:3px}.tools{display:flex;gap:10px;margin-bottom:22px}.tools input,.tools select{height:43px;background:#fff;border:1px solid #d9dfe3;border-radius:6px;padding:0 14px}.tools input{flex:1;max-width:420px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{background:white;border:1px solid #e1e5e7;border-radius:8px;overflow:hidden;transition:border-color .15s,transform .15s}.product-card:hover{border-color:#aabfc7;transform:translateY(-2px)}.product-image{height:240px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}.product-image img{width:100%;height:100%;object-fit:contain;padding:14px}.product-info{padding:16px;border-top:1px solid #edf0f2}.product-code{font-size:.8rem;color:#606d75;font-weight:650}.product-title{font-size:.95rem;margin:9px 0 16px;min-height:37px;font-weight:650}.product-foot{display:flex;justify-content:space-between;align-items:center;gap:8px}.price{font-size:1.15rem;font-weight:750;color:#193945}.small-button{border:1px solid #bdcbd0;background:#fff;color:#1b4653;border-radius:5px;padding:8px 12px}.small-button:hover,.secondary:hover{border-color:#183b48}.more-wrap{text-align:center;margin:30px}.primary,.secondary{border-radius:6px;padding:12px 17px;font-weight:650;border:1px solid #173c49}.primary{background:#173c49;color:white}.primary:hover{background:#102d38}.secondary{background:#fff;color:#173c49}.auth-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}.auth-brand{margin-bottom:26px}.auth-card{background:white;padding:38px;width:min(100%,460px);border:1px solid #e0e6e8;border-radius:10px;box-shadow:0 12px 40px #182f3c0b}.auth-card h1{font-size:1.8rem}.auth-card form,.panel form{display:grid;gap:14px;margin-top:26px}label{display:grid;gap:7px;font-size:.82rem;font-weight:650;color:#3b4851}label input{height:42px;border:1px solid #ccd5d9;border-radius:5px;padding:0 12px;background:white}.auth-card .primary{margin-top:8px}.message{color:#a13636;max-width:460px;margin-top:15px;text-align:center}.warning{padding:13px 25px;background:#fff0d9;color:#68430c;text-align:center;font-size:.86rem}.cart-line{display:grid;grid-template-columns:92px 1fr auto auto;align-items:center;gap:18px;background:white;border:1px solid #e2e6e8;padding:12px;margin-bottom:9px;border-radius:7px}.cart-line img{width:92px;height:83px;object-fit:contain;background:white}.cart-line select,.cart-line input{padding:8px;border:1px solid #cbd6db;border-radius:4px}.cart-line input{width:70px}.cart-summary{margin:20px 0 0 auto;background:white;border:1px solid #e0e6e8;padding:24px;width:min(100%,370px);border-radius:8px}.cart-summary .total{display:flex;justify-content:space-between;font-size:1.2rem;margin:18px 0}.cart-summary .primary{width:100%}.danger{color:#a53636}.panel{background:#fff;border:1px solid #e1e6e9;padding:24px;border-radius:8px;margin-bottom:16px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-grid .panel{min-width:0}.admin-grid button{margin:8px 9px 8px 0}.admin-grid input[type=file]{display:block;max-width:100%;margin:14px 0}.admin-status{margin-bottom:18px;padding:17px 22px;background:#e9eff1;border-radius:8px;color:#21434f;font-size:.9rem}.invite-output{padding:13px;background:#f0f4f5;word-break:break-all;font-size:.82rem}.invite-output button{display:block}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:.86rem;text-align:left}.data-table th,.data-table td{border-bottom:1px solid #e9edef;padding:12px 10px;white-space:nowrap}.data-table th{color:#6b7880;font-size:.75rem}.data-table button{background:transparent;border:0;color:#1a5266;text-decoration:underline}.data-table button.danger{color:#a53636}.modal-layer{position:fixed;inset:0;background:#111c248a;display:flex;align-items:center;justify-content:center;z-index:20;padding:20px}.modal{position:relative;background:white;border-radius:9px;width:min(850px,100%);max-height:92vh;overflow:auto;padding:30px}.close{position:absolute;right:14px;top:10px;font-size:1.8rem;border:0;background:transparent}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.detail-main{width:100%;height:390px;object-fit:contain;background:#fff;border:1px solid #edf0f1}.thumbs{display:flex;gap:7px;overflow:auto;margin-top:9px}.thumbs button{background:white;border:1px solid #dee5e8;padding:3px}.thumbs img{width:56px;height:56px;object-fit:contain}.detail-video{width:100%;max-height:330px;margin-top:10px}.colors{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.colors button{background:white;border:1px solid #c8d3d8;border-radius:4px;padding:10px 14px}.colors button.selected{border:2px solid #184454;color:#184454}.toast{position:fixed;right:20px;bottom:20px;z-index:30;padding:14px 20px;background:#163d49;color:white;border-radius:7px;max-width:420px;box-shadow:0 8px 25px #0002}.empty{padding:40px;background:white;border:1px solid #e1e7ea;text-align:center;color:#607078;border-radius:8px}[hidden]{display:none!important}@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,1fr)}.account span{display:none}}@media(max-width:650px){.header{height:auto;min-height:68px;padding:10px 15px;flex-wrap:wrap}.header nav{order:3;width:100%;justify-content:center}.header nav button{flex:1}.layout{padding:26px 15px 70px}.page-head{align-items:flex-start}.min-tag{display:none}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:170px}.product-info{padding:11px}.product-title{font-size:.83rem}.price{font-size:1rem}.small-button{font-size:.75rem;padding:7px}.admin-grid,.detail-grid{grid-template-columns:1fr}.cart-line{grid-template-columns:65px 1fr auto;gap:10px}.cart-line img{width:65px;height:70px}.cart-line .line-price{grid-column:2 / -1}.tools{flex-wrap:wrap}.tools input,.tools select{max-width:none;width:100%}}
 .empty{grid-column:1/-1}
 .order-detail{border-top:1px solid #e1e6e9;margin-top:22px;padding-top:22px}
.stock-badge,.preorder-badge{display:inline-block;border-radius:4px;padding:5px 8px;font-size:.72rem;font-weight:700;margin-bottom:9px}
.stock-badge{background:#e5f3eb;color:#24553d}.preorder-badge{background:#fff0dc;color:#875116}
.preorder-note{border-left:3px solid #d89542;background:#fff8ef;padding:11px 13px;color:#795223;font-size:.86rem;line-height:1.45}
.cart-line .preorder-badge,.cart-line .stock-badge{margin:5px 0 0}
@media(max-width:650px){.header nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.header nav button{min-width:0;padding:9px 3px;font-size:.75rem}}

/* Filtrele de catalog sunt accesibile direct, inclusiv pe ecrane mici. */
.category-section{margin:-2px 0 23px}
.category-section .eyebrow{margin-bottom:10px}
.category-filter{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 9px;scrollbar-width:thin}
.category-tile{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-height:68px;padding:8px 17px 8px 9px;border:1px solid #d8e1e5;border-radius:11px;background:#fff;color:#25404a;font-weight:680;white-space:nowrap;box-shadow:0 1px 3px #172e3b08;transition:border-color .15s,transform .15s,box-shadow .15s}
.category-tile:hover{transform:translateY(-2px);border-color:#557b88;box-shadow:0 5px 15px #17384718}
.category-tile[aria-pressed="true"]{border:2px solid #173c49;background:#eaf1f3;color:#143845;padding-right:16px}
.category-tile img{width:52px;height:52px;object-fit:cover;border-radius:50%;background:#f7f8f8}
.category-all{padding:0 18px;min-height:68px}
.category-all:before{content:"▦";display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e5eef1;color:#173c49;font-size:1.65rem;font-weight:400}
body.modal-open{overflow:hidden}
.modal-layer:not([hidden]){animation:detail-backdrop-in .23s ease both}
.modal-layer:not([hidden]) .modal{animation:detail-panel-in .26s cubic-bezier(.2,.75,.3,1) both}
.modal-layer.is-closing{animation:detail-backdrop-out .2s ease both}
.modal-layer.is-closing .modal{animation:detail-panel-out .2s ease both}
.modal{width:min(850px,100%);padding:30px;max-height:92vh}
.detail-grid{gap:30px;align-items:start}
.detail-grid>div{min-width:0}
.detail-photo-button{position:relative;display:block;width:100%;padding:0;border:1px solid #e6eaec;background:white;cursor:zoom-in}
.detail-photo-button:disabled{cursor:default}
.detail-main{display:block;border:0;height:min(45vh,390px)}
.photo-hint{position:absolute;right:12px;bottom:12px;background:#173c49e8;color:white;border-radius:5px;padding:8px 11px;font-size:.8rem}
.thumbs button.selected{border-color:#173c49;box-shadow:0 0 0 1px #173c49}
.detail-videos{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 30px;align-items:start;margin-top:4px}
.detail-video-slot{min-width:0;display:flex;justify-content:center}
.detail-video{display:block;width:min(100%,190px);aspect-ratio:9/16;object-fit:contain;background:#151719;border-radius:17px;overflow:hidden}
.photo-layer{position:fixed;inset:0;z-index:30;background:#0c1119f2;display:flex;align-items:center;justify-content:center;animation:detail-backdrop-in .2s ease}
.photo-stage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:65px 82px 75px}
.photo-stage img{max-width:100%;max-height:100%;object-fit:contain;user-select:none;cursor:zoom-in;touch-action:none;transition:transform .16s ease}
.photo-stage img.zoomed{cursor:grab}
.photo-stage img.zoomed:active{cursor:grabbing;transition:none}
.photo-close,.photo-arrow,.photo-controls button{border:0;background:#ffffff25;color:white;border-radius:7px}
.photo-close{position:absolute;right:23px;top:18px;width:48px;height:48px;font-size:2rem;z-index:1}
.photo-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:56px;font-size:2.3rem;z-index:1}
.photo-previous{left:20px}.photo-next{right:20px}
.photo-controls{position:absolute;bottom:18px;display:flex;align-items:center;gap:13px;background:#18232fcc;color:white;border-radius:8px;padding:7px 10px;font-size:.85rem}
.photo-controls button{width:37px;height:34px;font-size:1.4rem}
.photo-controls button:disabled{opacity:.4}
@keyframes detail-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes detail-panel-in{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes detail-backdrop-out{from{opacity:1}to{opacity:0}}
@keyframes detail-panel-out{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(14px) scale(.98)}}
@media(max-width:650px){.category-tile{min-height:60px;padding-right:13px;font-size:.84rem}.category-tile img{width:44px;height:44px}.category-all{min-height:60px}.modal{padding:22px 17px}.detail-main{height:min(50vh,390px)}.detail-videos{gap:12px}.detail-video{width:min(100%,165px);border-radius:15px}.photo-stage{padding:65px 12px 80px}.photo-arrow{top:auto;bottom:13px;transform:none;width:36px;height:38px;font-size:1.7rem}.photo-previous{left:12px}.photo-next{right:12px}}
@media(prefers-reduced-motion:reduce){.modal-layer:not([hidden]),.modal-layer:not([hidden]) .modal,.modal-layer.is-closing,.modal-layer.is-closing .modal,.photo-layer{animation:none}.category-tile,.photo-stage img{transition:none}}

/* Fișa compactă păstrează fotografiile și videoclipurile în același loc. */
.brand,.auth-brand{gap:12px}
.brand strong,.auth-brand strong{font-family:Georgia,'Times New Roman',serif;font-size:1.62rem;font-weight:500;letter-spacing:.015em}
.brand .brand-script,.auth-brand .brand-script{font-family:'Allura','Brush Script MT',cursive;font-size:2.05rem;font-weight:400;letter-spacing:0;line-height:1;text-transform:none;white-space:nowrap;color:#284752}
.modal{max-height:min(92dvh,760px);overflow:auto;scrollbar-width:none}
.modal::-webkit-scrollbar{display:none}
.modal .close{z-index:3;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:0 2px 12px #12273322;line-height:1}
.detail-grid{gap:24px;align-items:start}
.detail-media,.detail-info{min-width:0}
.media-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#eff3f4;padding:4px;border-radius:10px;margin-bottom:11px}
.media-tabs button{background:transparent;border:0;border-radius:7px;padding:9px 8px;color:#53636b;font-size:.88rem;font-weight:600}
.media-tabs button[aria-selected="true"]{background:#fff;color:#193c49;box-shadow:0 1px 5px #142c381c}
.media-tabs button:disabled{opacity:.42}
.detail-main{height:min(42dvh,335px)}
.thumbs{margin-top:8px;padding-bottom:3px;scrollbar-width:thin}
.thumbs img{height:51px;width:51px}
.detail-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0;align-items:stretch}
.detail-video-slot{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:min(43dvh,345px);background:#151719;border-radius:19px;overflow:hidden}
.detail-video{width:100%;height:100%;max-height:none;margin:0;aspect-ratio:var(--video-ratio,9 / 16);object-fit:contain;background:transparent;border-radius:19px}
.video-fullscreen{position:absolute;right:8px;top:8px;border:1px solid #ffffff55;border-radius:7px;background:#12212ad9;color:#fff;font-size:.72rem;padding:7px 9px;z-index:1;box-shadow:0 1px 6px #0005}
.video-fullscreen:focus-visible,.media-tabs button:focus-visible,.modal .close:focus-visible{outline:3px solid #88b5c8;outline-offset:2px}
.more-videos{display:block;width:100%;margin-top:12px;padding:10px}
.more-videos[hidden]{display:none}
.photo-panel[hidden],.video-panel[hidden]{display:none}
.detail-info>.price{font-size:1.45rem;margin:3px 0 18px}
.detail-specs{background:#f5f8f8;border:1px solid #e1e9eb;border-radius:10px;padding:16px 18px;margin:0 0 19px}
.detail-specs h2{color:#234451;font-size:1.02rem;letter-spacing:-.01em;margin:0 0 11px}
.detail-specs-list{margin:0}
.detail-spec-row{display:grid;grid-template-columns:minmax(85px,28%) minmax(0,1fr);gap:10px;padding:9px 0;border-top:1px solid #e1e9eb;line-height:1.45}
.detail-spec-row:last-child{padding-bottom:0}
.detail-spec-row dt{font-size:.84rem;font-weight:650;color:#61727a}
.detail-spec-row dd{margin:0;font-size:.98rem;font-weight:600;color:#213a45;overflow-wrap:anywhere}
@media(max-width:650px){
  .header{align-items:center;gap:6px}
  .brand .brand-script{font-size:1.85rem}
  .category-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;padding:2px}
  .category-tile,.category-tile[aria-pressed="true"]{width:100%;min-width:0;white-space:normal;text-align:left;line-height:1.2;padding:7px;gap:7px;font-size:.79rem}
  .category-tile img{width:42px;height:42px;flex:0 0 42px}
  .category-all{grid-column:1/-1;min-height:51px}
  .category-all:before{width:35px;height:35px;font-size:1.4rem;flex:0 0 35px}
  .modal-layer{padding:0;align-items:stretch}
  .modal{width:100%;max-height:100dvh;height:100dvh;border-radius:0;padding:58px 16px max(28px,env(safe-area-inset-bottom));overscroll-behavior:contain}
  .modal .close{position:fixed;right:14px;top:max(9px,env(safe-area-inset-top));width:43px;height:43px;background:#fff;box-shadow:0 2px 15px #12273344}
  .detail-grid{grid-template-columns:1fr;gap:17px}
  .detail-main{height:min(40dvh,330px)}
  .detail-video-slot{height:min(43dvh,335px);border-radius:16px}
  .detail-video{border-radius:16px}
  .video-fullscreen{font-size:.7rem;padding:7px 6px;right:5px;top:5px}
  .detail-info h1{font-size:1.5rem}
  .photo-stage{padding:63px 13px 74px}
}
@media(max-width:380px){.category-tile{font-size:.74rem}.category-tile img{width:36px;height:36px;flex-basis:36px}.video-fullscreen{font-size:.64rem}}
