:root{--blue:#cfeafa;--blue-deep:#237ea8;--navy:#173e58;--ink:#243946;--muted:#637a89;--line:#deebf1;--bg:#f7fbfd;--white:#fff;--shadow:0 14px 40px rgba(35,95,127,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--blue-deep);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%}[hidden]{display:none!important}.shell{width:min(1180px,calc(100% - 32px));margin:auto}.narrow{max-width:690px}.topbar{position:sticky;top:0;z-index:20;background:#ffffffec;backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--navy);font-size:1.16rem;white-space:nowrap}.brand img{width:42px;height:42px;object-fit:contain}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--blue);color:var(--blue-deep)}nav{display:flex;align-items:center;gap:24px}nav a{color:var(--ink);font-weight:600}.count{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:var(--blue);font-size:.75rem}.hero{background:linear-gradient(116deg,#e3f5ff 0%,#fff 58%,#edf8ff 100%);padding:76px 0 82px;border-bottom:1px solid var(--line)}.hero h1{max-width:660px;font-size:clamp(2.15rem,5vw,4.3rem);line-height:1.11;margin:10px 0 16px;color:var(--navy);letter-spacing:-.04em}.hero p{max-width:600px;font-size:1.13rem;color:var(--muted);margin-bottom:25px}.eyebrow{color:var(--blue-deep);font-size:.76rem;letter-spacing:.15em;font-weight:800}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--blue-deep);background:var(--blue-deep);color:#fff;padding:11px 20px;border-radius:12px;font-weight:700;min-height:45px}.btn:hover{background:#186588;color:#fff;text-decoration:none}.btn.ghost{background:white;color:var(--blue-deep)}.btn.danger{background:#b94354;border-color:#b94354}.btn.wide{width:100%}.section{padding-top:52px;padding-bottom:52px}.section h1,.section h2{color:var(--navy);letter-spacing:-.025em}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading h2{font-size:2rem;margin:4px 0}.section-heading>span{color:var(--muted)}.pills{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 26px}.pills a{border:1px solid var(--line);padding:8px 15px;border-radius:99px;background:white;color:var(--ink)}.pills .active,.pills a:hover{background:var(--navy);color:white;text-decoration:none}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 20px rgba(31,94,120,.04);transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-card a{color:inherit;text-decoration:none}.card-photo{height:270px;background:#eaf3f8;display:grid;place-items:center;color:var(--muted)}.card-photo img{width:100%;height:100%;object-fit:cover}.card-detail{padding:16px}.card-detail h3{font-size:1rem;min-height:48px;margin:0 0 6px}.card-detail strong{color:var(--blue-deep)}del{font-size:.84rem;color:#84949e;margin-left:4px}.card-link{display:block;margin-top:12px;color:var(--blue-deep);font-weight:700;font-size:.88rem}.pages{display:flex;justify-content:center;margin-top:32px}.pages a{padding:6px 12px;border-radius:9px;border:1px solid var(--line);background:white}.pages a.active{background:var(--blue-deep);color:#fff}.breadcrumb{padding-top:22px;color:var(--muted);font-size:.9rem}.product-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:46px;padding-top:25px;padding-bottom:38px}.main-photo{height:560px;background:#e8f2f7;border-radius:20px;display:grid;place-items:center;color:var(--muted);overflow:hidden}.main-photo img{width:100%;height:100%;object-fit:cover}.thumbs{display:flex;gap:9px;margin-top:12px;overflow-x:auto}.thumb{padding:0;border:1px solid var(--line);background:white;border-radius:9px;flex:0 0 72px;height:72px;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.product-info{padding-top:12px}.product-info h1{font-size:clamp(2rem,4vw,3rem);line-height:1.18;color:var(--navy);margin:8px 0 15px}.price{font-weight:800;font-size:1.75rem;color:var(--blue-deep);padding-bottom:15px;border-bottom:1px solid var(--line)}.product-info p{color:var(--muted)}.buy-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px 0 8px}.buy-form label{display:grid;gap:5px;font-weight:700}.buy-form label:nth-of-type(3),.buy-form .stock-note,.buy-form .wide{grid-column:1/-1}.buy-form input,.buy-form select,.form-grid input:not([type=checkbox]):not([type=file]),.form-grid textarea,.form-grid select,#chat-start input,#chat-send input,.copy-link{width:100%;border:1px solid #cddfe9;background:#fff;border-radius:10px;padding:10px 12px;min-height:44px;color:var(--ink)}.buy-form input:focus,.buy-form select:focus,.form-grid input:focus,.form-grid textarea:focus{outline:2px solid var(--blue)}.buy-form .stock-note{margin:0;font-size:.88rem}.helper{color:var(--muted);font-size:.88rem}.text-link{font-weight:700}.detail-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.panel{background:white;border:1px solid var(--line);padding:24px;border-radius:18px;margin-bottom:20px;box-shadow:0 4px 15px rgba(31,94,120,.03)}.panel h2{margin-top:0}.review{border-bottom:1px solid var(--line);padding:15px 0}.review span{color:#e2ae39}.cart-line{display:grid;grid-template-columns:72px 1fr 90px auto;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}.cart-line img{width:72px;height:72px;object-fit:cover;border-radius:10px}.cart-line p{margin:2px 0;color:var(--muted)}.cart-line input{width:75px;padding:7px}.cart-summary{display:flex;align-items:center;justify-content:flex-end;gap:22px}.checkout-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.checkout-grid aside p{display:flex;justify-content:space-between;gap:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label{display:grid;align-content:start;gap:5px;font-weight:600}.form-grid .full{grid-column:1/-1}.form-grid input[type=checkbox]{width:auto;margin-right:6px}.form-grid button{justify-self:start}.form-grid button.full{width:100%}.success{text-align:center;margin-top:70px}.success-icon{border-radius:50%;width:64px;height:64px;display:grid;place-items:center;background:#d8f4e7;color:#18704f;font-size:2rem;margin:auto}.actions{display:flex;gap:10px;flex-wrap:wrap}.success .actions{justify-content:center}.alert{background:#fff1f3;color:#8f2537;padding:12px;border-radius:9px}.empty{grid-column:1/-1}.footer{background:#eaf5fa;margin-top:55px;padding:42px 0}.footer-grid{display:flex;justify-content:space-between;gap:20px}.footer-grid a{display:block;margin-bottom:6px}.consent{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);z-index:50;width:min(900px,calc(100% - 24px));background:white;box-shadow:0 14px 60px #173e5840;border:1px solid var(--line);border-radius:16px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.consent p{margin:4px 0 0;font-size:.85rem;color:var(--muted)}.consent .actions{flex-shrink:0}.chat-launch{position:fixed;bottom:22px;right:22px;z-index:40;border:0;border-radius:99px;padding:13px 18px;background:var(--navy);color:white;box-shadow:var(--shadow);font-weight:700}.chat-box{position:fixed;right:18px;bottom:75px;width:min(375px,calc(100% - 36px));height:500px;z-index:45;background:white;border-radius:18px;box-shadow:0 18px 55px #173e5840;display:flex;flex-direction:column;overflow:hidden}.chat-box header{background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:13px 16px}.chat-box header button{color:#fff;font-size:1.6rem;border:0;background:none}.chat-box form#chat-start{padding:20px;display:grid;gap:14px}.gender{display:flex;gap:20px}.chat-box #chat-live{min-height:0;flex:1;display:flex;flex-direction:column}.chat-messages{min-height:0;flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:9px}.bubble{white-space:pre-wrap;max-width:88%;padding:9px 12px;border-radius:14px;background:#edf5f9;align-self:flex-start;font-size:.91rem}.bubble.visitor{background:var(--blue);align-self:flex-end}.bubble.system{font-size:.8rem;text-align:center;color:var(--muted);background:transparent;align-self:center}.chat-box #chat-send{display:flex;padding:10px;border-top:1px solid var(--line);gap:7px}.chat-box #chat-send button{border:0;background:var(--blue-deep);color:white;border-radius:9px;padding:0 12px}.admin{display:grid;grid-template-columns:210px minmax(0,1fr);gap:25px;padding-top:32px;padding-bottom:50px}.admin-nav{display:flex;flex-direction:column;gap:5px}.admin-nav strong{color:var(--navy);font-size:1.2rem}.admin-nav span{color:var(--muted);font-size:.84rem;margin-bottom:10px}.admin-nav a,.admin-nav button{padding:8px 12px;border:0;border-radius:9px;text-align:left;background:#fff;color:var(--navy)}.admin-nav a:hover,.admin-nav button:hover{background:var(--blue)}.admin-main{min-width:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stats .panel{display:grid}.stats strong{font-size:1.9rem;color:var(--blue-deep)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:650px}th,td{border-bottom:1px solid var(--line);padding:11px;text-align:left;vertical-align:top}td input{max-width:145px}th{background:#f1f8fb}.table-img{width:45px;height:45px;object-fit:cover}.admin-images{display:flex;gap:15px;flex-wrap:wrap}.admin-images img{width:120px;height:120px;object-fit:cover;display:block}.admin-images form{display:grid;gap:8px}.chat-log{border-bottom:1px solid var(--line);padding:10px 0}.prose{max-width:800px}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-layout{gap:20px}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.nav{flex-wrap:wrap;justify-content:center;padding:10px 0;min-height:60px}.nav nav{width:100%;justify-content:space-around;gap:8px;font-size:.82rem}.hero{padding:52px 0}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card-photo{height:190px}.card-detail{padding:10px}.card-detail h3{font-size:.9rem}.product-layout,.detail-grid,.checkout-grid,.admin{grid-template-columns:1fr}.main-photo{height:420px}.section{padding-top:32px;padding-bottom:32px}.cart-line{grid-template-columns:50px 1fr 70px;gap:8px}.cart-line img{width:50px;height:50px}.cart-line>strong{grid-column:2/-1;text-align:right}.cart-summary{flex-direction:column;align-items:stretch}.footer-grid{flex-direction:column}.consent{bottom:8px;display:block}.consent .actions{margin-top:12px}.chat-launch{bottom:10px;right:10px}.chat-box{bottom:62px}.admin-nav{flex-direction:row;flex-wrap:wrap}.admin-nav form{width:100%}}
@media(max-width:400px){.form-grid,.buy-form{grid-template-columns:1fr}.buy-form label:nth-of-type(3),.buy-form .stock-note,.buy-form .wide,.form-grid .full{grid-column:auto}.card-photo{height:155px}.hero h1{font-size:2.1rem}}
.variant-row{border-bottom:1px solid var(--line);padding:14px 0;margin-bottom:14px}
.chat-human{border:0;background:#e9f6fc;color:var(--blue-deep);padding:7px 12px;font-weight:700;text-align:left;font-size:.85rem}
