/* YUME DESIGN · compact, scroll-snap price categories / 2026-10-24.
 * Visual enhancement only; server-provided amounts are shown unchanged. */
.yume-storefront-dialog .store-category-gallery{min-width:0;display:grid;gap:13px}
.yume-storefront-dialog .store-category-grid{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
 gap:9px;min-width:0;margin:0 0 5px;
}
.yume-storefront-dialog .store-category-choice{
 display:flex;flex-direction:column;justify-content:center;align-items:center;
 text-align:center;gap:5px;min-width:0;min-height:88px;padding:11px 6px;
 border-radius:17px;border:1px solid #e8d8f0;
 background:linear-gradient(150deg,#fff,#f9f3fd);
 color:#755486;cursor:pointer;line-height:1.3;
 transition:background-color .17s,transform .17s,border-color .17s,box-shadow .17s;
}
.yume-storefront-dialog .store-category-choice[aria-pressed="true"]{
 background:linear-gradient(145deg,#eee0f9,#fff1fb);
 border-color:#b88bcf;box-shadow:inset 0 0 0 1px #b88bcf,0 6px 16px #79508f1c;color:#643c80;
}
.yume-storefront-dialog .store-category-choice .store-category-icon{font-size:25px;line-height:1.1}
.yume-storefront-dialog .store-category-choice .store-category-name{font-weight:800;font-size:11px;word-break:keep-all;overflow-wrap:anywhere}
.yume-storefront-dialog .store-category-choice small{font-size:10px;color:#967fa0}
.yume-storefront-dialog .store-carousel-heading{
 display:flex;justify-content:space-between;gap:12px;align-items:center;min-width:0;
 margin:5px 0 1px;padding:3px 2px;
}
.yume-storefront-dialog .store-carousel-heading h4{margin:0;color:#6d4787;font-size:17px}
.yume-storefront-dialog .store-carousel-heading p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#947b9d}
.yume-storefront-dialog .store-carousel-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-shrink:0}
.yume-storefront-dialog .store-carousel-count{min-width:48px;text-align:right;color:#8d70a2;font-weight:800;font-size:11px;font-variant-numeric:tabular-nums}
.yume-storefront-dialog .store-carousel-arrow{
 width:36px;height:36px;border:1px solid #e6d2ef;
 background:#fff;border-radius:50%;display:grid;place-items:center;
 font-size:27px;line-height:1;color:#7a4d97;padding:0;cursor:pointer;
}
.yume-storefront-dialog .store-carousel-arrow:disabled{color:#bbaaca;opacity:.5;cursor:default}
.yume-storefront-dialog .store-product-grid.store-compact-track{
 display:flex!important;grid-template-columns:none!important;align-items:stretch!important;
 flex-wrap:nowrap!important;gap:12px!important;min-width:0;width:100%;
 overflow-x:auto!important;overflow-y:hidden!important;
 scroll-snap-type:x mandatory;scroll-padding-inline:2px;
 overscroll-behavior-inline:contain;
 touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#d8b8e8 transparent;
 padding:4px 3px 14px;box-sizing:border-box;
}
.yume-storefront-dialog .store-compact-track>.store-item.store-compact-card{
 display:flex!important;flex-direction:column;gap:9px;
 flex:0 0 clamp(205px,calc((100% - 28px)/3),310px)!important;
 width:auto!important;max-width:none!important;min-width:0!important;
 height:auto;min-height:260px;box-sizing:border-box;
 scroll-snap-align:start;scroll-snap-stop:normal;
 padding:13px!important;border-radius:19px!important;
 background:linear-gradient(150deg,#fff,#fdf8ff)!important;
}
.yume-storefront-dialog .store-compact-card>.store-item-icon{
 width:100%;height:98px;display:flex;align-items:center;justify-content:center;
 font-size:31px;flex:0 0 auto;border-radius:13px;
 background:radial-gradient(circle at 78% 24%,#fff8,transparent 45%),linear-gradient(125deg,#8c6aae,#ddb0d8);
 color:white;text-shadow:0 3px 9px #70427d66;
}
.yume-storefront-dialog .store-compact-card>div:has(> h4){min-width:0}
.yume-storefront-dialog .store-compact-card h4{
 font-size:13px!important;line-height:1.4!important;min-height:1.4em;
 margin:0 0 4px!important;word-break:keep-all;overflow-wrap:anywhere;
}
.yume-storefront-dialog .store-compact-card .store-compact-spec{
 display:block;font-size:11px;color:#9a809f;line-height:1.5;min-height:16px;
}
.yume-storefront-dialog .store-compact-card>div:has(> h4)>p{display:none!important}
.yume-storefront-dialog .store-compact-card .store-product-price{
 margin-top:auto;min-height:29px;display:flex;align-items:center;
 color:#70489a;font-weight:900;
}
.yume-storefront-dialog .store-compact-card .store-product-price strong{font-size:19px!important;line-height:1.4}
.yume-storefront-dialog .store-compact-card .store-price-legacy{font-size:0;color:#77518b}
.yume-storefront-dialog .store-compact-card .store-price-legacy strong{font-size:19px!important}
.yume-storefront-dialog .store-compact-card .yume-sale-price{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.yume-storefront-dialog .store-compact-card .yume-sale-price del{font-size:11px}
.yume-storefront-dialog .store-compact-card [data-store-original-actions]{display:none!important}
.yume-storefront-dialog .store-compact-detail-button{
 display:flex;align-items:center;justify-content:center;gap:9px;
 width:100%;min-height:42px;padding:8px 10px;
 border-radius:999px;border:1px solid #d6b5e6;background:linear-gradient(135deg,#faf0ff,#fff7fb);
 color:#69458a;font-size:12px;font-weight:850;cursor:pointer;margin-top:2px;
}
.yume-storefront-dialog .store-compact-detail-button[aria-expanded="true"]{
 background:linear-gradient(125deg,#8761b1,#bd8dd0);border-color:#8761b1;color:white;
}
.yume-storefront-dialog .store-category-empty{
 text-align:center;border:1px dashed #e0c9eb;background:#fef9ff;color:#856b93;
 padding:25px 12px;border-radius:15px;
}
.yume-storefront-dialog .store-category-empty[hidden],
.yume-storefront-dialog .store-compact-detail-panel[hidden]{display:none!important}
.yume-storefront-dialog .store-compact-detail-panel{
 min-width:0;padding:18px;border:1px solid #d7b8e6;border-radius:21px;
 background:linear-gradient(125deg,#fff9ff,#f7eafe);
 box-shadow:0 9px 22px #69448320;
 display:grid;gap:14px;
}
.yume-storefront-dialog .store-compact-detail-heading{
 display:flex;justify-content:space-between;gap:10px;align-items:flex-start;min-width:0;
}
.yume-storefront-dialog .store-compact-detail-heading h4{
 color:#62407c;font-size:19px;line-height:1.4;margin:5px 0 0;overflow-wrap:anywhere;
}
.yume-storefront-dialog .store-compact-detail-heading small{color:#976faf;font-size:12px;font-weight:800}
.yume-storefront-dialog .store-compact-close{
 width:36px;height:36px;flex-shrink:0;border:1px solid #e4cdea;
 background:#fff;border-radius:50%;color:#76568f;font-size:23px;cursor:pointer;
}
.yume-storefront-dialog .store-compact-detail-panel>.store-product-price{font-size:15px;color:#70439c}
.yume-storefront-dialog .store-compact-detail-panel>.store-product-price strong{font-size:24px}
.yume-storefront-dialog .store-compact-meta{
 margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
.yume-storefront-dialog .store-compact-meta>div{
 padding:12px;border:1px solid #e8d9ef;border-radius:12px;background:#fff;
 min-width:0;overflow-wrap:anywhere;
}
.yume-storefront-dialog .store-compact-meta dt{font-size:11px;color:#8d77a0;margin-bottom:5px}
.yume-storefront-dialog .store-compact-meta dd{font-size:13px;color:#63477b;font-weight:750;margin:0}
.yume-storefront-dialog .store-compact-note{margin:0;color:#897296;font-size:12px;line-height:1.6}
.yume-storefront-dialog .store-compact-detail-panel .store-item-actions{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.yume-storefront-dialog :is(.store-category-choice,.store-carousel-arrow,.store-compact-detail-button,.store-compact-close):focus-visible{
 outline:3px solid #a872bf;outline-offset:3px;
}
@media(max-width:750px){
 .yume-storefront-dialog .store-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .yume-storefront-dialog .store-category-choice{min-height:82px;padding:8px 5px}
 .yume-storefront-dialog .store-compact-track>.store-item.store-compact-card{
  flex:0 0 min(77%,285px)!important;
  min-height:258px;
 }
}
@media(max-width:390px){
 .yume-storefront-dialog .store-carousel-heading h4{font-size:15px}
 .yume-storefront-dialog .store-carousel-heading p{font-size:11px}
 .yume-storefront-dialog .store-carousel-controls{gap:3px}
 .yume-storefront-dialog .store-carousel-arrow{width:33px;height:33px}
 .yume-storefront-dialog .store-compact-meta{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 .yume-storefront-dialog .store-category-choice{transition:none!important}
 .yume-storefront-dialog .store-compact-track{scroll-behavior:auto!important}
}
