/* Inner pages share the approved ivory, champagne and emerald homepage palette. */
:root { --interior-ink:#4a2c22; --interior-muted:#827267; --interior-green:#14564a; --interior-gold:#bc945b; --interior-line:#e6d8c5; }
body { background:#fffcf7; }
body .app-screen:not(#home) { background:#fffcf7; color:var(--interior-ink); padding:0 clamp(16px,3vw,40px) 48px; }
body .app-screen:not(#home)::before, body .app-screen:not(#home)::after { background:none; }
body .app-screen:not(#home) > .section-brand-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1104px; height:auto; min-height:78px; margin:0 auto 28px; padding:12px 0; overflow:visible; border-bottom:1px solid #dcc7a9; background:none; }
.interior-brand { display:flex; align-items:center; gap:10px; color:var(--interior-ink); flex-shrink:0; }
.interior-brand-symbol { color:#b9813d; font-size:36px; line-height:1; }
.interior-brand-name { display:block; font:500 34px/1 'Cormorant Garamond',Georgia,serif; }
.interior-brand small { display:block; margin-top:5px; font:9px/1.3 Manrope,Arial,sans-serif; letter-spacing:.16em; text-align:center; }
body .app-screen:not(#home) .section-brand-actions { position:static; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; transform:none; }
body .app-screen:not(#home) .section-brand-action { width:auto; min-height:44px; padding:10px 16px; border:1px solid #dcc7a9; border-radius:10px; color:var(--interior-ink); background:transparent; box-shadow:none; font:14px/1.3 Manrope,Arial,sans-serif; text-shadow:none; transform:none; }
body .app-screen:not(#home) .section-brand-action:hover { background:#f6f0e7; }
body #categoryDetail.app-screen .section-brand-actions { display:grid; grid-template-columns:repeat(4,150px); }
body #categoryDetail.app-screen .section-brand-action { display:flex; align-items:center; justify-content:center; gap:4px; width:100%; height:44px; padding:10px; white-space:nowrap; }
#categoryDetail .category-back-action { display:flex; align-items:center; justify-content:center; width:100%; min-height:44px; padding:10px 16px; border:1px solid #dcc7a9; border-radius:10px; color:var(--interior-ink); background:#fffdf9; font:14px/1.3 Manrope,Arial,sans-serif; text-decoration:none; box-shadow:none; }
#categoryDetail .category-back-action:hover { background:#f6f0e7; }
#categoryDetail .category-mobile-navigation { display:none; }
#categoryDetail { width:100%; min-height:100vh; background:#fffcf7; }
#categoryDetail .category-detail__card { width:100%; max-width:1104px; margin:0 auto; padding:0; border:0; border-radius:0; background:none; box-shadow:none; backdrop-filter:none; }
#categoryDetail .category-detail__content { display:block; width:100%; padding:0; background:none; }
#categoryDetail .category-detail__content::before, #categoryDetail .category-detail__content::after { content:none; }
#categoryDetail .product-group-title { display:block; width:auto; max-width:none; margin:0 0 24px; padding:0; border:0; border-radius:0; box-shadow:none; color:var(--interior-ink); font:500 clamp(30px,3.6vw,42px)/1.15 'Cormorant Garamond',Georgia,serif; text-align:left; text-shadow:none; -webkit-text-fill-color:currentColor; filter:none; background:none; }
#categoryDetail .product-group-title::before, #categoryDetail .product-group-title::after { content:none; }
#categoryDetail .category-catalog-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:24px; align-items:start; }
#categoryDetail .category-products-column { min-width:0; }
#categoryDetail .category-promo-column { display:none; }
#categoryDetail .category-filter-column { position:sticky; top:20px; display:grid; grid-template-rows:minmax(0,1fr) auto; gap:12px; width:auto; height:auto; max-height:calc(100vh - 40px); padding:0; border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; }
#categoryDetail .home-filter-mount { height:auto; max-height:none; background:none; }
#categoryDetail .category-filter-column > .home-filter-mount { min-height:0; overflow:auto; border:1px solid var(--interior-line); border-radius:12px; background:#fffdf9; }
#categoryDetail .home-filter-panel { height:auto; padding:16px; color:var(--interior-ink); background:none; font:13px/1.5 Manrope,Arial,sans-serif; }
#categoryDetail .home-filter-panel__header { position:static; display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:0 0 14px; background:none; }
#categoryDetail .home-filter-panel__header h3 { margin:0; color:var(--interior-ink); font:600 22px/1.2 'Cormorant Garamond',Georgia,serif; }
#categoryDetail .home-filter-panel__header button { font-size:11px; color:#9d7649; }
#categoryDetail .home-filter-group { margin:0 0 18px; padding:0; border:0; }
#categoryDetail .home-filter-group legend { margin-bottom:10px; color:var(--interior-muted); font-size:10px; letter-spacing:.1em; }
#categoryDetail .home-filter-option, #categoryDetail .home-filter-check { color:var(--interior-ink); text-shadow:none; }
#categoryDetail .home-filter-option:has(input:checked), #categoryDetail .category-filter-all-button { background:var(--interior-green); color:white; border:0; border-radius:7px; min-height:34px; box-shadow:none; font:600 12px/1.4 Manrope,Arial,sans-serif; }
#categoryDetail .home-filter-price input { min-width:0; padding:9px; border:1px solid var(--interior-line); border-radius:8px; color:var(--interior-ink); background:white; }
#categoryDetail input[type=checkbox], #categoryDetail input[type=radio], #categoryDetail input[type=range] { accent-color:var(--interior-green); }
#categoryDetail .product-grid, #categoryDetail .similar-products-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:auto; gap:20px; margin:0; }
#categoryDetail .product-grid .product-card, #categoryDetail .similar-products-grid .product-card { position:relative; display:grid; grid-template-rows:auto minmax(60px,auto) auto; width:100%; min-width:0; min-height:0; aspect-ratio:auto; border:1px solid #ede3d5; border-radius:12px; overflow:hidden; background:#f6f0e7; color:var(--interior-ink); box-shadow:none; transition:box-shadow .18s,transform .18s; }
#categoryDetail .product-grid .product-card:hover, #categoryDetail .similar-products-grid .product-card:hover { transform:translateY(-3px); border-color:#dcc7a9; box-shadow:0 8px 24px #573d2112; }
#categoryDetail .product-grid .product-card .product-image, #categoryDetail .similar-products-grid .product-card .product-image { position:relative; grid-row:1; grid-column:1; width:100%; height:auto; min-height:0; aspect-ratio:4/3; padding:0; border:0; background:#fffaf3; }
#categoryDetail .product-grid .product-image img, #categoryDetail .similar-products-grid .product-image img { position:absolute; inset:0; width:100%; height:100%; max-width:100%; object-fit:contain; object-position:center; }
#categoryDetail .product-card-overlay-title { position:static; display:block; grid-row:2; grid-column:1; inset:auto; margin:0; padding:14px 14px 8px; color:var(--interior-ink); background:none; border:0; font:600 19px/1.2 'Cormorant Garamond',Georgia,serif; text-align:left; text-shadow:none; -webkit-text-fill-color:currentColor; transform:none; pointer-events:none; }
#categoryDetail .product-list-price { grid-row:3; grid-column:1; padding:0 14px 14px; color:#827267; background:none; font:12px/1.5 Manrope,Arial,sans-serif; }
#categoryDetail .product-list-price--wholesale strong, .product-wholesale-price strong { display:block; color:#14564a; font:600 20px/1.4 Manrope,Arial,sans-serif; }
#categoryDetail .product-list-price--wholesale small, .product-wholesale-price small { display:block; color:#827267; font:11px/1.5 Manrope,Arial,sans-serif; }
.product-wholesale-price { margin:8px 0 16px; }
.product-wholesale-price strong { font-size:28px; }
#categoryDetail .product-catalog-group { grid-column:1/-1; margin:10px 0 0; padding:0 0 10px; border-bottom:1px solid #e6d8c5; color:#4a2c22; font:600 27px/1.2 'Cormorant Garamond',Georgia,serif; }
#categoryDetail .product-catalog-subgroup { grid-column:1/-1; margin:-5px 0 0; padding:0; border:0; color:#827267; font:500 14px/1.4 Manrope,Arial,sans-serif; }
#categoryDetail .product-card--category-placeholder { grid-template-rows:auto auto; }
#categoryDetail .product-card--category-placeholder .product-card-summary { display:block; grid-row:2; padding:14px; border:0; background:none; }
#categoryDetail .product-card--category-placeholder .product-title { display:block; color:var(--interior-ink); font:600 20px/1.2 'Cormorant Garamond',Georgia,serif; text-align:left; -webkit-text-fill-color:currentColor; text-shadow:none; }
#categoryDetail .product-filter-empty { grid-column:1/-1; padding:28px; color:var(--interior-muted); border:1px solid var(--interior-line); border-radius:12px; background:#fffdf9; font:14px/1.7 Manrope,Arial,sans-serif; }
#categoryDetail .category-product-filters--mobile { display:none; }
#categoryDetail.category-detail--product-screen .product-group-title, #categoryDetail.category-detail--product-screen .category-catalog-layout, #categoryDetail.category-detail--product-screen .category-mobile-navigation { display:none; }
#categoryDetail.category-detail--product-screen .product-detail { display:block; width:100%; max-width:none; margin:0; padding:0; background:none; border:0; box-shadow:none; }
#categoryDetail .product-detail-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:32px; width:100%; margin:0 0 32px; padding:0; border:0; background:none; box-shadow:none; }
#categoryDetail .product-detail-hero .product-detail__media { display:block; min-width:0; min-height:0; width:100%; padding:0; background:none; border:0; border-radius:12px; box-shadow:none; }
#categoryDetail .product-gallery-main { position:relative; display:block; width:100%; height:auto; min-height:0; aspect-ratio:4/3; margin:0; padding:0; border:1px solid #ede3d5; border-radius:12px; background:#fffaf3; overflow:hidden; box-shadow:none; }
#categoryDetail .product-gallery-main img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
#categoryDetail .product-gallery-stage { display:flex; gap:10px; margin:12px 0 0; padding:2px; overflow-x:auto; }
#categoryDetail .product-gallery-card { flex:0 0 76px; width:76px; height:66px; aspect-ratio:auto; padding:0; border:1px solid var(--interior-line); border-radius:8px; overflow:hidden; background:#fffaf3; box-shadow:none; }
#categoryDetail .product-gallery-card img { width:100%; height:100%; object-fit:contain; }
#categoryDetail .product-gallery-card.is-active { border:2px solid var(--interior-green); }
#categoryDetail .product-gallery-card--empty { display:none; }
#categoryDetail .product-detail-hero .product-detail__content { width:100%; min-width:0; min-height:0; margin:0; padding:8px 0; background:none; border:0; box-shadow:none; }
#categoryDetail .product-detail__title { margin:0 0 16px; color:var(--interior-ink); font:600 clamp(28px,3vw,38px)/1.15 'Cormorant Garamond',Georgia,serif; letter-spacing:0; text-shadow:none; -webkit-text-fill-color:currentColor; }
#categoryDetail .product-rating, #categoryDetail .product-description { color:var(--interior-muted); font:14px/1.7 Manrope,Arial,sans-serif; }
#categoryDetail .product-specs { border:1px solid var(--interior-line); border-radius:12px; background:#fffdf9; box-shadow:none; padding:14px; }
#categoryDetail .product-spec-row { border-color:#ede3d5; background:none; padding:10px 0; }
#categoryDetail .product-spec-label { color:var(--interior-muted); font:500 12px/1.5 Manrope,Arial,sans-serif; }
#categoryDetail .product-spec-value { color:var(--interior-ink); font:600 14px/1.5 Manrope,Arial,sans-serif; }
#categoryDetail .product-selection-panel { background:#f6f0e7; border:1px solid var(--interior-line); border-radius:12px; padding:16px; box-shadow:none; }
#categoryDetail .product-size-title, #categoryDetail .quantity-value, #categoryDetail .product-line-total { color:var(--interior-ink); }
#categoryDetail .product-size-option, #categoryDetail .quantity-button { border:1px solid var(--interior-line); color:var(--interior-ink); background:#fffdf9; box-shadow:none; text-shadow:none; }
#categoryDetail .product-size-option.is-active, #categoryDetail .product-size-option[aria-pressed=true] { color:white; border-color:var(--interior-green); background:var(--interior-green); }
#categoryDetail .product-detail-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:18px; }
#categoryDetail .product-detail__button { min-height:46px; padding:12px; border:1px solid var(--interior-line); border-radius:10px; color:var(--interior-ink); background:#fffcf7; box-shadow:none; text-shadow:none; font:600 13px/1.4 Manrope,Arial,sans-serif; }
#categoryDetail .product-buy-button, #categoryDetail .product-add-to-order-button { color:white; background:var(--interior-green); border-color:var(--interior-green); }
#categoryDetail .similar-products, #categoryDetail .product-reviews-block { padding:24px 0; border:0; border-top:1px solid var(--interior-line); border-radius:0; background:none; box-shadow:none; }
#categoryDetail .similar-products-title, #categoryDetail .product-reviews-title { color:var(--interior-ink); font:600 30px/1.2 'Cormorant Garamond',Georgia,serif; }
body .app-screen:not(#home) :is(.charity-shell,.legal-services-shell) { max-width:1104px; margin-left:auto; margin-right:auto; }
body .app-screen:not(#home) :is(.charity-card,.legal-services-group,.legal-contact-strip,.account-panel) { border-color:var(--interior-line); background:#fffdf9; box-shadow:none; }
#categoryDetail :is(a,button,input,summary,[role=button]):focus-visible { outline:2px solid var(--interior-green); outline-offset:3px; }
@media(max-width:960px) {
  body #categoryDetail > .section-brand-bar { flex-wrap:wrap; }
  body #categoryDetail.app-screen .section-brand-actions { width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); }
  #categoryDetail .category-catalog-layout { grid-template-columns:190px minmax(0,1fr); gap:20px; }
  #categoryDetail .product-grid, #categoryDetail .similar-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
}
@media(max-width:760px) {
  body .app-screen:not(#home) { padding:0 18px 32px; }
  body .app-screen:not(#home) > .section-brand-bar { min-height:0; margin-bottom:22px; flex-wrap:wrap; gap:14px; padding:16px 0; }
  .interior-brand-name { font-size:30px; }
  body .app-screen:not(#home) .section-brand-actions { justify-content:flex-start; width:100%; }
  body .app-screen:not(#home) .section-brand-action { flex:1; padding:10px; font-size:13px; }
  #categoryDetail .category-catalog-layout { display:block; }
  #categoryDetail .category-filter-column { display:none; }
  body #categoryDetail.app-screen .section-brand-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #categoryDetail .category-mobile-navigation { position:sticky; top:8px; z-index:20; display:grid; gap:8px; margin:0 0 18px; padding:0 0 8px; background:#fffcf7; }
  #categoryDetail.category-detail--product-screen .category-mobile-navigation { display:none; }
  #categoryDetail .category-product-filters--mobile { display:block; margin:0; max-height:calc(100dvh - 76px); overflow:auto; border:1px solid var(--interior-line); border-radius:10px; background:#fffdf9; }
  #categoryDetail .category-product-filters--mobile > summary { min-height:44px; padding:12px 14px; color:var(--interior-ink); background:none; font:14px/1.4 Manrope,Arial,sans-serif; }
  #categoryDetail .product-group-title { margin-bottom:18px; font-size:32px; }
  #categoryDetail .product-grid, #categoryDetail .similar-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #categoryDetail .product-card-overlay-title { padding:10px 10px 7px; font-size:18px; }
  #categoryDetail .product-list-price { padding:0 10px 12px; font-size:11px; }
  #categoryDetail .product-detail-hero { grid-template-columns:1fr; gap:20px; }
  #categoryDetail .product-detail__title { font-size:30px; }
  #categoryDetail .product-detail-actions { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { #categoryDetail .product-card { transition:none; } #categoryDetail .product-card:hover { transform:none; } }
