:root{--bg:#f4f6fb;--surface:#fff;--text:#16233c;--muted:#65738b;--line:#dfe5ef;--blue:#1e3a8a;--gold:#d4af37}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Tahoma,Arial,sans-serif;font-size:15px;line-height:1.9}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #b8860b;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3vw,40px);line-height:1.5;margin-bottom:14px}h2{font-size:24px;margin-bottom:16px}h3{font-size:18px}small{font-size:12px}.muted,.seller{color:var(--muted)}.shop-header{padding:18px max(24px,calc((100% - 1200px)/2));background:var(--surface);border-bottom:1px solid var(--line);display:flex;gap:24px;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;font-weight:bold;white-space:nowrap}.brand img{object-fit:contain}.brand small{display:block;color:var(--muted);font-weight:normal}.shop-header nav{display:flex;gap:22px;flex-wrap:wrap;font-size:14px}.shop-container{max-width:1248px;padding:32px 24px;margin:auto;min-height:70vh}.shop-hero{display:flex;align-items:center;justify-content:space-between;background:#102650;color:#fff;border-radius:26px;padding:44px 48px;margin-bottom:38px;overflow:hidden;gap:30px}.shop-hero .eyebrow{color:#edce77}.shop-hero h1{font-size:clamp(32px,4vw,50px)}.shop-hero p{color:#c2cde0;max-width:440px}.shop-hero img{width:36%;height:270px;object-fit:contain;border-radius:20px}.eyebrow{display:block;color:#8c6e14;font-size:13px;letter-spacing:.3px;margin-bottom:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;min-height:46px;border:0;border-radius:12px;background:var(--blue);color:#fff;cursor:pointer;font-weight:bold}.button:hover{background:#284baf;text-decoration:none}.shop-hero .button{background:var(--gold);color:#152440}.button.secondary{background:#e8edf8;color:var(--blue)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.page-heading h2,.page-heading p{margin-bottom:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px;margin-bottom:24px}.filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.filters label:first-child{flex:1;min-width:180px}label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:14px}label small{color:var(--muted);font-weight:normal}input,textarea,select{width:100%;border:1px solid #cbd4e2;border-radius:10px;background:var(--surface);color:var(--text);padding:10px 12px;min-height:46px}textarea{resize:vertical}.inline{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:46px}.inline input{width:18px;min-height:18px;height:18px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden;transition:box-shadow .2s,transform .2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #10265012}.card-image{display:block;position:relative;background:#eef1f7;height:230px}.card-image img{width:100%;height:100%;object-fit:contain;padding:20px}.badge{display:inline-flex;padding:3px 11px;border-radius:20px;background:#e5f3ec;color:#21613e;font-size:12px}.card-image .badge{position:absolute;top:14px;right:14px}.sold-out{color:#7e4b31;background:#f8ece2}.card-copy{padding:20px}.card-copy h3{margin:8px 0;overflow-wrap:anywhere}.seller{font-size:12px;margin-bottom:20px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:14px;border-top:1px solid var(--line);flex-wrap:wrap}.card-bottom strong{font-size:18px}.card-bottom a{font-size:13px}.pagination{display:flex;gap:24px;justify-content:center;align-items:center;padding:24px 0;flex-wrap:wrap}.pagination a{padding:8px 18px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.empty{text-align:center;padding:50px 24px;color:var(--muted)}.empty h1,.empty h3{color:var(--text)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wide{grid-column:1/-1}.image-preview{width:130px;height:110px;object-fit:contain;background:#f4f6fb;border:1px solid var(--line);border-radius:12px}.actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.product-form>.actions{margin-top:24px}.notice{padding:15px 20px;background:#e3f3eb;border:1px solid #afd8c2;border-radius:12px}.notice.error{background:#fff0ef;border-color:#edbab6;color:#9b2922}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}th,td{padding:16px 12px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-size:13px}td small{display:block;color:var(--muted)}.danger-link{border:0;background:none;padding:4px;color:#b12c32;cursor:pointer}.back-link{display:inline-block;margin-bottom:24px}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:36px}.detail-image{background:#f4f6fb;border-radius:16px;align-self:start}.detail-image img{display:block;width:100%;max-height:550px;object-fit:contain;padding:24px}.detail-price{font-size:30px;font-weight:bold;margin:24px 0}.detail-price small{font-weight:normal;font-size:15px}dl{display:grid;grid-template-columns:80px 1fr;gap:12px;padding-bottom:24px;border-bottom:1px solid var(--line)}dt{color:var(--muted)}dd{margin:0}.description{white-space:pre-wrap;overflow-wrap:anywhere}.shop-footer{text-align:center;border-top:1px solid var(--line);padding:28px 24px;color:var(--muted);font-size:14px}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-header{flex-direction:column;align-items:flex-start}.shop-hero{padding:32px}.product-detail{gap:24px;padding:24px}.filters label{flex:1;min-width:150px}}
@media(max-width:600px){.shop-container{padding:22px 16px}.shop-header{padding:16px}.shop-header nav{gap:16px;font-size:12px}.shop-hero{padding:26px;position:relative}.shop-hero img{display:none}.product-grid,.form-grid,.product-detail{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column;gap:12px}.panel{padding:20px}.filters{gap:12px}.filters label{min-width:100%}.filters .inline{min-width:auto}.card-image{height:250px}.detail-price{font-size:26px}.product-detail .button{font-size:13px;padding:12px}.shop-hero h1{font-size:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-card{transition:none}.product-card:hover{transform:none}}
