:root{--slate:#25282b;--slate2:#17191b;--panel:rgba(27,29,31,.82);--gold:#d4af63;--rose:#c98f8b;--cream:#f2ede3;--muted:#a8aaa9;--line:rgba(212,175,99,.22);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--slate);color:var(--cream)}body{overflow-x:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 22% 18%,rgba(201,143,139,.13),transparent 30%),radial-gradient(circle at 80% 76%,rgba(212,175,99,.12),transparent 34%),linear-gradient(135deg,#292d30,#1b1d1f)}.login-card{width:min(430px,100%);padding:42px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(35,38,40,.94),rgba(19,21,23,.92));box-shadow:0 30px 90px rgba(0,0,0,.38);backdrop-filter:blur(16px)}.eyebrow{font-size:10px;letter-spacing:.28em;color:var(--gold);font-weight:700}.login-mark{width:62px;height:62px;border:1px solid var(--rose);border-radius:50%;display:grid;place-items:center;margin:30px 0 22px;color:var(--gold);font:italic 28px Georgia}.login-card h1{font:400 clamp(34px,8vw,50px)/1 Georgia,serif;margin:0 0 8px}.muted{color:var(--muted)}form{display:grid;gap:16px;margin-top:28px}label{display:grid;gap:7px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#c5c5c0}input{width:100%;border:1px solid rgba(255,255,255,.11);background:#121416;color:var(--cream);padding:13px 14px;outline:none}input:focus{border-color:var(--gold)}.captcha-box{border:1px solid rgba(201,143,139,.42);padding:16px;background:linear-gradient(135deg,rgba(201,143,139,.08),rgba(212,175,99,.05))}.captcha-label{font-size:9px;letter-spacing:.2em;color:var(--rose);margin-bottom:9px}.captcha-question{font:400 24px Georgia,serif;color:var(--cream);margin-bottom:12px}.captcha-question span{color:var(--gold)}.captcha-question b{color:var(--rose);font-weight:400}.primary{border:1px solid var(--gold);background:var(--gold);color:#181817;padding:14px 18px;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800;cursor:pointer}.primary:hover{filter:brightness(1.08)}.alert{border-left:2px solid var(--rose);padding:10px 12px;margin-top:18px;background:rgba(201,143,139,.08);font-size:12px}.site-shell{min-height:100vh;background:radial-gradient(circle at 72% 14%,rgba(212,175,99,.08),transparent 28%),#202326}.topbar{height:78px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07);position:relative;z-index:10}.wordmark{font-size:11px;letter-spacing:.2em;font-weight:800}.wordmark span{color:var(--gold);font-weight:500}.top-actions{display:flex;align-items:center;gap:18px}.client-name{font-size:10px;color:var(--muted);letter-spacing:.12em}.ghost,.back-link{border:0;background:none;color:#d7d4ca;cursor:pointer;font-size:10px;letter-spacing:.14em;text-transform:uppercase}.ghost:hover,.back-link:hover{color:var(--gold)}.empty-state{padding:12vh 8vw;max-width:760px}.empty-state h2{font:400 40px Georgia,serif}.catalog-main{padding:7vw 5vw}.catalog-heading{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:28px}.catalog-heading h1{font:400 clamp(58px,9vw,125px)/.85 Georgia,serif;margin:20px 0 0}.catalog-count{font-size:10px;letter-spacing:.15em;color:var(--muted);padding-bottom:8px}.collection-nav{display:flex;gap:26px;flex-wrap:wrap;padding:18px 0;color:#aaa}.collection-nav span{font-size:10px;letter-spacing:.1em;text-transform:uppercase}.collection-nav small{color:var(--gold)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:32px}.product-card{min-width:0}.product-image{aspect-ratio:4/5;background:#181a1c;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1)}.product-card:hover img{transform:scale(1.035)}.image-placeholder{height:100%;display:grid;place-items:center;color:#6e706f;font:italic 24px Georgia}.product-meta{display:flex;justify-content:space-between;gap:12px;padding:13px 2px 22px}.product-collection{font-size:8px;letter-spacing:.14em;color:var(--rose);text-transform:uppercase}.product-meta h2{font:400 17px Georgia,serif;margin:6px 0}.sku{font-size:8px;color:#747675;letter-spacing:.1em}.product-main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.6fr);gap:5vw;padding:5vw;min-width:0}
.product-main > *{min-width:0}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-image{border:0;padding:0;background:#151719;cursor:zoom-in;aspect-ratio:4/5;overflow:hidden}.gallery-image img{width:100%;height:100%;object-fit:cover}.gallery-empty{min-height:400px;display:grid;place-items:center;background:#17191b;color:#777}.product-info{position:sticky;top:110px;height:max-content;padding:20px 0}.product-info h1{font:400 clamp(42px,5vw,76px)/.9 Georgia,serif;margin:20px 0}.product-sku{font-size:9px;color:var(--gold);letter-spacing:.15em}.product-info p{max-width:420px;line-height:1.7;color:#a9aaa7}.lightbox{position:fixed;inset:0;background:rgba(8,9,10,.96);z-index:100;display:grid;place-items:center;padding:5vw}.lightbox[hidden]{display:none}.lightbox img{max-width:92vw;max-height:90vh;object-fit:contain}.lightbox-close{position:absolute;right:28px;top:20px;background:none;border:0;color:white;font-size:36px;cursor:pointer}.modal-open{overflow:hidden}@media(max-width:900px){.hero-copy{left:7vw;top:11%}.hero-copy h1{font-size:70px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-main{grid-template-columns:1fr}.product-info{position:static}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.login-card{padding:28px}.topbar{height:68px;padding:0 20px}.client-name{display:none}.hero-stage{height:calc(100vh - 68px);min-height:620px}.hero-copy h1{font-size:58px}.hero-copy p{font-size:11px}.catalog-main{padding:11vw 20px}.catalog-heading{align-items:start}.catalog-heading h1{font-size:62px}.product-grid{gap:10px}.product-meta{display:block}.product-meta h2{font-size:15px}.gallery{gap:7px}.product-main{padding:20px}.product-info h1{font-size:48px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Phase 2.1 — persistent selection */
.selection-dock{position:fixed;right:22px;bottom:22px;z-index:40;display:grid;grid-template-columns:auto auto;gap:2px 14px;align-items:center;padding:13px 16px;border:1px solid rgba(212,175,99,.55);background:rgba(20,22,24,.94);box-shadow:0 14px 45px rgba(0,0,0,.35);backdrop-filter:blur(14px);transition:transform .25s,border-color .25s}.selection-dock:hover{transform:translateY(-2px);border-color:var(--gold)}.selection-dock-label{grid-column:1/-1;font-size:9px;letter-spacing:.18em;color:var(--gold)}.selection-dock-count{font:400 24px Georgia,serif}.selection-dock-units{font-size:9px;color:var(--muted);letter-spacing:.08em}.selection-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;padding:0 7px;border:1px solid rgba(212,175,99,.5);color:var(--gold);font-size:9px;letter-spacing:.08em}.selection-form{display:grid;grid-template-columns:minmax(90px,130px) auto;gap:10px;margin-top:20px}.quantity-input{width:100%;text-align:center}.selection-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.selection-actions .primary{min-width:180px}.selection-main .selected-state{border-color:var(--gold)!important;}.selection-main .selected-state .product-image{outline:1px solid rgba(212,175,99,.7);outline-offset:-1px;}.selection-main{padding:6vw 5vw;max-width:1200px;margin:auto}.selection-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:25px}.selection-heading h1{font:400 clamp(52px,8vw,105px)/.86 Georgia,serif;margin:18px 0 0}.selection-table{margin-top:28px;display:grid;gap:10px}.selection-row{display:grid;grid-template-columns:1fr 130px 90px;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.08)}.selection-product{display:grid;gap:5px}.selection-product strong{font:400 21px Georgia,serif}.selection-product span{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--rose)}.selection-qty{display:flex;align-items:center;gap:6px}.qty-button{width:34px;height:34px;border:1px solid rgba(255,255,255,.14);background:#151719;color:var(--cream);cursor:pointer}.qty-button:hover{border-color:var(--gold);color:var(--gold)}.selection-qty input{padding:8px;text-align:center}.remove-selection{border:0;background:none;color:#888;cursor:pointer;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.remove-selection:hover{color:var(--rose)}.selection-empty{padding:12vh 0;color:var(--muted)}.save-status{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);min-height:1em}.flash-success{border-left-color:var(--gold)}@media(max-width:600px){.selection-dock{right:12px;bottom:12px}.selection-main{padding:11vw 20px}.selection-heading{align-items:start}.selection-row{grid-template-columns:1fr;gap:10px}.selection-actions{margin-bottom:80px}.selection-form{grid-template-columns:100px 1fr}}

/* Phase 2.2 — selection review */
.review-main{padding:6vw 5vw 10vw;max-width:1180px;margin:auto}
.review-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;border-bottom:1px solid var(--line);padding-bottom:30px}
.review-heading h1{font:400 clamp(52px,8vw,105px)/.86 Georgia,serif;margin:18px 0 12px;max-width:850px}
.review-intro{color:var(--muted);max-width:600px;line-height:1.7;margin:0}
.review-summary{display:grid;grid-template-columns:auto auto;gap:2px 12px;align-items:baseline;text-align:right;min-width:110px}
.review-summary strong{font:400 30px Georgia,serif;color:var(--cream)}
.review-summary span{font-size:8px;letter-spacing:.15em;text-transform:uppercase;color:var(--muted)}
.review-list{margin-top:32px;border-top:1px solid rgba(255,255,255,.08)}
.review-item{display:grid;grid-template-columns:55px 1fr 100px;gap:22px;align-items:center;padding:24px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.review-item-index{font-size:10px;letter-spacing:.12em;color:var(--gold)}
.review-item-main{min-width:0}
.review-item-brand{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:var(--rose);margin-bottom:7px}
.review-item h2{font:400 25px Georgia,serif;margin:0 0 7px}
.review-item-sku{font-size:8px;color:#747675;letter-spacing:.1em}
.review-item-quantity{text-align:right;border-left:1px solid rgba(255,255,255,.08);padding-left:20px}
.review-item-quantity span{display:block;font-size:8px;letter-spacing:.16em;color:var(--muted);margin-bottom:5px}
.review-item-quantity strong{font:400 30px Georgia,serif;color:var(--gold)}
.review-item-note{grid-column:2/-1;color:var(--muted);font-size:11px;line-height:1.6;padding-top:2px}
.review-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:34px}
.secondary-action{border:1px solid rgba(255,255,255,.16);padding:14px 18px;color:#d7d4ca;text-transform:uppercase;letter-spacing:.12em;font-size:10px}
.secondary-action:hover{border-color:var(--gold);color:var(--gold)}
.review-next-note{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:auto}
.review-next-disabled{border:1px solid rgba(212,175,99,.25);background:rgba(212,175,99,.08);color:#a99b79;padding:14px 18px;text-transform:uppercase;letter-spacing:.12em;font-size:10px;cursor:not-allowed}
@media(max-width:700px){
  .review-main{padding:11vw 20px 110px}
  .review-heading{display:block}
  .review-summary{text-align:left;margin-top:22px;display:flex;gap:10px;flex-wrap:wrap}
  .review-summary strong{font-size:26px}
  .review-item{grid-template-columns:36px 1fr 62px;gap:12px}
  .review-item h2{font-size:20px}
  .review-item-quantity{padding-left:10px}
  .review-item-note{grid-column:2/-1}
  .review-next-note{width:100%;order:3}
}

.journey-step{
  color:#aeb0ae;
  font-weight:700;
  transition:color .2s ease;
}

.journey-step span{
  font-size:12px;
  color:#aeb0ae;
  margin-right:5px;
}

.journey-step.is-current{
  color:var(--cream);
}

.journey-step.is-current span{
  color:var(--gold);
}

.journey-step:not(.is-disabled):hover{
  color:var(--gold);
}

.journey-step.is-disabled{
  cursor:default;
}

.journey-line{
  width:36px;
  height:1px;
  background:rgba(212,175,99,.24);
  flex:0 0 auto;
}

.selection-drawer summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:9px 13px;
  border:1px solid rgba(212,175,99,.48);
  border-radius:999px;
  background:rgba(20,22,24,.78);
  box-shadow:
    0 8px 28px rgba(0,0,0,.28),
    0 0 18px rgba(212,175,99,.08);
  backdrop-filter:blur(14px);
  cursor:pointer;
  user-select:none;
  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.selection-drawer summary::-webkit-details-marker{
  display:none;
}

.selection-drawer summary:hover{
  transform:translateY(-2px);
  border-color:var(--gold);
  background:rgba(20,22,24,.88);
  box-shadow:
    0 10px 30px rgba(0,0,0,.32),
    0 0 22px rgba(212,175,99,.12);
}

.selection-drawer-label{
  font-size:8px;
  letter-spacing:.18em;
  color:var(--gold);
  white-space:nowrap;
}

.selection-drawer-count{
  font:400 17px Georgia,serif;
  line-height:1;
  color:var(--cream);
}

.selection-drawer-units{
  font-size:7px;
  color:var(--muted);
  letter-spacing:.08em;
  white-space:nowrap;
}

.selection-drawer-chevron{
  font-size:11px;
  color:#888;
  transition:transform .2s ease;
}

.selection-drawer[open] .selection-drawer-chevron{
  transform:rotate(90deg);
  color:var(--gold);
}

.selection-drawer-panel{
  position:absolute;
  left:0;
  bottom:calc(100% + 10px);
  width:min(380px,calc(100vw - 44px));
  border:1px solid rgba(255,255,255,.09);
  background:rgba(18,20,22,.97);
  box-shadow:0 20px 55px rgba(0,0,0,.38);
  padding:14px;
}

.selection-drawer-head{
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:8px;
  letter-spacing:.13em;
  text-transform:uppercase;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.selection-drawer-items{
  display:grid;
}

.selection-drawer-item{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.selection-drawer-item:hover .selection-drawer-item-name{
  color:var(--gold);
}

.selection-drawer-item-name{
  font:400 14px Georgia,serif;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.selection-drawer-item-qty{
  font-size:9px;
  color:var(--rose);
  letter-spacing:.1em;
}

.selection-drawer-more{
  padding:9px 0;
  color:#777;
  font-size:8px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.selection-drawer-review{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:12px;
  padding:11px 12px;
  border:1px solid rgba(212,175,99,.4);
  color:var(--gold);
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.selection-drawer-review:hover{
  background:rgba(212,175,99,.07);
}

.selection-drawer-empty{
  padding:8px 2px;
  color:#aaa;
  font:400 15px Georgia,serif;
  line-height:1.5;
}

.selection-drawer-empty span{
  font:10px Inter,ui-sans-serif,system-ui;
  color:#777;
  letter-spacing:.05em;
}

@media(max-width:700px){
  .journey-line{
    width:14px;
  }

  .selection-drawer summary{
    padding:8px 10px;
  }

  .selection-drawer-panel{
    left:0;
    bottom:calc(100% + 8px);
    width:min(360px,calc(100vw - 24px));
    max-height:48vh;
    overflow:auto;
  }
}

@media(prefers-reduced-motion:reduce){
  .journey-step,
  .selection-drawer-chevron{
    transition:none;
  }
}

/* Thumbnail enhancement — selection + review */
.selection-row{grid-template-columns:88px minmax(0,1fr) 130px 90px}
.selection-thumb,.review-thumb{background:#17191b;border:1px solid rgba(255,255,255,.08);overflow:hidden;display:grid;place-items:center;flex:none}
.selection-thumb{width:88px;height:108px}
.selection-thumb img,.review-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.selection-thumb span,.review-thumb span{font:italic 20px Georgia,serif;color:#666}
.review-item{grid-template-columns:34px 88px minmax(0,1fr) 100px}
.review-thumb{width:88px;height:108px}
@media(max-width:700px){
  .selection-row{grid-template-columns:72px minmax(0,1fr);gap:12px 14px;align-items:center}
  .selection-thumb{width:72px;height:90px;grid-row:1 / span 3}
  .selection-product{grid-column:2}
  .selection-qty{grid-column:2}
  .remove-selection{grid-column:2;justify-self:start}
  .save-status{grid-column:2}
  .review-item{grid-template-columns:30px 72px minmax(0,1fr);gap:12px}
  .review-thumb{width:72px;height:90px}
  .review-item-quantity{grid-column:3;justify-self:start;text-align:left;border-left:0;padding-left:0;margin-top:2px}
  .review-item-note{grid-column:2 / -1}
}


/* Phase 2.1.2 — consistent visual item references */
.product-image,.image-placeholder{position:relative}
.product-letter-badge,.selection-thumb-letter,.review-thumb-letter,.product-reference-badge{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border:1px solid rgba(212,175,99,.82);background:rgba(18,20,22,.88);color:var(--gold);box-shadow:0 8px 22px rgba(0,0,0,.28);font:500 14px Georgia,serif;letter-spacing:.04em;backdrop-filter:blur(8px)}
.product-card:hover .product-letter-badge{border-color:var(--gold);background:rgba(18,20,22,.94)}
.product-reference-row{display:flex;align-items:center;gap:12px}
.product-reference-badge{position:static;min-width:36px;height:36px;font-size:15px;flex:none}
.inline-product-letter,.selection-drawer-letter{font-style:normal;color:var(--gold);font-family:Georgia,serif;font-size:.78em;letter-spacing:.04em}
.selection-drawer-letter{display:inline-flex;min-width:18px;margin-right:4px}
.selection-thumb,.review-thumb{position:relative}
.selection-thumb-letter,.review-thumb-letter{top:7px;right:7px;min-width:25px;height:25px;padding:0 6px;font-size:12px}
.selection-thumb span:not(.selection-thumb-letter),.review-thumb span:not(.review-thumb-letter){font:italic 20px Georgia,serif;color:#666}
.selection-row{grid-template-columns:88px minmax(0,1fr) 130px 90px auto}
.save-status{justify-self:start}
@media(max-width:700px){
  .product-letter-badge{top:7px;right:7px;min-width:26px;height:26px;padding:0 6px;font-size:12px}
  .product-reference-row{gap:9px}
  .product-reference-badge{min-width:32px;height:32px;font-size:14px}
}
@media(max-width:600px){
  .selection-row{grid-template-columns:72px minmax(0,1fr);gap:12px 14px;align-items:center}
  .save-status{grid-column:2}
}

/* Phase 2.1.3 — photograph-level visual references */
.product-image,.gallery-image,.selection-thumb,.review-thumb{position:relative}
.photo-letter-badge{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border:1px solid rgba(212,175,99,.9);background:rgba(18,20,22,.9);color:var(--gold);box-shadow:0 8px 24px rgba(0,0,0,.3);font:500 15px Georgia,serif;letter-spacing:.04em;backdrop-filter:blur(8px);pointer-events:none}
.gallery-image:hover .photo-letter-badge{border-color:var(--gold);background:rgba(18,20,22,.96)}
.product-reference-row,.product-reference-badge,.product-letter-badge,.inline-product-letter{display:none!important}
.photo-selection-form{display:grid;gap:14px;margin-top:24px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08);min-width:0;max-width:100%}
.photo-selection-form .eyebrow{font-size:14px;line-height:1.2;letter-spacing:.22em;font-weight:800;color:var(--cream)}

.photo-selection-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:end;min-width:0;max-width:100%}
.photo-selection-head-copy{min-width:0;max-width:100%}
.photo-selection-head-copy .photo-count{display:inline-block;margin-top:8px}
.photo-selection-head p{margin:8px 0 0;color:#d0d1ce;font-size:14px;line-height:1.75;max-width:680px}
.photo-count{font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--gold);white-space:nowrap;text-transform:uppercase}
.photo-selection-head-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:14px;flex-shrink:1;min-width:0;max-width:100%}
.return-catalog-button{display:inline-flex;max-width:100%;box-sizing:border-box;align-items:center;justify-content:center;gap:8px;width:fit-content;padding:10px 14px;border:1px solid rgba(212,175,99,.55);border-radius:999px;background:rgba(18,20,22,.08);color:var(--cream);font-size:10px;font-weight:600;letter-spacing:.14em;line-height:1;text-decoration:none;text-transform:uppercase;white-space:nowrap;transition:color .2s ease,border-color .2s ease,background .2s ease,transform .2s ease}
.return-catalog-button:hover{border-color:var(--gold);background:rgba(212,175,99,.08);color:var(--gold);transform:translateX(-2px)}
.return-catalog-button:focus-visible{outline:2px solid rgba(218,165,72,.8);outline-offset:3px}
.photo-selection-rows{display:grid;gap:8px;min-width:0;max-width:100%}
.photo-selection-row{display:grid;grid-template-columns:minmax(0,1fr) 92px auto;gap:10px;align-items:end;padding:12px;border:1px solid rgba(255,255,255,.08);background:rgba(18,20,22,.55);min-width:0;max-width:100%}
.photo-selection-row > label{min-width:0;max-width:100%}
.photo-selection-row label{gap:6px}
.photo-selection-row label>span{font-size:10px;line-height:1.2;letter-spacing:.14em;color:#d0d1ce;font-weight:800}
.photo-selection-row select{width:100%;min-width:0;max-width:100%;min-height:46px;box-sizing:border-box;border:1px solid rgba(255,255,255,.12);background:#121416;color:var(--cream);padding:12px 13px;font-size:14px;outline:none}
.photo-selection-row select:focus{border-color:var(--gold)}
.photo-selection-quantity{min-width:0}
.photo-selection-quantity input{text-align:center;min-width:0;max-width:100%;box-sizing:border-box;min-height:46px;padding:12px;font-size:14px}
.photo-row-remove{border:0;background:none;color:#9a9c9a;padding:10px 5px;font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.photo-row-remove:hover{color:var(--rose)}
.add-photo-selection{justify-self:start;min-width:0;border:0;background:none;color:var(--gold);padding:3px 0;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.add-photo-selection:hover{color:#f2d58e}
.photo-save-button{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.selection-thumb-letter,.review-thumb-letter{position:absolute;top:7px;right:7px;z-index:2;display:grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border:1px solid rgba(212,175,99,.9);background:rgba(18,20,22,.9);color:var(--gold);font:500 12px Georgia,serif;letter-spacing:.04em}
.inline-photo-letter{font-style:normal;color:var(--gold);font-family:Georgia,serif;font-size:.75em;letter-spacing:.04em}.photo-reference,.review-photo-reference{font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.selection-product{display:grid;gap:5px}.review-item-brand{margin-bottom:5px}.review-photo-reference{margin:4px 0 6px}
.selection-drawer-letter{color:var(--gold);font-style:normal;font-family:Georgia,serif;font-size:.78em;min-width:18px;display:inline-flex;margin-right:4px}
@media(max-width:700px){
  .photo-selection-row{grid-template-columns:minmax(0,1fr) 82px auto}
  .photo-letter-badge{top:7px;right:7px;min-width:28px;height:28px;font-size:13px}
  .photo-selection-head{grid-template-columns:1fr;gap:12px;align-items:start}
  .photo-selection-head-copy{width:100%;min-width:0}
  .photo-selection-head-actions{width:100%;min-width:0;display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:8px}
  .return-catalog-button{max-width:100%}
  .selection-row{grid-template-columns:72px minmax(0,1fr);gap:12px 14px}
  .selection-thumb{width:72px;height:90px;grid-row:1 / span 3}
  .selection-product{grid-column:2}
  .selection-qty{grid-column:2}
  .selection-actions{margin-bottom:80px}
  .review-item{grid-template-columns:30px 72px minmax(0,1fr);gap:12px}
  .review-thumb{width:72px;height:90px}
  .review-item-quantity{grid-column:3;justify-self:start;text-align:left;border-left:0;padding-left:0;margin-top:2px}
  .review-item-note{grid-column:2 / -1}
}
@media(max-width:460px){
  .photo-selection-row{grid-template-columns:minmax(0,1fr) 72px}
  .photo-row-remove{grid-column:1 / -1;justify-self:start;padding:0}
  .photo-save-button{margin-top:4px}
}

/* Inquiry foundation */
.inquiry-main{width:min(1080px,92vw);margin:0 auto;padding:70px 0 120px}
.inquiry-heading h1{font:400 clamp(42px,6vw,72px)/.95 Georgia,serif;margin:18px 0 10px}
.inquiry-heading p{max-width:650px;color:var(--muted);line-height:1.7;font-size:12px}
.inquiry-form{display:grid}
.inquiry-section{border-top:1px solid rgba(255,255,255,.08)}
.inquiry-items{display:grid}
.inquiry-item{display:grid;gap:18px;align-items:center}
.inquiry-thumb{position:relative;background:#17191b;overflow:hidden;display:grid;place-items:center}
.inquiry-thumb img{width:100%;height:100%;object-fit:cover}
.inquiry-thumb>span{position:absolute;top:7px;right:7px;min-width:26px;height:26px;padding:0 6px;display:grid;place-items:center;border:1px solid rgba(212,175,99,.9);background:rgba(18,20,22,.9);color:var(--gold);font:500 12px Georgia,serif}
.inquiry-item-brand{font-size:8px;letter-spacing:.14em;color:var(--muted);text-transform:uppercase}
.inquiry-item-main h2{font:400 20px Georgia,serif;margin:7px 0}
.inquiry-item-qty{display:grid;justify-items:end;gap:4px}
.inquiry-item-qty small{font-size:8px;letter-spacing:.14em;color:var(--muted)}
.inquiry-item-qty strong{font:400 28px Georgia,serif;color:var(--gold)}
.inquiry-submit{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid rgba(255,255,255,.08)}
.received-card{padding:34px;border:1px solid rgba(212,175,99,.3);background:linear-gradient(145deg,rgba(35,38,40,.94),rgba(19,21,23,.9));margin-bottom:40px}
.received-card h1{font:400 clamp(34px,6vw,64px)/1 Georgia,serif;margin:16px 0}
.received-card p{max-width:640px;color:var(--muted);line-height:1.7}
.received-meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:24px;font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}

@media(max-width:760px){
  .inquiry-item{grid-template-columns:78px minmax(0,1fr);gap:12px 14px}
  .inquiry-item-qty{grid-column:2;justify-items:start}
}
/* Phase 2.3.1 — inquiry/login form hardening + polished fields */
.field{display:grid;gap:7px}.field label{display:flex;align-items:center;gap:8px}.field-help{font-size:9px;line-height:1.5;letter-spacing:.03em;color:#858886;text-transform:none}.field-error{min-height:14px;font-size:9px;line-height:1.4;color:#e2a19e;letter-spacing:.02em}.optional{font-size:8px;letter-spacing:.08em;color:#777a78;text-transform:uppercase}.secure-form input,.secure-form textarea,.secure-form select{border:1px solid rgba(255,255,255,.12);border-radius:1px;background:linear-gradient(180deg,rgba(18,20,22,.96),rgba(13,15,17,.96));transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.secure-form input:hover,.secure-form textarea:hover,.secure-form select:hover{border-color:rgba(212,175,99,.32)}.secure-form input:focus,.secure-form textarea:focus,.secure-form select:focus{border-color:rgba(212,175,99,.85);box-shadow:0 0 0 3px rgba(212,175,99,.10)}.secure-form input.is-invalid,.secure-form textarea.is-invalid,.secure-form select.is-invalid{border-color:rgba(201,143,139,.95);box-shadow:0 0 0 3px rgba(201,143,139,.08)}.form-submit{margin-top:6px;min-height:48px}.inquiry-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;padding-bottom:30px}.inquiry-heading:after{content:"";display:block;flex:1;height:1px;background:linear-gradient(90deg,rgba(212,175,99,.42),transparent);margin-bottom:9px}.inquiry-section{padding-top:28px}.inquiry-section > .eyebrow{margin-bottom:4px}.inquiry-items{margin-top:18px;gap:12px}.inquiry-item{grid-template-columns:96px minmax(0,1fr) 84px;padding:14px 16px;border-color:rgba(212,175,99,.12);background:linear-gradient(145deg,rgba(30,32,34,.74),rgba(16,18,20,.78))}.inquiry-thumb{width:96px;height:118px;border-color:rgba(212,175,99,.16);box-shadow:0 10px 30px rgba(0,0,0,.18)}.inquiry-thumb>span{border-color:rgba(212,175,99,.84);box-shadow:0 4px 18px rgba(0,0,0,.28)}.inquiry-item-main h2{font-size:21px}.inquiry-item-qty strong{font-size:30px}.inquiry-section textarea{min-height:150px;resize:vertical}.inquiry-submit{margin-top:2px;padding-top:30px}.login-card .secure-form{margin-top:30px}.login-card .field{gap:7px}.login-card .field-help{margin-top:-2px}.captcha-box .field{margin-top:6px}.alert{border:1px solid rgba(201,143,139,.22);border-left:2px solid var(--rose);border-radius:2px;background:rgba(201,143,139,.06)}
@media(max-width:760px){.inquiry-heading{display:block}.inquiry-heading:after{margin-top:24px}.inquiry-item{grid-template-columns:78px minmax(0,1fr);padding:11px}.inquiry-thumb{width:78px;height:96px}.inquiry-item-qty{grid-column:2}}
@media(prefers-reduced-motion:reduce){.secure-form input,.secure-form textarea,.secure-form select{transition:none}}

/* Phase 2.3.2 — login visual visibility fix R3 (UI-only) */
.login-brand-lockup{display:block;position:relative;margin:0 0 4px;min-height:34px}
.login-wordmark{display:flex;align-items:baseline;gap:9px;font-size:20px;line-height:1.05;letter-spacing:.20em;font-weight:900;color:#f6f0e6;visibility:visible;opacity:1;text-transform:uppercase}
.login-wordmark span{color:var(--cream);font-weight:900}
.login-wordmark em{color:var(--gold);font-style:normal;font-weight:700}
.login-brand-rule{width:72px;height:1px;background:linear-gradient(90deg,var(--gold),var(--rose));margin-top:10px;opacity:.95}
.login-mark{margin:28px 0 20px}
.login-submit{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;visibility:visible;opacity:1}
.login-submit span{display:block;color:#181817}
@media(max-width:600px){.login-wordmark{font-size:17px;letter-spacing:.16em}.login-card{padding:28px 24px}}


/* Phase 4.0 — Admin portal */
.admin-body{background:var(--slate2);color:var(--cream)}.admin-shell{min-height:100vh;background:radial-gradient(circle at 10% 10%,rgba(201,143,139,.08),transparent 24%),radial-gradient(circle at 90% 90%,rgba(212,175,99,.08),transparent 30%),var(--slate2)}.admin-topbar{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:auto 1fr auto;gap:30px;align-items:center;padding:16px 28px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(20,22,24,.94);backdrop-filter:blur(16px)}.admin-wordmark{font-size:12px;font-weight:800;letter-spacing:.18em;white-space:nowrap}.admin-wordmark span{color:var(--gold)}.admin-wordmark em{font-style:normal;color:var(--rose);font-size:8px;letter-spacing:.22em;margin-left:5px}.admin-nav{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}.admin-nav a{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.admin-nav a:hover{color:var(--gold)}.admin-main{width:min(1320px,94vw);margin:auto;padding:56px 0 100px}.admin-hero,.admin-page-head{display:flex;justify-content:space-between;gap:40px;align-items:end;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:34px;margin-bottom:30px}.admin-hero h1,.admin-page-head h1{font:400 clamp(46px,6vw,84px)/.9 Georgia,serif;margin:18px 0 10px}.admin-hero h1 em{font-style:italic;color:var(--gold)}.admin-hero p,.admin-page-head p{max-width:650px;color:var(--muted);font-size:12px;line-height:1.7}.admin-stamp{text-align:right;font-size:9px;line-height:1.8;letter-spacing:.14em;color:var(--gold);text-transform:uppercase}.admin-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:24px}.admin-metrics article{min-height:120px;padding:20px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(145deg,rgba(35,38,40,.82),rgba(17,19,21,.84));display:flex;flex-direction:column;justify-content:space-between}.admin-metrics span{font-size:8px;letter-spacing:.14em;color:var(--muted)}.admin-metrics strong{font:400 42px Georgia,serif;color:var(--gold)}.admin-grid-2{display:grid;grid-template-columns:1.35fr .85fr;gap:18px;margin-bottom:18px}.admin-panel{border:1px solid rgba(255,255,255,.08);background:rgba(20,22,24,.74);padding:24px;margin-bottom:18px}.admin-panel-head{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:18px}.admin-panel-head h2{font:400 30px Georgia,serif;margin:7px 0 0}.admin-panel-head>a{font-size:9px;letter-spacing:.12em;color:var(--gold);text-transform:uppercase}.admin-list{display:grid}.admin-list-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;border-top:1px solid rgba(255,255,255,.07)}.admin-list-row:first-child{border-top:0}.admin-list-row>div{display:grid;gap:5px;min-width:0}.admin-list-row strong{font:400 18px Georgia,serif}.admin-list-row span,.admin-list-row em{font-size:9px;color:var(--muted);line-height:1.5;font-style:normal}.admin-list-row.static{cursor:default}.admin-empty{padding:26px 0;color:#7f8280;font-size:10px}.admin-import{display:grid;grid-template-columns:90px 1fr;gap:16px;align-items:start}.admin-import-state{border:1px solid rgba(212,175,99,.35);padding:8px 6px;color:var(--gold);font-size:8px;letter-spacing:.12em;text-align:center}.admin-import strong{display:block;font:400 20px Georgia,serif;margin-bottom:6px}.admin-import span{display:block;color:var(--muted);font-size:9px;line-height:1.5}.admin-activity{display:grid}.admin-activity-row{display:grid;grid-template-columns:145px 210px 1fr;gap:14px;padding:12px 0;border-top:1px solid rgba(255,255,255,.07);font-size:9px}.admin-activity-row:first-child{border-top:0}.admin-activity-row time{color:#7f8280}.admin-activity-row strong{color:var(--cream);letter-spacing:.08em;text-transform:uppercase}.admin-activity-row span{color:var(--muted)}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:86px;padding:6px 9px;border:1px solid rgba(212,175,99,.28);font-size:8px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);white-space:nowrap}.status-closed{color:#8e928f;border-color:rgba(255,255,255,.12)}.status-quoted{color:#d7ba78}.status-reviewing{color:var(--rose)}.status-quote_preparing{color:#e0c98d}.status-customer_responded{color:#dec2b8}.status-new{color:#f1dca3}.status-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.status-filter a{padding:8px 10px;border:1px solid rgba(255,255,255,.08);font-size:8px;letter-spacing:.1em;color:var(--muted);text-transform:uppercase}.status-filter a:hover,.status-filter a.is-active{border-color:rgba(212,175,99,.55);color:var(--gold)}.table-panel{overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{text-align:left;padding:13px 10px;border-bottom:1px solid rgba(255,255,255,.07);font-size:10px;vertical-align:top}.admin-table th{font-size:8px;letter-spacing:.12em;color:var(--muted);text-transform:uppercase;font-weight:500}.admin-table td small{display:block;color:#777;margin-top:4px}.table-link{color:var(--gold)}.admin-form{display:grid;gap:18px}.admin-form label{display:grid;gap:7px;font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.admin-form input,.admin-form textarea,.admin-form select{border:1px solid rgba(255,255,255,.12);background:rgba(12,14,16,.94);color:var(--cream);padding:12px;border-radius:1px;outline:none}.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus{border-color:rgba(212,175,99,.85);box-shadow:0 0 0 3px rgba(212,175,99,.09)}.admin-form .primary{margin-top:2px}.admin-kv{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-kv div{padding-top:10px;border-top:1px solid rgba(255,255,255,.07)}.admin-kv dt{font-size:8px;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}.admin-kv dd{margin:5px 0 0;font-size:11px;line-height:1.5}.admin-history{display:grid}

.activity-details {
  display: grid;
  gap: 3px;
  margin-top: 5px;
}

.activity-details span {
  display: block;
}

.activity-details b {
  font-weight: 600;
}
.admin-history>div{display:grid;grid-template-columns:135px 150px 1fr;gap:14px;padding:12px 0;border-top:1px solid rgba(255,255,255,.07);font-size:9px}.admin-history>div:first-child{border-top:0}.admin-history time{color:#7f8280}.admin-history strong{letter-spacing:.07em;text-transform:uppercase}.admin-history span{color:var(--muted);line-height:1.5}.admin-note-block{margin-top:22px;padding:16px;border:1px solid rgba(201,143,139,.15);background:rgba(201,143,139,.04)}.admin-note-block span{font-size:8px;letter-spacing:.14em;color:var(--rose)}.admin-note-block p{margin:8px 0 0;color:var(--cream);line-height:1.7;font-size:11px;white-space:pre-wrap}.admin-photo-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}.admin-photo-tile{min-height:110px;display:grid;align-content:space-between;padding:14px;border:1px solid rgba(255,255,255,.08);background:rgba(13,15,17,.62)}.admin-photo-tile span{justify-self:start;display:grid;place-items:center;min-width:28px;height:28px;border:1px solid rgba(212,175,99,.8);color:var(--gold);font:500 12px Georgia,serif}.admin-photo-tile strong{font-size:9px;color:var(--muted);word-break:break-word}.admin-view-link{display:inline-flex;align-items:center;justify-content:center}.admin-body .ghost{border-color:rgba(255,255,255,.12)}
.admin-stack-form{display:grid;gap:.85rem}.admin-stack-form label{display:grid;gap:.35rem}.admin-stack-form input,.admin-stack-form select{min-width:0}.admin-inline-form{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.admin-brand-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.admin-check{display:inline-flex;align-items:center;gap:.3rem;font-size:.78rem;color:var(--muted)}
@media (max-width:700px){.admin-brand-actions,.admin-inline-form{width:100%}.admin-inline-form input[name="name"]{flex:1 1 12rem}}
@media(max-width:1000px){.admin-topbar{grid-template-columns:1fr auto}.admin-nav{grid-column:1 / -1;justify-content:flex-start;order:3}.admin-metrics{grid-template-columns:repeat(2,1fr)}.admin-grid-2{grid-template-columns:1fr}.admin-activity-row,.admin-history>div{grid-template-columns:120px 150px 1fr}}
@media(max-width:640px){.admin-topbar{padding:13px 16px}.admin-main{width:min(94vw,560px);padding:38px 0 80px}.admin-hero,.admin-page-head{display:block}.admin-stamp{text-align:left;margin-top:18px}.admin-metrics{grid-template-columns:1fr 1fr}.admin-activity-row,.admin-history>div{grid-template-columns:1fr;gap:4px}.admin-kv{grid-template-columns:1fr}.admin-list-row{align-items:start;flex-direction:column}.status-pill{min-width:0}.admin-nav{gap:14px}.admin-metrics strong{font-size:34px}}

.admin-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.admin-product-card{border:1px solid rgba(255,255,255,.08);background:rgba(13,15,17,.62);overflow:hidden}.admin-product-image{position:relative;display:block;aspect-ratio:1/1;background:rgba(12,14,16,.94);overflow:hidden}.admin-product-image img{width:100%;height:100%;display:block;object-fit:cover}.admin-image-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:var(--gold);font:500 28px Georgia,serif}.admin-product-count{position:absolute;right:10px;bottom:10px;padding:6px 8px;background:rgba(12,14,16,.82);border:1px solid rgba(212,175,99,.35);color:var(--gold);font-size:8px;letter-spacing:.1em;text-transform:uppercase}.admin-product-copy{padding:14px}.admin-product-copy h2{margin:8px 0 5px;font:400 20px Georgia,serif}.admin-product-copy p{margin:0;color:var(--muted);font-size:9px}.admin-photo-tile{display:block;padding:0;overflow:hidden;text-decoration:none}.admin-photo-thumb{aspect-ratio:1/1;background:rgba(12,14,16,.94);display:grid;place-items:center;overflow:hidden}.admin-photo-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.admin-photo-thumb>span{font-size:8px;letter-spacing:.12em;color:#7f8280}.admin-photo-meta{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:12px}.admin-photo-meta>span{display:grid;place-items:center;min-width:28px;height:28px;border:1px solid rgba(212,175,99,.8);color:var(--gold);font:500 12px Georgia,serif}.admin-photo-meta strong{font-size:8px;color:var(--muted);word-break:break-word}.admin-photo-tile:hover{border-color:rgba(212,175,99,.45)}.admin-photo-viewer-panel{padding:20px}.admin-photo-viewer{min-height:min(72vh,760px);display:grid;place-items:center;background:rgba(8,10,12,.72);border:1px solid rgba(255,255,255,.08);overflow:auto}.admin-photo-viewer img{display:block;max-width:100%;max-height:72vh;width:auto;height:auto;object-fit:contain}.admin-photo-viewer-inactive{padding:40px;color:#7f8280;font-size:10px;letter-spacing:.12em}.admin-photo-viewer-meta{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding-top:14px}.admin-photo-viewer-meta>span{display:grid;place-items:center;min-width:30px;height:30px;border:1px solid rgba(212,175,99,.8);color:var(--gold);font:500 12px Georgia,serif}.admin-photo-viewer-meta strong{font-size:9px;color:var(--muted);word-break:break-word}
@media (max-width:760px){.admin-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid-2{grid-template-columns:1fr}.admin-main{width:min(94vw,700px)}}


/* Phase 4.1 — appearance controls / light theme / admin text size */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.appearance-toggle{width:38px;height:38px;border:1px solid var(--line);background:transparent;color:var(--cream);display:inline-grid;place-items:center;border-radius:50%;cursor:pointer;flex:0 0 auto}
.appearance-toggle:hover{border-color:var(--gold);color:var(--gold)}
.theme-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.theme-icon-moon{display:none}
html[data-theme="light"] .theme-icon-sun{display:none}
html[data-theme="light"] .theme-icon-moon{display:block}
.login-appearance-toggle{position:absolute;top:24px;right:24px;z-index:5}
.admin-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}






body.admin-body{overflow-x:hidden}
.audit-user-agent{max-width:520px;word-break:break-word;color:var(--muted)}
.login-audit-table code{font:inherit;color:var(--gold)}
.status-success{color:#5f9c74!important;border-color:rgba(95,156,116,.25)!important}
.status-failed{color:var(--rose)!important;border-color:rgba(201,143,139,.30)!important}

html[data-theme="light"]{
  --slate:#fbfaf7;--slate2:#f3efe8;--panel:rgba(255,255,255,.94);--gold:#9b7428;--rose:#b36e69;--cream:#171717;--muted:#66635d;--line:rgba(155,116,40,.25)
}
html[data-theme="light"] body{background:#fbfaf7;color:#171717}
html[data-theme="light"] .login-shell{background:radial-gradient(circle at 22% 18%,rgba(179,110,105,.10),transparent 30%),radial-gradient(circle at 80% 76%,rgba(155,116,40,.10),transparent 34%),linear-gradient(135deg,#fff,#f5f0e7)}
html[data-theme="light"] .login-card{border-color:rgba(155,116,40,.28);background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,245,238,.96));box-shadow:0 30px 90px rgba(90,72,42,.13)}
html[data-theme="light"] .login-wordmark,html[data-theme="light"] .login-wordmark span{color:#171717}
html[data-theme="light"] .muted{color:#66635d}
html[data-theme="light"] input{border-color:rgba(30,30,30,.14);background:#fff;color:#171717}
html[data-theme="light"] input::placeholder{color:#8a867f}
html[data-theme="light"] .captcha-box{border-color:rgba(179,110,105,.30);background:linear-gradient(135deg,rgba(179,110,105,.06),rgba(155,116,40,.04))}
html[data-theme="light"] .captcha-question{color:#171717}
html[data-theme="light"] .login-submit span{color:#fff}
html[data-theme="light"] .site-shell{background:radial-gradient(circle at 72% 14%,rgba(155,116,40,.06),transparent 28%),#fbfaf7}
html[data-theme="light"] .topbar{border-bottom-color:rgba(30,30,30,.10)}
html[data-theme="light"] .ghost,html[data-theme="light"] .back-link{color:#36342f}

html[data-theme="light"] .collection-nav{color:#6f6b64}
html[data-theme="light"] .product-image,html[data-theme="light"] .gallery-image,html[data-theme="light"] .gallery-empty{background:#eee9df}
html[data-theme="light"] .lightbox{background:rgba(251,250,247,.97)}
html[data-theme="light"] .lightbox-close{color:#171717}
html[data-theme="light"] .selection-dock{background:rgba(255,255,255,.96);box-shadow:0 14px 45px rgba(60,47,24,.14)}
html[data-theme="light"] .selection-drawer{background:#fff}
html[data-theme="light"] .selection-row,html[data-theme="light"] .review-item,html[data-theme="light"] .inquiry-item{border-color:rgba(30,30,30,.10)}
html[data-theme="light"] .admin-body{background:#f3efe8;color:#171717}
html[data-theme="light"] .admin-topbar{border-bottom-color:rgba(30,30,30,.10);background:rgba(255,255,255,.94);box-shadow:0 8px 30px rgba(75,58,27,.06)}
html[data-theme="light"] .admin-panel,html[data-theme="light"] .admin-metrics article{border-color:rgba(30,30,30,.10);background:rgba(255,255,255,.91)}
html[data-theme="light"] .admin-product-card{border-color:rgba(30,30,30,.10);background:#fff}
html[data-theme="light"] .admin-product-image,html[data-theme="light"] .admin-photo-thumb{background:#eee9df}
html[data-theme="light"] .admin-photo-viewer{background:#f3efe8;border-color:rgba(30,30,30,.10)}
html[data-theme="light"] .admin-list-row,html[data-theme="light"] .admin-activity-row,html[data-theme="light"] .admin-history>div{border-color:rgba(30,30,30,.09)}
html[data-theme="light"] .admin-table th,html[data-theme="light"] .admin-table td{border-color:rgba(30,30,30,.09)}
html[data-theme="light"] .admin-table td small{color:#888078}
html[data-theme="light"] .admin-form input,html[data-theme="light"] .admin-form textarea,html[data-theme="light"] .admin-form select{border-color:rgba(30,30,30,.14);background:#fff;color:#171717}
html[data-theme="light"] .admin-history time{color:#79746c}
html[data-theme="light"] .admin-nav a,html[data-theme="light"] .admin-wordmark{color:#262420}
html[data-theme="light"] 

html[data-theme="light"] .status-filter a{border-color:rgba(30,30,30,.10);color:#77736b}
html[data-theme="light"] .admin-photo-meta strong,html[data-theme="light"] .admin-photo-thumb>span{color:#77736b}
html[data-theme="light"] .alert{background:rgba(179,110,105,.08)}
html[data-theme="light"] .field-help{color:#77736b}

.global-appearance-toggle{position:fixed;right:22px;top:20px;z-index:70;box-shadow:0 10px 30px rgba(0,0,0,.18);backdrop-filter:blur(12px)}
@media(max-width:700px){.global-appearance-toggle{right:14px;top:14px}.login-appearance-toggle{right:14px;top:14px}.admin-controls{grid-column:1/-1;justify-content:flex-start}.admin-topbar{grid-template-columns:1fr auto}.admin-topbar>form{grid-column:2}.admin-controls{order:4}}

/* Phase 4.1.9 — deterministic TCrown mark layout */
.login-brand-lockup{text-align:center}
.login-wordmark{justify-content:center}
.login-mark.logo-mark{width:132px;height:132px;margin:24px auto 20px;border:0;border-radius:0;display:flex;align-items:center;justify-content:center;overflow:visible}
.login-mark.logo-mark img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;display:block;filter:drop-shadow(0 12px 24px rgba(0,0,0,.35))}
.login-card h1{text-align:center}
.login-card>.muted{text-align:center}
html[data-theme="light"] .login-mark.logo-mark img{filter:drop-shadow(0 10px 22px rgba(90,72,42,.18))}
@media(max-width:600px){.login-mark.logo-mark{width:112px;height:112px;margin:20px auto 18px}}
/* --------------------------------------------------------------------------
   Login viewport-fit
   Keep the complete login experience visible on initial page load.
   -------------------------------------------------------------------------- */

html,
body {
  min-height: 100%;
}

body {
  overflow-x: hidden;
}

.login-shell {
  min-height: 100svh;
  min-height: 100dvh;
  min-height: 100vh;
  height: auto;
  display: grid;
  place-items: center;
  padding: 18px 18px 20px;
  box-sizing: border-box;
}

.login-card {
  width: min(94vw, 520px);
  max-width: 520px;
  padding: 22px 24px 24px;
  box-sizing: border-box;
  margin: 0 auto;
}

.login-brand-lockup {
  margin-bottom: 8px;
}

.login-wordmark {
  line-height: 1;
  font-size: 12px;
  letter-spacing: .16em;
}

.login-brand-rule {
  margin-top: 7px;
}

.login-mark {
  width: 88px;
  height: 88px;
  margin: 12px auto 12px;
  display: grid;
  place-items: center;
}

.login-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-card h1 {
  margin: 0 0 5px;
  line-height: 1.1;
  font-size: clamp(24px, 3vw, 30px);
}

.login-card > .muted {
  margin: 0 0 12px;
}

.secure-form {
  display: grid;
  gap: 10px;
}

.secure-form .field {
  margin: 0;
}

.secure-form label {
  margin-bottom: 4px;
}

.secure-form input {
  min-height: 40px;
  box-sizing: border-box;
}

.field-help {
  margin-top: 3px;
  line-height: 1.2;
}

.captcha-box {
  margin-top: 2px;
  padding: 10px 12px;
}

.captcha-question {
  margin: 6px 0 8px;
}

.captcha-box .field {
  margin: 0;
}

.login-submit {
  min-height: 42px;
  margin-top: 2px;
}

.login-appearance-toggle {
  top: 14px;
  right: 14px;
}

/* Short desktop/browser windows */
@media (max-height: 820px) and (min-width: 761px) {
  .login-shell {
    place-items: start center;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .login-card {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .login-mark {
    width: 76px;
    height: 76px;
    margin: 8px auto 8px;
  }

  .login-card h1 {
    font-size: 24px;
  }

  .login-card > .muted {
    margin-bottom: 8px;
  }

  .secure-form {
    gap: 7px;
  }

  .captcha-box {
    padding: 8px 10px;
  }
}

/* Phones */
@media (max-width: 760px) {
  .login-shell {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 12px 12px 16px;
    place-items: center;
  }

  .login-card {
    width: min(94vw, 460px);
    padding: 16px 16px 18px;
  }

  .login-wordmark {
    font-size: 10px;
    letter-spacing: .13em;
  }

  .login-mark {
    width: 72px;
    height: 72px;
    margin: 8px auto 9px;
  }

  .login-card h1 {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .login-card > .muted {
    margin-bottom: 9px;
  }

  .secure-form {
    gap: 8px;
  }

  .secure-form input {
    min-height: 38px;
  }

  .captcha-box {
    padding: 8px 10px;
  }

  .login-submit {
    min-height: 40px;
  }
}

@media (max-height: 650px) and (orientation: portrait) {
  .login-shell {
    overflow: hidden;
  }

  .login-card {
    width: min(calc(94vw / .70), calc(520px / .70));
    zoom: .70;
  }
}

@media (max-height: 450px) and (orientation: landscape) {
  .login-shell {
    overflow: hidden;
  }

  .login-card {
    width: min(calc(94vw / .43), calc(520px / .43));
    zoom: .43;
  }
}

/* Very short phones / landscape: compact enough to show the button. */
@media (max-height: 700px) {
  .login-shell {
    place-items: start center;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .login-card {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .login-mark {
    width: 58px;
    height: 58px;
    margin: 5px auto 6px;
  }

  .login-card h1 {
    font-size: 20px;
  }

  .secure-form {
    gap: 6px;
  }

  .secure-form input {
    min-height: 36px;
  }

  .captcha-box {
    padding: 6px 8px;
  }
}

/* LOGIN VIEWPORT-FIT R1 */
.login-shell {
  min-height: 100svh;
  min-height: 100dvh;
  min-height: 100vh;
  height: auto;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 18px 18px 20px;
}

.login-card {
  width: min(94vw, 520px);
  max-width: 520px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 22px 24px 24px;
}

.login-brand-lockup {
  margin-bottom: 8px;
}

.login-mark {
  width: 88px;
  height: 88px;
  margin: 12px auto;
}

.login-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-card h1 {
  margin: 0 0 5px;
  line-height: 1.1;
  font-size: clamp(24px, 3vw, 30px);
}

.login-card > .muted {
  margin: 0 0 12px;
}

.secure-form {
  display: grid;
  gap: 10px;
}

.secure-form .field {
  margin: 0;
}

.secure-form label {
  margin-bottom: 4px;
}

.secure-form input {
  min-height: 40px;
  box-sizing: border-box;
}

.field-help {
  margin-top: 3px;
  line-height: 1.2;
}

.captcha-box {
  margin-top: 2px;
  padding: 10px 12px;
}

.captcha-question {
  margin: 6px 0 8px;
}

.login-submit {
  min-height: 42px;
  margin-top: 2px;
}

.login-appearance-toggle {
  top: 14px;
  right: 14px;
}

@media (max-height: 820px) and (min-width: 761px) {
  .login-shell {
    place-items: start center;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .login-card {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .login-mark {
    width: 76px;
    height: 76px;
    margin: 8px auto;
  }

  .login-card h1 {
    font-size: 24px;
  }

  .login-card > .muted {
    margin-bottom: 8px;
  }

  .secure-form {
    gap: 7px;
  }

  .captcha-box {
    padding: 8px 10px;
  }
}

@media (max-width: 760px) {
  .login-shell {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 12px 12px 16px;
  }

  .login-card {
    width: min(94vw, 460px);
    padding: 16px;
  }

  .login-wordmark {
    font-size: 10px;
    letter-spacing: .13em;
  }

  .login-mark {
    width: 72px;
    height: 72px;
    margin: 8px auto;
  }

  .login-card h1 {
    font-size: 22px;
  }

  .login-card > .muted {
    margin-bottom: 9px;
  }

  .secure-form {
    gap: 8px;
  }

  .secure-form input {
    min-height: 38px;
  }

  .captcha-box {
    padding: 8px 10px;
  }

  .login-submit {
    min-height: 40px;
  }
}

@media (max-height: 700px) {
  .login-shell {
    place-items: start center;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .login-card {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .login-mark {
    width: 58px;
    height: 58px;
    margin: 5px auto 6px;
  }

  .login-card h1 {
    font-size: 20px;
  }

  .secure-form {
    gap: 6px;
  }

  .secure-form input {
    min-height: 36px;
  }

  .captcha-box {
    padding: 6px 8px;
  }
}

/* TCROWNSTUDIO UI REFRESH V6 BEGIN */
/* V6 bottom-stack + light-theme contrast + typography */
/* V6 LIGHT THEME CONTRAST — form controls */
html[data-theme="light"] .photo-selection-row label>span{
  color:#4a4742;
  font-weight:800;
}
html[data-theme="light"] .photo-selection-row select{
  background:#ffffff;
  color:#171717;
  border-color:rgba(30,30,30,.22);
  color-scheme:light;
}
html[data-theme="light"] .photo-selection-row select option{
  background:#ffffff;
  color:#171717;
}
html[data-theme="light"] .photo-selection-quantity input{
  background:#ffffff;
  color:#171717;
  border-color:rgba(30,30,30,.22);
  color-scheme:light;
}
html[data-theme="light"] .photo-selection-head p{color:#5b5751}
html[data-theme="light"] .photo-count{color:#8a651c}

/* V6 LIGHT THEME CONTRAST — journey progress */
html[data-theme="light"] .journey-progress{
  background:rgba(255,255,255,.97);
  color:#171717;
  border-color:rgba(155,116,40,.38);
  box-shadow:0 16px 50px rgba(75,58,27,.14),0 0 0 1px rgba(155,116,40,.06);
}
html[data-theme="light"] .journey-step{color:#625e57}
html[data-theme="light"] .journey-step span{color:#625e57}
html[data-theme="light"] .journey-step.is-current{color:#171717;font-weight:900}
html[data-theme="light"] .journey-step.is-current span{color:#8a651c;font-weight:900}
html[data-theme="light"] .journey-line{background:rgba(155,116,40,.28)}

/* V6 LIGHT THEME CONTRAST — My Selection */
html[data-theme="light"] .selection-drawer{color:#171717}
html[data-theme="light"] .selection-drawer summary{
  color:#171717;
  background:#ffffff;
  border-color:rgba(155,116,40,.45);
  box-shadow:0 14px 45px rgba(75,58,27,.14);
}
html[data-theme="light"] .selection-drawer summary:hover{border-color:#9b7428}
html[data-theme="light"] .selection-drawer-label{color:#8a651c;font-weight:900}
html[data-theme="light"] .selection-drawer-count{color:#171717;font-weight:600;text-shadow:none}
html[data-theme="light"] .selection-drawer-units{color:#5f5b54}
html[data-theme="light"] .selection-drawer-chevron{color:#5f5b54}
html[data-theme="light"] .selection-drawer[open] .selection-drawer-chevron{color:#8a651c}
html[data-theme="light"] .selection-drawer-panel{
  color:#171717;
  background:#ffffff;
  border-color:rgba(30,30,30,.13);
  box-shadow:0 20px 55px rgba(75,58,27,.14);
}
html[data-theme="light"] .selection-drawer-head{color:#6a655d;border-bottom-color:rgba(30,30,30,.10)}
html[data-theme="light"] .selection-drawer-item{border-bottom-color:rgba(30,30,30,.09)}
html[data-theme="light"] .selection-drawer-item-name{color:#201f1c;font-weight:500}
html[data-theme="light"] .selection-drawer-item-qty{color:#9b5f5b;font-weight:800}
html[data-theme="light"] .selection-drawer-more{color:#726d65}
html[data-theme="light"] .selection-drawer-review{
  color:#8a651c;
  border-color:rgba(155,116,40,.35);
  background:rgba(155,116,40,.04);
  font-weight:800;
}
html[data-theme="light"] .selection-drawer-review:hover{background:rgba(155,116,40,.09)}
html[data-theme="light"] .selection-drawer-empty{color:#4f4b45}
html[data-theme="light"] .selection-drawer-empty span{color:#716c64}





/* TCROWNSTUDIO UI REFRESH V6 END */

/* ===== ADMIN CATALOG DELETION CONTROLS ===== */
.admin-flashes{display:grid;gap:10px;margin-bottom:22px}
.admin-flash{border:1px solid rgba(255,255,255,.10);background:rgba(13,15,17,.82);padding:13px 16px;font-size:10px;letter-spacing:.04em;color:var(--cream)}
.admin-flash-success{border-color:rgba(212,175,99,.42);color:var(--gold)}
.admin-flash-error{border-color:rgba(190,82,82,.48);color:#e4a0a0}
.admin-photo-card{display:grid;gap:0;border:1px solid rgba(255,255,255,.08);background:rgba(13,15,17,.62);overflow:hidden}
.admin-photo-card .admin-photo-tile{border:0;background:transparent}
.admin-photo-card .admin-photo-tile:hover{border-color:transparent}
.admin-delete-form{margin:0}.admin-customer-delete-form{display:grid;grid-template-columns:minmax(130px,1fr) auto;gap:6px;align-items:center;min-width:220px}.admin-customer-delete-form label{display:block}.admin-customer-delete-form input{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.12);background:rgba(12,14,16,.94);color:var(--cream);padding:9px 10px;border-radius:1px;outline:none;font-size:9px}.admin-customer-delete-form input:focus{border-color:rgba(170,60,60,.75);box-shadow:0 0 0 3px rgba(150,38,38,.09)}.admin-customer-delete-form .admin-delete-button{width:auto;padding:9px 11px}.admin-delete-blocked{display:inline-block;padding:9px 8px;border:1px solid rgba(255,255,255,.08);color:#777;font-size:8px;letter-spacing:.1em;text-transform:uppercase}.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}
.admin-delete-button,.admin-delete-product-button{width:100%;border:0;cursor:pointer;text-transform:uppercase;letter-spacing:.13em;font-size:9px;font-weight:800;padding:11px 12px}
.admin-delete-button{border-top:1px solid rgba(255,255,255,.07);background:rgba(120,30,30,.22);color:#d99b9b}
.admin-delete-button:hover{background:rgba(150,38,38,.34);color:#f0b0b0}
.admin-danger-panel{display:flex;justify-content:space-between;align-items:center;gap:28px;border-color:rgba(160,55,55,.28)}
.admin-danger-copy{display:grid;gap:5px}
.admin-danger-copy h2{margin:0;font:500 22px Georgia,serif;color:var(--cream)}
.admin-danger-copy p{margin:0;max-width:720px;color:var(--muted);font-size:10px;line-height:1.7}
.admin-delete-product-button{width:auto;min-width:210px;border:1px solid rgba(170,60,60,.55);background:rgba(100,25,25,.30);color:#d99b9b}
.admin-delete-product-button:hover{background:rgba(145,35,35,.42);color:#f0b0b0}
@media (max-width:700px){
  .admin-danger-panel{display:grid;align-items:stretch}
  .admin-delete-product-button{width:100%}
}

/* ===== LOGIN VIEW REFINEMENT ===== */
.login-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 5vw, 64px);
  background:
    radial-gradient(circle at 50% 42%, rgba(212,175,99,.10), transparent 26rem),
    radial-gradient(circle at 8% 8%, rgba(201,143,139,.16), transparent 31rem),
    radial-gradient(circle at 94% 92%, rgba(212,175,99,.10), transparent 28rem),
    #17191b;
}

.login-shell::before,
.login-shell::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(212,175,99,.12);
  border-radius: 50%;
}

.login-shell::before {
  width: min(70vw, 760px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.login-shell::after {
  width: min(88vw, 980px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(201,143,139,.08);
}

.login-card {
  position: relative;
  width: min(100%, 478px);
  max-width: 478px;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(212,175,99,.30);
  border-radius: 3px;
  background:
    linear-gradient(145deg, rgba(43,45,46,.92), rgba(19,21,23,.97)),
    var(--panel);
  box-shadow:
    0 38px 100px rgba(0,0,0,.48),
    0 0 0 8px rgba(255,255,255,.015);
  backdrop-filter: blur(22px);
}

.login-card::before {
  position: absolute;
  top: 0;
  left: 14%;
  width: 72%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.login-brand-lockup {
  margin-bottom: 20px;
  text-align: center;
}

.login-wordmark {
  font-size: 11px;
  letter-spacing: .24em;
}

.login-brand-rule {
  width: 42px;
  height: 1px;
  margin: 11px auto 0;
  background: var(--gold);
  opacity: .65;
}

.login-eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.login-mark {
  width: 84px;
  height: 84px;
  margin: 17px auto 18px;
  border-color: rgba(201,143,139,.72);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.login-card h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -.02em;
  text-align: center;
}

.login-card > .muted {
  margin-bottom: 26px;
  color: #b8b9b5;
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
}

.secure-form {
  gap: 17px;
  margin-top: 0;
}

.secure-form label {
  color: #d7d4ca;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.secure-form input {
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 2px;
  background: rgba(10,12,13,.56);
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.secure-form input:hover {
  border-color: rgba(212,175,99,.38);
}

.secure-form input:focus {
  border-color: var(--gold);
  background: rgba(10,12,13,.78);
  box-shadow: 0 0 0 3px rgba(212,175,99,.11);
}

.field-help {
  color: #858887;
  font-size: 10px;
  letter-spacing: .01em;
}

.captcha-box {
  margin-top: 2px;
  border: 1px solid rgba(201,143,139,.35);
  border-radius: 2px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(201,143,139,.10), rgba(212,175,99,.04));
}

.captcha-label {
  margin-bottom: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
}

.captcha-question {
  margin: 4px 0 12px;
  font-size: 27px;
  text-align: center;
}

.captcha-box .field {
  display: grid;
  grid-template-columns: 1fr;
}

.login-submit {
  min-height: 50px;
  margin-top: 2px;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(212,175,99,.12);
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.login-submit:hover {
  box-shadow: 0 14px 28px rgba(212,175,99,.18);
  transform: translateY(-1px);
}

.login-submit:focus-visible,
.login-appearance-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.login-appearance-toggle {
  top: clamp(18px, 3vw, 30px);
  right: clamp(18px, 3vw, 30px);
  border-color: rgba(212,175,99,.25);
  background: rgba(18,20,22,.62);
}

@media (max-width: 760px) {
  .login-shell {
    padding: 20px 14px 28px;
  }

  .login-card {
    padding: 28px 22px 30px;
  }

  .login-mark {
    width: 76px;
    height: 76px;
    margin-top: 14px;
  }
}

@media (max-height: 700px) {
  .login-shell {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .login-card {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .login-mark {
    width: 66px;
    height: 66px;
    margin-top: 10px;
    margin-bottom: 12px;
  }

  .login-card > .muted {
    margin-bottom: 18px;
  }

  .secure-form {
    gap: 11px;
  }
}

html[data-theme="light"] .login-shell {
  background:
    radial-gradient(circle at 50% 42%, rgba(212,175,99,.16), transparent 26rem),
    radial-gradient(circle at 8% 8%, rgba(201,143,139,.14), transparent 31rem),
    #eeeae2;
}

html[data-theme="light"] .login-card {
  border-color: rgba(126,94,32,.28);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,245,238,.96));
  box-shadow: 0 30px 80px rgba(63,52,34,.16), 0 0 0 8px rgba(126,94,32,.035);
}

html[data-theme="light"] .login-card > .muted {
  color: #6f6b62;
}

html[data-theme="light"] .secure-form label {
  color: #494640;
}

html[data-theme="light"] .secure-form input {
  border-color: rgba(30,30,30,.16);
  background: rgba(255,255,255,.82);
  color: #171717;
}

html[data-theme="light"] .secure-form input:focus {
  background: #fff;
}

html[data-theme="light"] .field-help {
  color: #77736b;
}

html[data-theme="light"] .login-appearance-toggle {
  border-color: rgba(126,94,32,.24);
  background: rgba(255,255,255,.72);
}

/* ===== DASHBOARD PRIVATE GALLERY ===== */
.site-shell {
  min-height: 100svh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 48%, rgba(212,175,99,.07), transparent 34rem),
    radial-gradient(circle at 10% 12%, rgba(201,143,139,.10), transparent 28rem),
    #17191b;
}

.topbar {
  height: 82px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom-color: rgba(212,175,99,.16);
  background: rgba(20,22,24,.72);
  backdrop-filter: blur(20px);
}

.wordmark {
  font-size: 11px;
  letter-spacing: .24em;
}

.wordmark span {
  color: var(--rose);
}

.top-actions {
  gap: 20px;
}

.client-name {
  color: #d2c8b7;
  letter-spacing: .15em;
}

.top-actions .ghost {
  padding: 9px 0;
  color: #d7d4ca;
}

.top-actions .ghost:hover {
  color: var(--gold);
}

.hero-stage {
  height: calc(100svh - 82px);
  min-height: 620px;
  isolation: isolate;
  background:
    radial-gradient(circle at 62% 48%, rgba(212,175,99,.06), transparent 28rem),
    linear-gradient(90deg, rgba(15,17,19,.72), transparent 55%, rgba(15,17,19,.20));
}

.hero-copy {
  top: 50%;
  left: clamp(24px, 9vw, 140px);
  width: min(360px, 32vw);
  transform: translateY(-50%);
}

.hero-copy .eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(58px, 7.5vw, 116px);
  line-height: .84;
  letter-spacing: -.06em;
}

.hero-copy h1 em {
  color: var(--gold);
}

.hero-copy p {
  margin: 0;
  color: #aeb0ae;
  font-size: 11px;
  letter-spacing: .12em;
}

.brand-orbit {
  z-index: 3;
  pointer-events: none;
}




.empty-state {
  max-width: 620px;
  margin: auto;
  padding: 16vh 24px;
  text-align: center;
}

html[data-theme="light"] .site-shell {
  background:
    radial-gradient(circle at 50% 48%, rgba(212,175,99,.13), transparent 34rem),
    radial-gradient(circle at 10% 12%, rgba(201,143,139,.12), transparent 28rem),
    #eeeae2;
}

html[data-theme="light"] .topbar {
  border-bottom-color: rgba(126,94,32,.18);
  background: rgba(255,255,255,.74);
}

html[data-theme="light"] .client-name,
html[data-theme="light"] .top-actions .ghost {
  color: #5d5951;
}

html[data-theme="light"] .hero-stage {
  background:
    radial-gradient(circle at 62% 48%, rgba(212,175,99,.10), transparent 28rem),
    linear-gradient(90deg, rgba(238,234,226,.86), transparent 45%, rgba(238,234,226,.18));
}

html[data-theme="light"] .hero-copy p {
  color: #716e67;
}




@media (max-width: 900px) {
  .hero-copy {
    left: 6vw;
    width: min(320px, 42vw);
  }

  .hero-copy h1 {
    font-size: clamp(52px, 8vw, 82px);
  }
}

@media (max-width: 600px) {
  .topbar {
    height: 68px;
    padding: 0 72px 0 20px;
  }

  .wordmark {
    font-size: 10px;
    letter-spacing: .18em;
  }

  .top-actions {
    gap: 14px;
  }

  .hero-stage {
    height: auto;
    min-height: calc(100svh - 68px);
    min-height: calc(100dvh - 68px);
    padding: 48px 20px 38px;
    overflow: hidden;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 360px);
    transform: none;
    margin: 0 auto 42px;
    text-align: center;
  }

  .hero-copy h1 {
    margin: 17px 0 14px;
    font-size: clamp(54px, 16vw, 76px);
  }

  .hero-copy p {
    font-size: 10px;
  }

  .brand-orbit {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
    width: min(100%, 480px);
    margin: 0 auto;
  }



}

@media (max-width: 380px) {
  .client-name {
    display: none;
  }

  .hero-stage {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-orbit {
    grid-template-columns: 1fr;
    width: min(100%, 270px);
  }
}

@media (max-width: 700px) {
  .site-shell .topbar {
    padding-right: 72px;
  }
}

/* Brand marks, responsive controls, and accessible light-theme contrast. */
.brand-mark img {
  width: min(100%, 128px) !important;
  height: 42px !important;
  max-width: 128px !important;
  max-height: 42px !important;
  object-fit: contain;
}
.admin-wordmark span,
.admin-wordmark em,
.wordmark span,
.login-wordmark em { color: var(--gold); }
.qty-button {
  color: var(--cream);
  border-color: currentColor;
}
.image-loading-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(212,175,99,.08), rgba(18,20,22,.8));
  transition: opacity .25s ease;
}
.gallery-image { position: relative; }
.gallery-image img { position: relative; z-index: 1; }
.gallery-image.is-loaded .image-loading-state { opacity: 0; pointer-events: none; }
.gallery-image.is-failed .image-loading-state { color: var(--rose); }
.main-photo-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 8px;
  background: rgba(18,20,22,.88);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 8px;
  letter-spacing: .14em;
  pointer-events: none;
}
.admin-search-form { display: flex; align-items: end; gap: 14px; margin: 0; }
.admin-search-form label { flex: 1; }
.admin-search-form input { margin-top: 7px; }
.admin-photo-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.admin-photo-select { display: flex; align-items: center; gap: 7px; padding: 9px; font-size: 9px; color: var(--muted); }
.admin-photo-select input { width: auto; accent-color: var(--gold); }
.admin-photo-meta { display: grid; gap: 5px; }
.admin-set-main { border: 0; background: none; padding: 0; cursor: pointer; font-size: 9px; }
.admin-main-photo { color: var(--gold); font-size: 9px; letter-spacing: .1em; }
.register-success { text-align: center; animation: register-success-in .55s ease both; }
.register-success h1 { font-size: clamp(28px, 5vw, 46px); }
.register-return { margin-top: 2rem !important; }
@keyframes register-success-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
html[data-theme="light"] .inquiry-item {
  background: #fff !important;
  color: #171717 !important;
  border-color: rgba(30,30,30,.14);
  box-shadow: 0 8px 24px rgba(75,58,27,.08);
}
html[data-theme="light"] .inquiry-item-brand,
html[data-theme="light"] .inquiry-item-qty small { color: #5f5b54; }
html[data-theme="light"] .inquiry-item-main h2 { color: #171717; }
html[data-theme="light"] .inquiry-item-main,
html[data-theme="light"] .inquiry-item-main h2,
html[data-theme="light"] .inquiry-item-main .review-photo-reference,
html[data-theme="light"] .inquiry-submit strong,
html[data-theme="light"] .review-item,
html[data-theme="light"] .review-item h2,
html[data-theme="light"] .review-item-main,
html[data-theme="light"] .review-item-note,
html[data-theme="light"] .selection-row,
html[data-theme="light"] .selection-product strong {
  color: #171717;
}
html[data-theme="light"] .review-list,
html[data-theme="light"] .selection-table {
  border-color: rgba(30,30,30,.14);
}
html[data-theme="light"] .review-item,
html[data-theme="light"] .selection-row {
  border-bottom-color: rgba(30,30,30,.14);
}
html[data-theme="light"] .review-item-brand,
html[data-theme="light"] .review-item-sku,
html[data-theme="light"] .selection-product > span,
html[data-theme="light"] .selection-product .sku,
html[data-theme="light"] .inquiry-submit span {
  color: #5f5b54;
}
html[data-theme="light"] .inquiry-thumb,
html[data-theme="light"] .selection-thumb,
html[data-theme="light"] .review-thumb {
  background: #eee9df;
  border-color: rgba(30,30,30,.14);
}
html[data-theme="light"] .qty-button { color: #171717; background: #fff; }
@media (max-width: 1100px) {
  .global-appearance-toggle {
    top: 90px;
    right: 14px;
  }
}
@media (max-width: 700px) {
  .admin-search-form { align-items: stretch; flex-direction: column; }
  .admin-search-form .primary { width: 100%; }
  .admin-photo-toolbar { align-items: stretch; flex-direction: column; }
  .brand-mark img { width: min(100%, 150px) !important; height: 46px !important; max-width: 150px !important; }
  .global-appearance-toggle {
    top: 80px;
    right: 14px;
  }
}

/* Final contrast authority for controls and brand lockups. */
.qty-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--gold);
  background: var(--panel);
  color: var(--gold) !important;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  -webkit-text-fill-color: var(--gold);
}
.wordmark span,
.login-wordmark em,
.admin-wordmark span,
.admin-wordmark em {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold);
}
html[data-theme="light"] .qty-button {
  background: #fff;
  color: #8a651c !important;
  border-color: #9b7428;
  -webkit-text-fill-color: #8a651c;
}
html[data-theme="light"] .login-wordmark em,
html[data-theme="light"] .wordmark span,
html[data-theme="light"] .admin-wordmark span,
html[data-theme="light"] .admin-wordmark em {
  color: #8a651c !important;
  -webkit-text-fill-color: #8a651c;
}

/* =========================================================
   BRAND COLLECTION LOGOS
   Current implementation: external SVG <img> + item count.
   ========================================================= */

.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  padding: 20px 10px;
  box-sizing: border-box;
  text-decoration: none;
}

.brand-mark img {
  display: block;
  width: min(100%, 128px) !important;
  height: clamp(46px, 8vw, 72px) !important;
  max-width: 128px !important;
  max-height: 72px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.brand-mark small {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .brand-mark img {
    width: min(100%, 118px) !important;
    height: 58px !important;
    max-width: 118px !important;
    max-height: 58px !important;
  }
}

/* Keep the complete authentication journey within the first viewport. */
.login-shell {
  place-items: start center;
  padding: 10px 14px 12px;
}

.login-card {
  padding: 18px 22px 20px;
}

.login-brand-lockup {
  margin-bottom: 10px;
}

.login-mark {
  width: 64px;
  height: 64px;
  margin: 9px auto 10px;
}

.login-card h1 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 4px;
}

.login-card > .muted {
  margin-bottom: 10px;
}

.secure-form {
  gap: 7px;
}

.secure-form input {
  min-height: 38px;
  padding: 9px 11px;
}

.field-help {
  font-size: 9px;
}

.captcha-box {
  padding: 7px 9px;
}

.login-submit {
  min-height: 40px;
}

.register-card .secure-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.register-card .secure-form .captcha-box,
.register-card .secure-form .login-submit {
  grid-column: 1 / -1;
}

.register-card .captcha-box {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}

.register-card .captcha-box .captcha-label,
.register-card .captcha-box .captcha-question {
  grid-column: 1 / -1;
}

.register-card .captcha-box .field {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .login-shell {
    padding: 8px 12px 10px;
  }

  .login-card {
    width: min(94vw, 520px);
    padding: 14px 16px 16px;
  }

  .login-mark {
    width: 54px;
    height: 54px;
    margin: 6px auto 7px;
  }

  .login-card h1 {
    font-size: 20px;
  }

  .login-card > .muted {
    margin-bottom: 7px;
  }

  .secure-form {
    gap: 6px;
  }

  .secure-form input {
    min-height: 34px;
    padding: 7px 9px;
  }

  .field-help {
    font-size: 8px;
    line-height: 1.1;
  }

  .captcha-box {
    padding: 6px 8px;
  }
}

/* =========================================================
   TCROWN DASHBOARD — FINAL COLLECTION HERO
   ========================================================= */

.dashboard-shell {
  min-height: 100vh;
}

.dashboard-shell .hero-stage {
  position: relative;
  height: calc(100svh - 78px);
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 42%, rgba(212,175,99,.10), transparent 28rem),
    radial-gradient(circle at 88% 72%, rgba(201,143,139,.07), transparent 24rem),
    linear-gradient(110deg, #202326 0%, #25282b 52%, #1d2022 100%);
}

.dashboard-shell .hero-copy {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: clamp(28px, 8vw, 125px);
  width: min(390px, 34vw);
  transform: translateY(-50%);
  text-align: left;
}

.dashboard-shell .hero-copy .eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .30em;
}

.dashboard-shell .hero-copy h1 {
  margin: 22px 0 20px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7.2vw, 112px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.055em;
}

.dashboard-shell .hero-copy h1 em {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.dashboard-shell .hero-copy p {
  margin: 0;
  color: #b5b3ad;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
}

.dashboard-shell .brand-orbit {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.dashboard-shell .brand-mark {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  padding: 20px 14px;
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transform:
    translate3d(
      calc(-50% + var(--move-x, 0px)),
      calc(-50% + var(--move-y, 0px)),
      0
    )
    rotate(var(--tilt, 0deg));
  transition: filter .35s ease, opacity .35s ease;
  will-change: transform;
}

.dashboard-shell .brand-mark::before {
  content: "";
  position: absolute;
  inset: 16px 12px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(212,175,99,.05);
  filter: blur(22px);
  opacity: .8;
  transition: opacity .35s ease, transform .35s ease;
}

.dashboard-shell .brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 96px;
}

.dashboard-shell .brand-mark img {
  display: block;
  width: 220px !important;
  height: 86px !important;
  max-width: 220px !important;
  max-height: 86px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 0 3px rgba(212,175,99,.95))
    drop-shadow(0 0 11px rgba(212,175,99,.65))
    drop-shadow(0 0 24px rgba(212,175,99,.32));
  transition: transform .35s ease, filter .35s ease;
}

.dashboard-shell .brand-mark small {
  display: block;
  margin-top: 10px;
  color: #aaa9a4;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .35s ease;
}

.dashboard-shell .brand-mark:hover {
  z-index: 20;
}

.dashboard-shell .brand-mark:hover img {
  transform: scale(1.08);
  filter:
    drop-shadow(0 0 4px rgba(212,175,99,1))
    drop-shadow(0 0 15px rgba(212,175,99,.85))
    drop-shadow(0 0 32px rgba(212,175,99,.52));
}

.dashboard-shell .brand-mark:hover::before {
  opacity: 1;
  transform: scale(1.18);
}

.dashboard-shell .brand-mark:hover small {
  color: var(--gold);
}

/* ---------- LIGHT MODE ---------- */

html[data-theme="light"] .dashboard-shell .hero-stage {
  background:
    radial-gradient(circle at 70% 42%, rgba(212,175,99,.13), transparent 30rem),
    radial-gradient(circle at 84% 70%, rgba(201,143,139,.12), transparent 25rem),
    linear-gradient(110deg, #eeeae2 0%, #f5f1e9 55%, #ebe5dc 100%);
}

html[data-theme="light"] .dashboard-shell .hero-copy h1 {
  color: #242424;
}

html[data-theme="light"] .dashboard-shell .hero-copy h1 em {
  color: #9b7428;
}

html[data-theme="light"] .dashboard-shell .hero-copy p {
  color: #716e67;
}

html[data-theme="light"] .dashboard-shell .brand-mark::before {
  background: rgba(201,143,139,.08);
}

html[data-theme="light"] .dashboard-shell .brand-mark img {
  filter:
    drop-shadow(0 0 3px rgba(212,175,99,.95))
    drop-shadow(0 0 11px rgba(212,175,99,.68))
    drop-shadow(0 0 25px rgba(212,175,99,.34));
}

html[data-theme="light"] .dashboard-shell .brand-mark:hover img {
  filter:
    drop-shadow(0 0 4px rgba(212,175,99,1))
    drop-shadow(0 0 15px rgba(212,175,99,.88))
    drop-shadow(0 0 34px rgba(212,175,99,.52));
}

html[data-theme="light"] .dashboard-shell .brand-mark small {
  color: #716e67;
}

html[data-theme="light"] .dashboard-shell .brand-mark:hover small {
  color: #9b6f6b;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
  .dashboard-shell .hero-copy {
    left: 5vw;
    width: min(330px, 38vw);
  }

  .dashboard-shell .hero-copy h1 {
    font-size: clamp(52px, 7.5vw, 82px);
  }

  .dashboard-shell .brand-mark {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
  }

  .dashboard-shell .brand-mark img {
    width: 164px !important;
    height: 68px !important;
    max-width: 164px !important;
    max-height: 68px !important;
  }
}

@media (max-width: 700px) {
  .dashboard-shell .hero-stage {
    height: auto;
    min-height: calc(100svh - 68px);
    min-height: calc(100dvh - 68px);
    padding: 48px 20px 56px;
    overflow: hidden;
  }

  .dashboard-shell .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 390px);
    margin: 0 auto 44px;
    transform: none;
    text-align: center;
  }

  .dashboard-shell .hero-copy h1 {
    margin: 17px 0 15px;
    font-size: clamp(54px, 16vw, 76px);
  }

  .dashboard-shell .brand-orbit {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    width: min(100%, 560px);
    height: auto;
    margin: 0 auto;
  }

  .dashboard-shell .brand-mark {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 18px 8px;
    transform:
      translate3d(
        var(--move-x, 0px),
        var(--move-y, 0px),
        0
      )
      rotate(var(--tilt, 0deg));
  }

  .dashboard-shell .brand-logo-wrap {
    min-height: 82px;
  }

  .dashboard-shell .brand-mark img {
    width: min(100%, 180px) !important;
    height: 70px !important;
    max-width: 180px !important;
    max-height: 70px !important;
  }
}

@media (max-width: 430px) {
  .dashboard-shell .brand-orbit {
    grid-template-columns: 1fr;
    width: min(100%, 300px);
  }

  .dashboard-shell .brand-mark img {
    width: min(100%, 210px) !important;
    height: 78px !important;
    max-width: 210px !important;
    max-height: 78px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-shell .brand-mark {
    transform: translate3d(0,0,0);
  }

  .dashboard-shell .brand-mark img {
    transition: none;
  }
}

/* ================================================================
   FINAL READABILITY PASS
   Authentication + Registration + Entire Admin Area
   ================================================================ */

/* ---------- Shared high-legibility type ---------- */

.login-shell,
.admin-body,
.admin-body input,
.admin-body textarea,
.admin-body select,
.admin-body button {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}


/* ================================================================
   LOGIN + REGISTER
   ================================================================ */

.login-card {
  width: min(480px, calc(100vw - 32px));
}

.login-card .secure-form {
  width: 100%;
}

.login-card .secure-form .field {
  width: 100%;
  min-width: 0;
}

.login-card .secure-form .field > label {
  width: 100%;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: none;
  color: #f1eee7;
}

.login-card .secure-form input,
.login-card .secure-form textarea,
.login-card .secure-form select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  height: 50px;
  padding: 12px 15px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: .01em;
  color: #f5f2eb;
}

.login-card .secure-form input::placeholder,
.login-card .secure-form textarea::placeholder {
  color: #aeb0ad;
  opacity: 1;
}

.login-card .secure-form .field-help {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #b5b7b4;
}

.login-card .secure-form .field-error {
  min-height: 16px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 600;
}

.login-card .secure-form .captcha-box {
  width: 100%;
}

.login-card .captcha-label {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .14em;
}

.login-card .captcha-question {
  font-size: 27px;
  line-height: 1.25;
  font-weight: 500;
}

.login-card .login-submit {
  min-height: 52px;
  height: 52px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .10em;
}

.login-card > .muted {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.login-card > .muted a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(212,175,99,.55);
  text-underline-offset: 3px;
}

.login-card .alert {
  font-size: 14px;
  line-height: 1.55;
}

.login-card .alert a {
  font-weight: 700;
}


/* ---------- Register-specific field consistency ---------- */

/*
 * All four registration fields intentionally share exactly the
 * same dimensions. This also overrides any older field rules.
 */
.register-card .secure-form .field input {
  width: 100%;
  height: 50px;
  min-height: 50px;
  max-width: none;
}

.register-card .secure-form .field > label {
  min-height: 19px;
}

.register-card .secure-form {
  gap: 18px;
}


/* ---------- Authentication light theme ---------- */

html[data-theme="light"] .login-card .secure-form .field > label {
  color: #252525;
}

html[data-theme="light"] .login-card .secure-form input,
html[data-theme="light"] .login-card .secure-form textarea,
html[data-theme="light"] .login-card .secure-form select {
  color: #171717;
  background: #fff;
  border-color: rgba(35,35,35,.20);
}

html[data-theme="light"] .login-card .secure-form input::placeholder,
html[data-theme="light"] .login-card .secure-form textarea::placeholder {
  color: #66645f;
}

html[data-theme="light"] .login-card .secure-form .field-help {
  color: #5f5d58;
}

html[data-theme="light"] .login-card .secure-form .field-error {
  color: #9b4f4a;
}


/* ================================================================
   ENTIRE ADMIN AREA
   ================================================================ */

.admin-body {
  font-size: 15px;
  line-height: 1.55;
}

/* Remove the tiny typography used by the original admin design. */

.admin-body .admin-topbar,
.admin-body .admin-nav,
.admin-body .admin-main,
.admin-body .admin-panel,
.admin-body .admin-table,
.admin-body .admin-form,
.admin-body .admin-list,
.admin-body .admin-history,
.admin-body .admin-activity,
.admin-body .admin-kv,
.admin-body .admin-search-form,
.admin-body .admin-stack-form,
.admin-body .admin-inline-form,
.admin-body .admin-brand-actions {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}


/* ---------- Admin navigation ---------- */

.admin-body .admin-wordmark {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.admin-body .admin-nav a {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
}

.admin-body .admin-controls {
  font-size: 12px;
  line-height: 1.4;
}


/* ---------- Admin headings ---------- */

.admin-body .admin-hero h1,
.admin-body .admin-page-head h1,
.admin-body .admin-panel-head h2,
.admin-body .admin-metrics strong,
.admin-body .admin-list-row strong,
.admin-body .admin-import strong,
.admin-body .admin-product-copy h2 {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

.admin-body .admin-hero h1,
.admin-body .admin-page-head h1 {
  font-weight: 700;
  line-height: 1.05;
}

.admin-body .admin-panel-head h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.admin-body .admin-hero p,
.admin-body .admin-page-head p {
  font-size: 14px;
  line-height: 1.65;
}


/* ---------- Admin eyebrow / section labels ---------- */

.admin-body .eyebrow,
.admin-body .admin-stamp,
.admin-body .status-pill,
.admin-body .status-filter a {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

.admin-body .eyebrow {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .12em;
}

.admin-body .admin-stamp {
  font-size: 11px;
  line-height: 1.6;
  font-weight: 700;
}

.admin-body .status-pill {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .06em;
}


/* ---------- Admin metrics ---------- */

.admin-body .admin-metrics span {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .06em;
}

.admin-body .admin-metrics strong {
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
}


/* ---------- Admin lists / activity ---------- */

.admin-body .admin-list-row strong {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 650;
}

.admin-body .admin-list-row span,
.admin-body .admin-list-row em {
  font-size: 13px;
  line-height: 1.55;
}

.admin-body .admin-empty {
  font-size: 14px;
  line-height: 1.6;
}

.admin-body .admin-activity-row,
.admin-body .admin-history > div {
  font-size: 13px;
  line-height: 1.55;
}

.admin-body .admin-activity-row strong,
.admin-body .admin-history strong {
  font-size: 13px;
  font-weight: 700;
}

.admin-body .admin-activity-row span,
.admin-body .admin-history span {
  font-size: 13px;
  line-height: 1.55;
}

.admin-body .admin-activity-row time,
.admin-body .admin-history time {
  font-size: 12px;
}


/* ---------- Admin tables ---------- */

.admin-body .admin-table th,
.admin-body .admin-table td {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

.admin-body .admin-table th {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .06em;
}

.admin-body .admin-table td {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 450;
}

.admin-body .admin-table td small {
  font-size: 12px;
  line-height: 1.45;
}


/* ---------- Admin forms ---------- */

.admin-body .admin-form,
.admin-body .admin-stack-form {
  gap: 20px;
}

.admin-body .admin-form label,
.admin-body .admin-stack-form label {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
  color: #e7e5df;
}

.admin-body .admin-form input,
.admin-body .admin-form textarea,
.admin-body .admin-form select,
.admin-body .admin-stack-form input,
.admin-body .admin-stack-form textarea,
.admin-body .admin-stack-form select,
.admin-body .admin-search-form input,
.admin-body .admin-inline-form input,
.admin-body .admin-inline-form select {
  min-height: 50px;
  height: 50px;
  padding: 12px 14px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.admin-body .admin-form textarea,
.admin-body .admin-stack-form textarea {
  height: auto;
  min-height: 130px;
  line-height: 1.55;
}

.admin-body .admin-form input::placeholder,
.admin-body .admin-form textarea::placeholder,
.admin-body .admin-stack-form input::placeholder,
.admin-body .admin-stack-form textarea::placeholder {
  color: #a8aaa7;
  opacity: 1;
}

.admin-body .admin-form .primary,
.admin-body .admin-stack-form .primary,
.admin-body .admin-search-form .primary,
.admin-body .admin-inline-form .primary {
  min-height: 50px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
}


/* ---------- Admin key/value information ---------- */

.admin-body .admin-kv dt {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .06em;
}

.admin-body .admin-kv dd {
  font-size: 14px;
  line-height: 1.55;
}


/* ---------- Admin notes ---------- */

.admin-body .admin-note-block span {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
}

.admin-body .admin-note-block p {
  font-size: 14px;
  line-height: 1.65;
}


/* ---------- Admin search ---------- */

.admin-body .admin-search-form label {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}

.admin-body .admin-search-form input {
  margin-top: 8px;
}


/* ---------- Admin photo/product metadata ---------- */

.admin-body .admin-product-count,
.admin-body .admin-photo-meta strong,
.admin-body .admin-photo-viewer-meta strong,
.admin-body .admin-photo-viewer-inactive {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .03em;
}

.admin-body .admin-product-copy p {
  font-size: 13px;
  line-height: 1.55;
}

.admin-body .admin-photo-meta > span,
.admin-body .admin-photo-viewer-meta > span {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 13px;
  font-weight: 700;
}


/* ---------- Admin buttons / action links ---------- */

.admin-body .ghost,
.admin-body .back-link,
.admin-body .secondary-action,
.admin-body .admin-delete-button,
.admin-body .admin-delete-product-button {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

.admin-body .ghost,
.admin-body .back-link {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .06em;
}

.admin-body .secondary-action {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .05em;
}

.admin-body .admin-delete-button,
.admin-body .admin-delete-product-button {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .07em;
}


/* ---------- Admin light theme ---------- */

html[data-theme="light"] .admin-body .admin-form label,
html[data-theme="light"] .admin-body .admin-stack-form label {
  color: #292826;
}

html[data-theme="light"] .admin-body .admin-form input,
html[data-theme="light"] .admin-body .admin-form textarea,
html[data-theme="light"] .admin-body .admin-form select,
html[data-theme="light"] .admin-body .admin-stack-form input,
html[data-theme="light"] .admin-body .admin-stack-form textarea,
html[data-theme="light"] .admin-body .admin-stack-form select,
html[data-theme="light"] .admin-body .admin-search-form input,
html[data-theme="light"] .admin-body .admin-inline-form input,
html[data-theme="light"] .admin-body .admin-inline-form select {
  color: #171717;
  background: #fff;
  border-color: rgba(30,30,30,.20);
}

html[data-theme="light"] .admin-body .admin-form input::placeholder,
html[data-theme="light"] .admin-body .admin-form textarea::placeholder,
html[data-theme="light"] .admin-body .admin-stack-form input::placeholder,
html[data-theme="light"] .admin-body .admin-stack-form textarea::placeholder {
  color: #66645f;
}

html[data-theme="light"] .admin-body .admin-table th {
  color: #4e4c48;
}

html[data-theme="light"] .admin-body .admin-table td {
  color: #272624;
}


/* ---------- Small-screen readability ---------- */

@media (max-width: 600px) {
  .login-card {
    width: min(480px, calc(100vw - 24px));
    padding: 28px 22px;
  }

  .login-card .secure-form .field > label {
    font-size: 14px;
  }

  .login-card .secure-form input,
  .login-card .secure-form textarea,
  .login-card .secure-form select {
    height: 50px;
    min-height: 50px;
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .admin-body .admin-table th {
    font-size: 11px;
  }

  .admin-body .admin-table td {
    font-size: 13px;
  }

  .admin-body .admin-form input,
  .admin-body .admin-form textarea,
  .admin-body .admin-form select,
  .admin-body .admin-stack-form input,
  .admin-body .admin-stack-form textarea,
  .admin-body .admin-stack-form select {
    font-size: 16px;
  }
}

/* ================================================================
   END FINAL READABILITY PASS
   ================================================================ */

/* =========================================================
   AUTH — FINAL TYPOGRAPHY + REGISTRATION LAYOUT
   ========================================================= */

.login-shell,
.login-shell .login-card,
.login-shell .secure-form,
.login-shell .secure-form label,
.login-shell .secure-form input,
.login-shell .secure-form button,
.login-shell .field-help,
.login-shell .field-error,
.login-shell .captcha-label,
.login-shell .captcha-question {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* Main registration form: two columns */
.register-card .secure-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

/* Username / Email / Password / Confirm Password */
.register-card .secure-form > .field {
  grid-column: span 1;
  width: 100%;
  min-width: 0;
}

/* CAPTCHA and submit remain full width */
.register-card .secure-form > .captcha-box,
.register-card .secure-form > .form-submit {
  grid-column: 1 / -1;
  width: 100%;
}

/* Labels */
.login-shell .secure-form .field label {
  display: block;
  margin: 0 0 7px;
  color: #f4f1e9;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Inputs */
.login-shell .secure-form .field input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 13px 15px;

  color: #f8f6ef;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
}

/* Input focus */
.login-shell .secure-form .field input:focus {
  outline: none;
  border-color: rgba(222, 180, 92, 0.95);
  box-shadow:
    0 0 0 3px rgba(222, 180, 92, 0.16),
    0 0 18px rgba(222, 180, 92, 0.10);
}

/* Help text */
.login-shell .secure-form .field-help {
  margin-top: 6px;
  color: rgba(244, 241, 233, 0.76);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* Validation errors */
.login-shell .secure-form .field-error {
  margin-top: 5px;
  color: #ffb5ae;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* CAPTCHA */
.login-shell .captcha-label {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.login-shell .captcha-question {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
}

/* Submit button */
.login-shell .login-submit {
  min-height: 52px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Light theme */
html[data-theme="light"] .login-shell .secure-form .field label {
  color: #171717;
}

html[data-theme="light"] .login-shell .secure-form .field input {
  color: #171717;
  background: #ffffff;
  border-color: rgba(23, 23, 23, 0.28);
}

html[data-theme="light"] .login-shell .secure-form .field-help {
  color: rgba(23, 23, 23, 0.68);
}

html[data-theme="light"] .login-shell .secure-form .field-error {
  color: #a33d35;
}

/* Phone layout */
@media (max-width: 640px) {
  .register-card .secure-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .register-card .secure-form > .field,
  .register-card .secure-form > .captcha-box,
  .register-card .secure-form > .form-submit {
    grid-column: 1;
  }
}



/* =========================================================
   LOGIN — FINAL AUTH VIEWPORT LAYOUT
   ========================================================= */

/*
 * Auth pages are content-driven, not vertically centered.
 * This keeps the complete form, including its CTA, near the
 * top of the initial viewport while preserving normal scrolling
 * on genuinely short screens.
 */

.login-shell {
  min-height: 100dvh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 12px 20px 28px;
}

.login-card {
  margin: 0;
  padding: 28px;
}

/* Reduce decorative vertical space on auth pages. */
.login-card .login-mark {
  margin: 16px 0 14px;
}

.login-card .secure-form {
  margin-top: 18px;
  gap: 10px;
}

/* Registration has more fields, so keep its grid compact. */
.register-card .secure-form {
  gap: 12px;
}

.register-card .secure-form .field {
  gap: 5px;
}

.register-card .secure-form .field-help {
  margin-top: -1px;
  line-height: 1.25;
}

.login-shell .captcha-box {
  padding: 10px 12px;
}

.login-shell .captcha-question {
  margin: 5px 0 8px;
}

.login-shell .login-submit {
  margin-top: 2px;
}

/* Short desktop/browser windows. */
@media (min-width: 641px) and (max-height: 759px) {
  .login-shell {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .login-card {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .login-card .login-mark {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .login-card .secure-form {
    margin-top: 14px;
    gap: 8px;
  }

  .register-card .secure-form {
    gap: 9px;
  }
}

/* Phones. */
@media (max-width: 640px) {
  .login-shell {
    min-height: 100dvh;
    padding: 12px 12px 24px;
  }

  .login-card {
    padding: 22px 18px;
  }

  .login-card .login-mark {
    margin: 12px 0 12px;
  }

  .login-card .secure-form {
    margin-top: 14px;
    gap: 9px;
  }

  .register-card .secure-form {
    gap: 10px;
  }
}

/* =========================================================
   END LOGIN — FINAL AUTH VIEWPORT LAYOUT
   ========================================================= */

/* =========================================================
   SECURITY CHALLENGE — 25% SIZE REDUCTION
   Applies to login and registration
   ========================================================= */

.login-shell .captcha-label {
  font-size: 9px;
}

.login-shell .captcha-question {
  font-size: 20px;
}

/* Keep the answer field comfortable and readable */
.login-shell .captcha-box .field label {
  font-size: 14px;
}

.login-shell .captcha-box .field input {
  font-size: 16px;
  min-height: 52px;
  height: 52px;
}

/* =========================================================
   END SECURITY CHALLENGE — 25% SIZE REDUCTION
   ========================================================= */

/* =========================================================
   AUTH — FINAL COMPACT INITIAL VIEWPORT
   ========================================================= */

.login-shell {
  padding-top: 8px;
  padding-bottom: 16px;
}

.login-card {
  padding-top: 20px;
  padding-bottom: 20px;
}

.login-card .login-mark {
  margin-top: 8px;
  margin-bottom: 8px;
}

.login-card .secure-form {
  margin-top: 12px;
  gap: 7px;
}

.login-card .secure-form .field {
  gap: 3px;
}

.login-card .secure-form .field-help {
  margin-top: 0;
  line-height: 1.15;
}

.login-card .secure-form .field-error {
  line-height: 1.1;
  margin-top: 0;
}

.login-shell .captcha-box {
  padding: 7px 10px;
}

.login-shell .captcha-question {
  margin: 3px 0 5px;
}

.login-shell .captcha-box .field {
  gap: 2px;
}

.login-shell .captcha-box .field-help {
  line-height: 1.1;
}

.login-shell .login-submit {
  min-height: 52px;
  height: 52px;
  margin-top: 1px;
}

/* Registration has substantially more fields. */
.register-card .secure-form {
  gap: 7px;
}

.register-card .secure-form .field {
  gap: 3px;
}

.register-card .secure-form .field-help {
  line-height: 1.1;
}

/* Short desktop/browser windows. */
@media (min-width: 641px) and (max-height: 759px) {
  .login-shell {
    padding-top: 4px;
    padding-bottom: 10px;
  }

  .login-card {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .login-card .login-mark {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .login-card .secure-form {
    margin-top: 9px;
    gap: 5px;
  }

  .register-card .secure-form {
    gap: 5px;
  }
}

/* Phones. */
@media (max-width: 640px) {
  .login-shell {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .login-card {
    padding: 18px 16px;
  }

  .login-card .login-mark {
    margin: 7px 0;
  }

  .login-card .secure-form {
    margin-top: 10px;
    gap: 7px;
  }

  .register-card .secure-form {
    gap: 7px;
  }
}

/* =========================================================
   END AUTH — FINAL COMPACT INITIAL VIEWPORT
   ========================================================= */

/* =========================================================
   AUTH — INLINE PLACEHOLDER FIELDS
   ========================================================= */

.login-card .secure-form > .field {
  margin: 0;
  padding: 0;
}

.login-card .secure-form > .field > label.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;
}

.login-card .secure-form > .field > .field-help.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;
}

.login-card .secure-form > .field > input {
  margin: 0;
}

.login-card .secure-form > .field > .field-error {
  display: block;
  margin-top: 2px;
  line-height: 1.1;
}

.login-shell .captcha-box > .field {
  margin: 0;
  padding: 0;
}

.login-shell .captcha-box > .field > label.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;
}

.login-shell .captcha-box > .field > .field-help.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;
}

.login-shell .captcha-box > .field > input {
  margin: 0;
}

.login-shell input::placeholder {
  opacity: 1;
}

/* Keep validation errors visible. */
.login-shell .field-error:not(:empty) {
  display: block;
}

/* =========================================================
   END AUTH — INLINE PLACEHOLDER FIELDS
   ========================================================= */

/* =========================================================
   AUTH — CENTER LOGO MARK
   ========================================================= */

.login-card .login-mark.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.login-card .login-mark.logo-mark img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   END AUTH — CENTER LOGO MARK
   ========================================================= */

/* =========================================================
   AUTH — CENTER LOGO PANEL WITHOUT FULL-WIDTH EXPANSION
   ========================================================= */

.login-card .login-mark.logo-mark {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.login-card .login-mark.logo-mark img {
  display: block;
  margin: 0;
}

/* =========================================================
   END AUTH — CENTER LOGO PANEL WITHOUT FULL-WIDTH EXPANSION
   ========================================================= */


/* ---------- Product move table ---------- */
.admin-move-table-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.08);
}

.admin-move-table {
  min-width: 760px;
  margin: 0;
}

.admin-move-table th:first-child,
.admin-move-table td:first-child {
  width: 42px;
  text-align: center;
}

.admin-move-table tbody tr {
  transition: background .15s ease;
}

.admin-move-table tbody tr:hover {
  background: rgba(212,175,99,.045);
}

.admin-move-table tbody tr:has(.move-product-checkbox:checked) {
  background: rgba(212,175,99,.08);
}

.admin-move-table td strong {
  font: 400 15px Georgia,serif;
  color: var(--cream);
}

.admin-move-table td {
  vertical-align: middle;
}

.move-product-checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.admin-move-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-move-toolbar strong {
  color: var(--gold);
  font-weight: 700;
}

.admin-move-toolbar > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-move-tool {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(12,14,16,.7);
  color: var(--muted);
  padding: 8px 10px;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-move-tool:hover {
  border-color: rgba(212,175,99,.55);
  color: var(--gold);
}

#move-product-search {
  margin-top: 7px;
}

#move-products-submit {
  margin-top: 2px;
}

@media(max-width:760px) {
  .admin-move-table-wrap {
    max-height: 460px;
  }

  .admin-move-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-move-toolbar > div {
    width: 100%;
  }

  .admin-move-tool {
    flex: 1;
  }
}

/* ============================================================
   GLOBAL BOTTOM BAR — CANONICAL LAYOUT
   ============================================================ */

body:has(.bottombar){
  padding-bottom:88px;
}

.bottombar{
  position:fixed;
  inset:auto 0 0 0;
  z-index:60;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:24px;
  width:100%;
  min-height:68px;
  padding:10px 22px;
  box-sizing:border-box;

  border-top:1px solid rgba(212,175,99,.20);
  background:rgba(18,20,22,.94);
  backdrop-filter:blur(18px);
  box-shadow:0 -14px 45px rgba(0,0,0,.28);
}

.bottombar > .selection-drawer{
  position:relative;
  inset:auto;

  display:block;
  flex:0 0 auto;
  align-self:center;

  width:auto;
  margin:0;
  color:var(--cream);
}

.bottombar > .journey-progress{
  position:relative;
  inset:auto;

  display:flex;
  align-items:center;
  justify-content:center;

  flex:0 0 auto;
  align-self:center;

  gap:12px;
  width:auto;
  margin:0 0 0 auto;
  padding:10px 16px;

  border:1px solid rgba(212,175,99,.28);
  background:rgba(18,20,22,.72);
  box-shadow:0 8px 30px rgba(0,0,0,.22);

  font-size:10px;
  letter-spacing:.13em;
  white-space:nowrap;
  transform:none;
}

.bottombar .selection-drawer-panel{
  position:absolute;
  left:0;
  bottom:calc(100% + 8px);
}

@media(max-width:700px){
  body:has(.bottombar){
    padding-bottom:78px;
  }

  .bottombar{
    min-height:62px;
    padding:
      8px 12px
      max(8px,env(safe-area-inset-bottom,0px))
      8px;
    gap:10px;
  }

  .bottombar > .journey-progress{
    gap:6px;
    margin-left:auto;
    padding:8px 9px;
    font-size:7px;
  }

}

/* Product return-catalog button — light mode */

html[data-theme="light"] .return-catalog-button{
  border-color:rgba(91,76,43,.42);
  background:rgba(255,255,255,.72);
  color:#35332f;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
}

html[data-theme="light"] .return-catalog-button:hover{
  border-color:#8f743c;
  background:#fff;
  color:#5f4b20;
}

/* Light bottombar — selection drawer blends into bar */
html[data-theme="light"] .bottombar{
  background:#e8e5de;
  border-top-color:rgba(30,30,30,.10);
  box-shadow:0 -14px 45px rgba(60,47,24,.10);
}

html[data-theme="light"] .bottombar .selection-drawer{
  background:#e8e5de;
}
/* =====================================================
   RESTORE MOBILE FLOW
===================================================== */


@media (max-width:1100px){


.dashboard-shell .hero-stage {

    height:auto;

    min-height:calc(100svh - 68px);

    overflow:hidden;

    display:block;

}



.dashboard-shell .hero-copy {

    position:relative !important;

    inset:auto !important;

    transform:none !important;

    width:min(100%,390px);

    margin:0 auto 40px;

    text-align:center;

}


.dashboard-shell .hero-copy h1,
.dashboard-shell .hero-copy p,
.dashboard-shell .hero-copy .eyebrow {

    text-align:center;

}



/* return logos to normal flow */

.dashboard-shell .brand-field {

    position:relative !important;

    inset:auto !important;

    display:grid !important;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:20px;

    width:min(100%,560px);

    height:auto;

    margin:auto;

}



.dashboard-shell .brand-zone {

    position:relative !important;

    display:contents;

}



.dashboard-shell .brand-mark {

    position:relative !important;

    left:auto !important;

    top:auto !important;

    width:100% !important;

    min-width:0 !important;

}



.dashboard-shell .brand-mark img {

    width:min(100%,180px) !important;

    height:70px !important;

}


}



@media(max-width:430px){

.dashboard-shell .brand-field {

    grid-template-columns:1fr;

    width:min(100%,300px);

}

}
/* =====================================================
   BRAND GRID FINAL AUTHORITY — DESKTOP ONLY
===================================================== */

@media (min-width:1101px){

.dashboard-shell .hero-stage {
    position:relative;
    overflow:hidden;
    display:flex !important;
    align-items:center;
    justify-content:center;
}


.dashboard-shell .hero-copy {

    position:absolute !important;

    top:50% !important;
    left:50% !important;

    transform:translate(-50%,-50%) !important;

    width:360px !important;

    margin:0 !important;

    text-align:center !important;

    z-index:100;

}


.dashboard-shell .hero-copy .eyebrow,
.dashboard-shell .hero-copy h1,
.dashboard-shell .hero-copy p {

    width:100%;
    text-align:center !important;

}


/* Full canvas logo field */

.dashboard-shell .brand-field {

    position:absolute !important;

    inset:0 !important;

    display:grid !important;

    grid-template-columns:
        25% 50% 25%;

    grid-template-rows:
        20% 60% 20%;

    z-index:10;

}


/* logo containers */

.dashboard-shell .brand-zone {

    display:grid !important;

    place-items:center !important;

    position:relative !important;

}


/* top row */

.dashboard-shell .brand-zone-top {

    grid-column:1 / 4;
    grid-row:1;

    grid-template-columns:
        repeat(6,1fr);

}


/* left column */

.dashboard-shell .brand-zone-left {

    grid-column:1;
    grid-row:2;

    grid-template-columns:
        repeat(2,1fr);

}


/* right column */

.dashboard-shell .brand-zone-right {

    grid-column:3;
    grid-row:2;

    grid-template-columns:
        repeat(2,1fr);

}


/* bottom row */

.dashboard-shell .brand-zone-bottom {

    grid-column:1 / 4;
    grid-row:3;

    grid-template-columns:
        repeat(9,1fr);

}


/* logo cards */

.dashboard-shell .brand-mark {

    position:relative !important;

    left:auto !important;
    top:auto !important;

    width:150px !important;

    transform:
      translate3d(
        var(--move-x,0),
        var(--move-y,0),
        0
      ) !important;

}


.dashboard-shell .brand-mark img {

    width:140px !important;

    height:55px !important;

    object-fit:contain;

}

}

/* ============================================================
   Inquiry Received — Light Theme
   Scoped exclusively to the customer confirmation card.
   Dark theme remains unchanged.
   ============================================================ */

html[data-theme="light"] .received-card {
  padding: 36px;
  margin-bottom: 40px;
  border: 1px solid rgba(155, 116, 40, .28);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .98),
      rgba(248, 245, 238, .96)
    );
  box-shadow: 0 18px 50px rgba(75, 58, 27, .08);
}

html[data-theme="light"] .received-card .eyebrow {
  color: #8a651c;
  font-weight: 800;
  letter-spacing: .24em;
}

html[data-theme="light"] .received-card h1 {
  margin: 16px 0 12px;
  color: #171717;
  font-weight: 400;
  letter-spacing: -.015em;
}

html[data-theme="light"] .received-card p {
  max-width: 640px;
  margin: 0;
  color: #5f5b54;
  line-height: 1.75;
}

html[data-theme="light"] .received-meta {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: #6b665e;
  font-size: 9px;
  letter-spacing: .10em;
}

html[data-theme="light"] .received-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(155, 116, 40, .20);
  background: rgba(155, 116, 40, .045);
  color: #625e57;
}

html[data-theme="light"] .received-meta span:last-child {
  border-color: rgba(179, 110, 105, .24);
  background: rgba(179, 110, 105, .055);
  color: #9b5f5b;
}

@media (max-width: 600px) {
  html[data-theme="light"] .received-card {
    padding: 28px 22px;
  }

  html[data-theme="light"] .received-card h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  html[data-theme="light"] .received-meta {
    gap: 7px;
  }

  html[data-theme="light"] .received-meta span {
    width: 100%;
  }
}

/* ============================================================
   CUSTOMER SHOWROOM POLISH — STAGE 7R
   ============================================================ */

.dashboard-topbar .top-actions .ghost{
  position:relative;
  padding:7px 2px;
  font-size:8px;
  letter-spacing:.13em;
  color:#babbb8;
}

.dashboard-topbar .top-actions .ghost::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:1px;
  height:1px;
  background:var(--gold);
  transition:right .25s ease;
}

.dashboard-topbar .top-actions .ghost:hover::after{
  right:0;
}

/* ============================================================
   CUSTOMER TAXONOMY — STAGE 7U
   Shared showroom navigation + category presentation
   ============================================================ */

.topbar > form{
  margin:0;
  display:block;
}

.customer-category-menu{
  position:relative;
  margin-left:auto;
  z-index:80;
  opacity:0;
  visibility:hidden;
}

.customer-category-menu.is-mounted{
  opacity:1;
  visibility:visible;
}

.customer-category-trigger{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:168px;
  height:34px;
  padding:0 15px;
  overflow:hidden;
  border:1px solid rgba(212,175,99,.55);
  border-radius:999px;
  background:rgba(20,22,24,.82);
  color:var(--cream);
  cursor:pointer;
  font-size:8px;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
  box-shadow:0 12px 38px rgba(0,0,0,.18);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.customer-category-trigger::after{
  content:"";
  position:absolute;
  top:-60%;
  bottom:-60%;
  left:-50%;
  width:32%;
  transform:skewX(-22deg);
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,246,207,.82),
    transparent
  );
  animation:customer-category-shimmer 4.8s ease-in-out infinite;
}

.customer-category-trigger > span,
.customer-category-hamburger{
  position:relative;
  z-index:1;
}

.customer-category-hamburger{
  display:grid;
  gap:3px;
  width:14px;
}

.customer-category-hamburger b{
  display:block;
  height:1px;
  background:currentColor;
  transition:transform .22s ease,opacity .18s ease;
}

.customer-category-trigger[aria-expanded="true"]
.customer-category-hamburger b:nth-child(1){
  transform:translateY(4px) rotate(45deg);
}

.customer-category-trigger[aria-expanded="true"]
.customer-category-hamburger b:nth-child(2){
  opacity:0;
}

.customer-category-trigger[aria-expanded="true"]
.customer-category-hamburger b:nth-child(3){
  transform:translateY(-4px) rotate(-45deg);
}

.customer-category-trigger:hover{
  border-color:var(--gold);
  color:var(--gold);
}

.customer-category-panel{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  width:min(620px,calc(100vw - 28px));
  padding:22px 24px 24px;
  border:1px solid rgba(212,175,99,.20);
  background:rgba(17,19,21,.93);
  box-shadow:0 28px 76px rgba(0,0,0,.34);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  opacity:0;
  transform:translateY(-7px);
  pointer-events:none;
  transition:opacity .26s ease,transform .26s ease;
}

.customer-category-panel.is-open{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.customer-category-kicker{
  margin-bottom:12px;
  color:var(--gold);
  font-size:7px;
  font-weight:800;
  letter-spacing:.25em;
}

.customer-category-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 34px;
}

.customer-category-group{
  padding:13px 0 14px;
  border-top:1px solid rgba(255,255,255,.07);
}

.customer-category-name{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  color:var(--cream);
  font:400 18px/1.1 Georgia,serif;
}

.customer-category-name small{
  color:var(--muted);
  font:500 8px/1 Inter,ui-sans-serif,sans-serif;
  letter-spacing:.12em;
}

.customer-category-name:hover{
  color:var(--gold);
}

.customer-subcategory-links{
  display:flex;
  flex-wrap:wrap;
  gap:7px 15px;
  margin-top:9px;
}

.customer-subcategory-links a{
  color:#c1c2bf;
  font-size:9px;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:color .2s ease;
}

.customer-subcategory-links a:hover{
  color:var(--rose);
}

.customer-subcategory-links em{
  margin-left:4px;
  color:var(--rose);
  font-style:normal;
  font-size:6px;
  letter-spacing:.08em;
}







.taxonomy-page .taxonomy-subnav a:hover,
.taxonomy-page .taxonomy-subnav a.is-active{
  color:var(--cream);
  border-color:rgba(212,175,99,.60);
  background:rgba(212,175,99,.055);
}



.taxonomy-page .product-card{
  transition:transform .35s ease;
}

.taxonomy-page .product-card:hover{
  transform:translateY(-2px);
}


.taxonomy-page .taxonomy-heading{
  min-height:220px;
}

.taxonomy-page .taxonomy-heading h1{
  max-width:900px;
}

html[data-theme="light"] .customer-category-panel{
  background:rgba(255,255,255,.95);
  border-color:rgba(155,116,40,.20);
  box-shadow:0 28px 76px rgba(75,58,27,.13);
}

html[data-theme="light"] .customer-category-group{
  border-top-color:rgba(30,30,30,.08);
}

html[data-theme="light"] .customer-category-name{
  color:#282621;
}

html[data-theme="light"] .customer-subcategory-links a{
  color:#57534c;
}

html[data-theme="light"] .taxonomy-page .taxonomy-subnav a{
  color:#59554d;
  border-color:rgba(30,30,30,.11);
}

html[data-theme="light"] .taxonomy-page .taxonomy-subnav a:hover,
html[data-theme="light"] .taxonomy-page .taxonomy-subnav a.is-active{
  color:#22201c;
  background:rgba(155,116,40,.06);
}

@media(max-width:760px){
  .customer-category-trigger{
    width:40px;
    min-width:40px;
    height:36px;
    padding:0;
  }

  .customer-category-trigger > span{
    display:none;
  }

  .customer-category-panel{
    width:min(390px,calc(100vw - 20px));
    padding:18px 18px 20px;
  }

  .customer-category-links{
    grid-template-columns:1fr;
  }

  .customer-category-name{
    font-size:20px;
  }

  .customer-subcategory-links a{
    font-size:9px;
  }

  .taxonomy-page .catalog-main{
    padding:11vw 20px 18vw;
  }

  .taxonomy-page .taxonomy-heading{
    min-height:180px;
  }
}

@media(max-width:600px){
  .customer-category-panel{
    top:calc(100% + 9px);
  }


  .taxonomy-page .taxonomy-subnav{
    flex-wrap:nowrap;
    overflow-x:auto;
    scrollbar-width:none;
  }

  .taxonomy-page .taxonomy-subnav::-webkit-scrollbar{
    display:none;
  }

  .taxonomy-page .taxonomy-subnav a{
    flex:0 0 auto;
    white-space:nowrap;
  }
}

@media(prefers-reduced-motion:reduce){
  .customer-category-trigger::after,
  .customer-category-hamburger b,
  .customer-category-panel,
  .taxonomy-page .product-card{
    animation:none!important;
    transition:none!important;
  }
}


/* ------------------------------------------------------------
   SHARED CUSTOMER CATEGORY PRESENTATION
   Consolidated from duplicate responsive showroom overrides.
   ------------------------------------------------------------ */

.customer-category-menu {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.customer-category-welcome {
  display: block;
  width: 100%;
  text-align: center;
  font: 600 9px/1.2 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.customer-category-trigger {
  position: relative !important;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px !important;
  min-height: 50px !important;
  padding: 7px 18px !important;
  border: 1px solid rgba(212,175,99,.55) !important;
  border-radius: 999px !important;
  background: rgba(18,20,22,.82) !important;
  color: var(--cream) !important;
  box-shadow:
    0 10px 30px rgba(0,0,0,.20),
    0 0 24px rgba(212,175,99,.07);
}

.customer-category-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      transparent 20%,
      rgba(255,255,255,.04) 35%,
      rgba(255,255,255,.30) 50%,
      rgba(255,255,255,.04) 65%,
      transparent 80%
    );
  transform: translateX(-120%);
  animation: customer-category-shimmer 3.8s ease-in-out infinite;
  pointer-events: none;
}

.customer-category-trigger:hover {
  border-color: var(--gold) !important;
  box-shadow:
    0 12px 34px rgba(0,0,0,.25),
    0 0 30px rgba(212,175,99,.14);
}

.customer-category-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  z-index: 1;
}

.customer-category-trigger-label,
.customer-category-trigger-click {
  position: relative;
  z-index: 1;
}

.customer-category-trigger-label {
  font: 700 9px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .14em;
  white-space: nowrap;
}

.customer-category-trigger-click {
  display: none;
}

.customer-category-hamburger {
  z-index: 1;
}

.customer-category-panel {
  border: 1px solid rgba(212,175,99,.24) !important;
  border-radius: 26px !important;
  box-shadow:
    0 28px 70px rgba(0,0,0,.34),
    0 0 28px rgba(212,175,99,.06);
}

.customer-category-panel,
.customer-category-panel * {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.customer-category-name {
  font-weight: 750 !important;
  letter-spacing: .055em !important;
}

.customer-subcategory-links a {
  font-weight: 600 !important;
}

@keyframes customer-category-shimmer {
  0%, 58%, 100% { transform: translateX(-120%); }
  78% { transform: translateX(120%); }
}

html[data-theme="light"] .customer-category-trigger {
  background: #f7f3eb !important;
  color: #171717 !important;
  border-color: rgba(126,94,32,.38) !important;
  box-shadow:
    0 10px 28px rgba(75,58,27,.12),
    0 0 22px rgba(126,94,32,.06);
}

html[data-theme="light"] .customer-category-welcome {
  color: #5f5b54;
}

@media (min-width: 1101px) {
  .customer-category-menu {
    gap: 6px;
  }

  .customer-category-trigger {
    min-width: 230px !important;
    min-height: 58px !important;
    padding: 8px 22px !important;
  }

  .customer-category-logo {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .customer-category-menu {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin: 0 auto !important;
    gap: 7px;
  }

  .customer-category-welcome {
    font-size: 9px;
    letter-spacing: .12em;
  }

  .customer-category-trigger {
    width: clamp(118px, 34vw, 150px) !important;
    min-width: 118px !important;
    min-height: 92px !important;
    padding: 10px 12px !important;
    flex-direction: column;
    gap: 5px;
    border-radius: 28px !important;
  }

  .customer-category-logo {
    width: 50px;
    height: 50px;
  }

  .customer-category-trigger-label {
    display: none !important;
  }

  .customer-category-trigger-click {
    display: block;
    font: 800 9px/1 ui-sans-serif, system-ui, sans-serif;
    letter-spacing: .18em;
  }

  .customer-category-trigger .customer-category-hamburger {
    display: none !important;
  }

  .customer-category-panel {
    border-radius: 24px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-category-trigger::after {
    animation: none !important;
  }
}

/* ============================================================
   STAGE 7U — CATALOG TOPBAR ROW SEPARATION
   Keeps catalog controls on the top row and the studio
   wordmark on its own centered row.
   ============================================================ */

.catalog-shell .topbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  grid-template-areas:
    "back menu logout theme"
    "word word word word";
  align-items: center;
  column-gap: 18px;
  row-gap: 8px;
  min-height: 112px;
  padding-top: 14px;
  padding-bottom: 16px;
}

.catalog-shell .topbar .back-link {
  grid-area: back;
  justify-self: start;
  margin: 0;
}

.catalog-shell .topbar .wordmark {
  grid-area: word;
  justify-self: center;
  align-self: center;
  margin: 2px 0 0;
  white-space: nowrap;
}

.catalog-shell .topbar .customer-category-menu {
  grid-area: menu;
  justify-self: end;
  margin-left: 0 !important;
}

.catalog-shell .topbar > form {
  grid-area: logout;
  justify-self: end;
  margin: 0;
}

@media (max-width: 900px) {
  .catalog-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "back menu logout theme"
      "word word word word";
    column-gap: 10px;
    min-height: 104px;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .catalog-shell .topbar .wordmark {
    font-size: 10px;
    letter-spacing: .18em;
  }
}

@media (max-width: 600px) {
  .catalog-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "back menu theme"
      "word word word";
    column-gap: 9px;
    row-gap: 9px;
    min-height: 104px;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .catalog-shell .topbar > form {
    display: none !important;
  }

  .catalog-shell .topbar .wordmark {
    font-size: 9px;
    letter-spacing: .16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-shell .topbar,
  .catalog-shell .topbar .wordmark {
    transition: none !important;
  }
}


/* ============================================================
   STAGE 7V — GLOBAL CUSTOMER CATEGORY MENU
   Trigger stays in the topbar.
   Dropdown is centered against the viewport so it cannot be
   clipped or displaced by dashboard/catalog topbar layouts.
   ============================================================ */

.customer-category-menu {
  position: relative !important;
  flex: 0 0 auto !important;
  min-width: 0;
  z-index: 9000;
}

/* Dashboard: menu occupies only the trigger's footprint and
   does not push the brand stage itself. */
.dashboard-shell .topbar .customer-category-menu {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Catalog pages: preserve the existing right-side control row. */
.catalog-shell .topbar .customer-category-menu {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* The trigger itself remains part of the topbar. */
.customer-category-trigger {
  position: relative !important;
  z-index: 9003;
  flex: 0 0 auto;
}

/* ------------------------------------------------------------
   VIEWPORT-CENTERED DROPDOWN
   ------------------------------------------------------------ */

.customer-category-panel {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;

  top: 86px !important;
  transform: translateX(-50%) translateY(-10px) !important;

  width: min(520px, calc(100vw - 28px)) !important;
  max-width: calc(100vw - 28px) !important;

  max-height: min(72dvh, 620px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;

  margin: 0 !important;
  box-sizing: border-box !important;

  z-index: 10000 !important;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity .22s ease,
    transform .24s cubic-bezier(.2,.8,.2,1),
    visibility .22s ease !important;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Open state */
.customer-category-panel:not([hidden]) {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  transform: translateX(-50%) translateY(0) !important;
}

/* Never allow the native hidden attribute to be overridden. */
.customer-category-panel[hidden] {
  display: none !important;
}

/* Keep the panel's content fully inside the viewport. */
.customer-category-links {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Improve readability of submenu text. */
.customer-subcategory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
}

.customer-subcategory-links a {
  display: inline-block;
  font-size: 11px !important;
  line-height: 1.35 !important;
  letter-spacing: .055em !important;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (max-width: 900px) {
  .customer-category-panel {
    top: 78px !important;
    width: min(500px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: min(76dvh, 600px) !important;
  }

  .dashboard-shell .topbar .customer-category-menu {
    margin-left: auto !important;
  }
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 600px) {
  .dashboard-shell .topbar,
  .catalog-shell .topbar {
    position: relative !important;
  }

  .customer-category-menu {
    position: relative !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .customer-category-trigger {
    min-width: 42px !important;
    width: 42px !important;
    height: 42px !important;

    padding: 0 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 999px !important;
  }

  .customer-category-trigger .customer-category-label {
    display: none !important;
  }

  .customer-category-trigger .customer-category-hamburger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .customer-category-panel {
    position: fixed !important;

    left: 50% !important;
    right: auto !important;

    top: 72px !important;

    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;

    max-height: calc(100dvh - 92px) !important;

    border-radius: 18px !important;

    transform: translateX(-50%) translateY(-8px) !important;
  }

  .customer-category-panel:not([hidden]) {
    transform: translateX(-50%) translateY(0) !important;
  }

  .customer-category-links {
    padding: 18px 18px 20px !important;
  }

  .customer-subcategory-links {
    gap: 8px 12px;
  }

  .customer-subcategory-links a {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}

/* ------------------------------------------------------------
   VERY SMALL PHONES
   ------------------------------------------------------------ */

@media (max-width: 380px) {
  .customer-category-panel {
    width: calc(100vw - 14px) !important;
    max-width: calc(100vw - 14px) !important;
  }

  .customer-category-links {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .customer-subcategory-links a {
    font-size: 10.5px !important;
  }
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .customer-category-panel {
    transition: opacity .01ms linear, visibility .01ms linear !important;
    transform: translateX(-50%) !important;
  }

  .customer-category-panel:not([hidden]) {
    transform: translateX(-50%) !important;
  }
}


/* ============================================================
   STAGE 7V — PRODUCT TOPBAR ROW SEPARATION
   Same showroom-style two-row header used by catalog pages.
   ============================================================ */

.product-shell .topbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  grid-template-areas:
    "back menu logout theme"
    "word word word word";
  align-items: center;
  column-gap: 18px;
  row-gap: 8px;
  min-height: 112px;
  padding-top: 14px;
  padding-bottom: 16px;
}

.product-shell .topbar .back-link {
  grid-area: back;
  justify-self: start;
  margin: 0;
}

.product-shell .topbar .wordmark {
  grid-area: word;
  justify-self: center;
  align-self: center;
  margin: 2px 0 0;
  white-space: nowrap;
}

.product-shell .topbar .customer-category-menu {
  grid-area: menu;
  justify-self: end;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.product-shell .topbar > form {
  grid-area: logout;
  justify-self: end;
  margin: 0;
}

@media (max-width: 900px) {
  .product-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "back menu logout theme"
      "word word word word";
    column-gap: 10px;
    min-height: 104px;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .product-shell .topbar .wordmark {
    font-size: 10px;
    letter-spacing: .18em;
  }
}

@media (max-width: 600px) {
  .product-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "back menu theme"
      "word word word";
    column-gap: 9px;
    row-gap: 9px;
    min-height: 104px;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .product-shell .topbar > form {
    display: none !important;
  }

  .product-shell .topbar .wordmark {
    font-size: 9px;
    letter-spacing: .16em;
  }
}


/* ============================================================
   STAGE 7W — FINAL ONE-LINE CENTERED IDENTITY
   ============================================================ */

.dashboard-shell .dashboard-account-area {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 3px !important;
}

.dashboard-shell .dashboard-client-identity {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.dashboard-shell .dashboard-welcome,
.dashboard-shell .dashboard-client-name {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-transform: none !important;
}

.dashboard-shell .dashboard-welcome {
  margin: 0 !important;
  font-size: 8px !important;
  letter-spacing: .06em !important;
}

.dashboard-shell .dashboard-client-name {
  margin: 0 !important;
  font-size: 9px !important;
  letter-spacing: .06em !important;
}

@media (max-width: 600px) {
  .dashboard-shell .dashboard-welcome {
    font-size: 7px !important;
  }

  .dashboard-shell .dashboard-client-name {
    font-size: 8px !important;
  }
}


/* ============================================================
   STAGE 7X — CATEGORY PAGE / BRAND PAGE COHESION

   Category pages intentionally follow the same editorial
   hierarchy as /brand/<slug>.
   ============================================================ */

.taxonomy-page {
  width: 100%;
}

/* Main category content follows the same generous breathing
   room used by the brand catalog. */
.taxonomy-page .catalog-main,
.catalog-main.taxonomy-main {
  padding: 7vw 5vw 9vw !important;
}

/* ------------------------------------------------------------
   CATEGORY HEADER
   ------------------------------------------------------------ */

.taxonomy-page .taxonomy-heading {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 30px;

  margin: 0 0 28px !important;
  padding: 0 !important;
}

.taxonomy-page .taxonomy-heading > div:first-child {
  min-width: 0;
}

.taxonomy-page .taxonomy-heading .eyebrow {
  margin: 0 0 13px !important;

  font-size: 9px !important;
  line-height: 1.2 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase;

  color: var(--gold) !important;
}

.taxonomy-page .taxonomy-heading h1 {
  margin: 0 !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(58px, 8vw, 112px) !important;
  font-weight: 400 !important;
  line-height: .9 !important;
  letter-spacing: -.045em !important;

  color: var(--cream) !important;
}

.taxonomy-page .taxonomy-heading .taxonomy-viewing,
.taxonomy-page .taxonomy-heading .viewing-label {
  margin-top: 16px !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(18px, 2vw, 25px) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: -.015em !important;

  color: var(--muted) !important;
}

.taxonomy-page .taxonomy-heading .taxonomy-viewing strong,
.taxonomy-page .taxonomy-heading .viewing-label strong {
  font-weight: 400 !important;
  color: var(--cream) !important;
}

/* Item count mirrors the restrained count treatment on the
   brand page rather than competing with the main heading. */
.taxonomy-page .taxonomy-count {
  flex: 0 0 auto;

  align-self: flex-end;

  margin: 0 0 5px !important;

  font-size: 9px !important;
  line-height: 1.2 !important;
  letter-spacing: .20em !important;
  text-transform: uppercase;

  white-space: nowrap;

  color: var(--muted) !important;
}

/* Accommodate templates that use catalog-count instead. */
.taxonomy-page .catalog-count {
  flex: 0 0 auto;

  align-self: flex-end;

  margin: 0 0 5px !important;

  font-size: 9px !important;
  line-height: 1.2 !important;
  letter-spacing: .20em !important;
  text-transform: uppercase;

  white-space: nowrap;

  color: var(--muted) !important;
}

/* ------------------------------------------------------------
   SUBCATEGORY NAV
   ------------------------------------------------------------ */

.taxonomy-page .taxonomy-subnav {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 24px !important;

  margin: 0 0 34px !important;
  padding: 13px 0 15px !important;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.taxonomy-page .taxonomy-subnav a {
  position: relative;

  display: inline-flex !important;
  align-items: center;

  min-height: 30px;

  padding: 0 !important;

  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  text-decoration: none !important;

  color: var(--muted) !important;

  transition:
    color .2s ease,
    opacity .2s ease !important;
}

.taxonomy-page .taxonomy-subnav a:hover {
  color: var(--cream) !important;
}

.taxonomy-page .taxonomy-subnav a[aria-current="page"],
.taxonomy-page .taxonomy-subnav a.active,
.taxonomy-page .taxonomy-subnav a.is-active {
  color: var(--gold) !important;
}

/* Elegant active underline. */
.taxonomy-page .taxonomy-subnav a[aria-current="page"]::after,
.taxonomy-page .taxonomy-subnav a.active::after,
.taxonomy-page .taxonomy-subnav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;

  height: 1px;

  background: var(--gold);
}

/* ------------------------------------------------------------
   PRODUCT GRID
   ------------------------------------------------------------ */

.taxonomy-page .taxonomy-product-grid {
  margin-top: 0 !important;
}

.taxonomy-page .taxonomy-product-grid .product-card {
  border-radius: 0 !important;
}

/* Keep image treatment consistent with brand collections. */
.taxonomy-page .taxonomy-product-grid .product-image {
  border-radius: 0 !important;
}

/* ------------------------------------------------------------
   LIGHT THEME
   ------------------------------------------------------------ */

[data-theme="light"] .taxonomy-page .taxonomy-heading h1 {
  color: var(--cream) !important;
}

[data-theme="light"] .taxonomy-page .taxonomy-heading .taxonomy-viewing,
[data-theme="light"] .taxonomy-page .taxonomy-heading .viewing-label {
  color: #77736d !important;
}

[data-theme="light"] .taxonomy-page .taxonomy-heading .taxonomy-viewing strong,
[data-theme="light"] .taxonomy-page .taxonomy-heading .viewing-label strong {
  color: var(--slate2) !important;
}

[data-theme="light"] .taxonomy-page .taxonomy-count,
[data-theme="light"] .taxonomy-page .catalog-count {
  color: #77736d !important;
}

[data-theme="light"] .taxonomy-page .taxonomy-subnav a {
  color: #77736d !important;
}

[data-theme="light"] .taxonomy-page .taxonomy-subnav a:hover {
  color: var(--slate2) !important;
}

/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (max-width: 900px) {
  .taxonomy-page .taxonomy-main,
  .taxonomy-page .catalog-main {
    padding: 8vw 5vw 10vw !important;
  }

  .taxonomy-page .taxonomy-heading {
    gap: 20px;
    margin-bottom: 24px !important;
  }

  .taxonomy-page .taxonomy-heading h1 {
    font-size: clamp(54px, 10vw, 88px) !important;
  }

  .taxonomy-page .taxonomy-heading .taxonomy-viewing,
  .taxonomy-page .taxonomy-heading .viewing-label {
    margin-top: 13px !important;
    font-size: 19px !important;
  }

  .taxonomy-page .taxonomy-subnav {
    gap: 9px 20px !important;
    margin-bottom: 28px !important;
  }
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 600px) {
  .taxonomy-page .taxonomy-main,
  .taxonomy-page .catalog-main {
    padding: 11vw 6vw 12vw !important;
  }

  .taxonomy-page .taxonomy-heading {
    display: block !important;
    margin-bottom: 22px !important;
  }

  .taxonomy-page .taxonomy-heading .eyebrow {
    margin-bottom: 11px !important;
    font-size: 8px !important;
    letter-spacing: .22em !important;
  }

  .taxonomy-page .taxonomy-heading h1 {
    font-size: clamp(50px, 16vw, 76px) !important;
    line-height: .9 !important;
  }

  .taxonomy-page .taxonomy-heading .taxonomy-viewing,
  .taxonomy-page .taxonomy-heading .viewing-label {
    margin-top: 12px !important;
    font-size: 17px !important;
  }

  .taxonomy-page .taxonomy-count,
  .taxonomy-page .catalog-count {
    margin-top: 16px !important;
    margin-bottom: 0 !important;

    font-size: 8px !important;
    letter-spacing: .17em !important;
  }

  .taxonomy-page .taxonomy-subnav {
    gap: 0 !important;
    justify-content: flex-start !important;

    margin-bottom: 26px !important;
    padding: 11px 0 13px !important;
  }

  .taxonomy-page .taxonomy-subnav a {
    min-height: 28px;
    margin-right: 20px !important;

    font-size: 9px !important;
    letter-spacing: .12em !important;
  }

  .taxonomy-page .taxonomy-subnav a[aria-current="page"]::after,
  .taxonomy-page .taxonomy-subnav a.active::after,
  .taxonomy-page .taxonomy-subnav a.is-active::after {
    bottom: -13px;
  }
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .taxonomy-page .taxonomy-subnav a {
    transition: none !important;
  }
}


/* ============================================================
   TCROWN STUDIO — SEAMLESS CATALOG FILTERS
   Added 2026-10-01
   ============================================================ */

.catalog-filter-nav,
.catalog-filter-subnav {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}

.catalog-filter-button {
  appearance: none;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: .55rem .85rem;
  font: inherit;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease;
}

.catalog-filter-button:hover {
  border-color: rgba(255,255,255,.34);
  transform: translateY(-1px);
}

.catalog-filter-button.is-active {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.42);
}

.catalog-filter-button small {
  margin-left: .35rem;
  opacity: .62;
  font-size: .68em;
}

.catalog-filter-subnav {
  justify-content: flex-start;
}

.catalog-brand-filter {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.catalog-brand-filter select {
  appearance: none;
  min-width: 170px;
  border: 1px solid rgba(255,255,255,.28);
  background: #17191b;
  color: #f2ede3;
  border-radius: 999px;
  padding: .55rem 2rem .55rem .85rem;
  font: inherit;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  color-scheme: dark;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.catalog-brand-filter select:hover {
  border-color: rgba(212,175,99,.72);
  background: #202326;
}

.catalog-brand-filter select:focus-visible {
  outline: 2px solid rgba(212,175,99,.85);
  outline-offset: 2px;
  border-color: var(--gold);
}

.catalog-brand-filter select:focus,
.catalog-filter-button:focus-visible {
  outline: 2px solid rgba(214,169,78,.75);
  outline-offset: 2px;
}

.catalog-filter-grid [data-filter-item][hidden] {
  display: none !important;
}

.catalog-filter-empty[hidden] {
  display: none;
}

.catalog-filter-page .catalog-filter-grid {
  transition: opacity .12s ease;
}

@media (max-width: 760px) {
  .catalog-brand-filter {
    width: 100%;
    margin-left: 0;
  }

  .catalog-brand-filter select {
    width: 100%;
  }

  .catalog-filter-subnav {
    align-items: stretch;
  }
}

html[data-theme="light"] .catalog-filter-button {
  border-color: rgba(0,0,0,.16);
}

html[data-theme="light"] .catalog-filter-button:hover {
  border-color: rgba(0,0,0,.34);
}

html[data-theme="light"] .catalog-filter-button.is-active {
  background: rgba(0,0,0,.07);
  border-color: rgba(0,0,0,.34);
}

html[data-theme="light"] .catalog-brand-filter select {
  border-color: rgba(23,25,27,.28);
  background: #f2ede3;
  color: #17191b;
  color-scheme: light;
}

html[data-theme="light"] .catalog-brand-filter select:hover {
  border-color: rgba(212,175,99,.82);
  background: #ffffff;
}

html[data-theme="light"] .catalog-brand-filter select:focus-visible {
  outline-color: rgba(180,139,45,.9);
  border-color: #b48b2d;
}

/* ============================================================
   2026-10-02 — HEADER BRANDING + INQUIRY REFINEMENT
   ============================================================ */

.dashboard-brand,
.admin-brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.dashboard-brand {
  gap: 12px;
}

.admin-brand-lockup {
  gap: 11px;
}

.header-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.admin-brand-lockup .header-brand-mark {
  width: 38px;
  height: 38px;
}

.admin-brand-copy {
  min-width: 0;
}

.inquiry-form {
  margin-top: 38px;
  display: block;
}

/* ================================================================
   INQUIRY — RESPONSIVE TWO-COLUMN LAYOUT
   Desktop / tablet:
     LEFT  = YOUR SELECTION
     RIGHT = CONTACT INFORMATION

   Small mobile:
     TOP    = CONTACT INFORMATION
     BOTTOM = YOUR SELECTION
   ================================================================ */

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: 42px;
  align-items: start;
}

.inquiry-selection-panel {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.inquiry-contact-column {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.inquiry-panel {
  min-width: 0;
}

.inquiry-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 4px;
}

.inquiry-panel-count {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}


/* ---------------------------------------------------------------
   SELECTION
   --------------------------------------------------------------- */

.inquiry-items {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.inquiry-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 84px;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(212,175,99,.12);
  background:
    linear-gradient(
      145deg,
      rgba(30,32,34,.74),
      rgba(16,18,20,.78)
    );
}

.inquiry-thumb {
  position: relative;
  width: 96px;
  height: 118px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #17191b;
  border: 1px solid rgba(212,175,99,.16);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.inquiry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inquiry-thumb > span {
  position: absolute;
  top: 7px;
  right: 7px;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212,175,99,.84);
  background: rgba(18,20,22,.9);
  color: var(--gold);
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  font: 500 12px Georgia, serif;
}

.inquiry-item-main {
  min-width: 0;
}

.inquiry-item-brand {
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}

.inquiry-item-main h2 {
  margin: 7px 0;
  font: 400 21px Georgia, serif;
}

.inquiry-item-qty {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.inquiry-item-qty small {
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--muted);
}

.inquiry-item-qty strong {
  color: var(--gold);
  font: 400 30px Georgia, serif;
}

.inquiry-selection-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.inquiry-selection-summary span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.inquiry-selection-summary strong {
  font: 400 16px Georgia, serif;
  color: var(--gold);
  text-align: right;
}


/* ---------------------------------------------------------------
   CONTACT / DESTINATION / NOTES
   --------------------------------------------------------------- */

.inquiry-contact-column .inquiry-panel {
  padding-top: 0;
}

.inquiry-field,
.inquiry-field-single,
.inquiry-field-grid {
  margin-top: 16px;
}

.inquiry-field-single {
  max-width: none;
}

.inquiry-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
}

.inquiry-form textarea {
  min-height: 170px;
  resize: vertical;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #777a78;
  opacity: 1;
}


/* ---------------------------------------------------------------
   SUBMIT
   --------------------------------------------------------------- */

.inquiry-submit {
  margin-top: 34px;
  padding-top: 28px;
}

.inquiry-submit-summary {
  display: grid;
  gap: 5px;
}

.inquiry-submit-summary strong {
  font: 400 18px Georgia, serif;
}

.inquiry-submit-summary span {
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}

.inquiry-return {
  margin: 24px 0 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted);
}

.inquiry-return a {
  color: var(--gold);
}

.inquiry-return a:hover {
  text-decoration: underline;
}


/* ---------------------------------------------------------------
   LIGHT MODE
   --------------------------------------------------------------- */

html[data-theme="light"] .inquiry-form input,
html[data-theme="light"] .inquiry-form textarea {
  background: #fff;
  color: #171717;
  border-color: rgba(30,30,30,.14);
}

html[data-theme="light"] .inquiry-form input::placeholder,
html[data-theme="light"] .inquiry-form textarea::placeholder {
  color: #77736b;
}

html[data-theme="light"] .inquiry-selection-summary {
  border-top-color: rgba(30,30,30,.10);
}

html[data-theme="light"] .inquiry-item {
  border-color: rgba(30,30,30,.10);
  background: #fff;
}

html[data-theme="light"] .inquiry-thumb {
  background: #f1f0ed;
}


/* ================================================================
   TABLET
   ================================================================ */

@media (max-width: 1050px) and (min-width: 761px) {

  .inquiry-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    gap: 28px;
  }

  .inquiry-item {
    grid-template-columns: 76px minmax(0, 1fr) 60px;
    gap: 12px;
    padding: 12px;
  }

  .inquiry-thumb {
    width: 76px;
    height: 96px;
  }

  .inquiry-item-main h2 {
    font-size: 18px;
  }

  .inquiry-item-qty strong {
    font-size: 25px;
  }

  .inquiry-field-grid {
    grid-template-columns: 1fr;
  }

}


/* ================================================================
   MOBILE
   Contact Information moves ABOVE Your Selection
   ================================================================ */

@media (max-width: 760px) {

  .header-brand-mark {
    width: 36px;
    height: 36px;
  }

  .admin-brand-lockup .header-brand-mark {
    width: 34px;
    height: 34px;
  }

  .dashboard-brand {
    gap: 9px;
  }

  .admin-brand-lockup {
    gap: 8px;
  }

  .inquiry-layout {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }

  .inquiry-contact-column {
    order: 1;
    width: 100%;
  }

  .inquiry-selection-panel {
    order: 2;
    width: 100%;
  }

  .inquiry-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inquiry-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .inquiry-submit .primary {
    width: 100%;
  }

  .inquiry-item {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 11px;
  }

  .inquiry-thumb {
    width: 78px;
    height: 96px;
  }

  .inquiry-item-qty {
    grid-column: 2;
    justify-items: start;
  }

}


/* ================================================================
   VERY SMALL PHONES
   ================================================================ */

@media (max-width: 480px) {

  .inquiry-field-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-main {
    width: min(92vw, 680px);
    padding-top: 42px;
  }

  .inquiry-layout {
    gap: 32px;
  }

  .inquiry-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .inquiry-thumb {
    width: 72px;
    height: 90px;
  }

  .inquiry-item-main h2 {
    font-size: 18px;
  }

}


/* Light-mode secondary action contrast */

html[data-theme="light"] .secondary-action {
  border-color: rgba(23,23,23,.22);
  color: #171717;
  background: #fff;
}

html[data-theme="light"] .secondary-action:hover {
  border-color: var(--gold);
  color: #6f531d;
  background: #fff;
}

/* ============================================================
   CUSTOMER TOPBAR — SINGLE SHARED AUTHORITY
   ------------------------------------------------------------
   Supports both live customer header structures:
   - direct logout <form> on catalog/product/selection pages
   - .top-actions wrapper on account_password.html
   ============================================================ */

.customer-topbar {
  display: grid !important;
  grid-template-columns: minmax(190px,1fr) minmax(230px,auto) minmax(160px,1fr) 42px !important;
  grid-template-areas: "brand category actions theme" !important;
  align-items: center !important;
  min-height: 132px !important;
  height: auto !important;
  padding: 16px clamp(20px,4vw,56px) !important;
  column-gap: 26px !important;
  overflow: visible !important;
}

.customer-topbar > .back-link {
  grid-area: brand !important;
  justify-self: start !important;
  align-self: start !important;
  margin: 0 !important;
}

.customer-topbar > .wordmark {
  grid-area: brand !important;
  justify-self: start !important;
  align-self: end !important;
  margin: 0 !important;
  pointer-events: none;
}

.customer-topbar > .customer-category-slot {
  grid-area: category !important;
  justify-self: center !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.customer-topbar > .top-actions {
  grid-area: actions !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 17px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

.customer-topbar > form {
  grid-area: actions !important;
  justify-self: end !important;
  margin: 0 !important;
}

.customer-topbar > .customer-theme-slot {
  grid-area: theme !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.customer-topbar .global-appearance-toggle {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
}

.customer-topbar .customer-category-menu {
  margin: 0 auto !important;
  align-items: center !important;
}

.customer-topbar .customer-category-panel {
  top: 140px !important;
  border-radius: 28px !important;
}

.customer-topbar .customer-category-name {
  font-weight: 750 !important;
}

.customer-topbar .customer-subcategory-links a {
  font-weight: 600 !important;
}

@media (max-width:900px) {
  .customer-topbar {
    column-gap: 16px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .customer-topbar > .top-actions {
    gap: 12px !important;
  }
}

@media (max-width:700px) {
  .customer-topbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "category"
      "actions" !important;
    justify-items: center !important;
    min-height: 185px !important;
    padding: 14px 14px 16px !important;
    row-gap: 13px !important;
  }

  .customer-topbar > .back-link,
  .customer-topbar > .wordmark {
    display: none !important;
  }

  .customer-topbar > .customer-category-slot {
    grid-area: category !important;
    width: 100% !important;
    justify-self: center !important;
  }

  .customer-topbar > .top-actions {
    grid-area: actions !important;
    width: auto !important;
    justify-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .customer-topbar > form {
    grid-area: actions !important;
    justify-self: center !important;
  }

  .customer-topbar > .customer-theme-slot {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 90 !important;
  }

  .customer-topbar .customer-category-menu {
    margin: 0 auto !important;
    align-items: center !important;
  }

  .customer-topbar .customer-category-welcome {
    text-align: center !important;
    margin-bottom: 7px !important;
  }

  .customer-topbar .customer-category-trigger {
    width: 132px !important;
    min-width: 132px !important;
    min-height: 104px !important;
    margin: 0 auto !important;
    border-radius: 30px !important;
    flex-direction: column !important;
  }

  .customer-topbar .customer-category-logo {
    width: 56px !important;
    height: 56px !important;
  }

  .customer-topbar .customer-category-trigger-label {
    display: none !important;
  }

  .customer-topbar .customer-category-trigger-click {
    display: block !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
  }

  .customer-topbar .customer-category-hamburger {
    display: none !important;
  }

  .customer-topbar .customer-category-panel {
    top: 196px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 210px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-topbar .customer-category-trigger::after {
    animation: none !important;
  }
}

.taxonomy-heading .catalog-brand-filter {
  position: relative;
  display: block;
  width: min(280px,100%);
  margin: 16px 0 0;
  overflow: hidden;
}

.taxonomy-heading .catalog-brand-filter::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,.04) 35%,
    rgba(255,246,207,.42) 50%,
    rgba(255,255,255,.04) 65%,
    transparent 80%
  );
  transform: translateX(-120%);
  animation: catalog-brand-filter-shimmer 3.8s ease-in-out infinite;
  pointer-events: none;
}

.taxonomy-heading .catalog-brand-filter select {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 42px;
  padding: 9px 38px 9px 13px;
  border: 1px solid rgba(212,175,99,.38);
  border-radius: 999px;
  background: #17191b;
  color: var(--gold);
  font: 800 10px/1 ui-sans-serif,system-ui,sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color-scheme: dark;
}

.taxonomy-heading .catalog-brand-filter select:hover {
  border-color: var(--gold);
}

.taxonomy-heading .catalog-brand-filter select:focus-visible {
  outline: 2px solid rgba(212,175,99,.55);
  outline-offset: 2px;
}

html[data-theme="light"] .taxonomy-heading .catalog-brand-filter select {
  border-color: rgba(179,110,105,.42);
  background: #fff;
  color: var(--rose);
  color-scheme: light;
}

html[data-theme="light"] .taxonomy-heading .catalog-brand-filter select:hover {
  border-color: var(--rose);
}

@keyframes catalog-brand-filter-shimmer {
  0%,58%,100% { transform: translateX(-120%); }
  78% { transform: translateX(120%); }
}



@media (prefers-reduced-motion:reduce) {
  .taxonomy-heading .catalog-brand-filter::after {
    animation: none;
  }
}

/* Brand filter shimmer — place effect above the select */
.taxonomy-heading .catalog-brand-filter::after {
  z-index: 3;
  opacity: .9;
  pointer-events: none;
}

.taxonomy-heading .catalog-brand-filter select {
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .taxonomy-heading .catalog-brand-filter::after {
    display: none;
  }
}



/* ============================================================
   TCROWN STUDIO — DASHBOARD TOPBAR
   Single responsive layout
   ------------------------------------------------------------
   Desktop:
     brand | centered category | actions
     theme is independently anchored at far right.
   Mobile:
     Welcome + category control
     Account / Admin / Sign Out
     theme toggle discreetly top-right.
   ============================================================ */

.dashboard-topbar {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  grid-template-areas: "brand category actions" !important;
  align-items: center !important;
  column-gap: 28px !important;
  min-height: 132px !important;
  height: auto !important;
  padding: 16px clamp(20px,4vw,56px) !important;
  padding-right: max(clamp(20px,4vw,56px), 70px) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* ------------------------------------------------------------
   BRAND AXIS
   ------------------------------------------------------------ */

.dashboard-topbar .dashboard-brand-zone {
  grid-area: brand !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-self: start !important;
  gap: 14px !important;
}

.dashboard-topbar .dashboard-logo-axis {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

.dashboard-topbar .dashboard-wordmark {
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

/* ------------------------------------------------------------
   TRUE CENTER CATEGORY AXIS
   ------------------------------------------------------------ */

.dashboard-topbar .dashboard-category-slot {
  grid-area: category !important;
  justify-self: center !important;
  align-self: center !important;
  min-width: 0 !important;
  width: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.dashboard-topbar .customer-category-menu {
  margin: 0 !important;
  align-items: center !important;
}

/* Desktop dashboard category sizing */
@media (min-width: 701px) {
  .dashboard-topbar .customer-category-trigger {
    min-width: 230px !important;
    min-height: 60px !important;
  }

  .dashboard-topbar .customer-category-logo {
    width: 44px !important;
    height: 44px !important;
  }

  .dashboard-shell .customer-category-panel {
    top: 150px !important;
  }
}

@media (min-width: 1101px) {
  .dashboard-topbar .customer-category-trigger {
    min-width: 250px !important;
    min-height: 66px !important;
  }

  .dashboard-topbar .customer-category-menu {
    gap: 6px !important;
  }
}

/* ------------------------------------------------------------
   ACTIONS
   ------------------------------------------------------------ */

.dashboard-topbar .top-actions {
  grid-area: actions !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  gap: 18px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

.dashboard-topbar .top-actions > a[href*="account_password"] {
  order: 1 !important;
}

.dashboard-topbar .top-actions > .admin-view-link {
  order: 2 !important;
}

.dashboard-topbar .top-actions > form {
  order: 3 !important;
  margin: 0 !important;
}

/* ------------------------------------------------------------
   THEME TOGGLE
   ------------------------------------------------------------ */

.dashboard-topbar .dashboard-theme-slot {
  position: absolute !important;
  top: 50% !important;
  right: clamp(12px,2vw,28px) !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 90 !important;
}

.dashboard-topbar .dashboard-theme-slot .global-appearance-toggle {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
}

/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media (max-width: 1000px) and (min-width: 701px) {
  .dashboard-topbar {
    column-gap: 18px !important;
    padding-right: 66px !important;
  }

  .dashboard-topbar .dashboard-brand-zone {
    gap: 10px !important;
  }

  .dashboard-topbar .top-actions {
    gap: 13px !important;
  }

  .dashboard-topbar .dashboard-wordmark {
    font-size: 9px !important;
    letter-spacing: .14em !important;
  }

  .dashboard-topbar .customer-category-trigger {
    min-width: 210px !important;
  }
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 700px) {
  .dashboard-topbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "category"
      "actions" !important;
    justify-items: center !important;
    min-height: 205px !important;
    padding: 14px 14px 16px !important;
    row-gap: 12px !important;
  }

  .dashboard-topbar .dashboard-brand-zone {
    display: none !important;
  }

  .dashboard-topbar .dashboard-category-slot {
    grid-area: category !important;
    width: 100% !important;
    justify-self: center !important;
    display: flex !important;
    justify-content: center !important;
  }

  .dashboard-topbar .customer-category-menu {
    width: auto !important;
    margin: 0 auto !important;
    align-items: center !important;
    gap: 7px !important;
  }

  .dashboard-topbar .customer-category-welcome {
    width: 100% !important;
    margin: 0 0 7px !important;
    text-align: center !important;
  }

  .dashboard-topbar .customer-category-trigger {
    width: 132px !important;
    min-width: 132px !important;
    min-height: 104px !important;
    margin: 0 auto !important;
    padding: 10px 12px !important;
    border-radius: 30px !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .dashboard-topbar .customer-category-logo {
    width: 56px !important;
    height: 56px !important;
  }

  .dashboard-topbar .customer-category-trigger-label {
    display: none !important;
  }

  .dashboard-topbar .customer-category-trigger-click {
    display: block !important;
    font: 800 9px/1 ui-sans-serif,system-ui,sans-serif !important;
    letter-spacing: .18em !important;
  }

  .dashboard-topbar .customer-category-hamburger {
    display: none !important;
  }

  .dashboard-topbar .top-actions {
    grid-area: actions !important;
    width: auto !important;
    justify-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dashboard-topbar .dashboard-theme-slot {
    top: 12px !important;
    right: 12px !important;
    transform: none !important;
  }

  .dashboard-topbar .dashboard-theme-slot .global-appearance-toggle {
    width: 38px !important;
    height: 38px !important;
  }

  .dashboard-shell .customer-category-panel {
    top: 196px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 210px) !important;
    border-radius: 26px !important;
  }
}

/* ------------------------------------------------------------
   VERY SMALL PHONES
   ------------------------------------------------------------ */

@media (max-width: 380px) {
  .dashboard-topbar .top-actions {
    gap: 14px !important;
  }
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .dashboard-topbar,
  .dashboard-topbar .customer-category-menu,
  .dashboard-topbar .top-actions {
    transition: none !important;
  }
}

/* ============================================================
   DASHBOARD MOBILE — TRUE VIEWPORT-CENTERED CATEGORY AXIS
   Welcome + TCrown + CLICK HERE share the exact viewport center.
   ============================================================ */

@media (max-width: 700px) {

  .dashboard-topbar {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "category"
      "actions" !important;
    justify-items: stretch !important;
  }

  .dashboard-topbar .dashboard-category-slot {
    grid-area: category !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: stretch !important;
    align-self: center !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
  }

  .dashboard-topbar .customer-category-menu {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
  }

  .dashboard-topbar .customer-category-welcome {
    display: block !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 0 !important;

    text-align: center !important;
  }

  .dashboard-topbar .customer-category-trigger {
    flex: 0 0 auto !important;

    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;

    margin: 0 auto !important;
    align-self: center !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
  }

  .dashboard-topbar .customer-category-logo {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .dashboard-topbar .customer-category-trigger-click {
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}

/* TCROWN — PRODUCT PHOTO SELECTION MOBILE CONTAINMENT */

@media (max-width:700px) {
  .product-shell .product-info,
  .product-shell .photo-selection-form,
  .product-shell .photo-selection-head,
  .product-shell .photo-selection-head-copy,
  .product-shell .photo-selection-head-actions,
  .product-shell .photo-selection-rows {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-shell .photo-selection-form {
    overflow: hidden;
  }

  .product-shell .photo-selection-head-copy,
  .product-shell .photo-selection-head p {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .product-shell .photo-selection-head-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .product-shell .return-catalog-button {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  .product-shell .photo-selection-row {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    gap: 10px;
    align-items: stretch;
    overflow: hidden;
  }

  .product-shell .photo-selection-row > label,
  .product-shell .photo-selection-quantity {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-shell .photo-selection-row select,
  .product-shell .photo-selection-row input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-shell .photo-row-remove {
    justify-self: start;
    max-width: 100%;
    white-space: normal;
  }

  .product-shell .add-photo-selection {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
  }
}

/* TCROWN — PRODUCT PHOTO SELECTION MOBILE RETURN SPACING */

@media (max-width:700px) {
  .product-shell .photo-selection-head {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .product-shell .photo-selection-head-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .product-shell .photo-selection-head-copy .photo-count {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    line-height: 1.4 !important;
  }

  .product-shell .photo-selection-head-actions {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    overflow: visible !important;
  }

  .product-shell .return-catalog-button {
    display: inline-flex !important;
    position: static !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* TCROWN — PRODUCT RETURN TO CATALOG: BELOW SELECTION SUMMARY */
.photo-selection-form > .photo-selection-head-actions {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  overflow: visible !important;
}

.photo-selection-form > .photo-selection-head-actions .return-catalog-button {
  margin: 0 !important;
  position: static !important;
}
/* ============================================================
   TCROWN — DASHBOARD THEME TOGGLE HIT AREA
   Make the complete circular control clickable/tappable.
   The SVG is visual only; all pointer input belongs to button.
   ============================================================ */

.dashboard-topbar .dashboard-theme-slot {
  pointer-events: none !important;
}

.dashboard-topbar .dashboard-theme-slot .global-appearance-toggle {
  pointer-events: auto !important;
  position: static !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  overflow: visible !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}

.dashboard-topbar .dashboard-theme-slot .global-appearance-toggle .theme-icon,
.dashboard-topbar .dashboard-theme-slot .global-appearance-toggle .sr-only {
  pointer-events: none !important;
}
/* ============================================================
   TCROWN — MOBILE DASHBOARD THEME TOGGLE
   Keep the entire circular button above the mobile topbar.
   Desktop behavior remains unchanged.
   ============================================================ */

@media (max-width: 700px) {
  .dashboard-topbar .dashboard-theme-slot {
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
    z-index: auto !important;
  }

  .dashboard-topbar .dashboard-theme-slot .global-appearance-toggle {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;

    z-index: 999999 !important;
    pointer-events: auto !important;

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;

    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;

    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    overflow: visible !important;

    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .dashboard-topbar .dashboard-theme-slot .global-appearance-toggle .theme-icon,
  .dashboard-topbar .dashboard-theme-slot .global-appearance-toggle .sr-only {
    pointer-events: none !important;
  }
}


/* -------------------------------------------------------------
   Per-photo shoe sizing: compact, responsive, theme-aware
   ------------------------------------------------------------- */
.shoe-sizing{grid-column:1/-1;min-width:0;display:grid;gap:8px;padding-top:2px}
.shoe-category-fieldset{border:0;min-width:0;margin:0;padding:0}
.shoe-category-fieldset legend{padding:0 0 6px;font-size:9px;line-height:1.3;letter-spacing:.15em;font-weight:800;color:#c5c5c0}
.shoe-category-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.shoe-category-option{position:relative;display:block;min-width:0;cursor:pointer}
.shoe-category-option input{position:absolute;opacity:0;inset:0;width:100%;height:100%;min-height:0!important;margin:0;padding:0!important;border:0!important;background:transparent!important;cursor:pointer}
.shoe-category-option span{display:flex;min-height:34px;align-items:center;justify-content:center;padding:6px 5px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.025);color:var(--cream);font-size:11px;font-weight:650;letter-spacing:.015em;text-align:center;transition:border-color .15s ease,background .15s ease,color .15s ease}
.shoe-category-option input:checked+span{border-color:var(--gold);background:rgba(212,175,99,.11);color:var(--gold)}
.shoe-category-option input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}
.shoe-size-details{min-width:0;border:1px solid rgba(255,255,255,.12);background:rgba(10,11,12,.26)}
.shoe-size-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;padding:8px 11px;cursor:pointer;color:var(--cream);font-size:11px;font-weight:650}
.shoe-size-details>summary::-webkit-details-marker{display:none}
.shoe-size-chevron{flex:none;color:var(--gold);font-size:17px;line-height:1;transition:transform .15s ease}
.shoe-size-details[open] .shoe-size-chevron{transform:rotate(180deg)}
.shoe-size-panel{padding:0 0 2px}
.shoe-size-table-wrap{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain;border-top:1px solid rgba(255,255,255,.08)}
.shoe-size-table{width:100%;min-width:430px;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums;color:var(--cream)}
.shoe-size-table th{position:sticky;top:0;background:#202224;color:#d1b779;font-size:9px;line-height:1.3;letter-spacing:.03em;font-weight:800;text-align:left;white-space:nowrap}
.shoe-size-table th,.shoe-size-table td{padding:7px 8px;border-bottom:1px solid rgba(255,255,255,.07);white-space:nowrap}
.shoe-size-table tbody tr:last-child td{border-bottom:0}
.shoe-size-table tbody tr:hover{background:rgba(212,175,99,.07)}
.shoe-size-table tbody tr.is-selected{background:rgba(212,175,99,.13);color:var(--gold)}
.shoe-size-radio{display:flex;align-items:center;justify-content:center;min-width:18px;min-height:18px;cursor:pointer}
.shoe-size-radio input{position:absolute;opacity:0;width:1px;height:1px;min-height:0!important;margin:0;padding:0!important;border:0!important;background:transparent!important}
.shoe-size-radio-mark{width:13px;height:13px;border:1px solid rgba(212,175,99,.62);border-radius:50%;display:block;position:relative}
.shoe-size-radio input:checked+.shoe-size-radio-mark{border-color:var(--gold)}
.shoe-size-radio input:checked+.shoe-size-radio-mark:after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--gold)}
.shoe-size-radio input:focus-visible+.shoe-size-radio-mark{outline:2px solid var(--gold);outline-offset:2px}
.shoe-size-error{margin:0;color:#e4aaa2;font-size:11px;line-height:1.45}
.shoe-size-error[hidden]{display:none}
.inquiry-item-shoe-size{margin-top:8px;color:var(--gold);font-size:11px;line-height:1.5;overflow-wrap:anywhere}
html[data-theme="light"] .shoe-category-fieldset legend{color:#6e685f}
html[data-theme="light"] .shoe-category-option span{border-color:rgba(35,32,27,.16);background:rgba(30,25,18,.018);color:#28251f}
html[data-theme="light"] .shoe-category-option input:checked+span{border-color:#9b7428;background:rgba(155,116,40,.09);color:#805c13}
html[data-theme="light"] .shoe-size-details{border-color:rgba(30,30,30,.16);background:#fff}
html[data-theme="light"] .shoe-size-details>summary{color:#28251f}
html[data-theme="light"] .shoe-size-table-wrap{border-top-color:rgba(30,30,30,.10)}
html[data-theme="light"] .shoe-size-table{color:#28251f}
html[data-theme="light"] .shoe-size-table th{background:#f0ece4;color:#805c13}
html[data-theme="light"] .shoe-size-table th,html[data-theme="light"] .shoe-size-table td{border-bottom-color:rgba(30,30,30,.08)}
html[data-theme="light"] .shoe-size-table tbody tr:hover{background:rgba(155,116,40,.07)}
html[data-theme="light"] .shoe-size-table tbody tr.is-selected{background:rgba(155,116,40,.10);color:#805c13}
html[data-theme="light"] .shoe-size-radio-mark{border-color:#9b7428}
html[data-theme="light"] .shoe-size-radio input:checked+.shoe-size-radio-mark:after{background:#9b7428}
html[data-theme="light"] .shoe-size-error{color:#a13f37}
html[data-theme="light"] .inquiry-item-shoe-size{color:#805c13}
@media(max-width:700px){.shoe-category-options{gap:4px}.shoe-category-option span{min-height:33px;font-size:10px;padding:5px 2px}.shoe-size-table{min-width:410px}.shoe-size-table th,.shoe-size-table td{padding:7px 7px}}
@media(max-width:380px){.shoe-category-option span{font-size:9px;letter-spacing:0}.shoe-size-details>summary{padding:8px;font-size:10px}}

/* SHOE SIZE VISIBILITY FIX — 20261010 */
/* Keep shoe sizing distinct without changing the overall product layout. */

#photo-selection-rows[data-shoe-sizing="true"] {
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(212,175,99,.36);
  border-radius: 8px;
  background: #181b1e;
}

#photo-selection-rows[data-shoe-sizing="true"] > .photo-selection-row {
  border: 1px solid rgba(212,175,99,.27);
  border-radius: 6px;
  background: #22262a;
}

#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-fieldset legend {
  display: inline-block;
  margin: 0 0 7px;
  padding: 5px 9px;
  border-left: 3px solid #d4af63;
  border-radius: 2px;
  background: rgba(212,175,99,.13);
  color: #edcd86;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .14em;
}

#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option span {
  min-height: 38px;
  border: 1px solid #887044;
  border-radius: 4px;
  background: #30353a;
  color: #fff8e9;
  font-size: 11px;
  font-weight: 800;
}

#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option:hover span {
  border-color: #e1bd70;
  background: #414047;
  color: #ffe6a8;
}

#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option input:checked + span {
  border-color: #e2bd6c;
  background: #d4af63;
  color: #201b12;
  font-weight: 900;
}

#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option input:focus-visible + span {
  outline: 2px solid #e2bd6c;
  outline-offset: 2px;
}

#photo-selection-rows[data-shoe-sizing="true"] .shoe-size-details {
  border-color: rgba(212,175,99,.42);
  border-radius: 5px;
  background: #202428;
}

#photo-selection-rows[data-shoe-sizing="true"] .shoe-size-details > summary {
  min-height: 42px;
  font-weight: 800;
}

#photo-selection-rows[data-shoe-sizing="true"] .photo-row-remove {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #c58f83;
  border-radius: 4px;
  background: #f0d9d3;
  color: #713b34;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#photo-selection-rows[data-shoe-sizing="true"] .photo-row-remove:hover:not(:disabled) {
  border-color: #a96559;
  background: #e6c1b8;
  color: #54251f;
}

#photo-selection-rows[data-shoe-sizing="true"] .photo-row-remove:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Light theme: warm ivory panel, dark text, and solid category controls. */

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] {
  border-color: #d2bc8c;
  background: #f0ece3;
}

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] > .photo-selection-row {
  border-color: #d8cbb3;
  background: #fffdf8;
  box-shadow: 0 2px 8px rgba(55,42,22,.06);
}

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-fieldset legend {
  border-left-color: #98701c;
  background: #e9d9b5;
  color: #49340d;
}

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option span {
  border-color: #b7a16f;
  background: #fffdf8;
  color: #29251e;
}

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option:hover span {
  border-color: #8b671d;
  background: #f5ead0;
  color: #382807;
}

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option input:checked + span {
  border-color: #805b12;
  background: #a47b29;
  color: #fff;
}

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-size-details {
  border-color: #c5b18b;
  background: #fffdf8;
}

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-size-details > summary {
  color: #29251e;
}

html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-size-chevron {
  color: #805b12;
}

@media (max-width: 700px) {
  #photo-selection-rows[data-shoe-sizing="true"] {
    padding: 7px;
    gap: 8px;
  }

  #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option span {
    min-height: 36px;
    padding: 6px 2px;
    font-size: 10px;
  }

  #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-fieldset legend {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  #photo-selection-rows[data-shoe-sizing="true"] {
    padding: 5px;
  }

  #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-options {
    gap: 3px;
  }

  #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-option span {
    font-size: 9px;
    letter-spacing: 0;
  }
}

/* TCROWN BRAND DIRECTORY — 20261010 */
.dashboard-topbar .dashboard-brand-zone-empty { display: none !important; }

.dashboard-shell .dashboard-brand-directory {
  box-sizing: border-box;
  width: 100%;
  max-width: 1880px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 28px) clamp(12px, 2.2vw, 34px) 32px;
  color: var(--cream, #f2eee5);
}
.dashboard-shell .brand-directory-tools {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.dashboard-shell .brand-directory-search {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(212,175,99,.35);
  border-radius: 5px;
  background: rgba(255,255,255,.035);
  color: #d4af63;
}
.dashboard-shell .brand-directory-search svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.dashboard-shell .brand-directory-search input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  box-shadow: none;
}
.dashboard-shell .brand-directory-search input::placeholder { color: #aaa79f; }
.dashboard-shell .brand-directory-search:focus-within {
  border-color: #d4af63;
  box-shadow: 0 0 0 2px rgba(212,175,99,.15);
}
.dashboard-shell .brand-directory-shortcut {
  color: #b6a577;
  font-family: inherit;
  font-size: 9px;
  letter-spacing: .12em;
  white-space: nowrap;
}
.dashboard-shell .brand-directory-result-count {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  color: #a9a8a1;
  font-size: 11px;
  white-space: nowrap;
}
.dashboard-shell .brand-directory-result-count strong {
  color: #d4af63;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.dashboard-shell .brand-directory-alphabet {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin-bottom: 14px;
  padding: 2px 0 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,99,.35) transparent;
}
.dashboard-shell .brand-directory-letter-list {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}
.dashboard-shell .brand-directory-letter {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 29px;
  height: 29px;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 3px;
  background: transparent;
  color: #b8b7b1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.dashboard-shell .brand-directory-letter:hover,
.dashboard-shell .brand-directory-letter:focus-visible {
  border-color: #d4af63;
  color: #f3d898;
  outline: none;
}
.dashboard-shell .brand-directory-letter.is-active {
  border-color: #d4af63;
  background: #d4af63;
  color: #211c12;
}
.dashboard-shell .brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  align-items: stretch;
  gap: 9px;
  min-width: 0;
}
.dashboard-shell .brand-directory-card {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 45px auto auto;
  align-content: center;
  justify-items: stretch;
  gap: 6px;
  min-width: 0;
  min-height: 106px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 4px;
  background: rgba(255,255,255,.025);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.dashboard-shell .brand-directory-card[hidden] { display: none !important; }
.dashboard-shell .brand-directory-card:hover {
  border-color: rgba(212,175,99,.7);
  background: rgba(212,175,99,.055);
  transform: translateY(-1px);
}
.dashboard-shell .brand-directory-card:focus-visible {
  border-color: #d4af63;
  outline: 2px solid #d4af63;
  outline-offset: 2px;
}
.dashboard-shell .brand-directory-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 45px;
  padding: 5px 7px;
  overflow: hidden;
  border-radius: 2px;
  background: #f4f0e7;
}
.dashboard-shell .brand-directory-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.dashboard-shell .brand-directory-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #e9e5dc;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-shell .brand-directory-count {
  display: block;
  color: #d4af63;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dashboard-shell .brand-directory-empty {
  padding: 28px 12px;
  color: #aaa79f;
  text-align: center;
  font-size: 13px;
}
.dashboard-shell .brand-directory-empty[hidden] { display: none; }

html[data-theme="light"] .dashboard-shell .dashboard-brand-directory { color: #22211e; }
html[data-theme="light"] .dashboard-shell .brand-directory-search {
  border-color: #d4c6a6;
  background: #fffdf8;
  color: #604a20;
}
html[data-theme="light"] .dashboard-shell .brand-directory-search input { color: #24221e; }
html[data-theme="light"] .dashboard-shell .brand-directory-search input::placeholder { color: #817b70; }
html[data-theme="light"] .dashboard-shell .brand-directory-search:focus-within {
  border-color: #9b7428;
  box-shadow: 0 0 0 2px rgba(155,116,40,.13);
}
html[data-theme="light"] .dashboard-shell .brand-directory-shortcut { color: #76602e; }
html[data-theme="light"] .dashboard-shell .brand-directory-result-count { color: #625e56; }
html[data-theme="light"] .dashboard-shell .brand-directory-result-count strong { color: #805b12; }
html[data-theme="light"] .dashboard-shell .brand-directory-letter {
  border-color: #ded6c8;
  background: #fffdf8;
  color: #514c43;
}
html[data-theme="light"] .dashboard-shell .brand-directory-letter:hover,
html[data-theme="light"] .dashboard-shell .brand-directory-letter:focus-visible {
  border-color: #8b671d;
  color: #65480f;
}
html[data-theme="light"] .dashboard-shell .brand-directory-letter.is-active {
  border-color: #8b671d;
  background: #a47b29;
  color: #fff;
}
html[data-theme="light"] .dashboard-shell .brand-directory-card {
  border-color: #e5dfd3;
  background: #fffdf8;
}
html[data-theme="light"] .dashboard-shell .brand-directory-card:hover {
  border-color: #aa873f;
  background: #fbf3e2;
}
html[data-theme="light"] .dashboard-shell .brand-directory-name { color: #292620; }
html[data-theme="light"] .dashboard-shell .brand-directory-count { color: #805b12; }
html[data-theme="light"] .dashboard-shell .brand-directory-empty { color: #625e56; }

@media (min-width: 600px) and (max-width: 1199px) {
  .dashboard-shell .brand-directory-grid {
    grid-template-columns: none;
    grid-template-rows: repeat(4, minmax(106px, auto));
    grid-auto-flow: column;
    grid-auto-columns: minmax(112px, 1fr);
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .dashboard-shell .brand-directory-card { min-height: 106px; }
}

@media (max-width: 599px) {
  .dashboard-shell .dashboard-brand-directory { padding: 12px 12px 24px; }
  .dashboard-shell .brand-directory-tools {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .dashboard-shell .brand-directory-result-count { justify-content: flex-start; }
  .dashboard-shell .brand-directory-alphabet { margin-bottom: 10px; }
  .dashboard-shell .brand-directory-grid {
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(100px, auto));
    grid-auto-flow: column;
    grid-auto-columns: minmax(118px, 39vw);
    gap: 7px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .dashboard-shell .brand-directory-card {
    min-height: 100px;
    padding: 7px;
    scroll-snap-align: start;
  }
  .dashboard-shell .brand-directory-logo { height: 41px; }
  .dashboard-shell .brand-directory-card { grid-template-rows: 41px auto auto; }
  .dashboard-shell .brand-directory-name { font-size: 9px; }
  .dashboard-shell .brand-directory-count { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-shell .brand-directory-card,
  .dashboard-shell .brand-directory-letter { transition: none; }
}

/* TCROWN BRAND FEATURED SECTIONS 2026-10-10 */
.catalog-filter-page .catalog-main {
  width: min(1760px, 96vw);
  margin-inline: auto;
  padding: 22px clamp(18px, 3vw, 52px) 58px;
}
.catalog-filter-page .catalog-heading {
  gap: 20px;
  padding-bottom: 16px;
}
.catalog-filter-page .catalog-heading .eyebrow { margin-bottom: 5px; }
.catalog-filter-page .catalog-heading h1 {
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: .98;
  margin: 5px 0 0;
}
.catalog-filter-page .catalog-count { padding-bottom: 5px; }
.catalog-filter-page .brand-category-nav {
  gap: 8px;
  margin: 15px 0 20px;
}
.catalog-filter-page .catalog-filter-button {
  min-height: 37px;
  padding: 9px 15px;
  border: 1px solid rgba(212,175,99,.27);
  border-radius: 3px;
  background: rgba(255,255,255,.025);
  color: #d4d0c6;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.2;
  box-shadow: inset 0 1px rgba(255,255,255,.025);
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.catalog-filter-page .catalog-filter-button small {
  margin-left: 5px;
  color: inherit;
  opacity: .72;
}
.catalog-filter-page .catalog-filter-button:hover {
  border-color: rgba(212,175,99,.75);
  color: #f5d998;
  background: rgba(212,175,99,.08);
}
.catalog-filter-page .catalog-filter-button.is-active {
  border-color: #e8c777;
  background: linear-gradient(135deg, #f0d797 0%, #d4af63 58%, #bd9347 100%);
  color: #211a0d;
  box-shadow: 0 3px 12px rgba(212,175,99,.18), inset 0 1px rgba(255,255,255,.48);
  font-weight: 900;
}
.catalog-filter-page .catalog-filter-button.is-active small { color: #211a0d; opacity: .78; }
.catalog-filter-page .catalog-filter-button:active { transform: translateY(1px); }
.catalog-filter-page .catalog-filter-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.brand-featured-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin: 0 0 30px;
}
.brand-featured-panel {
  --feature-accent: #d4af63;
  min-width: 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--feature-accent) 62%, transparent);
  border-top: 2px solid var(--feature-accent);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(31,33,35,.92), rgba(22,24,26,.92));
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.brand-featured-panel--new { --feature-accent: #d4af63; }
.brand-featured-panel--viewed { --feature-accent: #d4af63; }
.brand-featured-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.brand-featured-heading .eyebrow { font-size: 8px; letter-spacing: .16em; color: var(--feature-accent); }
.brand-featured-heading h2 {
  margin: 4px 0 0;
  color: var(--cream);
  font: 400 clamp(22px, 2vw, 29px)/1.08 Georgia, serif;
}
.brand-featured-mark {
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--feature-accent) 58%, transparent);
  border-radius: 2px;
  padding: 5px 7px;
  color: var(--feature-accent);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}
.brand-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
}
.brand-featured-grid[hidden] { display: none !important; }
.brand-featured-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--feature-accent) 45%, transparent);
  border-radius: 3px;
  background: rgba(10,12,13,.18);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.brand-featured-card:hover {
  border-color: var(--feature-accent);
  transform: translateY(-2px);
  box-shadow: 0 7px 16px color-mix(in srgb, var(--feature-accent) 12%, transparent);
}
.brand-featured-image {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: #191b1d;
}
.brand-featured-image picture { display: block; width: 100%; height: 100%; }
.brand-featured-image img { display: block; width: 100%; height: 100%; object-fit:contain; }
.brand-featured-card-copy { min-width: 0; padding: 8px 8px 10px; }
.brand-featured-card-copy > span {
  display: block;
  overflow: hidden;
  color: var(--feature-accent);
  font-size: 7px;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-featured-card-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--cream);
  font: 400 12px/1.35 Georgia, serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}
.brand-featured-empty {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  padding: 20px 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.catalog-filter-page .catalog-filter-grid { margin-top: 0; }
html[data-theme="light"] .catalog-filter-page .catalog-filter-button {
  border-color: rgba(132,98,34,.35);
  background: #fffdf8;
  color: #494239;
}
html[data-theme="light"] .catalog-filter-page .catalog-filter-button:hover {
  border-color: #9b7428;
  background: #f5ead0;
  color: #382807;
}
html[data-theme="light"] .catalog-filter-page .catalog-filter-button.is-active {
  border-color: #8d6417;
  background: linear-gradient(135deg, #e9cb82, #c49a48);
  color: #211a0d;
  box-shadow: 0 3px 12px rgba(132,98,34,.16), inset 0 1px rgba(255,255,255,.55);
}
html[data-theme="light"] .brand-featured-panel {
  background: #fffdf8;
  box-shadow: 0 5px 18px rgba(53,42,25,.055);
}
html[data-theme="light"] .brand-featured-panel--new { border-color: rgba(158,117,32,.62); border-top-color: #a47b29; }
html[data-theme="light"] .brand-featured-panel--viewed { border-color: rgba(158,117,32,.62); border-top-color: #a47b29; }
html[data-theme="light"] .brand-featured-heading h2,
html[data-theme="light"] .brand-featured-card-copy h3 { color: #24211c; }
html[data-theme="light"] .brand-featured-card { background: #fff; }
html[data-theme="light"] .brand-featured-image { background: #eee9df; }
html[data-theme="light"] .catalog-filter-page .catalog-filter-heading,
html[data-theme="light"] .catalog-filter-page .catalog-heading h1 { color: #211f1b; }

@media (max-width: 1050px) {
  .brand-featured-sections { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .brand-featured-panel { padding: 13px; }
}
@media (max-width: 700px) {
  .catalog-filter-page .catalog-main { width: 100%; padding: 17px 16px 42px; }
  .catalog-filter-page .catalog-heading { padding-bottom: 13px; }
  .catalog-filter-page .catalog-heading h1 { font-size: clamp(36px, 9vw, 54px); }
  .catalog-filter-page .brand-category-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 1px 8px;
    margin: 12px 0 15px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-filter-page .catalog-filter-button { flex: 0 0 auto; min-height: 35px; padding: 8px 12px; }
  .brand-featured-panel { padding: 11px; }
  .brand-featured-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(124px, 39%);
    grid-template-columns: none;
    overflow-x: auto;
    padding: 1px 1px 7px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .brand-featured-card { scroll-snap-align: start; }
  .brand-featured-card-copy { padding: 7px; }
  .brand-featured-card-copy h3 { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-filter-page .catalog-filter-button,
  .brand-featured-card { transition: none; }
}

/* TCROWN MOST VIEWED GOLD MATCH 2026-10-10 */


/* TCROWN SOCIAL CAROUSEL STUDIO 2026-10-10 */
.social-carousel-shell{min-height:100vh;background:radial-gradient(circle at 80% 0%,rgba(212,175,99,.075),transparent 30%),var(--slate2,#17191b)}
.social-carousel-topbar{height:68px;gap:16px}
.social-carousel-main{width:min(1540px,96vw);margin:0 auto;padding:22px 0 76px}
.social-carousel-titlebar{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:0 0 20px;border-bottom:1px solid var(--line);margin-bottom:18px}
.social-carousel-titlebar h1{font:400 clamp(36px,4.5vw,62px)/.95 Georgia,serif;margin:9px 0 8px;color:var(--cream)}
.social-carousel-titlebar h1 em{font-style:italic;color:var(--gold)}
.social-carousel-titlebar p{max-width:720px;margin:0;color:var(--muted);font-size:12px;line-height:1.65}
.social-carousel-secure-note{flex:none;padding:9px 11px;border:1px solid rgba(212,175,99,.26);color:var(--gold);font-size:8px;letter-spacing:.12em}
.social-carousel-layout{display:grid;grid-template-columns:minmax(320px,.88fr) minmax(0,1.12fr);gap:16px;align-items:start}
.social-carousel-panel{min-width:0;border:1px solid rgba(212,175,99,.17);background:linear-gradient(145deg,rgba(34,37,39,.92),rgba(19,21,23,.96));padding:18px}
.social-carousel-panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 15px}
.social-carousel-panel-head h2{font:400 25px Georgia,serif;color:var(--cream);margin:5px 0 0}
.social-carousel-step,.social-carousel-slide-count{font-size:8px;letter-spacing:.14em;color:var(--gold);white-space:nowrap}
.social-carousel-search-controls{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:10px}
.social-carousel-field{display:grid;gap:6px;min-width:0;color:var(--gold);font-size:9px;font-weight:800;letter-spacing:.12em}
.social-carousel-field input,.social-carousel-field select,.social-carousel-field textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid rgba(255,255,255,.15);border-radius:2px;background:#131517;color:var(--cream);padding:11px 12px;font-size:12px;font-weight:400;letter-spacing:normal;text-transform:none;outline:none}
.social-carousel-field select{min-height:40px}
.social-carousel-field input:focus,.social-carousel-field select:focus,.social-carousel-field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 2px rgba(212,175,99,.11)}
.social-carousel-field input::placeholder{color:#767a78}
.social-carousel-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 13px;border:1px solid #d4af63;border-radius:2px;background:#d4af63;color:#1d1a13;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
.social-carousel-action:hover:not(:disabled){background:#e5c77e;border-color:#e5c77e;transform:translateY(-1px)}
.social-carousel-action:disabled,.social-carousel-mini-button:disabled{opacity:.42;cursor:not-allowed;transform:none}
.social-carousel-search-controls .social-carousel-action{grid-column:1/-1;width:100%}
.social-carousel-hint{color:var(--muted);font-size:10px;line-height:1.55;margin:10px 0 14px}
.social-carousel-results{display:grid;gap:7px;max-height:510px;overflow:auto;padding-right:2px}
.social-carousel-product-result{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border:1px solid rgba(255,255,255,.07);background:rgba(10,12,13,.28);min-width:0}
.social-carousel-result-thumb{width:58px;height:62px;background:#131517;display:grid;place-items:center;overflow:hidden;color:var(--gold);font:italic 18px Georgia,serif}
.social-carousel-result-thumb img{width:100%;height:100%;display:block;object-fit:contain}
.social-carousel-result-copy{display:grid;gap:4px;min-width:0}
.social-carousel-result-copy strong{font:400 15px Georgia,serif;color:var(--cream);overflow-wrap:anywhere}
.social-carousel-result-copy span,.social-carousel-result-copy small{font-size:9px;line-height:1.4;color:var(--muted)}
.social-carousel-mini-button{padding:8px 9px;border:1px solid rgba(212,175,99,.42);background:transparent;color:var(--gold);font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.social-carousel-mini-button:hover:not(:disabled){background:rgba(212,175,99,.12);border-color:var(--gold)}
.social-carousel-photo-picker{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}
.social-carousel-photo-picker[hidden]{display:none}
.social-carousel-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.social-carousel-picker-head h3{font:400 20px Georgia,serif;color:var(--cream);margin:4px 0 0}
.social-carousel-text-button{padding:5px 0;border:0;background:none;color:var(--gold);font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.social-carousel-text-button:disabled{opacity:.4;cursor:not-allowed}
.social-carousel-photo-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.social-carousel-photo-option{display:grid;grid-template-columns:58px minmax(0,1fr);gap:8px;align-items:center;padding:7px;border:1px solid rgba(212,175,99,.16);min-width:0}
.social-carousel-option-image{width:58px;height:70px;background:#121416;overflow:hidden;grid-row:span 2}
.social-carousel-option-image img{display:block;width:100%;height:100%;object-fit:contain}
.social-carousel-option-copy{display:grid;gap:4px;min-width:0}
.social-carousel-option-copy strong{font:400 14px Georgia,serif;color:var(--cream)}
.social-carousel-option-copy span{font-size:8px;color:var(--muted);line-height:1.4}
.social-carousel-photo-option .social-carousel-mini-button{grid-column:2;justify-self:start;padding:6px 8px}
.social-carousel-empty{padding:18px 10px;margin:0;border:1px dashed rgba(212,175,99,.2);color:var(--muted);font-size:10px;line-height:1.6;text-align:center}
.social-carousel-empty.is-error,.social-carousel-status.is-error{color:#e5aaa2}
.social-carousel-preview-wrap{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:8px;align-items:center}
.social-carousel-arrow{width:32px;height:42px;border:1px solid rgba(212,175,99,.38);background:rgba(8,10,12,.35);color:var(--gold);font:400 25px Georgia,serif;cursor:pointer}
.social-carousel-arrow:disabled{opacity:.25;cursor:not-allowed}
.social-carousel-preview-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:rgba(212,175,99,.45) transparent;gap:10px;min-width:0;overscroll-behavior-x:contain}
.social-carousel-preview-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.social-carousel-export-frame{aspect-ratio:4/5;width:min(100%,330px);margin:0 auto;border:1px solid rgba(212,175,99,.55);background:#202326;padding:8px;display:grid;place-items:center;overflow:hidden}
.social-carousel-export-frame img{display:block;width:100%;height:100%;object-fit:contain}
.social-carousel-preview-caption{display:grid;gap:5px;text-align:center;padding:10px 0 2px}
.social-carousel-preview-caption span{font-size:8px;letter-spacing:.12em;color:var(--gold);text-transform:uppercase}
.social-carousel-preview-caption strong{font:400 17px Georgia,serif;color:var(--cream)}
.social-carousel-preview-empty{flex:0 0 100%;min-height:210px;display:grid;place-items:center;text-align:center;padding:20px;border:1px dashed rgba(212,175,99,.25);color:var(--muted);font-size:11px}
.social-carousel-preview-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 18px;color:var(--muted);font-size:8px;letter-spacing:.12em}
.social-carousel-dots{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap}
.social-carousel-dot{width:7px;height:7px;padding:0;border:1px solid #7f7f76;border-radius:50%;background:transparent;cursor:pointer}
.social-carousel-dot.is-active{border-color:var(--gold);background:var(--gold);box-shadow:0 0 0 3px rgba(212,175,99,.12)}
.social-carousel-selected-block,.social-carousel-share-block{border-top:1px solid var(--line);padding-top:15px;margin-top:16px}
.social-carousel-selected-slides{display:grid;gap:7px;margin-bottom:10px}
.social-carousel-selected-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px;border:1px solid rgba(212,175,99,.2);background:rgba(11,13,14,.25);min-width:0}
.social-carousel-selected-item>img{width:48px;height:58px;object-fit:contain;background:#121416}
.social-carousel-selected-meta{display:grid;gap:5px;min-width:0}
.social-carousel-selected-meta strong{font:400 13px Georgia,serif;color:var(--cream);overflow-wrap:anywhere}
.social-carousel-selected-meta span{font-size:8px;color:var(--muted);letter-spacing:.07em}
.social-carousel-selected-actions{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}
.social-carousel-selected-actions button{min-width:26px;min-height:28px;padding:4px 6px;border:1px solid rgba(212,175,99,.3);background:transparent;color:var(--gold);font-size:9px;cursor:pointer}
.social-carousel-selected-actions button:disabled{opacity:.25;cursor:not-allowed}
.social-carousel-download-all{width:100%;margin-top:1px}
.social-carousel-share-block>.social-carousel-panel-head{margin-bottom:11px}
.social-carousel-field textarea{resize:vertical;min-height:86px;line-height:1.55}
.social-carousel-link-row{display:grid;grid-template-columns:minmax(145px,.72fr) minmax(0,1.28fr);gap:10px;margin-top:12px}
.social-carousel-field input[readonly]{font-size:10px;color:#d2c39c}
.social-carousel-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.social-carousel-whatsapp{background:#d9e9d6;border-color:#9ec399;color:#1c3d26}
.social-carousel-whatsapp:hover:not(:disabled){background:#c8e0c3;border-color:#80ad78}
.social-carousel-status{min-height:16px;margin-top:10px;color:var(--gold);font-size:10px;line-height:1.5}
.social-carousel-future-note{padding:11px 12px;border-left:2px solid var(--rose);background:rgba(201,143,139,.06);color:var(--muted);font-size:9px;line-height:1.6}
.social-carousel-future-note strong{color:var(--cream);font-weight:700}
html[data-theme="light"] .social-carousel-shell{background:#f5f1e9;color:#201f1c}
html[data-theme="light"] .social-carousel-titlebar h1,html[data-theme="light"] .social-carousel-panel-head h2,html[data-theme="light"] .social-carousel-picker-head h3,html[data-theme="light"] .social-carousel-result-copy strong,html[data-theme="light"] .social-carousel-option-copy strong,html[data-theme="light"] .social-carousel-preview-caption strong,html[data-theme="light"] .social-carousel-selected-meta strong,html[data-theme="light"] .social-carousel-future-note strong{color:#201f1c}
html[data-theme="light"] .social-carousel-panel{border-color:#d8c7a3;background:linear-gradient(145deg,#fffdf8,#f7f2e7)}
html[data-theme="light"] .social-carousel-field{color:#7a5919}
html[data-theme="light"] .social-carousel-field input,html[data-theme="light"] .social-carousel-field select,html[data-theme="light"] .social-carousel-field textarea{border-color:#d7cdbb;background:#fffefa;color:#201f1c}
html[data-theme="light"] .social-carousel-field input[readonly]{color:#55421b}
html[data-theme="light"] .social-carousel-product-result,html[data-theme="light"] .social-carousel-selected-item{border-color:#e3d8c4;background:#fffefa}
html[data-theme="light"] .social-carousel-result-thumb,html[data-theme="light"] .social-carousel-option-image,html[data-theme="light"] .social-carousel-selected-item>img{background:#eee8dc}
html[data-theme="light"] .social-carousel-empty{border-color:#d7c6a1;color:#69645a}
html[data-theme="light"] .social-carousel-preview-empty{border-color:#d7c6a1;color:#69645a}
html[data-theme="light"] .social-carousel-export-frame{background:#eee7da;border-color:#b69a5c}
html[data-theme="light"] .social-carousel-arrow{background:#fffaf0;border-color:#c8b78f;color:#806020}
html[data-theme="light"] .social-carousel-selected-actions button{border-color:#cbb88c;color:#7a5919}
html[data-theme="light"] .social-carousel-future-note{background:rgba(201,143,139,.08);color:#625b55}
@media(max-width:1050px){.social-carousel-layout{grid-template-columns:minmax(0,1fr)}.social-carousel-library{order:1}.social-carousel-composer{order:2}.social-carousel-results{max-height:390px}.social-carousel-photo-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.social-carousel-main{width:min(100% - 24px,640px);padding:16px 0 80px}.social-carousel-topbar{height:62px;padding:0 12px}.social-carousel-topbar .wordmark{font-size:9px;letter-spacing:.1em}.social-carousel-titlebar{display:block;padding-bottom:15px}.social-carousel-titlebar h1{font-size:40px}.social-carousel-secure-note{display:inline-block;margin-top:12px}.social-carousel-panel{padding:12px}.social-carousel-panel-head h2{font-size:22px}.social-carousel-search-controls{grid-template-columns:1fr}.social-carousel-search-controls .social-carousel-action{grid-column:auto}.social-carousel-product-result{grid-template-columns:48px minmax(0,1fr) auto;gap:7px;padding:6px}.social-carousel-result-thumb{width:48px;height:54px}.social-carousel-result-copy strong{font-size:13px}.social-carousel-result-copy span,.social-carousel-result-copy small{font-size:8px}.social-carousel-mini-button{font-size:7px;padding:7px 6px}.social-carousel-photo-options{grid-template-columns:repeat(2,minmax(0,1fr))}.social-carousel-preview-wrap{grid-template-columns:26px minmax(0,1fr) 26px;gap:5px}.social-carousel-arrow{width:26px}.social-carousel-export-frame{width:min(100%,300px)}.social-carousel-selected-item{grid-template-columns:42px minmax(0,1fr);gap:7px}.social-carousel-selected-item>img{width:42px;height:52px}.social-carousel-selected-actions{grid-column:2;justify-content:flex-start}.social-carousel-link-row{grid-template-columns:1fr}.social-carousel-share-actions{grid-template-columns:1fr}.social-carousel-preview-status{align-items:flex-start;flex-direction:column}}
@media(max-width:380px){.social-carousel-panel{padding:9px}.social-carousel-product-result{grid-template-columns:42px minmax(0,1fr)}.social-carousel-result-thumb{width:42px;height:48px}.social-carousel-product-result .social-carousel-mini-button{grid-column:2;justify-self:start}.social-carousel-photo-options{grid-template-columns:1fr}.social-carousel-photo-option{grid-template-columns:52px minmax(0,1fr) auto}.social-carousel-option-image{width:52px;height:64px;grid-row:auto}.social-carousel-photo-option .social-carousel-mini-button{grid-column:auto}.social-carousel-selected-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.social-carousel-action{transition:none}}


/* Inquiry inbox, unread badges, and private PDF attachments */
.inquiry-unread-badge,
.inquiry-unread-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  min-height: 19px;
  margin-left: 5px;
  padding: 0 6px;
  border: 1px solid rgba(212,175,99,.65);
  border-radius: 99px;
  background: rgba(212,175,99,.14);
  color: var(--gold, #c9a45c);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
  vertical-align: middle;
}
.inquiry-unread-badge[hidden] { display: none !important; }
.customer-inquiries-main { max-width: 1120px; margin: 0 auto; padding: clamp(24px,4vw,56px) 18px 64px; }
.customer-inquiries-main .inquiry-heading { padding-bottom: 20px; }
.customer-inquiries-main .inquiry-heading h1 { margin: 8px 0 10px; }
.customer-inquiries-list { display: grid; gap: 10px; }
.customer-inquiry-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid rgba(212,175,99,.2); color: inherit; text-decoration: none; background: rgba(127,127,127,.035); transition: border-color .18s ease, background .18s ease; }
.customer-inquiry-card:hover { border-color: rgba(212,175,99,.6); background: rgba(212,175,99,.045); }
.customer-inquiry-main, .customer-inquiry-status { display: grid; gap: 7px; min-width: 0; }
.customer-inquiry-main strong { font: 400 19px Georgia,serif; overflow-wrap: anywhere; }
.customer-inquiry-main > span:last-child { color: var(--muted,#858585); font-size: 11px; }
.customer-inquiry-status { justify-items: end; text-align: right; }
.customer-inquiry-open { color: var(--gold,#c9a45c); font-size: 11px; }
.inquiry-unread-label { margin: 0; min-height: 22px; }
.inquiry-thread { display: grid; gap: 12px; margin-top: 16px; }
.inquiry-thread-message { min-width: 0; padding: 14px 16px; border: 1px solid rgba(128,128,128,.2); border-left: 2px solid #b9847f; overflow-wrap: anywhere; }
.inquiry-thread-message.is-admin { border-left-color: var(--gold,#c9a45c); }
.inquiry-thread-message-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 9px; color: var(--muted,#858585); font-size: 10px; }
.inquiry-thread-message-meta strong { color: inherit; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.inquiry-thread-message-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.7; }
.inquiry-attachment-list { display: grid; gap: 7px; margin-top: 12px; }
.inquiry-attachment-download { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 9px 11px; border: 1px solid rgba(212,175,99,.35); color: var(--gold,#c9a45c); text-decoration: none; font-size: 11px; overflow-wrap: anywhere; }
.inquiry-attachment-download:hover { border-color: var(--gold,#c9a45c); background: rgba(212,175,99,.07); }
.inquiry-reply-panel { margin-top: 20px; }
.inquiry-reply-form { display: grid; gap: 10px; }
.inquiry-reply-form label { display: grid; gap: 7px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.inquiry-reply-form textarea { width: 100%; min-height: 115px; box-sizing: border-box; padding: 12px; border: 1px solid rgba(128,128,128,.35); background: transparent; color: inherit; font: inherit; line-height: 1.6; resize: vertical; }
.inquiry-reply-form input[type="file"] { max-width: 100%; padding: 9px 0; font-size: 11px; text-transform: none; letter-spacing: normal; }
.inquiry-upload-help { color: var(--muted,#858585); font-size: 10px; line-height: 1.5; letter-spacing: normal; text-transform: none; }
html[data-theme="light"] .inquiry-thread-message { background: rgba(255,255,255,.7); border-color: rgba(70,56,33,.16); }
html[data-theme="light"] .inquiry-thread-message-body { color: #222; }
@media(max-width:640px) {
  .customer-inquiry-card { align-items: flex-start; flex-direction: column; gap: 13px; padding: 14px; }
  .customer-inquiry-status { justify-items: start; text-align: left; }
  .inquiry-thread-message { padding: 12px; }
}


/* Customer inquiry conversation layout refinement: 20261011-customer-inquiry-admin-upload-layout-02 */
.site-shell.customer-inquiry-page {
  width: min(100% - 32px, 1340px);
  max-width: 1340px;
  margin: 0 auto;
  padding: 0;
}
.customer-inquiry-topbar {
  display: grid;
  grid-template-columns: minmax(210px,1fr) auto minmax(270px,1fr);
  align-items: center;
  gap: 22px;
  min-height: 86px;
  padding: 12px clamp(0px,1.2vw,18px);
  border-bottom: 1px solid rgba(201,164,92,.23);
}
.customer-inquiry-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: inherit; text-decoration: none; }
.customer-inquiry-brand img { display: block; width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.customer-inquiry-brand-copy { display: grid; gap: 3px; min-width: 0; }
.customer-inquiry-brand-copy strong { font-size: 12px; line-height: 1.1; letter-spacing: .19em; font-weight: 500; }
.customer-inquiry-brand-copy small { color: var(--muted,#8a8985); font-size: 8px; line-height: 1.4; letter-spacing: .13em; }
.customer-inquiry-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px,2.5vw,34px); }
.customer-inquiry-nav a, .customer-inquiry-account, .customer-inquiry-signout { color: var(--muted,#9a9892); font-size: 10px; line-height: 1.5; letter-spacing: .09em; text-decoration: none; white-space: nowrap; transition: color .18s ease, border-color .18s ease; }
.customer-inquiry-nav a:hover, .customer-inquiry-account:hover, .customer-inquiry-signout:hover { color: var(--gold,#c9a45c); }
.customer-inquiry-nav a.is-current { color: var(--gold,#c9a45c); }
.customer-inquiry-top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 13px; min-width: 0; }
.customer-inquiry-top-actions form { margin: 0; }
.customer-inquiry-theme-toggle { width: 36px; height: 36px; min-width: 36px; padding: 7px; }
.customer-inquiry-theme-toggle svg { width: 17px; height: 17px; }
.customer-inquiry-signout { border: 1px solid rgba(201,164,92,.34); background: transparent; padding: 9px 12px; cursor: pointer; }
.customer-inquiry-main { max-width: 1340px; margin: 0 auto; padding: clamp(24px,4vw,50px) 12px 72px; }
.customer-inquiry-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(12px,2vw,28px); }
.customer-inquiry-columns > * { min-width: 0; }
.customer-inquiry-section { margin: 0; min-width: 0; }
.customer-inquiry-conversation { min-width: 0; }
.customer-inquiry-backlink { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--muted,#8f8d88); font-size: 10px; letter-spacing: .08em; text-decoration: none; }
.customer-inquiry-backlink:hover { color: var(--gold,#c9a45c); }
.customer-inquiry-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: 25px; border-bottom: 1px solid rgba(201,164,92,.24); }
.customer-inquiry-heading h1 { margin: 8px 0 10px; font: 400 clamp(31px,4.2vw,49px)/1.08 Georgia,'Times New Roman',serif; letter-spacing: -.025em; }
.customer-inquiry-heading p { max-width: 620px; margin: 0; color: var(--muted,#8f8d88); font-size: 12px; line-height: 1.75; }
.customer-inquiry-reference { display: grid; justify-items: end; gap: 6px; flex: 0 0 auto; padding-bottom: 2px; }
.customer-inquiry-reference span, .customer-inquiry-summary-item > span, .customer-inquiry-item-quantity span { color: var(--muted,#8f8d88); font-size: 8px; letter-spacing: .16em; }
.customer-inquiry-reference strong { color: var(--gold,#c9a45c); font: 400 16px/1.3 Georgia,serif; letter-spacing: .05em; }
.customer-inquiry-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 42px; border: 1px solid rgba(201,164,92,.18); border-top: 0; background: rgba(127,127,127,.025); }
.customer-inquiry-summary-item { display: grid; align-content: center; gap: 9px; min-width: 0; min-height: 74px; padding: 13px 18px; border-right: 1px solid rgba(201,164,92,.14); }
.customer-inquiry-summary-item:last-child { border-right: 0; }
.customer-inquiry-summary-item > strong { color: var(--text,#e8e5df); font-size: 12px; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
.customer-inquiry-summary-item > strong.customer-inquiry-status { color: var(--gold,#c9a45c); font-size: 10px; letter-spacing: .04em; }
.customer-inquiry-section { margin: 0 0 45px; }
.customer-inquiry-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 17px; }
.customer-inquiry-section-head h2 { margin: 5px 0 0; font: 400 clamp(22px,2.4vw,29px)/1.2 Georgia,'Times New Roman',serif; }
.customer-inquiry-section-head p { margin: 8px 0 0; color: var(--muted,#8f8d88); font-size: 11px; line-height: 1.6; }
.customer-inquiry-section-head > span { color: var(--muted,#8f8d88); font-size: 10px; white-space: nowrap; }
.customer-inquiry-items { display: grid; gap: 10px; }
.customer-inquiry-item { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; align-items: center; gap: 18px; min-width: 0; padding: 13px; border: 1px solid rgba(201,164,92,.16); background: rgba(127,127,127,.025); }
.customer-inquiry-item-media { position: relative; display: grid; place-items: center; width: 96px; height: 112px; overflow: hidden; border: 1px solid rgba(201,164,92,.16); background: rgba(127,127,127,.06); }
.customer-inquiry-item-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.customer-inquiry-image-fallback { color: var(--gold,#c9a45c); font: 400 20px Georgia,serif; }
.customer-inquiry-photo-letter { position: absolute; left: 7px; bottom: 7px; display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 4px; border: 1px solid rgba(201,164,92,.8); background: rgba(12,13,14,.82); color: #f1d89d; font: 11px Georgia,serif; }
.customer-inquiry-item-detail { min-width: 0; }
.customer-inquiry-item-detail h3 { margin: 6px 0 5px; font: 400 clamp(16px,2vw,21px)/1.35 Georgia,'Times New Roman',serif; overflow-wrap: anywhere; }
.customer-inquiry-item-detail > p { margin: 4px 0 0; color: var(--muted,#8f8d88); font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.customer-inquiry-item-detail .customer-inquiry-shoe-size { color: var(--gold,#c9a45c); }
.customer-inquiry-item-detail .customer-inquiry-item-note { color: inherit; white-space: pre-wrap; }
.customer-inquiry-item-quantity { display: grid; justify-items: end; gap: 6px; white-space: nowrap; }
.customer-inquiry-item-quantity strong { color: var(--gold,#c9a45c); font: 400 22px/1 Georgia,serif; }
.customer-inquiry-notes { margin-top: 12px; padding: 16px 18px; border-left: 2px solid rgba(201,164,92,.65); background: rgba(127,127,127,.04); }
.customer-inquiry-notes p { margin: 8px 0 0; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-inquiry-conversation { padding: clamp(16px,2.8vw,28px); border: 1px solid rgba(201,164,92,.23); background: rgba(127,127,127,.025); }
.customer-inquiry-thread { display: grid; gap: 11px; margin-top: 20px; }
.customer-inquiry-message { min-width: 0; padding: 15px 17px; border: 1px solid rgba(128,128,128,.19); border-left: 2px solid #b9847f; background: rgba(127,127,127,.025); overflow-wrap: anywhere; }
.customer-inquiry-message.is-studio { border-left-color: var(--gold,#c9a45c); }
.customer-inquiry-message-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 14px; margin-bottom: 9px; color: var(--muted,#8f8d88); font-size: 9px; letter-spacing: .08em; }
.customer-inquiry-message-meta strong { color: var(--gold,#c9a45c); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.customer-inquiry-message-body { color: var(--text,#e8e5df); font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-inquiry-pdf-icon { display: inline-grid; place-items: center; flex: 0 0 auto; min-width: 29px; min-height: 30px; border: 1px solid rgba(201,164,92,.35); color: var(--gold,#c9a45c); font-size: 8px; letter-spacing: .05em; }
.customer-inquiry-pdf-name { min-width: 0; }
.customer-inquiry-empty { display: grid; gap: 7px; padding: 24px 18px; border: 1px dashed rgba(201,164,92,.25); color: var(--muted,#8f8d88); font-size: 11px; line-height: 1.6; }
.customer-inquiry-empty strong { color: var(--text,#e8e5df); font-weight: 500; }
.customer-inquiry-reply-panel { margin-top: 25px; padding-top: 22px; border-top: 1px solid rgba(201,164,92,.2); }
.customer-inquiry-reply-form { display: grid; gap: 11px; margin-top: 13px; }
.customer-inquiry-reply-form label { color: var(--muted,#8f8d88); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.customer-inquiry-reply-form textarea { display: block; width: 100%; min-height: 128px; box-sizing: border-box; padding: 13px 14px; border: 1px solid rgba(201,164,92,.28); border-radius: 1px; background: rgba(0,0,0,.07); color: inherit; font: inherit; font-size: 12px; line-height: 1.7; resize: vertical; }
.customer-inquiry-reply-form textarea:focus { outline: 1px solid var(--gold,#c9a45c); border-color: var(--gold,#c9a45c); }
.customer-inquiry-upload-note { margin: 0; color: var(--muted,#8f8d88); font-size: 10px; line-height: 1.6; }
.customer-inquiry-reply-form button { justify-self: start; min-width: 160px; }
.customer-inquiry-closed { margin-top: 22px; padding: 15px; border: 1px solid rgba(128,128,128,.2); color: var(--muted,#8f8d88); font-size: 11px; line-height: 1.6; }
.customer-inquiry-footer-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 22px; }
.customer-inquiry-secondary-link { color: var(--muted,#8f8d88); font-size: 10px; text-decoration: none; }
.customer-inquiry-secondary-link:hover { color: var(--gold,#c9a45c); }
html[data-theme="light"] .customer-inquiry-summary-item > strong { color: #25231f; }
html[data-theme="light"] .customer-inquiry-message-body { color: #26231f; }
html[data-theme="light"] .customer-inquiry-empty strong { color: #25231f; }
html[data-theme="light"] .customer-inquiry-reply-form textarea { background: rgba(255,255,255,.8); color: #171717; }
html[data-theme="light"] .customer-inquiry-item, html[data-theme="light"] .customer-inquiry-conversation { background: rgba(255,255,255,.48); }
@media (max-width: 900px) {
  .customer-inquiry-topbar { grid-template-columns: 1fr auto; row-gap: 12px; min-height: unset; padding: 13px 0; }
  .customer-inquiry-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding: 8px 0 0 53px; border-top: 1px solid rgba(201,164,92,.12); }
  .customer-inquiry-top-actions { grid-column: 2; grid-row: 1; }
  .customer-inquiry-heading { align-items: flex-start; }
  .customer-inquiry-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .customer-inquiry-summary-item:nth-child(2) { border-right: 0; }
  .customer-inquiry-summary-item:nth-child(-n+2) { border-bottom: 1px solid rgba(201,164,92,.14); }
}
@media (max-width: 600px) {
  .site-shell.customer-inquiry-page { width: calc(100% - 24px); }
  .customer-inquiry-main { padding: 25px 0 45px; }
  .customer-inquiry-topbar { gap: 9px; }
  .customer-inquiry-brand img { width: 35px; height: 35px; }
  .customer-inquiry-brand-copy strong { font-size: 10px; }
  .customer-inquiry-brand-copy small { font-size: 7px; letter-spacing: .08em; }
  .customer-inquiry-top-actions { gap: 7px; }
  .customer-inquiry-account { display: none; }
  .customer-inquiry-signout { padding: 8px 9px; font-size: 9px; }
  .customer-inquiry-nav { padding-left: 44px; gap: 19px; }
  .customer-inquiry-heading { display: grid; gap: 17px; }
  .customer-inquiry-reference { justify-items: start; }
  .customer-inquiry-summary { margin-bottom: 32px; }
  .customer-inquiry-summary-item { min-height: 63px; padding: 10px 12px; }
  .customer-inquiry-columns { gap: 8px; }
  .customer-inquiry-item { grid-template-columns: 44px minmax(0,1fr); gap: 7px; padding: 7px; }
  .customer-inquiry-item-media { width: 44px; height: 60px; }
  .customer-inquiry-item-detail h3 { font-size: 13px; line-height: 1.3; }
  .customer-inquiry-item-detail > p { font-size: 9px; }
  .customer-inquiry-item-quantity { grid-column: 1 / -1; justify-self: start; justify-items: start; display: flex; align-items: center; gap: 7px; }
  .customer-inquiry-item-quantity strong { font-size: 17px; }
  .customer-inquiry-section-head h2 { font-size: 18px; }
  .customer-inquiry-section-head p { font-size: 10px; }
  .customer-inquiry-section-head { gap: 7px; }
  .customer-inquiry-section-head > span { font-size: 9px; white-space: normal; text-align: right; }
  .customer-inquiry-conversation { padding: 10px 8px; }
  .customer-inquiry-message-meta { letter-spacing: 0; font-size: 8px; }
  .customer-inquiry-message-meta strong { font-size: 8px; }
  .customer-inquiry-message-body { font-size: 11px; }
  .customer-inquiry-reply-form textarea { min-height: 100px; padding: 9px; font-size: 11px; }
  .customer-inquiry-upload-note { font-size: 9px; }
  .customer-inquiry-reply-form button { min-width: 0; font-size: 10px; }
  .customer-inquiry-section-head { align-items: flex-start; }
  .customer-inquiry-section-head > span { padding-top: 3px; }
  .customer-inquiry-conversation { padding: 14px 11px; }
  .customer-inquiry-message { padding: 12px; }
  .customer-inquiry-footer-actions { align-items: flex-start; flex-direction: column; }
  .customer-inquiry-reply-form button { width: 100%; }
}


/* Customer inquiry conversation layout refinement: 20261011-customer-inquiry-admin-upload-layout-05 */
.site-shell.customer-inquiry-page {
  width: min(100% - 32px, 1340px);
  max-width: 1340px;
  margin: 0 auto;
  padding: 0;
}
.customer-inquiry-topbar {
  display: grid;
  grid-template-columns: minmax(210px,1fr) auto minmax(270px,1fr);
  align-items: center;
  gap: 22px;
  min-height: 86px;
  padding: 12px clamp(0px,1.2vw,18px);
  border-bottom: 1px solid rgba(201,164,92,.23);
}
.customer-inquiry-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: inherit; text-decoration: none; }
.customer-inquiry-brand img { display: block; width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.customer-inquiry-brand-copy { display: grid; gap: 3px; min-width: 0; }
.customer-inquiry-brand-copy strong { font-size: 12px; line-height: 1.1; letter-spacing: .19em; font-weight: 500; }
.customer-inquiry-brand-copy small { color: var(--muted,#8a8985); font-size: 8px; line-height: 1.4; letter-spacing: .13em; }
.customer-inquiry-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px,2.5vw,34px); }
.customer-inquiry-nav a, .customer-inquiry-account, .customer-inquiry-signout { color: var(--muted,#9a9892); font-size: 10px; line-height: 1.5; letter-spacing: .09em; text-decoration: none; white-space: nowrap; transition: color .18s ease, border-color .18s ease; }
.customer-inquiry-nav a:hover, .customer-inquiry-account:hover, .customer-inquiry-signout:hover { color: var(--gold,#c9a45c); }
.customer-inquiry-nav a.is-current { color: var(--gold,#c9a45c); }
.customer-inquiry-top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 13px; min-width: 0; }
.customer-inquiry-top-actions form { margin: 0; }
.customer-inquiry-theme-toggle { width: 36px; height: 36px; min-width: 36px; padding: 7px; }
.customer-inquiry-theme-toggle svg { width: 17px; height: 17px; }
.customer-inquiry-signout { border: 1px solid rgba(201,164,92,.34); background: transparent; padding: 9px 12px; cursor: pointer; }
.customer-inquiry-main { max-width: 1340px; margin: 0 auto; padding: clamp(24px,4vw,50px) 12px 72px; }
.customer-inquiry-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(12px,2vw,28px); }
.customer-inquiry-columns > * { min-width: 0; }
.customer-inquiry-section { margin: 0; min-width: 0; }
.customer-inquiry-conversation { min-width: 0; }
.customer-inquiry-backlink { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--muted,#8f8d88); font-size: 10px; letter-spacing: .08em; text-decoration: none; }
.customer-inquiry-backlink:hover { color: var(--gold,#c9a45c); }
.customer-inquiry-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: 25px; border-bottom: 1px solid rgba(201,164,92,.24); }
.customer-inquiry-heading h1 { margin: 8px 0 10px; font: 400 clamp(31px,4.2vw,49px)/1.08 Georgia,'Times New Roman',serif; letter-spacing: -.025em; }
.customer-inquiry-heading p { max-width: 620px; margin: 0; color: var(--muted,#8f8d88); font-size: 12px; line-height: 1.75; }
.customer-inquiry-reference { display: grid; justify-items: end; gap: 6px; flex: 0 0 auto; padding-bottom: 2px; }
.customer-inquiry-reference span, .customer-inquiry-summary-item > span, .customer-inquiry-item-quantity span { color: var(--muted,#8f8d88); font-size: 8px; letter-spacing: .16em; }
.customer-inquiry-reference strong { color: var(--gold,#c9a45c); font: 400 16px/1.3 Georgia,serif; letter-spacing: .05em; }
.customer-inquiry-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0 0 42px; border: 1px solid rgba(201,164,92,.18); border-top: 0; background: rgba(127,127,127,.025); }
.customer-inquiry-summary-item { display: grid; align-content: center; gap: 9px; min-width: 0; min-height: 74px; padding: 13px 18px; border-right: 1px solid rgba(201,164,92,.14); }
.customer-inquiry-summary-item:last-child { border-right: 0; }
.customer-inquiry-summary-item > strong { color: var(--text,#e8e5df); font-size: 12px; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
.customer-inquiry-summary-item > strong.customer-inquiry-status { color: var(--gold,#c9a45c); font-size: 10px; letter-spacing: .04em; }
.customer-inquiry-section { margin: 0 0 45px; }
.customer-inquiry-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 17px; }
.customer-inquiry-section-head h2 { margin: 5px 0 0; font: 400 clamp(22px,2.4vw,29px)/1.2 Georgia,'Times New Roman',serif; }
.customer-inquiry-section-head p { margin: 8px 0 0; color: var(--muted,#8f8d88); font-size: 11px; line-height: 1.6; }
.customer-inquiry-section-head > span { color: var(--muted,#8f8d88); font-size: 10px; white-space: nowrap; }
.customer-inquiry-items { display: grid; gap: 10px; }
.customer-inquiry-item { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; align-items: center; gap: 18px; min-width: 0; padding: 13px; border: 1px solid rgba(201,164,92,.16); background: rgba(127,127,127,.025); }
.customer-inquiry-item-media { position: relative; display: grid; place-items: center; width: 96px; height: 112px; overflow: hidden; border: 1px solid rgba(201,164,92,.16); background: rgba(127,127,127,.06); }
.customer-inquiry-item-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.customer-inquiry-image-fallback { color: var(--gold,#c9a45c); font: 400 20px Georgia,serif; }
.customer-inquiry-photo-letter { position: absolute; left: 7px; bottom: 7px; display: grid; place-items: center; min-width: 23px; height: 23px; padding: 0 4px; border: 1px solid rgba(201,164,92,.8); background: rgba(12,13,14,.82); color: #f1d89d; font: 11px Georgia,serif; }
.customer-inquiry-item-detail { min-width: 0; }
.customer-inquiry-item-detail h3 { margin: 6px 0 5px; font: 400 clamp(16px,2vw,21px)/1.35 Georgia,'Times New Roman',serif; overflow-wrap: anywhere; }
.customer-inquiry-item-detail > p { margin: 4px 0 0; color: var(--muted,#8f8d88); font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.customer-inquiry-item-detail .customer-inquiry-shoe-size { color: var(--gold,#c9a45c); }
.customer-inquiry-item-detail .customer-inquiry-item-note { color: inherit; white-space: pre-wrap; }
.customer-inquiry-item-quantity { display: grid; justify-items: end; gap: 6px; white-space: nowrap; }
.customer-inquiry-item-quantity strong { color: var(--gold,#c9a45c); font: 400 22px/1 Georgia,serif; }
.customer-inquiry-notes { margin-top: 12px; padding: 16px 18px; border-left: 2px solid rgba(201,164,92,.65); background: rgba(127,127,127,.04); }
.customer-inquiry-notes p { margin: 8px 0 0; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-inquiry-conversation { padding: clamp(16px,2.8vw,28px); border: 1px solid rgba(201,164,92,.23); background: rgba(127,127,127,.025); }
.customer-inquiry-thread { display: grid; gap: 11px; margin-top: 20px; }
.customer-inquiry-message { min-width: 0; padding: 15px 17px; border: 1px solid rgba(128,128,128,.19); border-left: 2px solid #b9847f; background: rgba(127,127,127,.025); overflow-wrap: anywhere; }
.customer-inquiry-message.is-studio { border-left-color: var(--gold,#c9a45c); }
.customer-inquiry-message-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 14px; margin-bottom: 9px; color: var(--muted,#8f8d88); font-size: 9px; letter-spacing: .08em; }
.customer-inquiry-message-meta strong { color: var(--gold,#c9a45c); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.customer-inquiry-message-body { color: var(--text,#e8e5df); font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-inquiry-pdf-icon { display: inline-grid; place-items: center; flex: 0 0 auto; min-width: 29px; min-height: 30px; border: 1px solid rgba(201,164,92,.35); color: var(--gold,#c9a45c); font-size: 8px; letter-spacing: .05em; }
.customer-inquiry-pdf-name { min-width: 0; }
.customer-inquiry-empty { display: grid; gap: 7px; padding: 24px 18px; border: 1px dashed rgba(201,164,92,.25); color: var(--muted,#8f8d88); font-size: 11px; line-height: 1.6; }
.customer-inquiry-empty strong { color: var(--text,#e8e5df); font-weight: 500; }
.customer-inquiry-reply-panel { margin-top: 25px; padding-top: 22px; border-top: 1px solid rgba(201,164,92,.2); }
.customer-inquiry-reply-form { display: grid; gap: 11px; margin-top: 13px; }
.customer-inquiry-reply-form label { color: var(--muted,#8f8d88); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.customer-inquiry-reply-form textarea { display: block; width: 100%; min-height: 128px; box-sizing: border-box; padding: 13px 14px; border: 1px solid rgba(201,164,92,.28); border-radius: 1px; background: rgba(0,0,0,.07); color: inherit; font: inherit; font-size: 12px; line-height: 1.7; resize: vertical; }
.customer-inquiry-reply-form textarea:focus { outline: 1px solid var(--gold,#c9a45c); border-color: var(--gold,#c9a45c); }
.customer-inquiry-upload-note { margin: 0; color: var(--muted,#8f8d88); font-size: 10px; line-height: 1.6; }
.customer-inquiry-reply-form button { justify-self: start; min-width: 160px; }
.customer-inquiry-closed { margin-top: 22px; padding: 15px; border: 1px solid rgba(128,128,128,.2); color: var(--muted,#8f8d88); font-size: 11px; line-height: 1.6; }
.customer-inquiry-footer-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 22px; }
.customer-inquiry-secondary-link { color: var(--muted,#8f8d88); font-size: 10px; text-decoration: none; }
.customer-inquiry-secondary-link:hover { color: var(--gold,#c9a45c); }
html[data-theme="light"] .customer-inquiry-summary-item > strong { color: #25231f; }
html[data-theme="light"] .customer-inquiry-message-body { color: #26231f; }
html[data-theme="light"] .customer-inquiry-empty strong { color: #25231f; }
html[data-theme="light"] .customer-inquiry-reply-form textarea { background: rgba(255,255,255,.8); color: #171717; }
html[data-theme="light"] .customer-inquiry-item, html[data-theme="light"] .customer-inquiry-conversation { background: rgba(255,255,255,.48); }
@media (max-width: 900px) {
  .customer-inquiry-topbar { grid-template-columns: 1fr auto; row-gap: 12px; min-height: unset; padding: 13px 0; }
  .customer-inquiry-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding: 8px 0 0 53px; border-top: 1px solid rgba(201,164,92,.12); }
  .customer-inquiry-top-actions { grid-column: 2; grid-row: 1; }
  .customer-inquiry-heading { align-items: flex-start; }
  .customer-inquiry-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .customer-inquiry-summary-item:nth-child(2) { border-right: 0; }
  .customer-inquiry-summary-item:nth-child(-n+2) { border-bottom: 1px solid rgba(201,164,92,.14); }
}
@media (max-width: 600px) {
  .site-shell.customer-inquiry-page { width: calc(100% - 24px); }
  .customer-inquiry-main { padding: 25px 0 45px; }
  .customer-inquiry-topbar { gap: 9px; }
  .customer-inquiry-brand img { width: 35px; height: 35px; }
  .customer-inquiry-brand-copy strong { font-size: 10px; }
  .customer-inquiry-brand-copy small { font-size: 7px; letter-spacing: .08em; }
  .customer-inquiry-top-actions { gap: 7px; }
  .customer-inquiry-account { display: none; }
  .customer-inquiry-signout { padding: 8px 9px; font-size: 9px; }
  .customer-inquiry-nav { padding-left: 44px; gap: 19px; }
  .customer-inquiry-heading { display: grid; gap: 17px; }
  .customer-inquiry-reference { justify-items: start; }
  .customer-inquiry-summary { margin-bottom: 32px; }
  .customer-inquiry-summary-item { min-height: 63px; padding: 10px 12px; }
  .customer-inquiry-columns { gap: 8px; }
  .customer-inquiry-item { grid-template-columns: 44px minmax(0,1fr); gap: 7px; padding: 7px; }
  .customer-inquiry-item-media { width: 44px; height: 60px; }
  .customer-inquiry-item-detail h3 { font-size: 13px; line-height: 1.3; }
  .customer-inquiry-item-detail > p { font-size: 9px; }
  .customer-inquiry-item-quantity { grid-column: 1 / -1; justify-self: start; justify-items: start; display: flex; align-items: center; gap: 7px; }
  .customer-inquiry-item-quantity strong { font-size: 17px; }
  .customer-inquiry-section-head h2 { font-size: 18px; }
  .customer-inquiry-section-head p { font-size: 10px; }
  .customer-inquiry-section-head { gap: 7px; }
  .customer-inquiry-section-head > span { font-size: 9px; white-space: normal; text-align: right; }
  .customer-inquiry-conversation { padding: 10px 8px; }
  .customer-inquiry-message-meta { letter-spacing: 0; font-size: 8px; }
  .customer-inquiry-message-meta strong { font-size: 8px; }
  .customer-inquiry-message-body { font-size: 11px; }
  .customer-inquiry-reply-form textarea { min-height: 100px; padding: 9px; font-size: 11px; }
  .customer-inquiry-upload-note { font-size: 9px; }
  .customer-inquiry-reply-form button { min-width: 0; font-size: 10px; }
  .customer-inquiry-section-head { align-items: flex-start; }
  .customer-inquiry-section-head > span { padding-top: 3px; }
  .customer-inquiry-conversation { padding: 14px 11px; }
  .customer-inquiry-message { padding: 12px; }
  .customer-inquiry-footer-actions { align-items: flex-start; flex-direction: column; }
  .customer-inquiry-reply-form button { width: 100%; }
}



/* My Inquiries page presentation: 20261011-customer-inquiries-layout-05 */
.site-shell.customer-inquiries-page { width: min(100% - 32px, 1340px); max-width: 1340px; margin: 0 auto; padding: 0; }
.customer-inquiries-page .customer-inquiries-main { max-width: 1200px; padding: clamp(24px,4vw,48px) 12px 68px; }
.customer-inquiries-hero { display: grid; grid-template-columns: minmax(0,1fr) 210px; align-items: end; gap: clamp(20px,4vw,55px); padding: 4px 0 31px; border-bottom: 1px solid rgba(201,164,92,.25); }
.customer-inquiries-hero-copy { min-width: 0; }
.customer-inquiries-hero-copy h1 { margin: 9px 0 12px; color: var(--text,#e8e5df); font: 400 clamp(32px,4.3vw,50px)/1.08 Georgia,'Times New Roman',serif; letter-spacing: -.025em; }
.customer-inquiries-hero-copy h1 em { color: var(--gold,#c9a45c); font-weight: 400; }
.customer-inquiries-hero-copy p { max-width: 650px; margin: 0; color: var(--muted,#8f8d88); font-size: 12px; line-height: 1.8; }
.customer-inquiries-hero-note { display: grid; justify-items: start; align-content: end; gap: 6px; min-height: 104px; padding: 14px 17px; border-left: 1px solid rgba(201,164,92,.5); background: rgba(127,127,127,.035); }
.customer-inquiries-hero-note > strong { color: var(--gold,#c9a45c); font: 400 32px/1 Georgia,'Times New Roman',serif; }
.customer-inquiries-hero-note > span:not(.eyebrow) { color: var(--muted,#8f8d88); font-size: 10px; }
.customer-inquiries-hero-unread { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--gold,#c9a45c); font-size: 10px; line-height: 1.5; }
.customer-inquiry-unread-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--gold,#c9a45c); box-shadow: 0 0 0 3px rgba(201,164,92,.12); }
.customer-inquiries-hero-clear { margin-top: 6px; color: var(--muted,#8f8d88); font-size: 10px; }
.customer-inquiries-section-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 31px 0 15px; }
.customer-inquiries-section-head h2 { margin: 5px 0 0; color: var(--text,#e8e5df); font: 400 clamp(22px,2.6vw,30px)/1.2 Georgia,'Times New Roman',serif; }
.customer-inquiries-section-head > span { color: var(--muted,#8f8d88); font-size: 10px; }
.customer-inquiries-list { display: grid; gap: 11px; }
.customer-inquiries-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; min-width: 0; padding: 19px 21px; border: 1px solid rgba(201,164,92,.19); background: rgba(127,127,127,.025); color: inherit; text-decoration: none; transition: border-color .18s ease,background .18s ease,transform .18s ease; }
.customer-inquiries-card:hover { border-color: rgba(201,164,92,.56); background: rgba(201,164,92,.045); }
.customer-inquiries-card.has-unread { border-left: 2px solid var(--gold,#c9a45c); padding-left: 20px; background: rgba(201,164,92,.035); }
.customer-inquiries-card-main { display: grid; grid-template-columns: minmax(190px,.8fr) minmax(0,1fr); align-items: center; gap: clamp(16px,3vw,36px); min-width: 0; }
.customer-inquiries-card-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.customer-inquiries-card-ref .eyebrow { flex-basis: 100%; }
.customer-inquiries-card-ref > strong { color: var(--gold,#c9a45c); font: 400 17px/1.3 Georgia,'Times New Roman',serif; letter-spacing: .04em; overflow-wrap: anywhere; }
.customer-inquiries-unread { display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid rgba(201,164,92,.45); color: var(--gold,#c9a45c); font-size: 9px; letter-spacing: .03em; white-space: nowrap; }
.customer-inquiries-card-details { display: grid; gap: 8px; min-width: 0; }
.customer-inquiries-card-details > strong { color: var(--text,#e8e5df); font-size: 12px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.customer-inquiries-card-details > span { color: var(--muted,#8f8d88); font-size: 10px; line-height: 1.5; }
.customer-inquiries-card-status { display: grid; justify-items: end; gap: 12px; }
.customer-inquiries-card-open { color: var(--gold,#c9a45c); font-size: 10px; white-space: nowrap; }
.customer-inquiries-card-open span { display: inline-block; margin-left: 5px; transition: transform .18s ease; }
.customer-inquiries-card:hover .customer-inquiries-card-open span { transform: translateX(3px); }
.customer-inquiries-empty { display: grid; justify-items: start; gap: 10px; padding: clamp(22px,4vw,38px); border: 1px dashed rgba(201,164,92,.28); background: rgba(127,127,127,.025); }
.customer-inquiries-empty h2 { margin: 0; color: var(--text,#e8e5df); font: 400 25px/1.25 Georgia,'Times New Roman',serif; }
.customer-inquiries-empty p { max-width: 620px; margin: 0 0 5px; color: var(--muted,#8f8d88); font-size: 12px; line-height: 1.8; }
.customer-inquiries-empty .primary { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.customer-inquiries-privacy-note { display: flex; align-items: center; gap: 8px; margin: 23px 0 0; color: var(--muted,#8f8d88); font-size: 10px; line-height: 1.5; }
.customer-inquiries-privacy-note span { color: var(--gold,#c9a45c); font-size: 8px; }
html[data-theme="light"] .customer-inquiries-hero-copy h1, html[data-theme="light"] .customer-inquiries-section-head h2, html[data-theme="light"] .customer-inquiries-empty h2 { color: #211f1b; }
html[data-theme="light"] .customer-inquiries-card { background: rgba(255,255,255,.55); border-color: rgba(70,56,33,.16); }
html[data-theme="light"] .customer-inquiries-card.has-unread { background: rgba(201,164,92,.07); border-left-color: #9a6d1d; }
html[data-theme="light"] .customer-inquiries-card-details > strong { color: #24211c; }
html[data-theme="light"] .customer-inquiries-empty { background: rgba(255,255,255,.55); border-color: rgba(70,56,33,.25); }
html[data-theme="light"] .customer-inquiries-hero-note { background: rgba(255,255,255,.6); }
@media(max-width:900px) {
  .customer-inquiries-page .customer-inquiries-main { padding-top: 29px; }
  .customer-inquiries-card-main { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 18px; }
  .customer-inquiries-card { gap: 16px; padding: 16px; }
  .customer-inquiries-card.has-unread { padding-left: 15px; }
}
@media(max-width:640px) {
  .site-shell.customer-inquiries-page { width: calc(100% - 24px); }
  .customer-inquiries-page .customer-inquiries-main { padding: 23px 0 44px; }
  .customer-inquiries-hero { grid-template-columns: minmax(0,1fr); gap: 19px; padding-bottom: 23px; }
  .customer-inquiries-hero-note { grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 5px 10px; min-height: auto; padding: 12px 14px; }
  .customer-inquiries-hero-note > .eyebrow { grid-column: 1/-1; }
  .customer-inquiries-hero-note > strong { font-size: 25px; }
  .customer-inquiries-hero-note > span:not(.eyebrow) { align-self: center; }
  .customer-inquiries-hero-unread,.customer-inquiries-hero-clear { grid-column: 1/-1; margin-top: 2px; }
  .customer-inquiries-section-head { margin-top: 25px; }
  .customer-inquiries-card { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 15px; }
  .customer-inquiries-card.has-unread { padding-left: 14px; }
  .customer-inquiries-card-main { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .customer-inquiries-card-ref { gap: 7px 10px; }
  .customer-inquiries-card-ref > strong { font-size: 16px; }
  .customer-inquiries-card-details { padding-top: 12px; border-top: 1px solid rgba(201,164,92,.13); }
  .customer-inquiries-card-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; justify-items: initial; flex-wrap: wrap; }
  .customer-inquiries-card-open { white-space: normal; }
  .customer-inquiries-empty h2 { font-size: 22px; }
}



/* Final light/dark contrast pass for inquiry, inbox, and quote attachment screens: 20261011-inquiry-theme-contrast-05 */
html[data-theme="dark"] .customer-inquiry-nav a,
html[data-theme="dark"] .customer-inquiry-account,
html[data-theme="dark"] .customer-inquiry-signout { color: #c5c1b8; }
html[data-theme="dark"] .customer-inquiry-nav a.is-current,
html[data-theme="dark"] .customer-inquiry-nav a:hover,
html[data-theme="dark"] .customer-inquiry-account:hover,
html[data-theme="dark"] .customer-inquiry-signout:hover { color: #e3c477; }
html[data-theme="dark"] .customer-inquiry-heading h1,
html[data-theme="dark"] .customer-inquiry-section-head h2,
html[data-theme="dark"] .customer-inquiry-item-detail h3,
html[data-theme="dark"] .customer-inquiries-hero-copy h1,
html[data-theme="dark"] .customer-inquiries-section-head h2 { color: #eee9df; }
html[data-theme="dark"] .customer-inquiry-heading p,
html[data-theme="dark"] .customer-inquiry-section-head p,
html[data-theme="dark"] .customer-inquiry-item-detail > p,
html[data-theme="dark"] .customer-inquiry-message-meta,
html[data-theme="dark"] .customer-inquiry-upload-note,
html[data-theme="dark"] .customer-inquiries-hero-copy p,
html[data-theme="dark"] .customer-inquiries-card-details > span,
html[data-theme="dark"] .customer-inquiries-privacy-note { color: #b6b1a7; }
html[data-theme="dark"] .customer-inquiry-item,
html[data-theme="dark"] .customer-inquiry-conversation,
html[data-theme="dark"] .customer-inquiries-card,
html[data-theme="dark"] .customer-inquiries-hero-note,
html[data-theme="dark"] .customer-inquiries-empty { background: rgba(21,22,23,.72); }
html[data-theme="dark"] .customer-inquiry-reply-form textarea { background: #17191a; color: #f0eee8; border-color: rgba(201,164,92,.45); }
html[data-theme="dark"] .customer-inquiry-message { background: rgba(18,19,20,.8); border-color: rgba(201,164,92,.2); color: #ebe7df; }
html[data-theme="dark"] .customer-inquiry-message-body,
html[data-theme="dark"] .customer-inquiry-empty strong { color: #ebe7df; }
html[data-theme="light"] .customer-inquiry-nav a,
html[data-theme="light"] .customer-inquiry-account,
html[data-theme="light"] .customer-inquiry-signout { color: #5a5348; }
html[data-theme="light"] .customer-inquiry-nav a.is-current,
html[data-theme="light"] .customer-inquiry-nav a:hover,
html[data-theme="light"] .customer-inquiry-account:hover,
html[data-theme="light"] .customer-inquiry-signout:hover { color: #785613; }
html[data-theme="light"] .customer-inquiry-heading h1,
html[data-theme="light"] .customer-inquiry-section-head h2,
html[data-theme="light"] .customer-inquiry-item-detail h3,
html[data-theme="light"] .customer-inquiries-hero-copy h1,
html[data-theme="light"] .customer-inquiries-section-head h2 { color: #201e1a; }
html[data-theme="light"] .customer-inquiry-heading p,
html[data-theme="light"] .customer-inquiry-section-head p,
html[data-theme="light"] .customer-inquiry-item-detail > p,
html[data-theme="light"] .customer-inquiry-message-meta,
html[data-theme="light"] .customer-inquiry-upload-note,
html[data-theme="light"] .customer-inquiries-hero-copy p,
html[data-theme="light"] .customer-inquiries-card-details > span,
html[data-theme="light"] .customer-inquiries-privacy-note { color: #5d574d; }
html[data-theme="light"] .customer-inquiry-reference strong,
html[data-theme="light"] .customer-inquiries-card-ref > strong { color: #76530e; }
html[data-theme="light"] .customer-inquiry-item,
html[data-theme="light"] .customer-inquiry-conversation,
html[data-theme="light"] .customer-inquiries-card,
html[data-theme="light"] .customer-inquiries-empty { background: rgba(255,255,255,.88); border-color: rgba(70,56,33,.2); }
html[data-theme="light"] .customer-inquiry-reply-form textarea { background: #fff; color: #1b1916; border-color: rgba(91,70,35,.38); }
html[data-theme="light"] .customer-inquiry-message { background: #fff; border-color: rgba(70,56,33,.2); color: #24211c; }
html[data-theme="light"] .customer-inquiry-message-body,
html[data-theme="light"] .customer-inquiry-empty strong { color: #24211c; }

/* Uploaded quote controls and downloads must stay legible in either theme. */
.inquiry-attachment-download { align-items: center; line-height: 1.45; overflow-wrap: anywhere; }
.inquiry-attachment-download:focus-visible,
.customer-inquiry-nav a:focus-visible,
.customer-inquiry-account:focus-visible,
.customer-inquiry-signout:focus-visible,
.customer-inquiries-card:focus-visible { outline: 2px solid var(--gold,#c9a45c); outline-offset: 3px; }
.inquiry-upload-help { display: block; margin-top: 4px; color: var(--muted,#858585); font-size: 10px; line-height: 1.5; }
html[data-theme="dark"] .inquiry-attachment-download { color: #e5c577; border-color: rgba(229,197,119,.48); background: rgba(229,197,119,.06); }
html[data-theme="light"] .inquiry-attachment-download { color: #65480d; border-color: rgba(101,72,13,.36); background: rgba(201,164,92,.07); }
html[data-theme="dark"] .inquiry-upload-help { color: #c0bbb0; }
html[data-theme="light"] .inquiry-upload-help { color: #575045; }
html[data-theme="light"] .inquiry-unread-badge,
html[data-theme="light"] .inquiry-unread-label { color: #65480d; background: rgba(201,164,92,.13); border-color: rgba(101,72,13,.42); }
html[data-theme="dark"] .inquiry-unread-badge,
html[data-theme="dark"] .inquiry-unread-label { color: #f0d48f; background: rgba(201,164,92,.14); border-color: rgba(240,212,143,.5); }

/* Admin inquiry conversation and upload controls. */
html[data-theme="dark"] .admin-inquiry-message { background: rgba(20,22,23,.8); border-color: rgba(201,164,92,.23); color: #ebe7df; }
html[data-theme="dark"] .admin-inquiry-message-body { color: #ebe7df; }
html[data-theme="dark"] .admin-inquiry-message-meta { color: #beb8ac; }
html[data-theme="dark"] .admin-inquiry-message-form label { color: #d1c8b8; }
html[data-theme="dark"] .admin-inquiry-message-form textarea,
html[data-theme="dark"] .admin-inquiry-message-form input[type="file"] { color: #eee9df; border-color: rgba(201,164,92,.4); background-color: rgba(15,16,17,.82); }
html[data-theme="light"] .admin-inquiry-message { background: rgba(255,255,255,.96); border-color: rgba(70,56,33,.2); color: #24211c; }
html[data-theme="light"] .admin-inquiry-message-body { color: #24211c; }
html[data-theme="light"] .admin-inquiry-message-meta { color: #5d574d; }
html[data-theme="light"] .admin-inquiry-message-form label { color: #51493d; }
html[data-theme="light"] .admin-inquiry-message-form textarea,
html[data-theme="light"] .admin-inquiry-message-form input[type="file"] { color: #1b1916; border-color: rgba(91,70,35,.38); background-color: #fff; }
html[data-theme="light"] .admin-inquiry-attachment,
html[data-theme="light"] .admin-inquiry-message-form .inquiry-upload-help { color: #51493d; }

/* TCROWN PRODUCT MAGNIFIER + AUDIENCE SHOE SIZING 20261012 */
.product-main .gallery-image { position: relative; overflow: hidden; }
.product-main .gallery-image > img { transform: scale(1); transform-origin: 50% 50%; transition: transform 150ms ease; will-change: transform; }
.product-main .gallery-image.is-magnifier-active { cursor: zoom-in; }
.product-main .gallery-image.is-magnifier-active > img { transform: scale(2); }
.product-main .main-image-magnifier {
  position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; place-items: center;
  width: 34px; height: 34px; box-sizing: border-box; border: 1px solid rgba(212,175,99,.82);
  border-radius: 50%; color: #f0d28d; background: rgba(14,16,18,.78);
  box-shadow: 0 3px 12px rgba(0,0,0,.22); pointer-events: none; opacity: .9;
  transition: opacity 150ms ease, background 150ms ease;
}
.product-main .main-image-magnifier svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-main .gallery-image:hover .main-image-magnifier { opacity: 1; background: rgba(14,16,18,.93); }
#lightbox-image { transform: scale(1); transform-origin: 50% 50%; transition: transform 160ms ease, transform-origin 100ms linear; cursor: zoom-in; touch-action: pan-y; }
#lightbox-image.is-zoomed { transform: scale(2); cursor: zoom-out; touch-action: none; }
html[data-theme="light"] .product-main .main-image-magnifier { color: #66470b; border-color: #9b7428; background: rgba(255,253,247,.94); box-shadow: 0 3px 12px rgba(48,36,16,.16); }
html[data-theme="light"] .product-main .gallery-image:hover .main-image-magnifier { background: #fffaf0; }
@media (hover: none), (pointer: coarse) {
  .product-main .main-image-magnifier { width: 36px; height: 36px; opacity: 1; }
  .product-main .gallery-image > img { transition-duration: 180ms; }
}
@media (prefers-reduced-motion: reduce) {
  .product-main .gallery-image > img, #lightbox-image, .product-main .main-image-magnifier { transition: none !important; }
}

/* TCROWN CLOSE BUTTON + MAGNIFIER POSITION FIX 20261012 */
/* Keep the magnifier in the lower-left corner of every product photo. */
.product-main .gallery-image > .main-image-magnifier {
  top: auto !important;
  right: auto !important;
  bottom: 10px !important;
  left: 10px !important;
  z-index: 4;
}


/* TCROWN BRAND AUDIENCE FILTERS 2026-10-14 */
.catalog-shell .brand-audience-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 2px;
  padding: 2px 1px 5px;
}
.catalog-shell .brand-audience-nav .catalog-filter-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(212,175,99,.30);
  border-radius: 3px;
  background: rgba(255,255,255,.025);
  color: #d4d0c6;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.2;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.catalog-shell .brand-audience-nav .catalog-filter-button small {
  margin-left: 5px;
  color: inherit;
  font-size: 9px;
  opacity: .72;
  font-variant-numeric: tabular-nums;
}
.catalog-shell .brand-audience-nav .catalog-filter-button:hover {
  border-color: rgba(212,175,99,.78);
  background: rgba(212,175,99,.08);
  color: #f4d797;
}
.catalog-shell .brand-audience-nav .catalog-filter-button.is-active {
  border-color: #e8c777;
  background: linear-gradient(135deg, #f0d797 0%, #d4af63 58%, #bd9347 100%);
  color: #211a0d;
  box-shadow: 0 3px 12px rgba(212,175,99,.16), inset 0 1px rgba(255,255,255,.42);
  font-weight: 900;
}
.catalog-shell .brand-audience-nav .catalog-filter-button.is-active small { color: #211a0d; opacity: .78; }
.catalog-shell .brand-audience-nav .catalog-filter-button:focus-visible {
  outline: 2px solid var(--gold, #d4af63);
  outline-offset: 3px;
}
/* Audience filtering is independent of the category script's native hidden state. */
.catalog-filter-grid [data-filter-audience][data-audience-hidden="true"] { display: none !important; }
.catalog-audience-empty {
  margin: 20px 0 30px;
  padding: 22px 16px;
  border: 1px solid rgba(212,175,99,.28);
  color: var(--muted, #99958c);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}
.catalog-audience-empty[hidden] { display: none !important; }
html[data-theme="light"] .catalog-shell .brand-audience-nav .catalog-filter-button {
  border-color: rgba(103,78,35,.28);
  background: #fffdf8;
  color: #494239;
}
html[data-theme="light"] .catalog-shell .brand-audience-nav .catalog-filter-button:hover {
  border-color: #a47b29;
  background: #f7efdE;
  color: #382807;
}
html[data-theme="light"] .catalog-shell .brand-audience-nav .catalog-filter-button.is-active {
  border-color: #8d6417;
  background: linear-gradient(135deg, #ead08e 0%, #c9a04f 100%);
  color: #211a0d;
  box-shadow: 0 3px 12px rgba(132,98,34,.12), inset 0 1px rgba(255,255,255,.55);
}
html[data-theme="light"] .catalog-audience-empty {
  border-color: rgba(132,98,34,.28);
  background: #fffdf8;
  color: #61594c;
}
@media (max-width: 700px) {
  .catalog-shell .brand-audience-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 2px 1px 8px;
  }
  .catalog-shell .brand-audience-nav .catalog-filter-button { min-height: 35px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-shell .brand-audience-nav .catalog-filter-button { transition: none; }
}


/* TCROWN BRAND STICKY GLASS FILTER PANEL 2026-10-14 */
.catalog-filter-page .brand-sticky-filter-panel {
  position: sticky;
  top: 8px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 14px 0 22px;
  padding: 11px 12px 7px;
  border: 1px solid rgba(212, 175, 99, .27);
  border-radius: 7px;
  background: rgba(27, 29, 31, .86);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .16),
    inset 0 1px rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav {
  margin: 0;
  padding: 0 1px 3px;
}

.catalog-filter-page .brand-sticky-filter-panel .brand-category-nav {
  margin: 0;
  padding: 0 1px 3px;
}

html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel {
  border-color: rgba(132, 98, 34, .26);
  background: rgba(255, 253, 248, .88);
  box-shadow:
    0 10px 28px rgba(55, 42, 20, .10),
    inset 0 1px rgba(255, 255, 255, .8);
}

@media (max-width: 700px) {
  .catalog-filter-page .brand-sticky-filter-panel {
    top: 5px;
    gap: 4px;
    margin: 10px 0 17px;
    padding: 9px 9px 5px;
    border-radius: 6px;
  }

  .catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav,
  .catalog-filter-page .brand-sticky-filter-panel .brand-category-nav {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-filter-page .brand-sticky-filter-panel {
    scroll-behavior: auto;
  }
}


/* TCROWN SOCIAL CAROUSEL TOPBAR REFINEMENT 20261017 */
.social-carousel-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  height: auto;
  min-height: 68px;
  padding: 10px clamp(16px, 4vw, 56px);
}

.social-carousel-topbar > .back-link {
  justify-self: start;
  min-width: 0;
  white-space: nowrap;
}

.social-carousel-topbar > .wordmark {
  justify-self: center;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.social-carousel-topbar > form {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  gap: 0;
}

.social-carousel-topbar > form .ghost {
  padding: 9px 0 9px 10px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .social-carousel-topbar {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 7px;
    min-height: 60px;
    padding: 9px 12px;
  }

  .social-carousel-topbar > .back-link {
    font-size: 8px;
    letter-spacing: .07em;
  }

  .social-carousel-topbar > .wordmark {
    font-size: clamp(7px, 2.4vw, 9px);
    letter-spacing: .05em;
  }

  .social-carousel-topbar > form .ghost {
    padding: 8px 0 8px 5px;
    font-size: 8px;
    letter-spacing: .07em;
  }
}

@media (max-width: 350px) {
  .social-carousel-topbar {
    gap: 4px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .social-carousel-topbar > .back-link,
  .social-carousel-topbar > form .ghost {
    font-size: 7px;
    letter-spacing: .03em;
  }
}

/* TCROWN FIX: CATEGORY DROPDOWN ABOVE BRAND FILTER */
.catalog-filter-page > .customer-topbar {
  position: relative !important;
  z-index: 10001 !important;
}
/* TCROWN SOCIAL CAMPAIGN PUBLISHER 2026-10-17 */
.social-campaign-publish-panel {
  margin-top: 1.25rem;
  scroll-margin-top: 1rem;
}
.social-campaign-publish-grid {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.5fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}
.social-campaign-metadata-fields {
  display: grid;
  align-content: start;
  gap: .9rem;
  min-width: 0;
}
.social-campaign-preview-column { min-width: 0; }
.social-campaign-canvas-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(212,175,99,.42);
  border-radius: 12px;
  background: #202326;
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}
.social-campaign-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
}
.social-campaign-publish-panel .social-carousel-hint { line-height: 1.55; }
.social-campaign-publication-row,
.social-campaign-rollback-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212,175,99,.2);
}
.social-campaign-publication-copy { min-width: 0; flex: 1 1 auto; }
.social-campaign-publication-copy p {
  margin: .4rem 0 0;
  color: var(--text-muted, #b9b5ae);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.social-campaign-publish-button { flex: 0 0 auto; min-height: 46px; }
.social-campaign-rollback-row .social-carousel-field { flex: 1 1 auto; min-width: 0; }
.social-campaign-publish-status { margin-top: .8rem; min-height: 1.3em; }
.social-campaign-publish-status.is-success { color: #9fd6ad; }
.social-campaign-publish-status.is-error { color: #ed9991; }
@media (max-width: 820px) {
  .social-campaign-publish-grid { grid-template-columns: minmax(0, 1fr); }
  .social-campaign-publish-button { width: 100%; }
  .social-campaign-publication-row { align-items: stretch; flex-direction: column; }
}
@media (max-width: 560px) {
  .social-campaign-rollback-row { align-items: stretch; flex-direction: column; }
  .social-campaign-rollback-row .social-carousel-action { width: 100%; }
}


/* ===== REGISTRATION AUTOMATIC PROVISIONING TOGGLE ===== */
.registration-provisioning-panel{margin-bottom:1rem}
.provisioning-status{display:inline-flex;align-items:center;justify-content:center;min-width:52px;padding:8px 11px;border:1px solid rgba(255,255,255,.16);font-size:9px;font-weight:800;letter-spacing:.15em}
.provisioning-status.is-enabled{border-color:rgba(212,175,99,.55);color:var(--gold)}
.provisioning-status.is-disabled{color:var(--muted)}
.provisioning-description{max-width:760px;margin:0 0 20px;color:var(--muted);font-size:11px;line-height:1.8}
.provisioning-toggle-form{border-top:1px solid rgba(255,255,255,.08);padding-top:17px}
.provisioning-switch-row{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer}
.provisioning-switch-copy{display:grid;gap:6px}
.provisioning-switch-copy strong{font-size:11px;font-weight:600;color:var(--cream)}
.provisioning-switch-copy small{font-size:10px;line-height:1.6;color:var(--muted)}
.provisioning-switch{position:relative;display:inline-flex;flex:0 0 auto;width:48px;height:27px}
.provisioning-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:2}
.provisioning-switch-track{position:absolute;inset:0;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);transition:background .2s,border-color .2s}
.provisioning-switch-track:after{content:"";position:absolute;left:3px;top:3px;width:19px;height:19px;background:#777;transition:transform .2s,background .2s}
.provisioning-switch input:checked+.provisioning-switch-track{border-color:rgba(212,175,99,.7);background:rgba(212,175,99,.17)}
.provisioning-switch input:checked+.provisioning-switch-track:after{transform:translateX(21px);background:var(--gold)}
.provisioning-switch input:focus-visible+.provisioning-switch-track{outline:2px solid var(--gold);outline-offset:4px}
.provisioning-save-row{display:flex;justify-content:flex-end;margin-top:17px}
@media(max-width:600px){.provisioning-switch-row{gap:12px}.provisioning-description{font-size:10px}}



/* TCrown shop pagination styling 20261019 */
.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  margin: 28px 0 36px;
  padding: 18px 0;
  border-top: 1px solid rgba(212,175,99,.28);
  color: var(--text-muted, #c5c0b5);
}
.catalog-pagination__summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.catalog-pagination__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.catalog-pagination__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(212,175,99,.55);
  border-radius: 999px;
  color: var(--text, #f5f0e8);
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
}
.catalog-pagination__link:hover {
  border-color: #e3c17f;
  background: rgba(212,175,99,.1);
}
.catalog-pagination__link.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}
.catalog-pagination__position {
  padding: 0 5px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 540px) {
  .catalog-pagination {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-pagination__controls {
    justify-content: space-between;
  }
}

/* TCROWN BRAND PAGINATION 150 2026-10-19 */
.catalog-shell .catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 24px 0 36px;
  padding: 14px 16px;
  border: 1px solid var(--border, rgba(190, 155, 90, .35));
  border-radius: 14px;
}
.catalog-shell .catalog-pagination__summary {
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  opacity: .9;
}
.catalog-shell .catalog-pagination__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-shell .catalog-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .catalog-shell .catalog-pagination {
    align-items: stretch;
    flex-direction: column;
  }
  .catalog-shell .catalog-pagination__links {
    justify-content: flex-start;
  }
}


/* TCROWN_CATALOG_PAGINATION_BACK_TO_TOP_V1
   Accessible pagination and Back to Top controls.
*/

/* Pagination: readable defaults for dark theme. */
.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1.5rem auto;
    padding: 0.85rem;
    color: #f8fafc;
}

.catalog-pagination a,
.catalog-pagination button,
.catalog-pagination [role="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid #8c7950;
    border-radius: 0.55rem;
    background: #20242b;
    color: #fff8e7;
    font: inherit;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.catalog-pagination a:hover,
.catalog-pagination button:hover,
.catalog-pagination [role="button"]:hover {
    border-color: #e5bd65;
    background: #393127;
    color: #fff;
}

.catalog-pagination a:focus-visible,
.catalog-pagination button:focus-visible,
.catalog-pagination [role="button"]:focus-visible {
    outline: 3px solid #e5bd65;
    outline-offset: 3px;
}

.catalog-pagination [aria-current="page"],
.catalog-pagination .active,
.catalog-pagination .current,
.catalog-pagination button[aria-current="true"] {
    border-color: #c9a24f;
    background: #c9a24f;
    color: #171717;
    font-weight: 800;
}

.catalog-pagination [disabled],
.catalog-pagination .disabled,
.catalog-pagination [aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Light theme: force high-contrast text and surfaces. */
html[data-theme="light"] .catalog-pagination,
body[data-theme="light"] .catalog-pagination,
html.light .catalog-pagination,
body.light .catalog-pagination,
.theme-light .catalog-pagination,
[data-bs-theme="light"] .catalog-pagination {
    color: #202124;
}

html[data-theme="light"] .catalog-pagination a,
html[data-theme="light"] .catalog-pagination button,
html[data-theme="light"] .catalog-pagination [role="button"],
body[data-theme="light"] .catalog-pagination a,
body[data-theme="light"] .catalog-pagination button,
body[data-theme="light"] .catalog-pagination [role="button"],
html.light .catalog-pagination a,
html.light .catalog-pagination button,
html.light .catalog-pagination [role="button"],
body.light .catalog-pagination a,
body.light .catalog-pagination button,
body.light .catalog-pagination [role="button"],
.theme-light .catalog-pagination a,
.theme-light .catalog-pagination button,
.theme-light .catalog-pagination [role="button"],
[data-bs-theme="light"] .catalog-pagination a,
[data-bs-theme="light"] .catalog-pagination button,
[data-bs-theme="light"] .catalog-pagination [role="button"] {
    border-color: #a18a58;
    background: #fff;
    color: #242424;
    box-shadow: 0 1px 3px rgb(0 0 0 / 9%);
}

html[data-theme="light"] .catalog-pagination a:hover,
html[data-theme="light"] .catalog-pagination button:hover,
html[data-theme="light"] .catalog-pagination [role="button"]:hover,
body[data-theme="light"] .catalog-pagination a:hover,
body[data-theme="light"] .catalog-pagination button:hover,
body[data-theme="light"] .catalog-pagination [role="button"]:hover,
html.light .catalog-pagination a:hover,
html.light .catalog-pagination button:hover,
html.light .catalog-pagination [role="button"]:hover,
body.light .catalog-pagination a:hover,
body.light .catalog-pagination button:hover,
body.light .catalog-pagination [role="button"]:hover,
.theme-light .catalog-pagination a:hover,
.theme-light .catalog-pagination button:hover,
.theme-light .catalog-pagination [role="button"]:hover,
[data-bs-theme="light"] .catalog-pagination a:hover,
[data-bs-theme="light"] .catalog-pagination button:hover,
[data-bs-theme="light"] .catalog-pagination [role="button"]:hover {
    border-color: #82631e;
    background: #f4ead2;
    color: #171717;
}

html[data-theme="light"] .catalog-pagination [aria-current="page"],
html[data-theme="light"] .catalog-pagination .active,
html[data-theme="light"] .catalog-pagination .current,
body[data-theme="light"] .catalog-pagination [aria-current="page"],
body[data-theme="light"] .catalog-pagination .active,
body[data-theme="light"] .catalog-pagination .current,
html.light .catalog-pagination [aria-current="page"],
html.light .catalog-pagination .active,
html.light .catalog-pagination .current,
body.light .catalog-pagination [aria-current="page"],
body.light .catalog-pagination .active,
body.light .catalog-pagination .current,
.theme-light .catalog-pagination [aria-current="page"],
.theme-light .catalog-pagination .active,
.theme-light .catalog-pagination .current,
[data-bs-theme="light"] .catalog-pagination [aria-current="page"],
[data-bs-theme="light"] .catalog-pagination .active,
[data-bs-theme="light"] .catalog-pagination .current {
    border-color: #82631e;
    background: #f0d99e;
    color: #171717;
}

/* Fixed, theme-aware Back to Top control. */
#tcrown-catalog-back-to-top {
    position: fixed;
    z-index: 9990;
    right: max(1.1rem, env(safe-area-inset-right));
    bottom: max(1.1rem, env(safe-area-inset-bottom));
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9a24f;
    border-radius: 50%;
    background: rgb(27 29 33 / 94%);
    color: #f4d58a;
    box-shadow: 0 5px 22px rgb(0 0 0 / 24%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.6rem);
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        visibility 180ms ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#tcrown-catalog-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#tcrown-catalog-back-to-top:hover {
    background: #c9a24f;
    color: #171717;
    box-shadow: 0 7px 26px rgb(0 0 0 / 28%);
}

#tcrown-catalog-back-to-top:focus-visible {
    outline: 3px solid #c9a24f;
    outline-offset: 4px;
}

#tcrown-catalog-back-to-top svg {
    display: block;
    width: 1.45rem;
    height: 1.45rem;
    flex: none;
}

html[data-theme="light"] #tcrown-catalog-back-to-top,
body[data-theme="light"] #tcrown-catalog-back-to-top,
html.light #tcrown-catalog-back-to-top,
body.light #tcrown-catalog-back-to-top,
.theme-light #tcrown-catalog-back-to-top,
[data-bs-theme="light"] #tcrown-catalog-back-to-top {
    border-color: #92702a;
    background: rgb(255 255 255 / 96%);
    color: #654b12;
    box-shadow: 0 5px 22px rgb(0 0 0 / 16%);
}

html[data-theme="light"] #tcrown-catalog-back-to-top:hover,
body[data-theme="light"] #tcrown-catalog-back-to-top:hover,
html.light #tcrown-catalog-back-to-top:hover,
body.light #tcrown-catalog-back-to-top:hover,
.theme-light #tcrown-catalog-back-to-top:hover,
[data-bs-theme="light"] #tcrown-catalog-back-to-top:hover {
    background: #f0d99e;
    color: #171717;
}

@media (max-width: 600px) {
    .catalog-pagination {
        gap: 0.35rem;
        padding: 0.65rem 0.35rem;
    }

    .catalog-pagination a,
    .catalog-pagination button,
    .catalog-pagination [role="button"] {
        min-width: 2.35rem;
        min-height: 2.35rem;
        padding: 0.45rem 0.6rem;
    }

    #tcrown-catalog-back-to-top {
        right: max(0.8rem, env(safe-area-inset-right));
        bottom: max(0.8rem, env(safe-area-inset-bottom));
        width: 3rem;
        height: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #tcrown-catalog-back-to-top,
    .catalog-pagination a,
    .catalog-pagination button,
    .catalog-pagination [role="button"] {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* TCROWN_CATALOG_BACK_TO_TOP_POSITION_FIX_20261019
   Lift the Back to Top button above the bottom journey navigation.
*/
#tcrown-catalog-back-to-top {
    bottom: calc(max(1.1rem, env(safe-area-inset-bottom)) + 5rem);
}

@media (max-width: 600px) {
    #tcrown-catalog-back-to-top {
        bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 5rem);
    }
}


/* TCROWN SHOP BRAND CATALOG REDESIGN CSS 20261019 V1 */
/* Compact /shop heading with prominent brand selector and product search. */
.catalog-filter-page.taxonomy-page .taxonomy-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) !important;
  align-items: end !important;
  gap: clamp(18px, 3vw, 36px) !important;
  min-height: 0 !important;
  margin: 0 0 17px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--line, rgba(212,175,99,.22));
}
.catalog-filter-page.taxonomy-page .taxonomy-title-block { min-width: 0; }
.catalog-filter-page.taxonomy-page .taxonomy-title-block .eyebrow {
  margin: 0 0 9px !important;
  font-size: 9px !important;
  letter-spacing: .24em !important;
}
.catalog-filter-page.taxonomy-page .taxonomy-title-block h1 {
  margin: 0 !important;
  max-width: 900px;
  font: 400 clamp(42px, 5.6vw, 78px)/.94 Georgia, "Times New Roman", serif !important;
  letter-spacing: -.04em !important;
  color: var(--cream, #f2ede3) !important;
}
.catalog-filter-page.taxonomy-page .taxonomy-selection-label {
  margin: 9px 0 0 !important;
  max-width: 620px;
  color: var(--muted, #a8aaa9) !important;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: .01em;
  text-transform: none;
}
.catalog-filter-page.taxonomy-page .taxonomy-heading-tools {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.catalog-filter-page.taxonomy-page .catalog-brand-filter {
  display: grid !important;
  width: 100% !important;
  gap: 6px;
  margin: 0 !important;
  overflow: visible !important;
}
.catalog-filter-page.taxonomy-page .catalog-brand-filter::after { display: none !important; }
.catalog-filter-page.taxonomy-page .catalog-control-label,
.catalog-filter-page.taxonomy-page .catalog-product-search-label {
  display: block;
  margin: 0;
  color: #d4af63;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.catalog-filter-page.taxonomy-page .catalog-brand-filter select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 42px 11px 14px;
  border: 1px solid rgba(212,175,99,.62);
  border-radius: 9px;
  background-color: #191c1f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23d4af63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12), inset 0 1px rgba(255,255,255,.035);
  color: #fff4d9;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: none;
  color-scheme: dark;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.catalog-filter-page.taxonomy-page .catalog-brand-filter select:hover {
  border-color: #e6c77b;
  background-color: #22252a;
  box-shadow: 0 0 0 1px rgba(212,175,99,.12), 0 7px 20px rgba(0,0,0,.15);
}
.catalog-filter-page.taxonomy-page .catalog-brand-filter select:focus,
.catalog-filter-page.taxonomy-page .catalog-brand-filter select:focus-visible {
  outline: 3px solid rgba(212,175,99,.42);
  outline-offset: 3px;
  border-color: #e8c777;
}
.catalog-filter-page.taxonomy-page .catalog-brand-filter select option {
  background: #202326;
  color: #f2ede3;
}
.catalog-product-search {
  display: grid !important;
  gap: 6px !important;
  margin: 0 !important;
  min-width: 0;
}
.catalog-product-search-label { color: var(--muted, #a8aaa9) !important; }
.catalog-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  min-width: 0;
}
.catalog-search-row input[type="search"] {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(212,175,99,.34);
  border-radius: 8px;
  background: #17191b;
  color: #f2ede3;
  font-size: 12px;
  letter-spacing: .01em;
  text-transform: none;
  color-scheme: dark;
}
.catalog-search-row input[type="search"]::placeholder { color: #aaa59a; opacity: .85; }
.catalog-search-row input[type="search"]:hover { border-color: rgba(212,175,99,.7); }
.catalog-search-row input[type="search"]:focus,
.catalog-search-row input[type="search"]:focus-visible {
  outline: 3px solid rgba(212,175,99,.35);
  outline-offset: 2px;
  border-color: #e8c777;
}
.catalog-search-submit {
  min-width: 78px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #c9a24f;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0d797, #c9a24f);
  color: #211a0d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.catalog-search-submit:hover { filter: brightness(1.06); }
.catalog-search-submit:focus-visible {
  outline: 3px solid #d4af63;
  outline-offset: 3px;
}
.catalog-filter-page.taxonomy-page .catalog-shop-count {
  justify-self: end;
  padding: 0;
  color: var(--muted, #a8aaa9);
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.catalog-filter-page.taxonomy-page .catalog-shop-count [data-filter-count] {
  color: var(--cream, #f2ede3);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
/* Audience controls share the brand page's glass-and-gold sticky navigation. */
.catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav,
.catalog-filter-page .brand-sticky-filter-panel .brand-category-nav {
  scroll-margin-top: 12px;
}
.catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button[aria-pressed="true"] {
  border-color: #d4af63;
  background: linear-gradient(135deg, #f0d797 0%, #d4af63 58%, #bd9347 100%);
  color: #211a0d;
  box-shadow: 0 3px 12px rgba(212,175,99,.15), inset 0 1px rgba(255,255,255,.42);
  font-weight: 900;
}
.catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button:focus-visible {
  outline: 3px solid rgba(212,175,99,.72);
  outline-offset: 3px;
}
.catalog-filter-page .brand-audience-nav .audience-note {
  margin-left: 4px;
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: .83;
  white-space: nowrap;
}
.catalog-filter-page .brand-audience-nav .audience-count {
  margin-left: 5px;
  font-size: .72em;
  font-variant-numeric: tabular-nums;
}
/* Search controls and compact heading in both themes. */
html[data-theme="light"] .catalog-filter-page.taxonomy-page .taxonomy-title-block h1 {
  color: #28251f !important;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .taxonomy-selection-label {
  color: #706b62 !important;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-control-label {
  color: #765916;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-filter select {
  border-color: #ad8a3e;
  background-color: #fffefa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23765916' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: #26231e;
  color-scheme: light;
  box-shadow: 0 4px 14px rgba(70,52,20,.07);
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-filter select:hover {
  border-color: #85631c;
  background-color: #fff;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-filter select:focus-visible {
  outline-color: rgba(132,99,28,.38);
  border-color: #82631e;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-filter select option {
  background: #fffefa;
  color: #24211c;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-product-search-label {
  color: #655e53 !important;
}
html[data-theme="light"] .catalog-search-row input[type="search"] {
  border-color: #b6a37a;
  background: #fffefa;
  color: #24211c;
  color-scheme: light;
}
html[data-theme="light"] .catalog-search-row input[type="search"]::placeholder { color: #777166; }
html[data-theme="light"] .catalog-search-row input[type="search"]:hover { border-color: #8b6a24; }
html[data-theme="light"] .catalog-search-row input[type="search"]:focus-visible {
  border-color: #82631e;
  outline-color: rgba(132,99,28,.28);
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-shop-count { color: #676157; }
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-shop-count [data-filter-count] { color: #24211c; }
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button[aria-pressed="true"] {
  border-color: #82631e;
  background: linear-gradient(135deg, #f7e5b1, #e4c16d 58%, #c49a40);
  color: #231b0d;
}
/* Make /brand headings compact enough to align with the new shop heading. */
.catalog-shell .catalog-heading {
  align-items: end;
  gap: 22px;
  margin-bottom: 17px;
  padding-bottom: 18px;
}
.catalog-shell .catalog-heading h1 {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: .94;
  letter-spacing: -.04em;
}
.catalog-shell .catalog-heading-tools {
  display: grid;
  gap: 10px;
  width: min(100%, 420px);
  min-width: 250px;
}
.catalog-shell .catalog-heading-tools .catalog-count {
  justify-self: end;
  padding: 0;
}
.catalog-shell .catalog-product-search .catalog-product-search-label {
  color: var(--muted, #a8aaa9);
}
html[data-theme="light"] .catalog-shell .catalog-heading h1 { color: #28251f; }
html[data-theme="light"] .catalog-shell .catalog-heading-tools .catalog-count { color: #676157; }
.catalog-featured-sections { margin-top: 14px; }
.catalog-featured-sections .brand-featured-grid { min-height: 80px; }

@media (max-width: 760px) {
  .catalog-filter-page.taxonomy-page .taxonomy-heading {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 14px !important;
    margin-bottom: 13px !important;
    padding-bottom: 14px !important;
  }
  .catalog-filter-page.taxonomy-page .taxonomy-title-block h1 {
    font-size: clamp(40px, 10vw, 60px) !important;
  }
  .catalog-filter-page.taxonomy-page .taxonomy-heading-tools {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .catalog-filter-page.taxonomy-page .catalog-shop-count { justify-self: start !important; }
  .catalog-filter-page .brand-sticky-filter-panel {
    top: 5px;
    margin-top: 8px;
  }
  .catalog-shell .catalog-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 14px;
  }
  .catalog-shell .catalog-heading h1 { font-size: clamp(38px, 9vw, 58px); }
  .catalog-shell .catalog-heading-tools { width: 100%; min-width: 0; }
  .catalog-shell .catalog-heading-tools .catalog-count { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-filter-page.taxonomy-page .catalog-brand-filter select,
  .catalog-search-submit { transition: none !important; }
}


/* TCROWN SHOP BRAND VISUAL POLISH 20261019 V1
   Tighter shop heading, accessible brand select with a traveling gold spark,
   and stronger category/audience controls in both themes.
*/

/* Remove the legacy shimmer/pattern overlay from the brand-selector label. */
.catalog-filter-page.taxonomy-page .catalog-brand-filter::before,
.catalog-filter-page.taxonomy-page .catalog-brand-filter::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
  pointer-events: none !important;
}

/* Reduce the dead area between the shop topbar and taxonomy title/tools. */
.catalog-filter-page.taxonomy-page .catalog-main {
  padding-top: clamp(14px, 2vw, 26px) !important;
}
.catalog-filter-page.taxonomy-page .taxonomy-heading {
  min-height: 0 !important;
  gap: clamp(14px, 2vw, 24px) !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  padding-top: 0 !important;
  padding-bottom: 12px !important;
}
.catalog-filter-page.taxonomy-page .taxonomy-title-block {
  min-width: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.catalog-filter-page.taxonomy-page .taxonomy-title-block .eyebrow {
  margin-bottom: 6px !important;
}
.catalog-filter-page.taxonomy-page .taxonomy-title-block h1 {
  line-height: .92 !important;
}
.catalog-filter-page.taxonomy-page .taxonomy-selection-label {
  margin-top: 7px !important;
}
.catalog-filter-page.taxonomy-page .taxonomy-heading-tools {
  align-self: end;
  gap: 8px !important;
}
.catalog-filter-page.taxonomy-page .brand-sticky-filter-panel {
  margin-top: 7px !important;
}

/* Brand label and selector shell. */
.catalog-filter-page.taxonomy-page .catalog-brand-filter {
  display: grid !important;
  min-width: 0;
  width: 100% !important;
  gap: 6px !important;
  margin: 0 !important;
  overflow: visible !important;
  text-transform: none;
  letter-spacing: normal;
}
.catalog-filter-page.taxonomy-page .catalog-control-label {
  display: block;
  margin: 0 !important;
  color: #e1bf6c !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}
.catalog-brand-select-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  border: 1px solid rgba(212,175,99,.72);
  border-radius: 11px;
  background: #191c1f;
  box-shadow: 0 5px 17px rgba(0,0,0,.16), inset 0 1px rgba(255,255,255,.035);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.catalog-brand-select-wrap::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--tcrown-gold-spark-angle),
    transparent 0deg 310deg,
    rgba(212,175,99,.16) 322deg,
    #bd913b 333deg,
    #fff0b2 340deg,
    #e9c96f 347deg,
    transparent 359deg 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 1.5px rgba(212,175,99,.45));
  pointer-events: none;
  animation: tcrown-gold-spark-run 3.1s linear infinite;
}
.catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px !important;
  margin: 0;
  padding: 12px 42px 12px 15px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background-color: #191c1f !important;
  color: #fff4d9 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .025em !important;
  text-transform: none !important;
  color-scheme: dark;
  cursor: pointer;
  box-shadow: none !important;
  outline-offset: 3px;
}
.catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select:hover {
  background-color: #22252a !important;
}
.catalog-filter-page.taxonomy-page .catalog-brand-select-wrap:focus-within {
  border-color: #f0d58b;
  box-shadow: 0 0 0 3px rgba(212,175,99,.22), 0 7px 22px rgba(0,0,0,.14);
}
.catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select:focus,
.catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select:focus-visible {
  outline: none !important;
}
.catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select option {
  background: #202326;
  color: #fff4d9;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 650;
}

/* Light mode: remove the decorative V/chevron image and use the native select arrow. */
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-select-wrap {
  border-color: #ad8a3e;
  background: #fffefa;
  box-shadow: 0 5px 16px rgba(70,52,20,.08);
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-select-wrap::before {
  filter: drop-shadow(0 0 1.7px rgba(148,107,28,.58));
  opacity: 1;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select {
  -webkit-appearance: menulist !important;
  appearance: auto !important;
  background-image: none !important;
  background-color: #fffefa !important;
  color: #28231a !important;
  color-scheme: light;
  padding-right: 13px !important;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select:hover {
  background-color: #fff !important;
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-select-wrap:focus-within {
  border-color: #86651d;
  box-shadow: 0 0 0 3px rgba(132,99,28,.19), 0 7px 20px rgba(70,52,20,.08);
}
html[data-theme="light"] .catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select option {
  background: #fffefa;
  color: #28231a;
}

@property --tcrown-gold-spark-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes tcrown-gold-spark-run {
  from { --tcrown-gold-spark-angle: 0deg; }
  to { --tcrown-gold-spark-angle: 360deg; }
}

/* Make both audience and category buttons clear, refined, and easy to read. */
.catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav .catalog-filter-button,
.catalog-filter-page .brand-sticky-filter-panel .brand-category-nav .catalog-filter-button,
.catalog-filter-page .brand-sticky-filter-panel .taxonomy-subnav .catalog-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(212,175,99,.58) !important;
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
  color: #f8efd9 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.2;
  letter-spacing: .075em !important;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 1px rgba(255,255,255,.045), 0 2px 6px rgba(0,0,0,.07);
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav .catalog-filter-button:hover,
.catalog-filter-page .brand-sticky-filter-panel .brand-category-nav .catalog-filter-button:hover,
.catalog-filter-page .brand-sticky-filter-panel .taxonomy-subnav .catalog-filter-button:hover {
  border-color: #e9c66e !important;
  background: linear-gradient(145deg, rgba(212,175,99,.23), rgba(212,175,99,.09)) !important;
  color: #fff7e4 !important;
  box-shadow: 0 3px 12px rgba(212,175,99,.13), inset 0 1px rgba(255,255,255,.08);
}
.catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav .catalog-filter-button.is-active,
.catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav .catalog-filter-button[aria-pressed="true"],
.catalog-filter-page .brand-sticky-filter-panel .brand-category-nav .catalog-filter-button.is-active,
.catalog-filter-page .brand-sticky-filter-panel .brand-category-nav .catalog-filter-button[aria-pressed="true"],
.catalog-filter-page .brand-sticky-filter-panel .taxonomy-subnav .catalog-filter-button.is-active,
.catalog-filter-page .brand-sticky-filter-panel .taxonomy-subnav .catalog-filter-button[aria-pressed="true"] {
  border-color: #efd083 !important;
  background: linear-gradient(135deg, #f6e2a4 0%, #d9b45c 58%, #bd9140 100%) !important;
  color: #21190c !important;
  font-weight: 950 !important;
  box-shadow: 0 4px 13px rgba(212,175,99,.22), inset 0 1px rgba(255,255,255,.56);
}
.catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button:focus-visible {
  outline: 3px solid rgba(230,192,100,.85) !important;
  outline-offset: 3px;
}
.catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button small {
  color: inherit !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.1;
  letter-spacing: .025em !important;
  opacity: .95 !important;
}
.catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button .audience-note {
  margin-left: 3px;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .015em !important;
  opacity: .9 !important;
}
.catalog-filter-nav-divider {
  display: inline-block;
  flex: 0 0 1px;
  align-self: center;
  height: 25px;
  margin: 0 4px;
  background: linear-gradient(180deg, transparent, rgba(212,175,99,.8), transparent);
}

html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav .catalog-filter-button,
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .brand-category-nav .catalog-filter-button,
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .taxonomy-subnav .catalog-filter-button {
  border-color: #b7a06d !important;
  background: linear-gradient(145deg, #fffefa, #f8f2e5) !important;
  color: #3d3320 !important;
  box-shadow: inset 0 1px #fff, 0 2px 5px rgba(68,52,21,.06);
}
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav .catalog-filter-button:hover,
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .brand-category-nav .catalog-filter-button:hover,
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .taxonomy-subnav .catalog-filter-button:hover {
  border-color: #87651e !important;
  background: linear-gradient(145deg, #fff9e8, #f1e1b9) !important;
  color: #2f250f !important;
  box-shadow: 0 3px 11px rgba(120,88,24,.13), inset 0 1px #fff;
}
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav .catalog-filter-button.is-active,
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .brand-audience-nav .catalog-filter-button[aria-pressed="true"],
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .brand-category-nav .catalog-filter-button.is-active,
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .brand-category-nav .catalog-filter-button[aria-pressed="true"],
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .taxonomy-subnav .catalog-filter-button.is-active,
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .taxonomy-subnav .catalog-filter-button[aria-pressed="true"] {
  border-color: #87631a !important;
  background: linear-gradient(135deg, #f8e7b6 0%, #e7c873 58%, #c69d46 100%) !important;
  color: #241b0a !important;
  box-shadow: 0 4px 12px rgba(126,91,21,.19), inset 0 1px #fff8df;
}
html[data-theme="light"] .catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button:focus-visible {
  outline-color: #8b671c !important;
}
html[data-theme="light"] .catalog-filter-nav-divider {
  background: linear-gradient(180deg, transparent, rgba(132,98,27,.78), transparent);
}

@media (max-width: 760px) {
  .catalog-filter-page.taxonomy-page .catalog-main {
    padding-top: 14px !important;
  }
  .catalog-filter-page.taxonomy-page .taxonomy-heading {
    gap: 12px !important;
    margin-bottom: 8px !important;
    padding-bottom: 10px !important;
  }
  .catalog-filter-page.taxonomy-page .taxonomy-heading-tools {
    gap: 8px !important;
  }
  .catalog-filter-page.taxonomy-page .catalog-brand-select-wrap select {
    min-height: 47px !important;
    font-size: 14px !important;
  }
  .catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button {
    min-height: 39px;
    padding: 9px 13px;
    font-size: 11px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-brand-select-wrap::before { animation: none !important; }
  .catalog-brand-select-wrap,
  .catalog-filter-page .brand-sticky-filter-panel .catalog-filter-button {
    transition: none !important;
  }
}


/* TCROWN ADMIN TOTP MFA UI 20261019 */
.admin-mfa-page {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: start center;
  padding: clamp(24px, 5vw, 64px) 18px 72px;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,99,.10), transparent 48%);
}
.admin-mfa-card {
  width: min(680px, 100%);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(212,175,99,.36);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(34,37,39,.98), rgba(20,22,24,.98));
  color: #f4efe4;
  box-shadow: 0 24px 75px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.04);
}
.admin-mfa-card h1 { margin: 12px 0 14px; font: 400 clamp(32px,5vw,52px)/1.02 Georgia,serif; letter-spacing: -.025em; color: #fff8e8; }
.admin-mfa-card h2 { margin: 0 0 10px; font: 500 19px/1.25 Georgia,serif; color: #f1d58e; }
.admin-mfa-lead, .admin-mfa-step p, .admin-mfa-footnote { color: #c6c3bb; font-size: 13px; line-height: 1.7; }
.admin-mfa-step { margin: 24px 0; padding-top: 22px; border-top: 1px solid rgba(212,175,99,.19); }
.admin-mfa-secret-label { margin: 18px 0 8px; color: #dfbd69; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.admin-mfa-secret { display: block; overflow-wrap: anywhere; padding: 15px; border: 1px solid rgba(212,175,99,.38); border-radius: 9px; background: #111416; color: #fff0bf; font: 700 18px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .10em; }
.admin-mfa-uri { display: block; margin-top: 12px; overflow-wrap: anywhere; color: #d4c69f; font-size: 11px; line-height: 1.65; }
.admin-mfa-uri-details { margin-top: 15px; color: #e8d49d; font-size: 12px; }
.admin-mfa-uri-details summary { cursor: pointer; }
.admin-mfa-warning { padding: 12px 14px; border-left: 3px solid #c98f8b; background: rgba(201,143,139,.08); color: #e1c7c3 !important; }
.admin-mfa-card form { display: grid; gap: 10px; margin-top: 20px; }
.admin-mfa-card label { display: block; color: #e6dfd1; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.admin-mfa-card input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(212,175,99,.35); border-radius: 8px; background: #111416; color: #fff7e5; font-size: 17px; letter-spacing: .12em; }
.admin-mfa-card input:focus-visible { outline: 3px solid rgba(212,175,99,.62); outline-offset: 2px; border-color: #e8c777; }
.admin-mfa-primary { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; margin-top: 6px; padding: 12px 18px; border: 1px solid #e5c675; border-radius: 8px; background: linear-gradient(135deg,#f2dda0,#c49a47); color: #22190a; font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; }
.admin-mfa-primary:hover { filter: brightness(1.06); box-shadow: 0 5px 18px rgba(212,175,99,.20); }
.admin-mfa-primary:focus-visible, .admin-mfa-secondary-link:focus-visible { outline: 3px solid #e5c675; outline-offset: 3px; }
.admin-mfa-secondary-link { display: inline-block; margin-top: 20px; color: #e4c679; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.admin-mfa-error { padding: 12px 14px; border: 1px solid rgba(201,143,139,.55); border-radius: 8px; background: rgba(201,143,139,.10); color: #ffd9d4; font-size: 13px; }
.admin-mfa-recovery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 22px 0; }
.admin-mfa-recovery-grid code { padding: 12px 10px; border: 1px solid rgba(212,175,99,.3); border-radius: 7px; background: #111416; color: #ffedbd; text-align: center; font: 700 13px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; }
html[data-theme="light"] .admin-mfa-page { background: radial-gradient(circle at 50% 0%, rgba(212,175,99,.14), transparent 48%); }
html[data-theme="light"] .admin-mfa-card { border-color: #b9a16c; background: linear-gradient(145deg,#fffefa,#f6f0e4); color: #29251d; box-shadow: 0 20px 65px rgba(58,44,19,.12), inset 0 1px #fff; }
html[data-theme="light"] .admin-mfa-card h1 { color: #26231d; }
html[data-theme="light"] .admin-mfa-card h2 { color: #71541b; }
html[data-theme="light"] .admin-mfa-lead, html[data-theme="light"] .admin-mfa-step p, html[data-theme="light"] .admin-mfa-footnote { color: #585248; }
html[data-theme="light"] .admin-mfa-secret { border-color: #b9a16c; background: #fff; color: #392b0d; }
html[data-theme="light"] .admin-mfa-uri { color: #4f432c; }
html[data-theme="light"] .admin-mfa-uri-details { color: #6c5018; }
html[data-theme="light"] .admin-mfa-warning { border-left-color: #a96c68; background: #fbefed; color: #663c39 !important; }
html[data-theme="light"] .admin-mfa-card label { color: #443b2a; }
html[data-theme="light"] .admin-mfa-card input { border-color: #b9a16c; background: #fff; color: #241f17; }
html[data-theme="light"] .admin-mfa-secondary-link { color: #785a1c; }
html[data-theme="light"] .admin-mfa-error { border-color: #b56f6a; background: #fff1ef; color: #6c2420; }
html[data-theme="light"] .admin-mfa-recovery-grid code { border-color: #b9a16c; background: #fff; color: #3c2e11; }
@media (max-width: 520px) { .admin-mfa-recovery-grid { grid-template-columns: 1fr; } .admin-mfa-card { border-radius: 10px; } }
@media print { body * { visibility: hidden !important; } .admin-mfa-card, .admin-mfa-card * { visibility: visible !important; } .admin-mfa-page { display: block; padding: 0; background: white !important; } .admin-mfa-card { width: 100%; border: 0; box-shadow: none; background: white !important; color: black !important; } .admin-mfa-card h1, .admin-mfa-card h2, .admin-mfa-recovery-grid code { color: black !important; } .admin-mfa-primary, .admin-mfa-secondary-link { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .admin-mfa-primary { transition: none !important; } }

/* TCROWN LOGIN/REGISTER BUTTON CUES 20261027 BEGIN */
/* Match the welcome modal's champagne-gold primary action; geometry stays unchanged. */
main.login-shell .login-card .login-submit,
main.login-shell .login-card .secure-form button[type="submit"],
main.login-shell .login-card .secure-form input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  color: #171512 !important;
  background: linear-gradient(110deg, #bd8d45, #f1d392 48%, #c69b59) !important;
  border: 1px solid #e3c17f !important;
  border-radius: 999px !important;
  font-weight: 650;
  letter-spacing: .12em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 5px 20px rgba(179,131,55,.12);
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s, filter .2s;
}
main.login-shell .login-card .login-submit span,
html[data-theme="light"] main.login-shell .login-card .login-submit span {
  color: inherit !important;
}
main.login-shell .login-card .login-submit:hover,
main.login-shell .login-card .secure-form button[type="submit"]:hover,
main.login-shell .login-card .secure-form input[type="submit"]:hover {
  color: #090a0a !important;
  background: linear-gradient(110deg, #d1a65c, #ffe5aa 48%, #d8b06d) !important;
  border-color: #f0d49b !important;
  box-shadow: 0 0 24px rgba(212,171,97,.2);
}
main.login-shell .login-card .login-submit:focus-visible,
main.login-shell .login-card .secure-form button[type="submit"]:focus-visible,
main.login-shell .login-card .secure-form input[type="submit"]:focus-visible {
  outline: 2px solid #f0cc82;
  outline-offset: 4px;
}
main.login-shell .login-card .login-submit:disabled,
main.login-shell .login-card .secure-form button[type="submit"]:disabled,
main.login-shell .login-card .secure-form input[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: .58;
  box-shadow: none;
}
/* Remove only the catalog-brand mark's drop shadow on login/register. */
main.login-shell .login-mark.logo-mark img[src*="tcrown-mark.webp"] {
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: none !important;
}
/* TCROWN LOGIN/REGISTER BUTTON CUES 20261027 END */

/* TCROWN LOGIN/REGISTER MARK BORDER REMOVAL 20261027 BEGIN */
/* Remove any CSS border/outline from only the existing TCrown mark and its wrapper. */
main.login-shell .login-mark.logo-mark,
main.login-shell .login-mark.logo-mark img[src*="tcrown-mark.webp"] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
main.login-shell .login-mark.logo-mark {
  background: transparent !important;
}
/* TCROWN LOGIN/REGISTER MARK BORDER REMOVAL 20261027 END */

/* TCROWN LOGIN/REGISTER DIFFUSED CHAMPAGNE LIGHTING 20261027 BEGIN */
/* Broad, low-opacity edge lighting replaces the distinct circular background treatment. */
main.login-shell {
  background:
    radial-gradient(ellipse 112% 94% at 0% 7%, rgba(212,175,99,.068) 0%, rgba(212,175,99,.030) 36%, transparent 76%),
    radial-gradient(ellipse 108% 100% at 100% 96%, rgba(201,143,139,.060) 0%, rgba(201,143,139,.026) 39%, transparent 79%),
    linear-gradient(135deg, #292d30 0%, #1b1d1f 100%) !important;
}
/* Disable the two decorative outline rings without changing content geometry. */
main.login-shell::before,
main.login-shell::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}
/* Keep the selected light appearance warm and restrained, with the same edge-lit treatment. */
html[data-theme="light"] main.login-shell {
  background:
    radial-gradient(ellipse 112% 94% at 0% 7%, rgba(155,116,40,.065) 0%, rgba(155,116,40,.027) 37%, transparent 77%),
    radial-gradient(ellipse 108% 100% at 100% 96%, rgba(179,110,105,.055) 0%, rgba(179,110,105,.023) 40%, transparent 80%),
    linear-gradient(135deg, #fffdfa 0%, #f5f0e7 100%) !important;
}
/* TCROWN LOGIN/REGISTER DIFFUSED CHAMPAGNE LIGHTING 20261027 END */

/* TCROWN LOGIN REGISTER RESPONSIVE 20261101 BEGIN */
/* Tablet: keep the existing visual design while constraining the auth panel and form controls. */
@media screen and (min-width: 601px) and (max-width: 1024px) {
  main.login-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(24px, 4vh, 44px) clamp(20px, 4vw, 42px);
    overflow-x: clip;
  }
  main.login-shell .login-card {
    box-sizing: border-box;
    width: min(100%, 500px);
    max-width: 500px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(25px, 3.5vw, 36px);
  }
  main.login-shell .login-card,
  main.login-shell .login-card * { min-width: 0; }
  main.login-shell .login-card .secure-form,
  main.login-shell .login-card .secure-form label,
  main.login-shell .login-card .secure-form input:not([type="checkbox"]):not([type="radio"]),
  main.login-shell .login-card .secure-form select,
  main.login-shell .login-card .secure-form textarea,
  main.login-shell .login-card .secure-form button,
  main.login-shell .login-card .secure-form [type="submit"] {
    box-sizing: border-box;
    max-width: 100%;
  }
  main.login-shell .login-card .secure-form input:not([type="checkbox"]):not([type="radio"]),
  main.login-shell .login-card .secure-form select,
  main.login-shell .login-card .secure-form textarea { width: 100%; }
  main.login-shell .login-card img { max-width: 100%; height: auto; }
  main.login-shell .login-card a,
  main.login-shell .login-card p,
  main.login-shell .login-card label { overflow-wrap: anywhere; }
}

/* Phones: a single readable column, no clipped fields, and safe-area-aware outer spacing. */
@media screen and (max-width: 600px) {
  main.login-shell {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: max(18px, env(safe-area-inset-top));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    padding-left: max(12px, env(safe-area-inset-left));
    overflow-x: clip;
  }
  main.login-shell .login-card {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 460px;
    min-width: 0;
    margin: 0 auto;
    padding: 22px clamp(16px, 4.5vw, 22px);
  }
  main.login-shell .login-card,
  main.login-shell .login-card * { min-width: 0; }
  main.login-shell .login-card .secure-form,
  main.login-shell .login-card .secure-form label,
  main.login-shell .login-card .secure-form input:not([type="checkbox"]):not([type="radio"]),
  main.login-shell .login-card .secure-form select,
  main.login-shell .login-card .secure-form textarea,
  main.login-shell .login-card .secure-form button,
  main.login-shell .login-card .secure-form [type="submit"] {
    box-sizing: border-box;
    max-width: 100%;
  }
  main.login-shell .login-card .secure-form input:not([type="checkbox"]):not([type="radio"]),
  main.login-shell .login-card .secure-form select,
  main.login-shell .login-card .secure-form textarea { width: 100%; }
  main.login-shell .login-card img { max-width: 100%; height: auto; }
  main.login-shell .login-card a,
  main.login-shell .login-card p,
  main.login-shell .login-card label { overflow-wrap: anywhere; }
  main.login-shell .login-mark,
  main.login-shell .login-mark.logo-mark { max-width: 100%; }
}
/* TCROWN LOGIN REGISTER RESPONSIVE 20261101 END */

/* TCROWN LOGIN REGISTER MARK RESPONSIVE SIZE 20261101 BEGIN */
/* Keep the authentication mark visually balanced as the available viewport narrows.
   The desktop mark is intentionally not modified by these media queries. */
@media screen and (min-width: 601px) and (max-width: 1024px) {
  main.login-shell .login-card .login-mark.logo-mark {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: min(100%, 148px) !important;
    max-width: 148px !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto clamp(14px, 2.2vw, 22px) !important;
    padding: 0 !important;
  }
  main.login-shell .login-card .login-mark.logo-mark img,
  main.login-shell .login-card .login-mark.logo-mark img[src*="tcrown-mark.webp"] {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 148px !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 148px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
}

@media screen and (max-width: 600px) {
  main.login-shell .login-card .login-mark.logo-mark {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: min(100%, 116px) !important;
    max-width: 116px !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
  }
  main.login-shell .login-card .login-mark.logo-mark img,
  main.login-shell .login-card .login-mark.logo-mark img[src*="tcrown-mark.webp"] {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 116px !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 116px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
}
/* TCROWN LOGIN REGISTER MARK RESPONSIVE SIZE 20261101 END */

/* TCROWN GLOBAL CATEGORY MENU OPAQUE SURFACES 20261111 BEGIN */
/* Solid surfaces prevent catalog imagery and page text showing through.
   Keep the menu's existing layout, layering, borders, and shimmer behavior. */
.customer-category-trigger {
  background: #151719 !important;
  background-color: #151719 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.customer-category-panel {
  background: #151719 !important;
  background-color: #151719 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-theme="light"] .customer-category-trigger {
  background: #f7f3eb !important;
  background-color: #f7f3eb !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-theme="light"] .customer-category-panel {
  background: #fffdf8 !important;
  background-color: #fffdf8 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* TCROWN GLOBAL CATEGORY MENU OPAQUE SURFACES 20261111 END */


/* TCROWN-CUSTOMER-TOPBAR-ACTION-TEXT-20261111
   Make customer-header actions easy to read at first glance.
   Covers .top-actions links and direct-form actions used by other pages.
*/
.customer-topbar .top-actions a,
.customer-topbar .top-actions button,
.customer-topbar .top-actions input[type="submit"],
.customer-topbar .top-actions input[type="button"],
.customer-topbar > a,
.customer-topbar > button,
.customer-topbar > form a,
.customer-topbar > form button,
.customer-topbar > form input[type="submit"],
.customer-topbar > form input[type="button"] {
    font-size: clamp(16px, 1.05vw, 17px);
    font-weight: 600;
    line-height: 1.35;
}


/* TCROWN-TOP-ACTIONS-READABILITY-FIX-20261111
   Explicitly covers the actual dashboard and customer-inquiry header classes.
   !important is intentional: earlier page-specific rules set these labels to
   8px/9px, including a mobile Sign Out override.
*/
.top-actions .ghost,
.top-actions a.ghost,
.top-actions button.ghost,
.top-actions form .ghost,
.dashboard-topbar .top-actions .ghost,
.customer-inquiry-nav a,
.customer-inquiry-account,
.customer-inquiry-signout {
    font-size: clamp(16px, 1.05vw, 17px) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

/* Keep the inquiry navigation readable without changing its visibility,
   layout, spacing, colors, or responsive account-link behavior. */
.customer-inquiry-nav a,
.customer-inquiry-account,
.customer-inquiry-signout {
    letter-spacing: .045em;
}

/* TCROWN PRODUCT PAGE POLISH 20261119 BEGIN
   The primary action intentionally mirrors the existing login/register action.
   These colors are shared by both themes; the navigation link has theme-specific
   foreground colors below. */
.product-shell .product-mobile-back-link {
  display: none;
}

.product-shell .photo-selection-form .photo-save-button {
  appearance: none;
  -webkit-appearance: none;
  color: #171512 !important;
  background: linear-gradient(110deg, #bd8d45, #f1d392 48%, #c69b59) !important;
  border: 1px solid #e3c17f !important;
  border-radius: 999px !important;
  font-weight: 650;
  letter-spacing: .12em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 5px 20px rgba(179,131,55,.12);
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s, filter .2s;
}

.product-shell .photo-selection-form .photo-save-button:hover:not(:disabled) {
  color: #090a0a !important;
  background: linear-gradient(110deg, #d1a65c, #ffe5aa 48%, #d8b06d) !important;
  border-color: #f0d49b !important;
  box-shadow: 0 0 24px rgba(212,171,97,.2);
  filter: none;
}

.product-shell .photo-selection-form .photo-save-button:focus-visible {
  outline: 2px solid #f0cc82;
  outline-offset: 4px;
}

.product-shell .photo-selection-form .photo-save-button:disabled {
  cursor: not-allowed;
  opacity: .58;
  box-shadow: none;
}

@media screen and (max-width: 600px) {
  .product-shell .product-main > .product-mobile-back-link {
    display: inline-flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-self: start;
    gap: 9px;
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin: 0 0 2px;
    padding: 9px 14px;
    border: 1px solid rgba(212,175,99,.28);
    border-radius: 999px;
    background: rgba(212,175,99,.045);
    color: #d7d4ca;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
  }

  .product-shell .product-main > .product-mobile-back-link:hover {
    color: #f1d392;
    border-color: rgba(212,175,99,.62);
    background: rgba(212,175,99,.09);
  }

  .product-shell .product-main > .product-mobile-back-link:focus-visible {
    outline: 2px solid #e3c17f;
    outline-offset: 3px;
  }

  html[data-theme="light"] .product-shell .product-main > .product-mobile-back-link {
    color: #5b4720;
    border-color: rgba(139,102,35,.32);
    background: rgba(155,116,40,.045);
  }

  html[data-theme="light"] .product-shell .product-main > .product-mobile-back-link:hover {
    color: #785613;
    border-color: rgba(139,102,35,.62);
    background: rgba(155,116,40,.09);
  }

  html[data-theme="light"] .product-shell .product-main > .product-mobile-back-link:focus-visible {
    outline-color: #8b6a24;
  }
}
/* TCROWN PRODUCT PAGE POLISH 20261119 END */

/* TCROWN SHOE SIZE CATEGORY PROMPTS 20261119 BEGIN */
/* Distinct category guidance for single-system, unisex, and multi-category shoes. */
#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt {
  display: block;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(212,175,99,.34);
  border-left: 3px solid #d4af63;
  border-radius: 4px;
  background: rgba(212,175,99,.075);
  color: #f0e7d3;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}
#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt--single {
  border-left-color: #d4af63;
}
#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt--unisex {
  border-color: rgba(201,143,139,.48);
  border-left-color: #c98f8b;
  background: rgba(201,143,139,.105);
  color: #f3dfdc;
}
#photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt--multiple {
  border-left-color: #d4af63;
  background: rgba(212,175,99,.105);
}
html[data-theme="dark"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt {
  color: #f0e7d3;
}
html[data-theme="dark"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt--unisex {
  color: #f3dfdc;
}
html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt {
  border-color: rgba(139,102,35,.30);
  border-left-color: #98701c;
  background: #f7f0e2;
  color: #3d3425;
}
html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt--unisex {
  border-color: rgba(151,91,86,.34);
  border-left-color: #a96c68;
  background: #fbefed;
  color: #563a38;
}
html[data-theme="light"] #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt--multiple {
  border-color: rgba(139,102,35,.34);
  border-left-color: #98701c;
  background: #f5eddb;
  color: #493b20;
}
@media (max-width: 600px) {
  #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt {
    padding: 9px 10px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #photo-selection-rows[data-shoe-sizing="true"] .shoe-category-prompt {
    transition: none !important;
  }
}
/* TCROWN SHOE SIZE CATEGORY PROMPTS 20261119 END */

/* TCROWN BRAND SHOP MOBILE NAVIGATION 20261120-02 BEGIN */
/* Reuse the existing topbar .back-link on both /brand/ and /shop/. */
@media screen and (max-width: 700px) {
  .catalog-shell .topbar .back-link,
  .catalog-filter-page .topbar .back-link,
  .customer-topbar.catalog-topbar .back-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 0;
    min-height: 44px;
    max-width: 46%;
    padding: 9px 12px;
    border: 1px solid rgba(212,175,99,.42);
    border-radius: 999px;
    background: rgba(212,175,99,.08);
    color: #e7c77f;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: .09em;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
  }

  .catalog-shell .topbar .back-link:hover,
  .catalog-filter-page .topbar .back-link:hover,
  .customer-topbar.catalog-topbar .back-link:hover {
    border-color: #e7c77f;
    background: rgba(212,175,99,.15);
    color: #ffe4a5;
  }

  .catalog-shell .topbar .back-link:focus-visible,
  .catalog-filter-page .topbar .back-link:focus-visible,
  .customer-topbar.catalog-topbar .back-link:focus-visible {
    outline: 2px solid #f0cc82;
    outline-offset: 3px;
  }

  /* All filter controls remain in normal flow and wrap into visible rows.
     This removes horizontal swipe/scroll areas and fixed-height clipping. */
  .brand-sticky-filter-panel {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    min-height: 0;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    overscroll-behavior: auto;
  }

  .brand-sticky-filter-panel .catalog-filter-nav,
  .brand-sticky-filter-panel .brand-audience-nav,
  .brand-sticky-filter-panel .brand-category-nav,
  .brand-sticky-filter-panel .taxonomy-subnav {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px !important;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    white-space: normal !important;
    scroll-snap-type: none !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: auto;
  }

  .brand-sticky-filter-panel .catalog-filter-nav::-webkit-scrollbar,
  .brand-sticky-filter-panel .brand-audience-nav::-webkit-scrollbar,
  .brand-sticky-filter-panel .brand-category-nav::-webkit-scrollbar,
  .brand-sticky-filter-panel .taxonomy-subnav::-webkit-scrollbar {
    display: none !important;
  }

  .brand-sticky-filter-panel .catalog-filter-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto !important;
    min-width: 0;
    max-width: 100%;
    min-height: 40px;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 11px;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.25;
    scroll-snap-align: none !important;
  }

  .brand-sticky-filter-panel .catalog-filter-button small {
    max-width: 100%;
    white-space: normal;
  }

  .brand-sticky-filter-panel .catalog-filter-nav-divider {
    display: none !important;
  }
}

/* Preserve the Shop ALL control's desktop-hidden behavior; expose it on phones. */
.brand-sticky-filter-panel .shop-audience-all-mobile { display: none !important; }
@media screen and (max-width: 700px) {
  .brand-sticky-filter-panel .shop-audience-all-mobile { display: inline-flex !important; }
}

/* Explicit theme tokens: keep the reused link legible in both themes. */
@media screen and (max-width: 700px) {
html[data-theme="dark"] .catalog-shell .topbar .back-link,
html[data-theme="dark"] .catalog-filter-page .topbar .back-link,
html[data-theme="dark"] .customer-topbar.catalog-topbar .back-link {
  color: #e7c77f;
  border-color: rgba(212,175,99,.46);
  background: rgba(212,175,99,.09);
}

html[data-theme="light"] .catalog-shell .topbar .back-link,
html[data-theme="light"] .catalog-filter-page .topbar .back-link,
html[data-theme="light"] .customer-topbar.catalog-topbar .back-link {
  color: #694b12;
  border-color: rgba(128,91,18,.42);
  background: rgba(155,116,40,.075);
}

html[data-theme="light"] .catalog-shell .topbar .back-link:hover,
html[data-theme="light"] .catalog-filter-page .topbar .back-link:hover,
html[data-theme="light"] .customer-topbar.catalog-topbar .back-link:hover {
  color: #4f3708;
  border-color: #805b12;
  background: rgba(155,116,40,.14);
}

html[data-theme="light"] .catalog-shell .topbar .back-link:focus-visible,
html[data-theme="light"] .catalog-filter-page .topbar .back-link:focus-visible,
html[data-theme="light"] .customer-topbar.catalog-topbar .back-link:focus-visible {
  outline: 2px solid #805b12;
  outline-offset: 3px;
}
}

@media (prefers-reduced-motion: reduce) {
  .brand-sticky-filter-panel .catalog-filter-button { transition: none !important; }
}
/* TCROWN BRAND SHOP MOBILE NAVIGATION 20261120-02 END */

/* TCROWN BRAND SHOP MOBILE HEADER ALIGNMENT 20261120-01 BEGIN */
/* The back link gets its own grid row. The category trigger stays centered. */
@media screen and (max-width: 700px) {
  .catalog-shell.catalog-filter-page > .customer-topbar,
  .catalog-filter-page > .customer-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "mobileBack"
      "category"
      "actions" !important;
    grid-template-rows: auto auto auto !important;
    align-items: center !important;
    justify-items: stretch !important;
    justify-content: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 14px 16px !important;
    row-gap: 10px !important;
  }

  .catalog-filter-page > .customer-topbar > .back-link {
    display: inline-flex !important;
    grid-area: mobileBack !important;
    position: relative !important;
    justify-self: start !important;
    align-self: center !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: min(260px, 75vw) !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    text-align: center !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    transform: none !important;
    z-index: 3 !important;
  }

  .catalog-filter-page > .customer-topbar > .wordmark {
    display: none !important;
  }

  .catalog-filter-page > .customer-topbar > .customer-category-slot {
    grid-area: category !important;
    display: flex !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    justify-self: stretch !important;
    align-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .catalog-filter-page > .customer-topbar .customer-category-menu {
    display: flex !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .catalog-filter-page > .customer-topbar #customer-category-trigger,
  .catalog-filter-page > .customer-topbar .customer-category-trigger {
    display: flex !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    inset-inline: auto !important;
    float: none !important;
    transform: none !important;
    justify-self: center !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .catalog-filter-page > .customer-topbar .customer-category-welcome {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .catalog-filter-page > .customer-topbar > form,
  .catalog-filter-page > .customer-topbar > .top-actions {
    grid-area: actions !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .catalog-filter-page > .customer-topbar > .customer-theme-slot {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    grid-area: auto !important;
  }
}
/* TCROWN BRAND SHOP MOBILE HEADER ALIGNMENT 20261120-01 END */

/* TCROWN SHARED BRAND / SHOP PAGINATION 2026-11-21 V2 */
.catalog-filter-page .catalog-pagination {
  --tc-pager-surface: #20242b;
  --tc-pager-text: #f7f3e9;
  --tc-pager-border: rgba(212, 175, 99, .62);
  --tc-pager-muted: #c9c2b4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin: 28px 0 36px;
  padding: 18px 20px;
  border: 1px solid rgba(212, 175, 99, .42);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(32, 36, 43, .96), rgba(24, 27, 32, .96));
  color: var(--tc-pager-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.catalog-filter-page .catalog-pagination__summary {
  margin: 0;
  color: var(--tc-pager-muted);
  font-size: 13px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

.catalog-filter-page .catalog-pagination__controls,
.catalog-filter-page .catalog-pagination__numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.catalog-filter-page .catalog-pagination__controls {
  margin-left: auto;
}

.catalog-filter-page .catalog-pagination__link {
  box-sizing: border-box;
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--tc-pager-border);
  border-radius: 10px;
  background: var(--tc-pager-surface);
  color: var(--tc-pager-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.catalog-filter-page .catalog-pagination__link:hover {
  border-color: #e7c77f;
  background: #393329;
  color: #fff;
  box-shadow: 0 3px 12px rgba(212, 175, 99, .16);
  transform: translateY(-1px);
}

.catalog-filter-page .catalog-pagination__link:focus-visible {
  outline: 3px solid #e7c77f;
  outline-offset: 3px;
}

.catalog-filter-page .catalog-pagination__link.is-current,
.catalog-filter-page .catalog-pagination__link[aria-current="page"] {
  border-color: #d4af63;
  background: #d4af63;
  color: #171717;
  box-shadow: 0 2px 10px rgba(212, 175, 99, .24);
  font-weight: 850;
}

.catalog-filter-page .catalog-pagination__link.is-disabled,
.catalog-filter-page .catalog-pagination__link[aria-disabled="true"] {
  border-color: rgba(150, 145, 135, .28);
  background: rgba(110, 110, 110, .12);
  color: #99958c;
  opacity: .68;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.catalog-filter-page .catalog-pagination__ellipsis {
  min-width: 18px;
  padding: 0 2px;
  color: var(--tc-pager-muted);
  text-align: center;
  user-select: none;
}

/* Explicit high-contrast light theme. */
html[data-theme="light"] .catalog-filter-page .catalog-pagination,
body[data-theme="light"] .catalog-filter-page .catalog-pagination,
html.light .catalog-filter-page .catalog-pagination,
body.light .catalog-filter-page .catalog-pagination,
.theme-light .catalog-filter-page .catalog-pagination,
[data-bs-theme="light"] .catalog-filter-page .catalog-pagination {
  --tc-pager-surface: #fff;
  --tc-pager-text: #242424;
  --tc-pager-border: #a58a4e;
  --tc-pager-muted: #5d5a53;
  border-color: rgba(145, 111, 43, .42);
  background: linear-gradient(145deg, #fff, #f7f4ed);
  box-shadow: 0 5px 18px rgba(39, 32, 18, .08);
}

html[data-theme="light"] .catalog-filter-page .catalog-pagination__link,
body[data-theme="light"] .catalog-filter-page .catalog-pagination__link,
html.light .catalog-filter-page .catalog-pagination__link,
body.light .catalog-filter-page .catalog-pagination__link,
.theme-light .catalog-filter-page .catalog-pagination__link,
[data-bs-theme="light"] .catalog-filter-page .catalog-pagination__link {
  border-color: #a58a4e;
  background: #fff;
  color: #28251f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

html[data-theme="light"] .catalog-filter-page .catalog-pagination__link:hover,
body[data-theme="light"] .catalog-filter-page .catalog-pagination__link:hover,
html.light .catalog-filter-page .catalog-pagination__link:hover,
body.light .catalog-filter-page .catalog-pagination__link:hover,
.theme-light .catalog-filter-page .catalog-pagination__link:hover,
[data-bs-theme="light"] .catalog-filter-page .catalog-pagination__link:hover {
  border-color: #82631e;
  background: #f3e7c9;
  color: #171717;
}

html[data-theme="light"] .catalog-filter-page .catalog-pagination__link.is-current,
html[data-theme="light"] .catalog-filter-page .catalog-pagination__link[aria-current="page"],
body[data-theme="light"] .catalog-filter-page .catalog-pagination__link.is-current,
body[data-theme="light"] .catalog-filter-page .catalog-pagination__link[aria-current="page"],
html.light .catalog-filter-page .catalog-pagination__link.is-current,
html.light .catalog-filter-page .catalog-pagination__link[aria-current="page"],
body.light .catalog-filter-page .catalog-pagination__link.is-current,
body.light .catalog-filter-page .catalog-pagination__link[aria-current="page"],
.theme-light .catalog-filter-page .catalog-pagination__link.is-current,
.theme-light .catalog-filter-page .catalog-pagination__link[aria-current="page"],
[data-bs-theme="light"] .catalog-filter-page .catalog-pagination__link.is-current,
[data-bs-theme="light"] .catalog-filter-page .catalog-pagination__link[aria-current="page"] {
  border-color: #82631e;
  background: #e8d095;
  color: #171717;
}

html[data-theme="light"] .catalog-filter-page .catalog-pagination__link.is-disabled,
body[data-theme="light"] .catalog-filter-page .catalog-pagination__link.is-disabled,
html.light .catalog-filter-page .catalog-pagination__link.is-disabled,
body.light .catalog-filter-page .catalog-pagination__link.is-disabled,
.theme-light .catalog-filter-page .catalog-pagination__link.is-disabled,
[data-bs-theme="light"] .catalog-filter-page .catalog-pagination__link.is-disabled {
  border-color: #d2cbbc;
  background: #f1efe9;
  color: #77736b;
}

#catalog-products {
  scroll-margin-top: 14px;
}

@media (max-width: 680px) {
  .catalog-filter-page .catalog-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 15px 12px;
  }

  .catalog-filter-page .catalog-pagination__summary {
    text-align: center;
  }

  .catalog-filter-page .catalog-pagination__controls {
    justify-content: center;
    margin-left: 0;
    gap: 6px;
  }

  .catalog-filter-page .catalog-pagination__link {
    min-width: 38px;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .catalog-filter-page .catalog-pagination__numbers {
    gap: 5px;
  }
}

@media (max-width: 390px) {
  .catalog-filter-page .catalog-pagination__controls {
    gap: 4px;
  }

  .catalog-filter-page .catalog-pagination__link {
    min-width: 34px;
    min-height: 38px;
    padding: 7px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-filter-page .catalog-pagination__link {
    transition: none;
  }
}

/* TCROWN TOP-ACTIONS SHARED STANDARDIZATION 2026-11-25 V1 BEGIN */
/* Applies to every header using .top-actions.
   Wide desktop: keep the actions right-aligned.
   Tablet / mobile: center actions in a row directly beneath the category slot.
   Typography is reduced from the previous 16–17px override to 14px. */
.top-actions .ghost,
.dashboard-topbar .top-actions .ghost,
.customer-topbar .top-actions .ghost,
.top-actions a.ghost,
.top-actions button.ghost,
.top-actions form .ghost,
.top-actions input[type="submit"],
.top-actions input[type="button"] {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

@media (max-width: 1000px) {
  /* Dashboard header: category first, actions immediately below. */
  .dashboard-topbar {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "category"
      "actions" !important;
    justify-items: stretch !important;
    align-items: center !important;
    row-gap: 12px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px 70px 18px 20px !important;
  }

  .dashboard-topbar .dashboard-brand-zone {
    display: none !important;
  }

  .dashboard-topbar .dashboard-category-slot {
    grid-area: category !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .dashboard-topbar .customer-category-menu {
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
  }

  .dashboard-topbar > .top-actions,
  .dashboard-topbar .top-actions {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px clamp(12px, 2.2vw, 22px) !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* Account-password header uses the same category/actions row structure. */
  .customer-topbar.account-password-topbar {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "category"
      "actions" !important;
    justify-items: stretch !important;
    align-items: center !important;
    row-gap: 12px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px 70px 18px 20px !important;
  }

  .customer-topbar.account-password-topbar > .wordmark {
    display: none !important;
  }

  .customer-topbar.account-password-topbar > .customer-category-slot {
    grid-area: category !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .customer-topbar.account-password-topbar .customer-category-menu {
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
  }

  .customer-topbar.account-password-topbar > .account-password-top-actions {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px clamp(12px, 2.2vw, 22px) !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .customer-topbar.account-password-topbar > .customer-theme-slot {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    grid-area: auto !important;
    z-index: 90 !important;
  }
}
/* TCROWN TOP-ACTIONS SHARED STANDARDIZATION 2026-11-25 V1 END */

/* TCROWN BRAND SHOP RESPONSIVE SIGN-OUT CENTER 2026-11-25 V1 BEGIN */
/* /brand/ and /shop/ use a direct logout form (not .top-actions).
   Keep the existing desktop header. At tablet/mobile sizes, place the
   category trigger above a visible, centered Sign Out control. */
@media screen and (max-width: 1000px) {
  .catalog-filter-page > .customer-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "mobileBack"
      "category"
      "actions" !important;
    grid-template-rows: auto auto auto !important;
    align-items: center !important;
    justify-items: stretch !important;
    justify-content: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px clamp(14px, 3vw, 28px) 16px !important;
    row-gap: 10px !important;
  }

  .catalog-filter-page > .customer-topbar > .back-link {
    display: inline-flex !important;
    grid-area: mobileBack !important;
    position: relative !important;
    justify-self: start !important;
    align-self: center !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: min(260px, 75vw) !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 14px !important;
    text-align: center !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    transform: none !important;
    z-index: 3 !important;
  }

  .catalog-filter-page > .customer-topbar > .wordmark {
    display: none !important;
  }

  .catalog-filter-page > .customer-topbar > .customer-category-slot {
    grid-area: category !important;
    display: flex !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    justify-self: stretch !important;
    align-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .catalog-filter-page > .customer-topbar .customer-category-menu {
    display: flex !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .catalog-filter-page > .customer-topbar > form {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    align-self: center !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 5 !important;
  }

  .catalog-filter-page > .customer-topbar > form > button.ghost {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .catalog-filter-page > .customer-topbar > .customer-theme-slot {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    grid-area: auto !important;
    z-index: 90 !important;
  }
}
/* TCROWN BRAND SHOP RESPONSIVE SIGN-OUT CENTER 2026-11-25 V1 END */

/* TCROWN DASHBOARD TABLET CATEGORY CENTER 2026-11-26 V1 BEGIN */
/* Center the dashboard category control on tablet independently of the
   right-anchored theme toggle. The phone and wide-desktop layouts are untouched. */
@media screen and (min-width: 701px) and (max-width: 1000px) {
  .dashboard-topbar {
    /* The theme control is absolutely positioned; symmetric padding keeps
       the category axis at the true viewport center. */
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .dashboard-topbar .dashboard-category-slot {
    grid-area: category !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: stretch !important;
    align-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .dashboard-topbar .customer-category-menu {
    display: flex !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    inset-inline: auto !important;
    transform: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .dashboard-topbar .customer-category-welcome {
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .dashboard-topbar #customer-category-trigger,
  .dashboard-topbar .customer-category-trigger {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    inset-inline: auto !important;
    float: none !important;
    transform: none !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* TCROWN DASHBOARD TABLET CATEGORY CENTER 2026-11-26 V1 END */

/* TCROWN-MOBILE-CATALOG-CONTROLS-CENTERED-V2-20261130
   Mobile: journey progress and the Open My Selection drawer occupy separate,
   centered rows. Preserve the established vertical clearance when the drawer opens. */
@media (max-width: 700px) {
  .selection-drawer {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: var(--tc-bottom-safe, max(12px, env(safe-area-inset-bottom, 0px))) !important;
    transform: translateX(-50%) !important;
    width: min(420px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 auto !important;
  }
  .selection-drawer > summary[aria-label="Open My Selection"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(7px, 2.2vw, 12px) !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  .selection-drawer > summary[aria-label="Open My Selection"] > * {
    flex: 0 0 auto !important;
  }
  .journey-progress {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: calc(var(--tc-bottom-safe, max(12px, env(safe-area-inset-bottom, 0px))) + var(--tc-drawer-collapsed, 58px) + var(--tc-stack-gap, 14px)) !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: max-content !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  body:has(.selection-drawer[open]) .journey-progress {
    bottom: calc(var(--tc-bottom-safe, max(12px, env(safe-area-inset-bottom, 0px))) + var(--tc-drawer-collapsed, 58px) + var(--tc-stack-gap, 14px) + min(42vh, 360px) + var(--tc-stack-gap, 14px)) !important;
  }
}

/* TCROWN GLOBAL UI REFINEMENTS 2026-11-30 V2 BEGIN */
/* 1) Make the tablet theme selector's complete circular control clickable. */
@media screen and (min-width: 701px) and (max-width: 1200px), screen and (min-width: 701px) and (hover: none) and (pointer: coarse) {
  .dashboard-topbar { position: relative !important; }
  .dashboard-topbar .dashboard-theme-slot {
    position: absolute !important;
    top: 12px !important;
    right: 14px !important;
    z-index: 140 !important;
    display: grid !important;
    place-items: center !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    pointer-events: auto !important;
  }
  .dashboard-topbar .dashboard-theme-slot .global-appearance-toggle {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    display: grid !important;
    place-items: center !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    pointer-events: auto !important;
  }
  .dashboard-topbar .dashboard-theme-slot .global-appearance-toggle .theme-icon,
  .dashboard-topbar .dashboard-theme-slot .global-appearance-toggle svg {
    pointer-events: none !important;
  }
}

/* 2) Wide layouts keep actions at the far right. */
.top-actions {
  justify-content: flex-end !important;
  margin-inline-start: auto !important;
}
@media screen and (min-width: 1300px) {
  .top-actions,
  .customer-topbar.account-password-topbar > .account-password-top-actions {
    justify-content: flex-end !important;
    justify-self: end !important;
    margin-inline-start: auto !important;
    text-align: right !important;
  }
}

/* 3) Compact windows/tablets/phones: category first, actions centered below. */
@media screen and (max-width: 1299.98px), screen and (hover: none) and (pointer: coarse) {
  .top-actions,
  .customer-topbar.account-password-topbar > .account-password-top-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 10px clamp(12px, 2.2vw, 22px) !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .dashboard-topbar {
    position: relative !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "category" "actions" !important;
    justify-items: stretch !important;
    align-items: center !important;
    row-gap: 12px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px 70px 18px 20px !important;
  }
  .dashboard-topbar .dashboard-brand-zone {
    display: none !important;
  }
  .dashboard-topbar .dashboard-category-slot {
    grid-area: category !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }
  .dashboard-topbar .customer-category-menu {
    margin-inline: auto !important;
    align-items: center !important;
  }
  .dashboard-topbar .top-actions {
    grid-area: actions !important;
  }

  /* Account-password page has a dedicated wrapper but shares the category/actions layout. */
  .customer-topbar.account-password-topbar {
    position: relative !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "category" "actions" !important;
    justify-items: stretch !important;
    align-items: center !important;
    row-gap: 12px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px 70px 18px 20px !important;
  }
  .customer-topbar.account-password-topbar > .wordmark {
    display: none !important;
  }
  .customer-topbar.account-password-topbar > .customer-category-slot {
    grid-area: category !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .customer-topbar.account-password-topbar .customer-category-menu {
    margin-inline: auto !important;
    align-items: center !important;
  }
  .customer-topbar.account-password-topbar > .account-password-top-actions {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px clamp(12px, 2.2vw, 22px) !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    text-align: center !important;
  }
  .customer-topbar.account-password-topbar > .customer-theme-slot {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    grid-area: auto !important;
    z-index: 140 !important;
  }

  /* Other customer topbars with the shared category trigger. */
  .customer-topbar:has(#customer-category-trigger) {
    position: relative !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "category" "actions" !important;
    justify-items: stretch !important;
    align-items: center !important;
    row-gap: 12px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px 58px 18px 20px !important;
  }
  .customer-topbar:has(#customer-category-trigger) > .back-link {
    position: absolute !important;
    top: 12px !important;
    left: 16px !important;
    z-index: 141 !important;
  }
  .customer-topbar:has(#customer-category-trigger) > .wordmark {
    display: none !important;
  }
  .customer-topbar:has(#customer-category-trigger) > .customer-category-slot {
    grid-area: category !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .customer-topbar:has(#customer-category-trigger) .customer-category-menu {
    margin-inline: auto !important;
    align-items: center !important;
  }
  .customer-topbar:has(#customer-category-trigger) .top-actions {
    grid-area: actions !important;
  }
  .customer-topbar:has(#customer-category-trigger) > .customer-theme-slot,
  .customer-topbar:has(#customer-category-trigger) > .dashboard-theme-slot {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 140 !important;
  }
}

/* 4) The selection journey stays fully opaque on phone-sized layouts. */
@media screen and (max-width: 700px) {
  .journey-progress {
    opacity: 1 !important;
    background: #1b1e21 !important;
    background-color: #1b1e21 !important;
    background-image: none !important;
    border-color: #80683d !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.34) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html[data-theme="light"] .journey-progress {
    opacity: 1 !important;
    background: #fffdf8 !important;
    background-color: #fffdf8 !important;
    background-image: none !important;
    border-color: #94702c !important;
    box-shadow: 0 8px 24px rgba(50,38,18,.16) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html[data-theme="dark"] .journey-progress {
    opacity: 1 !important;
    background: #1b1e21 !important;
    background-color: #1b1e21 !important;
    background-image: none !important;
    border-color: #80683d !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* TCROWN GLOBAL UI REFINEMENTS 2026-11-30 V2 END */
/* TCROWN CATEGORY MENU + UNIVERSAL HEADER ACTION ALIGNMENT V4 BEGIN */
/* The shared menu is moved into a page header by taxonomy-menu.js.
   Center the actual button, not merely the menu's original placeholder. */
@media screen and (max-width: 1299.98px),
       screen and (hover: none) and (pointer: coarse) {
  .topbar:has(#customer-category-trigger) > .dashboard-category-slot,
  .topbar:has(#customer-category-trigger) > .customer-category-slot,
  .topbar:has(#customer-category-trigger) > .customer-inquiry-category-slot {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: stretch !important;
    align-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .topbar:has(#customer-category-trigger) .customer-category-menu {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    float: none !important;
    transform: none !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .topbar:has(#customer-category-trigger) #customer-category-trigger {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    transform: none !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* All standard top-action wrappers are centered in the row below the menu. */
  .topbar:has(#customer-category-trigger) > .top-actions,
  .topbar:has(#customer-category-trigger) > .account-password-top-actions {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 10px clamp(12px, 2.2vw, 22px) !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* Pages with a direct logout form use the same centered action row. */
  .customer-topbar:has(#customer-category-trigger) > form {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    align-self: center !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 0 !important;
    text-align: center !important;
  }

  /* The two inquiry templates use their own header and action class.
     Their row order is brand -> category trigger -> actions -> navigation. */
  .customer-inquiry-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "brand"
      "category"
      "actions"
      "nav" !important;
    align-items: center !important;
    justify-items: stretch !important;
    row-gap: 12px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 14px 0 !important;
  }

  .customer-inquiry-topbar > .customer-inquiry-brand {
    grid-area: brand !important;
    justify-self: center !important;
    align-self: center !important;
    min-width: 0 !important;
  }

  .customer-inquiry-topbar > .customer-inquiry-category-slot {
    grid-area: category !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: stretch !important;
    align-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .customer-inquiry-topbar .customer-category-menu {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .customer-inquiry-topbar #customer-category-trigger {
    display: flex !important;
    position: relative !important;
    inset: auto !important;
    float: none !important;
    transform: none !important;
    align-self: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .customer-inquiry-topbar > .customer-inquiry-top-actions {
    grid-area: actions !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 10px clamp(10px, 2vw, 18px) !important;
    text-align: center !important;
  }

  .customer-inquiry-topbar > .customer-inquiry-nav {
    grid-area: nav !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 8px 0 0 !important;
    text-align: center !important;
  }

  /* Generic base.html topbars (for example secure inquiry utility pages)
     also get a centered category menu when no specialized shell is used. */
  .topbar:not(.customer-topbar):not(.dashboard-topbar):has(#customer-category-trigger) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 12px !important;
  }

  .topbar:not(.customer-topbar):not(.dashboard-topbar):has(#customer-category-trigger) > .customer-category-menu {
    order: 1 !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .topbar:not(.customer-topbar):not(.dashboard-topbar):has(#customer-category-trigger) > .top-actions,
  .topbar:not(.customer-topbar):not(.dashboard-topbar):has(#customer-category-trigger) > .customer-inquiry-top-actions,
  .topbar:not(.customer-topbar):not(.dashboard-topbar):has(#customer-category-trigger) > form {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

/* Preserve a conventional four-column desktop inquiry header. */
@media screen and (min-width: 1300px) and (hover: hover) and (pointer: fine) {
  .customer-inquiry-topbar {
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) minmax(210px, auto) auto minmax(230px, 1fr) !important;
    grid-template-areas: "brand category nav actions" !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 16px !important;
    min-height: 86px !important;
    padding: 12px clamp(0px, 1.2vw, 18px) !important;
  }

  .customer-inquiry-topbar > .customer-inquiry-brand {
    grid-area: brand !important;
    justify-self: start !important;
  }

  .customer-inquiry-topbar > .customer-inquiry-category-slot {
    grid-area: category !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  .customer-inquiry-topbar .customer-category-menu {
    width: auto !important;
    margin: 0 auto !important;
  }

  .customer-inquiry-topbar > .customer-inquiry-nav {
    grid-area: nav !important;
    justify-self: center !important;
    width: auto !important;
    padding: 0 !important;
    border-top: 0 !important;
  }

  .customer-inquiry-topbar > .customer-inquiry-top-actions {
    grid-area: actions !important;
    justify-self: end !important;
    justify-content: flex-end !important;
    width: auto !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
  }
}
/* TCROWN CATEGORY MENU + UNIVERSAL HEADER ACTION ALIGNMENT V4 END */
