/* Amber Boardwalk — a warm display deck with numbered browsing sections. */
body[data-theme="amber-boardwalk"] {
    --accent: #8e460b;
    --accent-strong: #653106;
    --accent-soft: #f8e6c6;
    --page: #fffaf1;
    --panel: #fffefb;
    --ink: #352718;
    --muted: #786751;
    --line: #e9ddc8;
    --radius: 13px;
    --display-font: "Trebuchet MS", "Segoe UI", sans-serif;
}
.ab-content { padding-top: 25px; }
.ab-boardwalk { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(25px, 4vw, 55px); align-items: center; padding: 35px 0 40px; }
.ab-boardwalk-copy { min-width: 0; }
.ab-kicker { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.ab-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.ab-boardwalk h1 { margin: 17px 0 21px; font-family: var(--display-font); font-size: clamp(40px, 4.8vw, 69px); line-height: 1.02; letter-spacing: -.06em; overflow-wrap: anywhere; }
.ab-boardwalk-copy > p { margin: 0; max-width: 490px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.ab-hero-search { margin-top: 28px; }
.ab-hero-search form { margin-bottom: 0; }
.ab-hero-caption { display: flex; align-items: center; gap: 10px; margin-top: 21px; color: #876f51; font-size: 11px; }
.ab-caption-rule { width: 25px; height: 1px; background: #b6966d; }
.ab-boardwalk-display { min-width: 0; padding: 21px 23px 18px; border: 1px solid #e4c99e; border-radius: 22px; background: #f5dfb8; background-image: linear-gradient(#fff4d980 1px, transparent 1px), linear-gradient(90deg, #fff4d980 1px, transparent 1px); background-size: 22px 22px; overflow: hidden; }
.ab-display-label, .ab-display-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #64421f; }
.ab-display-label { font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.ab-display-label > span:last-child { padding: 6px 9px; border-radius: 20px; background: #fff6e0; font-size: 10px; letter-spacing: 0; }
.ab-display-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; align-items: center; padding: 40px 0 31px; }
.ab-display-tile { display: flex; flex-direction: column; align-items: center; min-width: 0; min-height: 248px; padding: 18px 12px; border: 1px solid #ddc29a; border-radius: 13px; background: #fffdf7; box-shadow: 0 11px 14px #7f53261a; text-align: center; }
.ab-display-tile-0 { transform: rotate(-6deg) translateY(9px); }
.ab-display-tile-1 { transform: translateY(-12px); z-index: 1; background: #fff9e6; }
.ab-display-tile-2 { transform: rotate(6deg) translateY(9px); }
.ab-tile-category { align-self: flex-start; font-size: 8px; font-weight: 800; letter-spacing: .16em; color: #94703e; }
.ab-display-tile img { width: 86px; height: 86px; max-width: 85%; margin: 17px 0 13px; border-radius: 18px; object-fit: cover; }
.ab-display-tile h2 { margin: 0 0 15px; font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ab-tile-open { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: auto; font-size: 9px; font-weight: 750; color: var(--accent); }
.ab-tile-open svg { flex-shrink: 0; }
.ab-display-foot { padding-top: 16px; border-top: 1px solid #cfb189; font-size: 11px; }
.ab-index-band { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 24px; margin: 0 0 39px; padding: 25px 30px; background: #332819; color: #fff5e1; border-radius: 13px; }
.ab-band-label { font-size: 9px; font-weight: 750; letter-spacing: .15em; color: #e6c596; }
.ab-index-band > div > p { margin: 8px 0 0; font-family: var(--display-font); font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.ab-index-band [data-ui="stats"] { color: #fff5e1; background: transparent; margin: 0; border-color: #68533b; }
.ab-index-band [data-ui="stats"] strong { color: #fff5e1; }
.ab-index-band [data-ui="stats"] span, .ab-index-band [data-ui="stats"] small { color: #dfcaad; }
.ab-index-band { --ink: #fff5e1; --muted: #dfcaad; --panel: #332819; --line: #68533b; --accent-soft: #50402a; }
.ab-index-band [data-ui="stats"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ab-index-band [data-ui="stats"] > div { grid-template-columns: minmax(0, 1fr); padding: 4px 10px; border: 0; border-left: 1px solid #68533b; background: transparent; }
.ab-index-band [data-ui="stats"] dt { grid-column: 1; color: #dfcaad; font-size: 10px; line-height: 1.6; }
.ab-index-band [data-ui="stats"] dd { grid-column: 1; color: #fff5e1; font-size: 28px; }
.ab-index-band [data-ui="stats"] svg { display: none; }
.ab-band-link { display: flex; align-items: center; gap: 13px; color: #fff0d5; font-size: 11px; font-weight: 800; white-space: nowrap; }
.ab-band-link svg { padding: 5px; box-sizing: content-box; border: 1px solid #88704e; border-radius: 50%; }
.ab-row-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.ab-row-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.ab-row-heading > span { color: var(--muted); font-size: 11px; }
.ab-name-run { margin-bottom: 43px; }
.ab-shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, 1fr); gap: 14px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #c5a270 #f4e6cf; }
.ab-shelf-item { display: grid; grid-template-columns: 57px minmax(0, 1fr) 18px; align-items: center; gap: 13px; padding: 15px; background: #fffdf9; border: 1px solid var(--line); border-radius: 12px; scroll-snap-align: start; }
.ab-shelf-item img { width: 57px; height: 57px; object-fit: cover; border-radius: 12px; }
.ab-shelf-item h3 { margin: 0 0 6px; font-size: 13px; line-height: 1.35; }
.ab-shelf-item div > span { font-size: 10px; color: var(--muted); }
.ab-shelf-item > svg { color: var(--accent); }
.ab-section-label { display: flex; align-items: flex-start; gap: 16px; }
.ab-section-label > span { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto; border: 1px solid #cdae82; background: #f6e7cc; color: #785329; border-radius: 50%; font-size: 11px; font-weight: 800; }
.ab-section-label h2 { margin: 2px 0 0; font-family: var(--display-font); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.04em; }
.ab-section-label p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.ab-collection-pier { margin-bottom: 44px; }
.ab-collection-pier > .ab-section-label { margin-bottom: 21px; }
.ab-collection-pier [data-ui="collection-grid"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-collection-pier [data-ui="collection-card"] { border-radius: 12px; border-color: #e2d0b5; background: #fff8e9; }
.ab-collection-pier [data-ui="collection-card"]:nth-child(2) { background: #f4eddc; }
.ab-collection-pier [data-ui="collection-card"]:nth-child(3) { background: #fff3dd; }
.ab-store-floor { padding: 29px 27px 24px; border: 1px solid #e7d9c1; border-radius: 18px; background: #f8efdf; }
.ab-store-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; margin-bottom: 25px; }
.ab-outline-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #cbaa7c; border-radius: 6px; color: #704a20; font-size: 11px; font-weight: 750; background: #fffbf3; }
.ab-store-floor [data-ui="app-grid"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ab-store-floor [data-ui="app-card"] { display: flex; flex-direction: column; align-items: flex-start; min-height: 170px; padding: 18px; background: #fffdf8; border-color: #e5d8c2; border-radius: 10px; box-shadow: 0 3px 0 #e4d5bd80; }
.ab-store-floor [data-ui="app-card"]:hover { transform: translateY(-3px); border-color: #b88c51; }
.ab-store-floor [data-ui="app-icon"] { width: 64px; height: 64px; border-radius: 15px; }
.ab-store-floor [data-ui="app-copy"] { width: 100%; }
.ab-store-floor [data-ui="app-copy"] h3 { font-size: 14px; }
.ab-store-floor [data-ui="app-action"] { font-size: 11px; color: var(--accent); }
.ab-store-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; margin-top: 23px; border-top: 1px solid #dfcfae; font-size: 11px; color: #846b47; }
.ab-store-foot > a { display: inline-flex; align-items: center; gap: 7px; font-weight: 750; color: var(--accent); }
.ab-reading-pier { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 42px; }
.ab-reading-pier > * { min-width: 0; }
.ab-reading-pier [data-ui="home-note"] { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; padding: 27px; border: 1px solid #e1cda9; border-radius: 13px; background: #f8ecd5; }
.ab-reading-pier [data-ui="home-note"] h2 { margin-top: 0; }
.ab-reading-pier [data-ui="home-faq"] { display: block; margin: 0; padding: 27px; border: 1px solid var(--line); border-radius: 13px; background: #fffdf8; }
.ab-reading-pier [data-ui="faq-list"] { margin-top: 21px; }
body[data-theme="amber-boardwalk"] [data-ui="detail-hero"] { background: #f7e5c6; border: 1px solid #dcc294; border-radius: 15px; }
body[data-theme="amber-boardwalk"] [data-ui="detail-layout"] { gap: 27px; }
body[data-theme="amber-boardwalk"] [data-ui="gallery"] { background: #fcf5e8; border-radius: 15px; }
@media (max-width: 1080px) {
    .ab-boardwalk { gap: 28px; grid-template-columns: 1fr 1.08fr; }
    .ab-boardwalk-display { padding: 18px; }
    .ab-display-tiles { gap: 8px; padding: 32px 0 26px; }
    .ab-display-tile { min-height: 233px; padding: 17px 8px; }
    .ab-display-tile img { width: 70px; height: 70px; border-radius: 15px; }
    .ab-display-tile h2 { font-size: 12px; }
    .ab-index-band { grid-template-columns: 1fr 1.5fr; }
    .ab-band-link { grid-column: 1 / -1; justify-self: end; }
    .ab-store-floor [data-ui="app-grid"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .ab-boardwalk { grid-template-columns: 1fr; gap: 28px; padding: 17px 0 30px; }
    .ab-boardwalk h1 { max-width: 620px; font-size: clamp(41px, 8.5vw, 61px); }
    .ab-boardwalk-copy > p { max-width: none; }
    .ab-boardwalk-display { padding: 20px; }
    .ab-display-tile { min-height: 225px; }
    .ab-display-tile img { width: 84px; height: 84px; }
    .ab-display-tile h2 { font-size: 14px; }
    .ab-index-band { padding: 24px; gap: 21px; }
    .ab-index-band > div > p { font-size: 23px; }
    .ab-index-band [data-ui="stats"] { font-size: 11px; }
    .ab-collection-pier [data-ui="collection-grid"] { grid-template-columns: 1fr; gap: 13px; }
    .ab-store-floor { padding: 24px 19px 20px; }
    .ab-store-floor [data-ui="app-grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ab-reading-pier { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 430px) {
    .ab-boardwalk h1 { font-size: 43px; }
    .ab-boardwalk-display { padding: 16px 12px; }
    .ab-display-label { font-size: 8px; letter-spacing: .06em; }
    .ab-display-tiles { gap: 7px; padding: 27px 3px 24px; }
    .ab-display-tile { padding: 13px 7px; min-height: 204px; }
    .ab-display-tile img { width: 63px; height: 63px; margin: 15px 0 12px; border-radius: 13px; }
    .ab-display-tile h2 { font-size: 11px; }
    .ab-tile-category { font-size: 7px; }
    .ab-tile-open { gap: 2px; font-size: 8px; }
    .ab-tile-open svg { width: 13px; }
    .ab-display-foot { font-size: 10px; }
    .ab-index-band { grid-template-columns: 1fr; padding: 22px; }
    .ab-index-band > div > p br { display: none; }
    .ab-band-link { justify-self: start; }
    .ab-section-label { gap: 12px; }
    .ab-section-label h2 { font-size: 25px; }
    .ab-section-label > span { width: 30px; height: 30px; }
    .ab-store-floor { padding: 22px 12px; }
    .ab-store-floor [data-ui="app-card"] { padding: 15px 12px; }
    .ab-store-floor [data-ui="app-icon"] { width: 57px; height: 57px; border-radius: 13px; }
    .ab-store-floor [data-ui="app-copy"] h3 { font-size: 13px; }
}
