.catalog-admin{min-height:100vh;background:#fffaf7;padding-bottom:100px}.catalog-admin-head{display:flex;justify-content:space-between;align-items:end;min-height:280px;padding:70px clamp(24px,9vw,145px) 50px;background:linear-gradient(120deg,#321522,#711a38);color:#fff}.catalog-admin-head h1{font-size:clamp(3.4rem,6vw,6.3rem);line-height:.86}.catalog-admin-head h1 em{color:#f3b8ab}.catalog-admin-head p:not(.eyebrow){max-width:520px;color:#f5e1db}.catalog-admin-head .eyebrow{color:#f3b8ab}.catalog-admin-head>span{display:grid;place-items:center;width:115px;height:115px;border:1px solid #f4c4b66e;border-radius:50% 50% 40% 60%;color:#f5beb0;font:2.5rem var(--serif)}.catalog-admin-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;width:min(1180px,calc(100% - 40px));margin:44px auto}.catalog-editor,.category-manager,.catalog-list{padding:clamp(24px,4vw,46px);border:1px solid #ead8d1;border-radius:25px 7px 25px 7px;background:#fff;box-shadow:0 18px 40px #4214200c}.catalog-editor h2,.category-manager h2,.catalog-list h2{font-size:clamp(2.2rem,4vw,3.8rem);margin-bottom:25px}.catalog-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.catalog-fields label,.category-manager label{display:grid;gap:7px;font-size:.7rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.catalog-fields input,.catalog-fields select,.catalog-fields textarea,.category-manager input{min-height:46px;width:100%;padding:10px 12px;border:1px solid #e3ccc4;border-radius:5px;background:#fff;font:400 .9rem var(--sans);text-transform:none;letter-spacing:normal}.catalog-fields textarea{min-height:100px;resize:vertical}.catalog-fields .wide{grid-column:1/-1}.catalog-fields .publish{display:flex;align-items:center;gap:9px;text-transform:none;letter-spacing:normal}.catalog-fields .publish input{width:16px;min-height:16px}.catalog-actions{display:flex;align-items:center;gap:16px;margin-top:25px}.catalog-actions .button,.catalog-editor button{cursor:pointer}.catalog-quiet,.category-manager button,.catalog-row-actions button{border:0;background:transparent;color:var(--wine);font:700 .76rem var(--sans);cursor:pointer}.category-manager{align-self:start;background:#f5e4dd}.category-manager form{display:grid;gap:10px}.category-manager form button{justify-self:start;border-bottom:1px solid currentColor;padding-bottom:3px}.category-list{display:grid;gap:5px;margin-top:24px}.category-list>div{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #d9bdb5;font-size:.84rem}.category-list small{padding-left:5px;color:#8c6870}.category-list button{font-size:1.2rem}.catalog-list{width:min(1180px,calc(100% - 40px));margin:0 auto}.catalog-list-head{display:flex;align-items:end;justify-content:space-between}.catalog-list-head>span{padding:6px 10px;border-radius:99px;background:#f1ded7;color:#711a38;font-size:.7rem}.catalog-table{display:grid;gap:10px}.catalog-table article{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto auto;align-items:center;gap:18px;padding:16px 0;border-top:1px solid #eadbd5}.catalog-product-mark{display:grid;place-items:center;width:50px;height:50px;border-radius:50% 50% 40% 60%;background:#711a38;color:#f6c3b7;font:1.1rem var(--serif)}.catalog-table .eyebrow{margin:0 0 2px;font-size:.56rem}.catalog-table h3{font-size:1.35rem}.catalog-table p:not(.eyebrow){margin:2px 0 0;color:#7b6269;font-size:.76rem}.catalog-state{padding:5px 8px;border-radius:99px;background:#f1ded7;color:#711a38;font-size:.61rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.catalog-state.draft{background:#eee8e5;color:#715f62}.catalog-row-actions{display:flex;gap:10px}.catalog-row-actions .danger{color:#9b2948}@media(max-width:760px){.catalog-admin-head{min-height:230px;padding:52px 24px 38px}.catalog-admin-head>span{display:none}.catalog-admin-grid{grid-template-columns:1fr;width:min(100% - 28px,700px);margin:28px auto}.catalog-fields{grid-template-columns:1fr}.catalog-fields .wide{grid-column:auto}.catalog-list{width:min(100% - 28px,700px);padding:25px 18px}.catalog-table article{grid-template-columns:50px minmax(0,1fr);gap:12px}.catalog-table article>strong,.catalog-state,.catalog-row-actions{grid-column:2}.catalog-row-actions{justify-self:start}.catalog-table p:not(.eyebrow){max-width:250px}}

.catalog-editor-wide { min-width: 0; }

/* The product workspace opens with a compact, animated shelf marker. */
.catalog-workspace>.catalog-admin-head{position:relative;isolation:isolate;min-height:156px;padding:30px clamp(24px,7vw,110px) 26px;overflow:hidden;background:linear-gradient(120deg,#321522,#711a38 68%,#8b3b55)}
.catalog-workspace>.catalog-admin-head:before{content:"";position:absolute;z-index:-1;right:7%;top:-115px;width:310px;height:250px;border:1px solid #f3b8ab55;border-radius:48% 52% 42% 58%;box-shadow:0 0 0 16px #f3b8ab0d,0 0 0 34px #f3b8ab08;transform:rotate(18deg);animation:catalog-head-drift 9s ease-in-out infinite}
.catalog-workspace>.catalog-admin-head:after{content:"";position:absolute;z-index:-1;right:21%;bottom:-72px;width:150px;height:150px;border:1px solid #f3b8ab45;border-radius:50%;animation:catalog-head-pulse 5s ease-in-out infinite}
.catalog-workspace>.catalog-admin-head h1{font-size:clamp(2.5rem,4.2vw,4.4rem);animation:catalog-head-rise .55s ease both}
.catalog-workspace>.catalog-admin-head>div{animation:catalog-head-rise .55s .08s ease both}
.catalog-workspace>.catalog-admin-head>span{width:82px;height:82px;font-size:1.8rem;animation:catalog-head-mark 8s ease-in-out infinite}
@keyframes catalog-head-drift{50%{transform:rotate(28deg) translate(-18px,12px)}}@keyframes catalog-head-pulse{50%{transform:scale(1.12);opacity:.55}}@keyframes catalog-head-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes catalog-head-mark{50%{transform:rotate(8deg) translateY(-6px)}}
@media(max-width:760px){.catalog-workspace>.catalog-admin-head{min-height:132px;padding:24px 24px 22px}.catalog-workspace>.catalog-admin-head h1{font-size:clamp(2.3rem,11vw,3.3rem)}.catalog-workspace>.catalog-admin-head p:not(.eyebrow){display:none}}
@media(prefers-reduced-motion:reduce){.catalog-workspace>.catalog-admin-head:before,.catalog-workspace>.catalog-admin-head:after,.catalog-workspace>.catalog-admin-head h1,.catalog-workspace>.catalog-admin-head>div,.catalog-workspace>.catalog-admin-head>span{animation:none}}
.user-admin-list .catalog-table article select { min-width: 150px; appearance: none; padding: 12px 38px 12px 15px; border: 1px solid #d9b5ad; border-radius: 99px; background: #fff8f5 linear-gradient(45deg, transparent 50%, #711a38 50%) calc(100% - 18px) 50%/6px 6px no-repeat, linear-gradient(135deg, #711a38 50%, transparent 50%) calc(100% - 13px) 50%/6px 6px no-repeat; color: #711a38; font: 700 .72rem var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.user-admin-list .catalog-table article select:hover,.user-admin-list .catalog-table article select:focus { border-color: #711a38; box-shadow: 0 0 0 4px #711a3814; outline: none; transform: translateY(-1px); }
.catalog-current-account { color: #8a7075; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.user-admin-hero { position: relative; isolation: isolate; justify-content: center; align-items: center; min-height: 180px; max-height: 200px; height: 180px; padding: 24px 24px; text-align: center; overflow: hidden; background: radial-gradient(circle at 18% 50%, #a642594d, transparent 28%), linear-gradient(120deg, #321522, #711a38 68%, #8b3b55); }
.user-admin-hero:before { content: ""; position: absolute; z-index: -1; width: 290px; height: 150px; left: 8%; top: -88px; border: 1px solid #f3b8ab55; border-radius: 52% 48% 38% 62%; box-shadow: 0 0 0 14px #f3b8ab0d, 0 0 0 30px #f3b8ab08; transform: rotate(-18deg); animation: user-hero-orbit 9s ease-in-out infinite; }
.user-admin-hero:after { content: ""; position: absolute; z-index: -1; width: 110px; height: 110px; right: 13%; bottom: -70px; border: 1px solid #f3b8ab55; border-radius: 50%; animation: user-hero-pulse 5s ease-in-out infinite; }
.user-admin-hero>div { max-width: 620px; animation: catalog-head-rise .55s ease both; }
.user-admin-hero h1 { margin: .15em 0; font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: .95; }
.user-admin-hero p:not(.eyebrow) { margin: 0 auto; color: #f5e1db; font-size: .78rem; line-height: 1.4; }
.user-admin-hero .eyebrow { color: #f3b8ab; font-size: .62rem; }
.user-admin-hero>span { position: absolute; right: 12%; width: 64px; height: 64px; font-size: 1.25rem; animation: catalog-head-mark 8s ease-in-out infinite; }
@keyframes user-hero-orbit { 50% { transform: rotate(12deg) translate(24px, 12px); } }
@keyframes user-hero-pulse { 50% { transform: scale(1.18); opacity: .45; } }
@media (max-width: 760px) { .user-admin-hero { min-height: 150px; height: 150px; padding: 20px 24px; } .user-admin-hero>span { display: none; } .user-admin-hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); } }
@media (prefers-reduced-motion: reduce) { .user-admin-hero:before, .user-admin-hero:after, .user-admin-hero>div, .user-admin-hero>span { animation: none; } }
.category-manager > p:not(.eyebrow) { margin: -12px 0 20px; color: #765e66; font-size: .8rem; line-height: 1.6; }
.category-open { margin-bottom: 5px; cursor: pointer; }
.category-list b { display: block; color: #492235; font-size: .82rem; }
.category-list small { display: block; padding: 2px 0 0; }

.product-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 12px;padding:12px 15px;border:1px solid #ead8d1;border-radius:14px;background:#fffaf7;color:#8a7075;font-size:.72rem}.product-table-toolbar label{display:flex;align-items:center;gap:8px;color:#6c4b55;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.product-table-toolbar select{padding:8px 27px 8px 10px;border:1px solid #dcbab1;border-radius:8px;background:#fff;color:#711a38;font:700 .75rem var(--sans)}.product-table-wrap{overflow-x:auto;border:1px solid #ead8d1;border-radius:18px;background:#fff;box-shadow:0 12px 28px #4214200a}.product-table{width:100%;border-collapse:collapse;min-width:720px}.product-table th{padding:0;border-bottom:1px solid #eadbd5;background:#fffaf7;text-align:left}.product-table th:first-child{border-radius:18px 0 0 0}.product-table th:last-child{border-radius:0 18px 0 0}.product-table td{padding:14px 15px;border-bottom:1px solid #f0e4df;color:#4d3940;font-size:.78rem;vertical-align:middle}.product-table tbody tr{transition:background .2s,transform .2s}.product-table tbody tr:hover{background:#fff8f5}.product-table tbody tr:last-child td{border-bottom:0}.table-sort{display:flex;align-items:center;gap:7px;width:100%;padding:14px 15px;border:0;background:transparent;color:#93777b;font:700 .63rem var(--sans);letter-spacing:.1em;text-align:left;text-transform:uppercase;cursor:pointer}.table-sort:hover,.table-sort.active{color:#711a38}.table-sort.active{background:#f8e8e2}.table-product-cell{display:flex;align-items:center;gap:11px;min-width:220px}.table-product-cell strong{display:block;color:#321522;font:600 1rem var(--serif)}.table-product-cell small{display:block;margin-top:3px;color:#987e82;font-size:.67rem}.table-muted{color:#80676d}.table-price{color:#711a38;font-size:.92rem}.stock-value{display:inline-grid;place-items:center;min-width:32px;padding:5px 8px;border-radius:99px;background:#edf6ef;color:#32704c;font-size:.7rem;font-weight:700}.stock-value.low{background:#fff0e9;color:#a45343}.product-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}.pagination-pages{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.pagination-button,.pagination-page{min-height:34px;border:1px solid #dfc9c2;border-radius:9px;background:#fff;color:#711a38;font:700 .7rem var(--sans);cursor:pointer;transition:.2s}.pagination-button{padding:0 12px}.pagination-page{width:34px}.pagination-button:hover:not(:disabled),.pagination-page:hover,.pagination-page.active{border-color:#711a38;background:#711a38;color:#fff;box-shadow:0 5px 13px #711a3822}.pagination-button:disabled{cursor:not-allowed;opacity:.4}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){.product-table-toolbar{align-items:flex-start;flex-direction:column;gap:10px;margin-top:22px}.product-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.product-table{display:block;min-width:0}.product-table thead{display:none}.product-table tbody,.product-table tr,.product-table td{display:block}.product-table tbody{display:grid;gap:10px}.product-table tr{padding:14px;border:1px solid #ead8d1;border-radius:15px;background:#fff;box-shadow:0 8px 20px #42142009}.product-table td{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:7px 0;border:0;text-align:right}.product-table td:before{content:attr(data-label);color:#a08689;font:700 .59rem var(--sans);letter-spacing:.1em;text-transform:uppercase}.product-table td:first-child{display:block;text-align:left}.product-table td:first-child:before{display:none}.table-product-cell{min-width:0}.product-table td:last-child{justify-content:flex-end}.product-pagination{gap:8px}.pagination-button{font-size:.63rem;padding:0 8px}.pagination-pages{order:3;width:100%}}
.category-list button { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.catalog-modal-backdrop { position: fixed; z-index: 9000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(35, 8, 22, .62); backdrop-filter: blur(7px); }
.catalog-modal { position: relative; width: min(720px, 100%); max-height: min(760px, calc(100vh - 48px)); overflow: auto; padding: clamp(28px, 5vw, 52px); border: 1px solid #ebcfc6; border-radius: 28px 8px 28px 8px; background: #fffdfb; box-shadow: 0 35px 100px rgba(35, 8, 22, .45); }
.catalog-modal h2 { margin-bottom: 25px; font-size: clamp(2.2rem, 5vw, 4rem); }
.catalog-modal-close { position: absolute; top: 17px; right: 17px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d9b5ad; border-radius: 50%; background: transparent; color: #711a38; font-size: 1.5rem; cursor: pointer; }
.catalog-modal .catalog-fields { grid-template-columns: 1fr 1fr; }
.catalog-editor .validation-message, .catalog-modal .validation-message { color: #a22144; font-size: .72rem; font-weight: 600; letter-spacing: normal; text-transform: none; }
@media(max-width:760px){.catalog-modal{padding:34px 22px}.catalog-modal .catalog-fields{grid-template-columns:1fr}.catalog-modal .catalog-fields .wide{grid-column:auto}}
.catalog-confirm-modal { width: min(480px, 100%); text-align: center; border-radius: 26px 8px 26px 8px; }
.catalog-confirm-modal h2 { margin-bottom: 14px; }
.catalog-confirm-modal > p:not(.eyebrow) { max-width: 360px; margin: 0 auto; color: #715b62; line-height: 1.7; }
.catalog-confirm-modal .catalog-actions { justify-content: center; margin-top: 28px; }
.danger-button { background: #962845; }
.danger-button:hover { background: #72142d; }
/* Shared submission feedback for every application form. */
button:not(:disabled),input[type=submit]:not(:disabled),input[type=button]:not(:disabled),.button{cursor:pointer!important}
:is(:disabled,[aria-disabled="true"]),:is(:disabled,[aria-disabled="true"]) *{cursor:not-allowed!important}
.submission-fields{border:0;padding:0;margin:0;min-width:0}
.submission-fields:disabled{opacity:.65}
.submission-status{display:flex;align-items:center;gap:10px;color:#711a38;font-size:.85rem}
.submission-spinner{width:18px;height:18px;border:2px solid #ead5cd;border-top-color:#711a38;border-radius:50%;animation:submission-spin .8s linear infinite}
.submission-error{color:#962845;font-size:.85rem}
@keyframes submission-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.submission-spinner{animation:none}}
