:root{font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif;color:#1f1713;background:#f7f3ed;font-synthesis:none;--sidebar: #20150f;--sidebar-muted: #c5bdb7;--paper: #f7f3ed;--card: #fffaf4;--ink: #1f1713;--muted: #796f68;--line: #e7d7c2;--accent: #b9382c;--accent-dark: #94281f;--gold: #b88d4e;--success: #2f7447;--radius: 12px;--serif: "Songti SC", "Noto Serif SC", "SimSun", serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--paper);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.5}img{display:block;max-width:100%}.login-page{display:grid;place-items:center;min-height:100vh;min-height:100svh;padding:48px 24px;background:#f6f1e9}.login-frame{display:grid;place-items:center;width:min(820px,100%);min-height:684px;padding:40px;border:1px solid rgba(238,231,221,.8);border-radius:24px;background:#fbfaf7;box-shadow:0 30px 72px #33261d2e}.login-card{display:flex;flex-direction:column;width:min(520px,100%);min-height:600px;margin:0;padding:34px 34px 32px;border:1px solid #e8d8c4;border-radius:10px;color:#33261f;background:#fffaf4}.login-brand{display:grid;justify-items:start;gap:16px;color:#6f625a;font-size:20px}.login-brand img{width:66px;height:66px;border-radius:15px;object-fit:cover;box-shadow:0 5px 14px #6f1f1726}.login-card h1{margin:26px 0 25px;font-family:var(--serif);font-size:40px;font-weight:400;line-height:1.2;letter-spacing:.025em}.login-field{display:grid;gap:8px;margin-bottom:17px;color:#7c6f67;font-size:16px}.login-field>input,.password-input>input{width:100%;height:52px;padding:0 15px;border:1px solid #e5d6c4;border-radius:9px;outline:0;color:#33261f;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.login-field input::placeholder{color:#aaa099}.login-field input:focus{border-color:#be6d61;box-shadow:0 0 0 3px #b9382c17}.login-field input:disabled{color:#948982;background:#f8f4ef}.password-input{position:relative;display:block}.password-input>input{padding-right:50px}.password-input>button{position:absolute;top:6px;right:7px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:7px;color:#8a7d75;background:transparent}.password-input>button:hover{color:var(--accent);background:#fbefeb}.password-input svg{width:20px;height:20px}.login-notice{display:flex;align-items:center;gap:10px;min-height:50px;margin-top:-9px;padding:10px 14px;border:1px solid #e4cab6;border-radius:8px;color:#986444;background:#fff8ef;font-size:14px;line-height:1.45}.login-notice.is-error{border-color:#efb4ab;color:#b53b30;background:#fff0ed}.login-notice svg{width:20px;height:20px;flex:0 0 auto;color:var(--accent)}.login-submit{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:56px;margin-top:auto;padding:0 20px;border:1px solid var(--accent);border-radius:8px;color:#fff;background:var(--accent);font-size:18px;font-weight:700;box-shadow:0 7px 16px #91261d24;transition:background-color .16s ease,transform .16s ease,box-shadow .16s ease}.login-submit:hover:not(:disabled){background:var(--accent-dark);box-shadow:0 9px 20px #91261d33;transform:translateY(-1px)}.login-submit:active:not(:disabled){transform:translateY(0)}.login-submit svg{width:20px;height:20px;animation:spin 1s linear infinite}.auth-loading-card{display:grid;justify-items:center;gap:16px;width:min(360px,100%);padding:42px;border:1px solid #e8d8c4;border-radius:18px;color:#75675e;background:#fffaf4;box-shadow:0 24px 62px #33261d26}.auth-loading-card img{width:64px;height:64px;border-radius:15px}.auth-loading-card>svg{width:22px;height:22px;color:var(--accent);animation:spin 1s linear infinite}.admin-shell{min-height:100vh;background:var(--paper)}.sidebar{position:fixed;z-index:20;inset:0 auto 0 0;display:flex;flex-direction:column;width:246px;padding:26px 18px 18px;color:#fff;background:var(--sidebar);transition:width .18s ease}.sidebar.is-collapsed{width:84px}.brand-lockup{display:flex;align-items:center;gap:14px;min-height:66px;padding:0 2px 0 0;overflow:hidden}.brand-lockup img{width:48px;height:48px;border-radius:50%;flex:0 0 auto;object-fit:cover;background:#fff}.brand-lockup div{display:grid;gap:5px;min-width:150px}.brand-lockup strong{font-family:var(--serif);font-size:22px;letter-spacing:.05em}.brand-lockup span{color:#a89f99;font-size:13px}.sidebar-nav{display:grid;gap:7px;margin-top:34px}.sidebar-nav button{display:flex;align-items:center;gap:15px;width:100%;min-height:52px;padding:0 15px;border:0;border-radius:9px;color:var(--sidebar-muted);text-align:left;background:transparent;font-size:16px;white-space:nowrap}.sidebar-nav button:hover{color:#fff;background:#ffffff0f}.sidebar-nav button.is-active{color:#fff;background:var(--accent)}.sidebar-nav svg{width:22px;height:22px;flex:0 0 auto}.sidebar.is-collapsed .sidebar-nav button{justify-content:center;padding:0}.sidebar.is-collapsed .brand-lockup div,.sidebar.is-collapsed .sidebar-nav span{display:none}.collapse-button{display:grid;place-items:center;width:36px;height:36px;margin:auto 0 0 auto;border:1px solid rgba(255,255,255,.14);border-radius:50%;color:#c7beb8;background:transparent}.sidebar.is-collapsed .collapse-button{margin-right:auto}.admin-main{min-height:100vh;margin-left:246px;padding:28px 34px 44px;transition:margin-left .18s ease}.sidebar.is-collapsed~.admin-main{margin-left:84px}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:94px}.admin-header p{margin:0 0 10px;color:var(--muted);font-size:14px}.admin-header h1{margin:0;font-family:var(--serif);font-size:clamp(34px,4vw,52px);font-weight:700;line-height:1;letter-spacing:.03em}.header-actions{display:flex;align-items:center;gap:10px}.ghost-button,.primary-button,.danger-button,.icon-text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 17px;border-radius:9px;font-weight:700;white-space:nowrap}.ghost-button{border:1px solid var(--line);color:#604e42;background:#fffaf5}.admin-identity{cursor:default;font-weight:600}.primary-button{border:1px solid var(--accent);color:#fff;background:var(--accent)}.primary-button:hover{background:var(--accent-dark)}.primary-button.compact{min-height:42px;padding:0 15px}.danger-button{border:1px solid #c94a3f;color:#fff;background:#c94a3f}.icon-text-button{border:1px solid var(--line);color:#675b54;background:#fff}.ghost-button svg,.primary-button svg,.danger-button svg,.icon-text-button svg{width:19px;height:19px}.status-banner{display:flex;align-items:center;gap:11px;min-height:50px;margin:18px 0 20px;padding:0 16px;border:1px solid #b9d9c2;border-radius:9px;color:var(--success);background:#edf7ef;font-size:15px}.status-banner svg{width:21px;height:21px;color:var(--accent)}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{position:relative;min-height:146px;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}.metric-card>svg{width:24px;height:24px;margin-bottom:7px;color:var(--accent)}.metric-card span{display:block;color:var(--muted);font-size:15px}.metric-card strong{display:block;margin-top:8px;font-size:34px;line-height:1}.metric-card small{position:absolute;right:20px;bottom:18px;color:#9a8e86}.overview-panels{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}.source-panel,.quick-panel{min-height:280px;padding:23px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.panel-heading h2{margin:0;font-family:var(--serif);font-size:24px}.panel-heading>span{color:var(--muted);font-size:14px}.panel-heading>button{display:inline-flex;align-items:center;gap:4px;min-height:40px;border:0;color:var(--muted);background:transparent}.source-row{display:grid;grid-template-columns:90px minmax(0,1fr) 42px;align-items:center;gap:12px;margin:18px 0;color:var(--muted);font-size:14px}.source-row>div{height:9px;overflow:hidden;border-radius:5px;background:#e9dece}.source-row i{display:block;height:100%;border-radius:inherit;background:var(--accent)}.source-row b{color:var(--ink)}.quick-panel>button{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;min-height:68px;padding:0 6px;border:0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left;background:transparent}.quick-panel>button:last-child{border-bottom:0}.quick-panel>button>svg:first-child{width:23px;height:23px;color:var(--accent)}.quick-panel>button>span{display:grid;gap:4px}.quick-panel small{color:var(--muted)}.hot-section{margin-top:14px;padding:23px}.hot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hot-card{overflow:hidden;padding:0;border:1px solid var(--line);border-radius:10px;color:var(--ink);text-align:left;background:#fff}.hot-card>img,.hot-card>.image-empty{width:100%;aspect-ratio:1.55/1;object-fit:cover}.hot-card>span:last-child{display:grid;gap:6px;padding:13px}.hot-card b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hot-card small,.hot-card em{color:var(--muted);font-size:12px;font-style:normal}.products-page{overflow:hidden}.section-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 0}.section-intro h2{margin:0;font-family:var(--serif);font-size:28px}.section-intro p{margin:7px 0 0;color:var(--muted);font-size:14px}.section-intro>span{color:var(--muted)}.product-title-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.category-back-button{display:inline-flex;min-height:36px;align-items:center;gap:6px;padding:0 12px;border:1px solid #d9bba5;border-radius:8px;color:var(--accent);background:#fffaf5;font-weight:700}.category-back-button:hover{border-color:var(--accent);background:#fff4ef}.category-back-button svg{width:18px;height:18px}.product-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) repeat(4,135px) auto auto;gap:9px;padding:20px 24px}.search-field{display:flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.search-field>svg{width:19px;height:19px;color:#8d827a;flex:0 0 auto}.search-field input{width:100%;min-width:0;padding:0 10px;border:0;outline:0;color:var(--ink);background:transparent}.search-field button{display:grid;place-items:center;width:30px;height:30px;border:0;color:var(--muted);background:transparent}.product-toolbar select,.form-field select,.form-field input{min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:9px;outline:0;color:var(--ink);background:#fff}.product-toolbar select:focus,.form-field select:focus,.form-field input:focus,.search-field:focus-within{border-color:#cba787;box-shadow:0 0 0 3px #b9382c14}.product-table-wrap{overflow-x:auto;border-top:1px solid var(--line)}.product-table{width:100%;min-width:980px;border-collapse:collapse}.product-table th{height:48px;padding:0 14px;color:var(--muted);text-align:left;background:#f4ece1;font-size:13px;font-weight:600}.product-table td{min-height:76px;padding:12px 14px;border-top:1px solid #eee3d7;vertical-align:middle;font-size:14px}.product-table tbody tr.product-row{cursor:pointer;transition:background-color .15s ease}.product-table tbody tr.product-row:hover{background:#fff9f2}.check-cell{width:44px;text-align:center!important}.check-cell input,.check-field input{width:17px;height:17px;accent-color:var(--accent)}.action-cell{width:170px;text-align:right!important}.product-identity{display:flex;align-items:center;gap:12px;min-width:260px}.product-identity .image-empty{width:76px;height:56px;border-radius:7px;object-fit:cover;flex:0 0 auto}.product-image-button{width:76px;height:56px;padding:0;overflow:hidden;border:0;border-radius:7px;flex:0 0 auto;background:#eee4d9;cursor:zoom-in}.product-image-button img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}.product-image-button:hover img{transform:scale(1.05)}.product-image-button:focus-visible{outline:3px solid rgba(194,55,44,.24);outline-offset:2px}.product-identity>span:last-child{display:grid;gap:6px;min-width:0}.product-identity b{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.product-identity small{color:var(--muted)}.image-empty{display:grid;place-items:center;color:#9c8f86;background:#eee4d9}.image-empty svg{width:24px;height:24px}.category-stack,.data-stack{display:grid;gap:5px}.category-stack span,.data-stack small,.updated-time{color:var(--muted)}.status-pill{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:13px;font-size:12px;font-weight:700}.status-pill.published{color:#2c7345;background:#e5f3e8}.status-pill.draft{color:#8a6a35;background:#f4ead5}.featured-label,.special-label{display:block;margin-top:6px;color:var(--accent)}.special-label{width:fit-content;padding:3px 8px;border-radius:10px;color:#9f2f25;background:#f9e3df;font-weight:700}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.row-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:68px;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:7px;color:#5e5047;background:#fff;white-space:nowrap}.row-actions button:first-child{color:var(--accent);border-color:#dfb9b3}.row-actions button.delete-action{color:#a93128}.pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:66px;padding:0 24px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.pagination>div{display:flex;gap:8px}.pagination button{display:inline-flex;align-items:center;gap:4px;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff}.loading-block{display:flex;align-items:center;justify-content:center;gap:10px;min-height:160px;color:var(--muted)}.loading-block svg{animation:spin 1s linear infinite}.empty-block{display:grid;justify-items:center;gap:8px;padding:40px;color:var(--muted);text-align:center}.empty-block>svg{width:32px;height:32px}.empty-block h3,.empty-block p{margin:0}.category-page{display:grid;gap:14px}.category-group{padding:24px}.category-heading>div{display:grid;gap:5px}.category-heading>div>span{color:var(--muted)}.category-heading>.primary-button{border:1px solid var(--accent);color:#fff;background:var(--accent)}.category-heading>.primary-button:hover{background:var(--accent-dark)}.category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.category-card{position:relative;min-width:0;border:1px solid var(--line);border-radius:9px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.category-card:hover{border-color:#d8aaa2;box-shadow:0 8px 20px #56302414;transform:translateY(-1px)}.category-open{position:relative;display:flex;width:100%;min-height:92px;align-items:center;gap:13px;padding:14px 88px 14px 16px;border:0;border-radius:inherit;color:var(--ink);text-align:left;background:transparent;cursor:pointer}.category-open:focus-visible,.category-edit:focus-visible{outline:3px solid rgba(194,55,44,.2);outline-offset:2px}.category-open>svg{width:24px;height:24px;flex:0 0 auto;color:var(--accent)}.category-card-image{width:58px;height:58px;border-radius:8px;flex:0 0 auto;object-fit:cover;background:#eee4d9}.category-open>span{display:grid;min-width:0;gap:5px}.category-open b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-open small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.category-open .category-entry-icon{position:absolute;top:17px;right:16px;width:18px;height:18px;color:var(--muted)}.category-edit{position:absolute;right:12px;bottom:12px;display:inline-flex;min-height:32px;align-items:center;gap:5px;padding:0 9px;border:1px solid #ead8c7;border-radius:7px;color:#6e5548;background:#fffaf5;cursor:pointer}.category-edit:hover{border-color:#d8aaa2;color:var(--accent)}.category-edit svg{width:15px;height:15px}.product-carousel-page{display:grid;gap:14px}.carousel-sync-banner{display:flex;align-items:center;gap:11px;margin:18px 24px 0;padding:12px 15px;border:1px solid #d9cbbd;border-radius:9px;color:#6d5d52;background:#fffaf5}.carousel-sync-banner>svg{width:21px;height:21px;flex:0 0 auto}.carousel-sync-banner>span{display:grid;gap:3px}.carousel-sync-banner small{color:var(--muted);font-size:12px}.carousel-sync-banner.is-connected{border-color:#b9d9c2;color:var(--success);background:#edf7ef}.carousel-sync-banner.is-error{border-color:#e5b7af;color:#a93128;background:#fff1ee}.carousel-sync-banner.is-checking>svg{animation:spin 1s linear infinite}.carousel-admin-controls{display:grid;grid-template-columns:minmax(240px,1fr) 180px auto;align-items:end;gap:12px;padding:20px 24px}.carousel-admin-controls .check-field{min-height:68px}.carousel-admin-controls .form-field select{width:100%}.carousel-admin-preview{margin:0 24px 22px;padding:16px}.carousel-preview-heading{margin-bottom:14px}.carousel-preview-heading>div{display:grid;gap:5px}.carousel-preview-heading small{color:var(--muted)}.carousel-preview-stage{position:relative;display:grid;min-height:300px;overflow:hidden;border-radius:9px;background:#33261f}.carousel-preview-stage>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.carousel-preview-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#1d110cb8,#1d110c14)}.carousel-preview-copy{position:relative;z-index:2;display:flex;width:min(60%,500px);justify-content:center;gap:8px;padding:32px;color:#fff;flex-direction:column}.carousel-preview-copy b{font-family:var(--serif);font-size:clamp(25px,3vw,38px)}.carousel-preview-copy span{color:#ffffffd1}.carousel-dots{position:absolute;z-index:3;right:20px;bottom:18px;display:flex;gap:7px}.carousel-dots button{width:9px;height:9px;padding:0;border:0;border-radius:5px;background:#ffffff8f;transition:width .18s ease,background-color .18s ease}.carousel-dots button.is-active{width:28px;background:#fff}.carousel-empty-state{display:grid;place-items:center;align-content:center;gap:10px;color:#fff}.carousel-empty-state svg{width:34px;height:34px}.carousel-list-intro{padding-bottom:20px;border-top:1px solid var(--line)}.carousel-table{min-width:1040px}.carousel-table .action-cell{width:350px}.carousel-table-image{width:96px;height:56px;border-radius:7px;object-fit:cover;flex:0 0 auto}.carousel-add-button{position:relative;cursor:pointer}.carousel-add-button input,.carousel-image-replace input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.carousel-item-editor{display:flex;min-width:360px;align-items:center;gap:11px}.carousel-image-replace{position:relative;display:block;flex:0 0 auto;cursor:pointer}.carousel-image-replace:after{content:"更换";position:absolute;inset:auto 4px 4px;padding:2px 5px;border-radius:4px;color:#fff;background:#2d1c15c7;font-size:11px;text-align:center}.carousel-item-editor>span{display:grid;min-width:0;flex:1;gap:6px}.carousel-item-editor input{width:100%;min-height:34px;padding:0 9px;border:1px solid var(--line);border-radius:7px;outline:0;color:var(--ink);background:#fff}.carousel-item-editor input:focus{border-color:#cba787;box-shadow:0 0 0 3px #b9382c14}.carousel-product-select{min-width:210px}.carousel-product-select span{font-size:12px}.carousel-list-empty{margin:0 24px 24px}.row-actions button.danger-text{color:#a93128}.placeholder-page{display:grid;justify-items:center;gap:12px;min-height:420px;padding:70px 24px;text-align:center}.placeholder-page>svg{width:42px;height:42px;color:var(--accent)}.placeholder-page h2{margin:0;font-family:var(--serif);font-size:32px}.placeholder-page p{margin:0;color:var(--muted)}.placeholder-page span{color:#a29185;font-size:14px}.appointments-page{overflow:hidden}.appointment-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 150px auto;gap:9px;padding:20px 24px}.appointment-toolbar select{min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff}.appointment-table{min-width:1050px}.appointment-person,.appointment-time{display:grid;gap:5px}.appointment-person a{color:var(--accent);font-weight:700;text-decoration:none}.appointment-person small,.appointment-time span{color:var(--muted)}.appointment-note{display:block;max-width:240px;color:#584b43;line-height:1.55}.admin-note{display:block;max-width:240px;margin-top:6px;color:var(--muted)}.appointment-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:14px;color:#8a672e;background:#f6ebd4;font-size:12px;font-weight:700}.appointment-pill.confirmed{color:#2d5f84;background:#e5f0f8}.appointment-pill.completed{color:#2c7345;background:#e5f3e8}.appointment-pill.cancelled{color:#756b65;background:#eeeae7}.appointment-actions{display:flex;justify-content:flex-end;gap:5px}.appointment-actions button{min-height:34px;padding:0 9px;border:1px solid #dfb9b3;border-radius:7px;color:var(--accent);background:#fff}.appointment-actions .cancel-action{color:#756b65;border-color:var(--line)}.security-page{display:grid;gap:14px}.security-summary,.security-list-panel{padding:24px}.security-summary .panel-heading>div,.security-list-panel .panel-heading>div{display:grid;gap:6px}.security-summary .panel-heading p,.security-list-panel .panel-heading p{margin:0;color:var(--muted);font-size:14px}.security-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.security-grid article{display:grid;gap:7px;min-height:142px;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fffaf5}.security-grid article svg{width:23px;height:23px;color:var(--accent)}.security-grid article span,.security-grid article small{color:var(--muted);font-size:13px}.security-grid article b{line-height:1.45}.security-list{display:grid;border-top:1px solid var(--line)}.security-list>div{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #eee5dd}.security-list>div>span{display:grid;gap:4px;min-width:0}.security-list b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.security-list small,.security-list time{color:var(--muted);font-size:12px}.security-list svg{color:var(--success)}.security-list>p{margin:22px 0 0;color:var(--muted)}.audit-list{max-height:410px;overflow-y:auto}.drawer-layer,.dialog-layer{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;background:#1a110c85}.product-drawer{position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:column;width:min(560px,100%);color:var(--ink);background:#fbf7f1;box-shadow:-12px 0 38px #22130c33}.drawer-header{display:flex;align-items:center;justify-content:space-between;min-height:92px;padding:20px 26px;border-bottom:1px solid var(--line);background:#fff}.drawer-header span{color:var(--muted);font-size:13px}.drawer-header h2{margin:4px 0 0;font-family:var(--serif);font-size:30px}.drawer-header>button{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;color:var(--ink);background:#fffaf5}.product-drawer form{display:flex;flex-direction:column;gap:18px;min-height:0;padding:24px 26px 110px;overflow-y:auto}.form-field{display:grid;gap:8px}.form-field>span{color:#5c4e45;font-size:14px;font-weight:700}.form-field>span b{color:var(--accent)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.product-image-group{display:grid;gap:11px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.image-group-copy{display:grid;gap:4px}.image-group-copy b{color:#4c3c32;font-family:var(--serif);font-size:18px}.image-group-copy span{color:var(--muted);font-size:13px;line-height:1.6}.upload-field{display:flex;align-items:center;justify-content:center;gap:13px;min-height:112px;padding:18px;border:1px dashed #c9a98b;border-radius:10px;color:#624d3f;text-align:left;background:#fffaf4;cursor:pointer}.upload-field input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.upload-field>svg{width:27px;height:27px;color:var(--accent)}.upload-field>span{display:grid;gap:5px}.upload-field small{color:var(--muted)}.image-manager{display:grid;gap:10px}.image-manager-heading{display:flex;align-items:center;justify-content:space-between;color:#5c4e45;font-size:14px}.image-manager-heading span{color:var(--muted);font-weight:400}.image-previews{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.image-preview-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#fff}.image-preview-card.is-new{border-color:#d8b093}.image-preview-card img{width:100%;aspect-ratio:1;object-fit:cover}.remove-image{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.72);border-radius:50%;color:#fff;background:#2a1912c7;box-shadow:0 2px 8px #1f130d2e}.remove-image:hover{background:#a93128}.remove-image svg{width:16px;height:16px}.cover-badge,.new-image-badge{position:absolute;left:6px;bottom:6px;min-height:24px;padding:3px 8px;border-radius:12px;color:#fff;background:#84251de6;font-size:12px;line-height:18px}.new-image-badge{color:#4d382c;background:#fff7edeb}.check-field{display:flex;align-items:center;gap:12px;min-height:68px;padding:12px 15px;border:1px solid var(--line);border-radius:9px;background:#fff}.check-field>span{display:grid;gap:3px}.check-field small{color:var(--muted)}.catalog-category-editor{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:9px;background:#fbf7f1}.catalog-category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.catalog-category-heading small{color:var(--muted)}.category-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.compact-check{min-height:48px;padding:9px 12px}.compact-check.is-active{border-color:#cf6b60;background:#fff6f3;box-shadow:0 0 0 3px #b9382c12}.optional-fields{border-top:1px solid var(--line)}.optional-fields summary{padding:18px 0;color:#68564a;cursor:pointer;font-weight:700}.optional-fields .form-field{margin-bottom:14px}.drawer-footer{position:absolute;right:0;bottom:0;left:0;display:flex;justify-content:flex-end;gap:10px;padding:17px 26px;border-top:1px solid var(--line);background:#fff}.dialog-layer{display:grid;place-items:center;z-index:80}.category-dialog{display:grid;width:min(480px,calc(100% - 32px));gap:20px;padding:30px;border:1px solid #ead7c5;border-radius:14px;background:#fffaf5;box-shadow:0 20px 60px #140c0840}.category-dialog>div:nth-child(2){display:grid;gap:5px}.category-dialog>div:nth-child(2)>span{color:var(--muted);font-size:13px}.category-dialog h2{margin:0;font-family:var(--serif);font-size:28px}.category-dialog>p{margin:-4px 0 0;color:var(--muted);font-size:14px;line-height:1.65}.category-dialog-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;color:var(--accent);background:#f4e1da}.category-dialog-icon svg{width:24px;height:24px}.category-image-field{display:grid;grid-template-columns:92px minmax(0,1fr) 24px;align-items:center;gap:14px;padding:12px;border:1px dashed #d9bba5;border-radius:10px;background:#fff;cursor:pointer}.category-image-field:hover{border-color:#c67b6f;background:#fff9f5}.category-image-field>input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.category-image-preview{display:grid;width:92px;height:72px;place-items:center;overflow:hidden;border-radius:8px;color:#9c8f86;background:#eee4d9}.category-image-preview img{width:100%;height:100%;object-fit:cover}.category-image-preview svg{width:26px;height:26px}.category-image-field>span:nth-of-type(2){display:grid;gap:6px;min-width:0}.category-image-field>span:nth-of-type(2) small{color:var(--muted);font-size:12px;line-height:1.5}.category-image-field>svg{width:21px;height:21px;color:var(--accent)}.category-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.image-lightbox{position:fixed;z-index:90;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:30px;background:#140c08c2}.image-lightbox>section{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1040px,100%);max-height:calc(100vh - 60px);overflow:hidden;border-radius:14px;background:#17100c;box-shadow:0 24px 80px #00000061}.image-lightbox header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px 14px 20px;color:#fff;background:#271a14}.image-lightbox header div{display:grid;gap:3px}.image-lightbox header span{color:#c8bdb6;font-size:12px}.image-lightbox header button{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#fff;background:transparent}.image-lightbox header button:hover{background:#ffffff1a}.preview-stage{position:relative;display:grid;place-items:center;min-height:0;background:#0f0a08}.preview-stage>img{display:block;width:100%;max-height:calc(100vh - 126px);object-fit:contain}.preview-arrow{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:52px;height:52px;border:1px solid rgba(255,255,255,.32);border-radius:50%;color:#fff;background:#140c08a3;transform:translateY(-50%);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.preview-arrow:hover{background:#c2372ce6}.preview-arrow svg{width:27px;height:27px}.preview-arrow.is-previous{left:18px}.preview-arrow.is-next{right:18px}.preview-counter{position:absolute;right:18px;bottom:15px;padding:6px 10px;border-radius:16px;color:#fff;background:#140c08ad;font-size:13px}.confirm-dialog{width:min(420px,calc(100% - 32px));padding:30px;border-radius:14px;text-align:center;background:#fffaf5;box-shadow:0 20px 60px #140c0840}.dialog-icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 15px;border-radius:50%;color:var(--accent);background:#f5dfda}.dialog-icon svg{width:25px;height:25px}.confirm-dialog h2{margin:0;font-family:var(--serif);font-size:24px}.confirm-dialog p{margin:12px 0 22px;color:var(--muted);line-height:1.65}.confirm-dialog>div{display:flex;justify-content:center;gap:10px}.toast{position:fixed;z-index:100;left:50%;bottom:28px;display:flex;align-items:center;gap:8px;min-height:44px;max-width:calc(100% - 40px);padding:10px 17px;border-radius:24px;color:#fff;background:#281b15;opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:opacity .16s ease,transform .16s ease}.toast.is-visible{opacity:1;transform:translate(-50%)}.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.product-toolbar{grid-template-columns:minmax(220px,1fr) repeat(4,120px)}.product-toolbar>button{grid-column:span 2}.metrics-grid,.hot-grid,.security-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:820px){.sidebar{width:84px}.brand-lockup div,.sidebar-nav span{display:none}.sidebar-nav button{justify-content:center;padding:0}.collapse-button{display:none}.admin-main,.sidebar.is-collapsed~.admin-main{margin-left:84px;padding:20px}.admin-header{align-items:flex-start}.header-actions .ghost-button{display:none}.overview-panels{grid-template-columns:1fr}.product-toolbar{grid-template-columns:1fr 1fr}.search-field{grid-column:1/-1}.category-cards{grid-template-columns:repeat(2,1fr)}.appointment-toolbar{grid-template-columns:1fr 150px}.appointment-toolbar .search-field{grid-column:1/-1}.carousel-admin-controls{grid-template-columns:1fr 1fr}.carousel-admin-controls>button{grid-column:1/-1}}@media(max-width:560px){.login-page{align-items:stretch;padding:0;background:#fffaf4}.login-frame{width:100%;min-height:100svh;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.login-card{width:100%;min-height:100svh;padding:42px 24px 28px;border:0;border-radius:0}.login-brand img{width:60px;height:60px}.login-card h1{margin-top:24px;font-size:35px}.sidebar{display:none}.admin-main,.sidebar.is-collapsed~.admin-main{margin-left:0;padding:16px}.admin-header{display:grid}.admin-header h1{font-size:34px}.metrics-grid,.hot-grid,.category-cards,.form-grid,.category-check-grid,.product-toolbar,.appointment-toolbar,.security-grid{grid-template-columns:1fr}.carousel-admin-controls{grid-template-columns:1fr;padding:18px 16px}.carousel-sync-banner{margin:16px 16px 0}.carousel-admin-controls>button{grid-column:auto}.carousel-admin-preview{margin:0 16px 18px}.carousel-preview-stage{min-height:240px}.carousel-preview-copy{width:85%;padding:24px}.appointment-toolbar .search-field{grid-column:auto}.product-toolbar>button,.search-field{grid-column:auto}.status-banner{align-items:flex-start;padding:13px}.image-lightbox{padding:12px}.image-lightbox>section{max-height:calc(100vh - 24px)}.preview-arrow{width:44px;height:44px}.preview-arrow.is-previous{left:10px}.preview-arrow.is-next{right:10px}}@media(prefers-reduced-motion:reduce){.sidebar,.admin-main,.toast{transition:none}.loading-block svg,.login-submit svg,.auth-loading-card>svg{animation:none}}
