/* v6 is deliberately additive: the Japanese Editorial v5 design is retained. */
.topbar .v6-basket-link{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#211c1a;text-decoration:none;font:15px Georgia,serif;padding:9px 8px;border-radius:4px;transition:background .15s}
.topbar .v6-basket-link:hover{background:#f8e9e6;color:#aa2119}
.v6-basket-link b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:50%;background:#b91e13;color:white;font:700 11px Arial,sans-serif}
.v6-shop{max-width:1380px;margin:32px auto 70px;padding:0 clamp(19px,5vw,70px)}
.v6-shop h1{font:700 clamp(27px,3vw,43px)/1.15 Georgia,serif;margin:0;color:#211a19}
.v6-shop .j5-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px}
.v6-shop .j5-head small{font:16px Georgia,serif;color:#8a5e53}
.v6-shop .form-card{box-sizing:border-box}
.v6-shop .admin-table{min-width:610px}
.v6-shop .admin-table td{vertical-align:middle;line-height:1.5}
.v6-shop .admin-table .button{margin:3px 5px 3px 0}
.v6-cart-total{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding-top:22px;border-top:1px solid #e4d7cd}
.v6-cart-total strong{font:700 22px Georgia,serif;color:#211a19}
.v6-cart-total p{flex-basis:100%;margin:0;font-size:13px;color:#66554e}
.v6-cart-total form{margin:0}
.v6-checkout-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:22px;align-items:start}
.v6-checkout-grid .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.v6-checkout-grid .form-grid .full{grid-column:1/-1}
.v6-checkout-grid input:not([type=radio]),.v6-checkout-grid select{box-sizing:border-box;width:100%;margin:6px 0;padding:11px 12px;border:1px solid #d6c8be;background:#fff;color:#211a19;border-radius:3px}
.v6-checkout-grid label{display:block;font:14px Georgia,serif;color:#352c29}
.v6-payment-options{margin-bottom:20px;display:grid;gap:9px}
.v6-payment-options>label{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #e5d8ce;background:#fffaf7}
.v6-payment-options>label input[type=radio]{flex-shrink:0}
.v6-payment-options>label:has(select){display:block}
.v6-checkout-line{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e8dfd8;font:14px/1.45 Georgia,serif}
.v6-checkout-line small{display:block;color:#a2291e;font:11px Arial,sans-serif;margin-top:5px}
.v6-checkout-line strong{white-space:nowrap}
.v6-summary-total{display:flex;justify-content:space-between;gap:18px;font:16px Georgia,serif;padding-top:20px}
.v6-add-form{display:inline-flex;align-items:center;margin:0;vertical-align:middle}
.v6-add-form button{display:inline-flex;align-items:center;gap:7px}
.v6-editions-note{display:block;width:100%;color:#79625a;font:13px Georgia,serif;margin:10px 0}
.v6-theme-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0 28px}
.v6-theme-choice{display:flex;flex-direction:column;gap:8px;border:1px solid #ddcfc3;background:#fffaf7;padding:8px;border-radius:5px;cursor:pointer}
.v6-theme-choice:has(input:checked){border:2px solid #a92218;padding:7px}
.v6-theme-choice img{width:100%;height:117px;object-fit:cover;background:#f4ece6}
.v6-theme-choice span{font:13px/1.4 Georgia,serif;color:#281e1b}
.v6-clear{display:flex!important;align-items:center;gap:6px;font:12px Arial,sans-serif;margin-top:8px}
/* Presets change only imagery. The original v5 palette, typography, spacing and layout remain untouched. */
body:not(.v6-theme-original) .j5-art{background-image:url('/theme-image/hero');background-size:cover;background-position:center right;opacity:.58}
body:not(.v6-theme-original) .j5-hero{background-color:#faf6f1}
body:not(.v6-theme-original) .j5-series-tile.j5-theme1{background-image:linear-gradient(155deg,#fffdf9e5,#e0d3c8bd),url('/theme-image/series-1')}
body:not(.v6-theme-original) .j5-series-tile.j5-theme2{background-image:linear-gradient(155deg,#fff8f5dc,#f1cfc6a8),url('/theme-image/series-2')}
body:not(.v6-theme-original) .j5-series-tile.j5-theme3{background-image:linear-gradient(145deg,#fffdfcee,#c9d1d3d3),url('/theme-image/series-3')}
body:not(.v6-theme-original) .j5-series-tile.j5-theme4{background-image:linear-gradient(145deg,#fffff5dc,#c8d4b3b5),url('/theme-image/series-4')}
/* User-uploaded imagery can also replace original preset imagery without changing other design tokens. */
body.v6-theme-original.v6-override-hero .j5-art{background-image:url('/theme-image/hero')}
body.v6-theme-original.v6-override-series-1 .j5-theme1{background-image:linear-gradient(155deg,#fffdf9e5,#e0d3c8bd),url('/theme-image/series-1')}
body.v6-theme-original.v6-override-series-2 .j5-theme2{background-image:linear-gradient(155deg,#fff8f5dc,#f1cfc6a8),url('/theme-image/series-2')}
body.v6-theme-original.v6-override-series-3 .j5-theme3{background-image:linear-gradient(145deg,#fffdfcee,#c9d1d3d3),url('/theme-image/series-3')}
body.v6-theme-original.v6-override-series-4 .j5-theme4{background-image:linear-gradient(145deg,#fffff5dc,#c8d4b3b5),url('/theme-image/series-4')}
@media(max-width:1150px){.topbar .v6-basket-link span{display:none}.v6-checkout-grid{grid-template-columns:1fr}}
@media(max-width:780px){.v6-theme-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar .v6-basket-link{padding:7px 3px}.v6-cart-total{align-items:flex-start;flex-direction:column}.v6-cart-total p{flex-basis:auto}.v6-checkout-grid .form-grid{grid-template-columns:1fr}.v6-checkout-grid .form-grid .full{grid-column:auto}}
