/* source: ../study-v570-guide-collection-backgrounds/collection-background.css */
/* V570 study: original collection art and product scrolls remain untouched. */
@media (max-width: 900px) {
  #collection, #collection, #collection .scene{
    background-color: #e2d1b6 !important;
  }
  #collection .scene{
    background-image: none !important;
    isolation: isolate;
  }
  #collection .scene::before{
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    aspect-ratio: 2 / 3 !important;
    pointer-events: none;
    z-index: -1 !important;
    background: url('../../study-v570-guide-collection-backgrounds/02-collection-mobile-painted-background.png') center top / 100% 100% no-repeat !important;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  }
}


/* source: ../study-v103-footer-theo-vung-lua/style.css */
#collection{--wall:#f7f0e2;--ink:#2a211d;--wood:#70472f;--edge:#b49761;--jade:#416b62}
#collection, #collection *{box-sizing:border-box}#collection{margin:0;background:var(--wall);color:var(--ink);font-family:'Times New Roman',serif}
#collection .scene{position:relative;width:100%;max-width:1536px;margin:auto;overflow:hidden;container-type:inline-size}
#collection .room{display:block;width:100%;height:auto}#collection .mascot{position:absolute;left:-4%;width:26%;height:auto;pointer-events:none}#collection .door-front{position:absolute;inset:0;width:100%;pointer-events:none}
#collection .search{position:absolute;left:31%;width:60%}#collection .search>img{display:block;height:auto}#collection .tools{position:absolute;inset:12% 4%;display:flex;align-items:center;gap:1cqw;font-size:clamp(15px,1.1cqw,18px)}
#collection button, #collection select{font:inherit;color:inherit;cursor:pointer}#collection select{min-width:0;max-width:23%;background:transparent;border:0;min-height:44px}#collection .tools button{background:transparent;border:0;min-height:44px;padding:4px}#collection #count{margin-left:auto;font-size:clamp(13px,1cqw,16px);white-space:nowrap}
#collection .card{position:absolute;top:13%;width:27%;aspect-ratio:2/3}#collection .scroll-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#collection .card header{position:absolute;left:17%;width:66%;top:17%;text-align:center}#collection .card h2{font-size:clamp(17px,1.3cqw,20px);font-weight:normal;margin:0 0 5px}#collection .code{font-size:clamp(12px,.85cqw,14px);color:var(--wood)}#collection .vip{font-weight:bold;color:var(--jade)}
#collection .photo{position:absolute;top:27%;height:48%;display:flex;align-items:center;justify-content:center;border:0;background:transparent;padding:0}#collection .photo img{width:auto;max-width:100%;max-height:100%;}
#collection .footer{position:absolute;left:22%;width:56%;top:76%;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:12px;align-items:center}
#collection .info{font-size:clamp(13px,.95cqw,15px);line-height:1.25}#collection .info p{display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px;margin:4px 0}#collection .info img{width:18px;height:18px}#collection .actions{display:flex;flex-direction:column;gap:8px}#collection .actions button{min-height:44px;width:100%;border:1px solid var(--edge);border-radius:5px;background:var(--wall);font-size:clamp(13px,1cqw,16px)}#collection .actions button:last-child{background:var(--jade);}
#collection .nav{position:absolute;left:31%;width:61%;top:73.5%;display:flex;gap:16px;align-items:center;justify-content:center}#collection .nav button{background:var(--wall);border:1px solid var(--edge);border-radius:50%;font-size:24px}#collection .nav button:disabled{opacity:.4;cursor:default}
#collection button:focus-visible, #collection select:focus-visible{outline:3px solid var(--jade);outline-offset:3px}#collection .note{max-width:1000px;padding:0 20px;margin:20px auto;font:16px/1.5 system-ui;color:var(--wood)}
#collection dialog{max-width:90vw;max-height:90vh;padding:48px 20px 20px;border:1px solid var(--edge);background:var(--wall);color:var(--ink)}#collection dialog::backdrop{background:#2a211dcc}#collection .close{position:absolute;right:2px;top:2px;width:44px;height:44px;border:0;background:transparent;font-size:28px}#collection #zoom-image{display:block;max-width:85vw;max-height:78vh;object-fit:contain}#collection textarea{width:100%;min-height:100px;font:inherit}
@media(max-width:700px){#collection .scene{aspect-ratio:auto;padding:20px}#collection .room, #collection .mascot, #collection .door-front{display:none}#collection .search{}#collection .search>img{}#collection .tools{display:flex;flex-wrap:wrap;font-size:16px}#collection .tools select{max-width:100%}#collection #cards{display:grid;}#collection .card{position:relative!important;inset:auto!important;width:100%;aspect-ratio:auto;padding:20px;border:1px solid var(--edge)}#collection .scroll-art{display:none}#collection .card header, #collection .photo, #collection .footer{position:static;width:100%;margin:0 0 16px}#collection .card h2{font-size:22px}#collection .code{font-size:14px}#collection .photo{height:auto}#collection .photo img{width:auto;height:auto}#collection .footer{grid-template-columns:1fr}#collection .info{}#collection .actions{flex-direction:row}#collection .nav{margin-top:20px}}


/* source: ../study-v103-footer-theo-vung-lua/refinement.css */
/* Insets are inside the artwork's paper, not relative to the rod ends. */
#collection .card header{left:22%;width:56%}
#collection .code{display:inline-flex;align-items:center;justify-content:center;gap:6px}
#collection .vip{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;background:var(--jade);color:var(--wall);border:1px solid var(--edge);outline:1px solid var(--jade);outline-offset:2px;font-size:12px;letter-spacing:.08em;border-radius:3px}
#collection .info p{grid-template-columns:16px minmax(0,1fr)}
#collection .info img{width:16px;height:16px;opacity:.8}
#collection .info p:last-child{font-weight:bold;color:var(--wood)}
#collection .actions button{border-radius:9px 3px 9px 3px;font-size:13px;box-shadow:inset 0 0 0 2px var(--wall)}
#collection .actions button:last-child{box-shadow:inset 0 0 0 2px var(--jade),inset 0 0 0 3px var(--edge)}
#collection .card[data-tier="vip"] .footer{border-top:1px solid var(--edge);padding-top:7px;top:75%}
#collection .card[data-tier="vip"] .actions button{border-radius:11px 3px 11px 3px;border-color:var(--jade);box-shadow:inset 0 0 0 2px var(--wall),inset 0 0 0 3px var(--edge)}
#collection .card[data-tier="vip"] .actions button:last-child{background:#263f3b;box-shadow:inset 0 0 0 2px #263f3b,inset 0 0 0 3px var(--edge)}
@media(max-width:700px){
 #collection .card header{position:static;width:100%}
 #collection .card[data-tier="vip"]{border:1px solid var(--edge);outline:1px solid var(--edge);outline-offset:-5px}
 #collection .card[data-tier="vip"] .footer{padding-top:14px}
}


/* source: ../study-v103-footer-theo-vung-lua/composition.css */
#collection .search{left:28.2%;top:3.5%;width:67%;height:13.2%}
#collection .search>img{width:100%;height:100%}
#collection .tools{inset:13% 9%;display:grid;grid-template-columns:1.25fr 1.3fr 1fr 1fr;gap:6px 10px;font-size:15px}
#collection #query{grid-column:1/-1;min-width:0;min-height:44px;padding:0 12px;font:inherit;color:var(--ink);background:#faf4e8;border:1px solid var(--edge);border-radius:12px}
#collection .tools select{max-width:100%;width:100%;padding:0 6px;background:#faf4e8;border:1px solid var(--edge);border-radius:5px}
#collection .tools button{background:#faf4e8;border:1px solid var(--edge);border-radius:5px}
#collection #count{justify-self:end}
#collection .card{left:var(--center);transform:translateX(-50%);width:25.346365%;top:17%}
#collection .card[data-tier="vip"]{width:24.424961%;top:19.063%}
#collection .card header{left:18%;width:64%;top:13.5%}
#collection .card h2{font-size:18px;margin-bottom:3px}
#collection .photo{left:17%;width:66%;top:22%;height:52%}
#collection .card[data-tier="vip"] .photo{left:16%;width:68%;top:21%;height:53.3%}
#collection .footer, #collection .card[data-tier="vip"] .footer{top:74.6%;border:0;padding:0;gap:12px;}
#collection .info{font-size:13px}
#collection .card[data-tier="vip"] header{top:12.8%}
#collection .card[data-tier="vip"] h2{font-size:17px;display:flex;gap:6px;align-items:center;justify-content:center}
#collection .card[data-tier="vip"] .vip{padding:2px 5px;outline:0}
#collection .actions{gap:6px}
#collection .table-art{position:absolute;left:39%;top:76%;width:59%;height:auto;pointer-events:none}
#collection .nav{top:75%;left:28%;width:68%}
@media(min-width:701px) and (max-width:1350px){
 #collection .card header{transform:translateY(-5px)}
 #collection .card h2, #collection .card[data-tier="vip"] h2{}
}
@media(max-width:700px){
#collection .search{position:relative;inset:auto;width:100%;}
#collection .tools{}
#collection #count{}
#collection .table-art{display:none}
#collection .card, #collection .card[data-tier="vip"]{transform:none}
#collection .card header, #collection .card[data-tier="vip"] header, #collection .footer, #collection .card[data-tier="vip"] .footer, #collection .photo{position:static;width:100%;height:auto}
#collection .card[data-tier="vip"] .photo{position:static;width:100%;height:auto}
#collection .footer, #collection .card[data-tier="vip"] .footer{grid-template-columns:1fr}
#collection .info{font-size:16px}
#collection .nav{}
}


/* source: ../study-v103-footer-theo-vung-lua/v97.css */
/* V97: new one-piece sources, common geometry, and safe content region. */
#collection .search{top:1%;height:136px;z-index:5}
#collection .tools{inset:14px 9% auto;height:95px;grid-template-columns:1.2fr 1.4fr 1fr 1fr;font-size:14px}
#collection .tools select{display:none}
#collection #query, #collection .tools button{min-height:44px;border-color:#b4976170;background:#faf4e8cc;border-radius:6px}
#collection .tools button{padding:0 9px}
#collection .picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:6px;white-space:nowrap}
#collection .picker-trigger::after{content:"⌄";font-size:15px;color:var(--wood)}
#collection #count{align-self:center}
#collection .card, #collection .card[data-tier="vip"]{width:28%;top:17%}
#collection .card header, #collection .card[data-tier="vip"] header{left:18%;width:64%;top:13.8%;transform:none}
#collection .card h2, #collection .card[data-tier="vip"] h2{line-height:1.1;margin:0 0 3px;white-space:nowrap}
#collection .card .code{display:block;line-height:1.1}
#collection .card header{font-size:12px;line-height:1}
#collection .card[data-tier="vip"] .vip{font-size:10px;line-height:1;padding:1px 4px}
#collection .photo, #collection .card[data-tier="vip"] .photo{left:18%;width:64%;top:21%;height:52%}
#collection .footer, #collection .card[data-tier="vip"] .footer{left:18%;width:64%;top:73.9%;gap:10px;grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
#collection .info{font-size:12px;line-height:1.2}
#collection .info p{grid-template-columns:15px minmax(0,1fr);gap:5px;margin:3px 0}
#collection .info img{width:15px;height:15px}
#collection .actions{gap:4px}
#collection .actions button, #collection .actions button:last-child{position:relative;isolation:isolate;padding:0 4px 0 16%;border:0;border-radius:0;box-shadow:none!important;background:transparent!important;font-size:12px;line-height:1.1;color:var(--ink)}
#collection .actions button:last-child{color:var(--wall)}
#collection .actions button::before{content:"";position:absolute;z-index:-1;inset:6px 0;background:url("../../study-v103-footer-theo-vung-lua/assets-v97/regular-detail.svg") center/100% 100% no-repeat;pointer-events:none}
#collection .actions button:last-child::before{background-image:url("../../study-v103-footer-theo-vung-lua/assets-v97/regular-ask.svg")}
#collection .card[data-tier="vip"] .actions button::before{background-image:url("../../study-v103-footer-theo-vung-lua/assets-v97/vip-detail.svg")}
#collection .card[data-tier="vip"] .actions button:last-child::before{background-image:url("../../study-v103-footer-theo-vung-lua/assets-v97/vip-ask.svg")}
#collection .card[data-tier="vip"] .actions button{box-shadow:none;background:transparent;border:0}
#collection .actions button:hover::before{filter:brightness(1.06)}
#collection:not([data-action-art="ready"]) .actions button::before{background-image:none}
#collection .nav{top:75.5%;gap:8px;font-size:13px}
#collection .nav button{position:relative;width:44px;height:44px;border:0;background:transparent;font-size:20px;border-radius:0;isolation:isolate}
#collection .nav button::before{content:"";position:absolute;z-index:-1;inset:7px;background:#faf4e8b3;border:1px solid #b4976199;border-radius:9px 3px 9px 3px;box-shadow:inset 0 0 0 2px #f7f0e2}
#collection #page{min-width:44px;text-align:center;color:var(--wood);letter-spacing:1px}
#collection .picker-panel{position:fixed;z-index:50;padding:16px;background:#faf4e8;border:1px solid var(--edge);border-radius:12px 4px 12px 4px;box-shadow:inset 0 0 0 3px var(--wall),inset 0 0 0 4px #b4976140,0 10px 26px #2a211d26;max-height:min(440px,70vh);overflow:auto;color:var(--ink)}
#collection .picker-panel[hidden]{display:none}
#collection .picker-title{margin:0 0 10px;font-size:17px;font-weight:normal;color:var(--wood)}
#collection .picker-title::before{content:"❧";color:var(--edge);margin-right:7px}
#collection .picker-query{width:100%;min-height:44px;padding:0 10px;border:1px solid #b4976166;border-radius:5px;background:#f7f0e2;font:inherit;color:inherit;margin-bottom:8px}
#collection .picker-options{display:grid;gap:3px}
#collection .picker-option{min-height:44px;text-align:left;padding:7px 10px;font:inherit;background:transparent;border:1px solid transparent;border-radius:5px;color:inherit;display:flex;justify-content:space-between;align-items:center}
#collection .picker-option[aria-selected="true"]{border-color:#b4976170;background:#87977e22}
#collection .picker-option[aria-selected="true"]::after{content:"✓";color:var(--jade)}
#collection .picker-option:hover, #collection .picker-option:focus-visible{background:#87977e22}
@media(min-width:701px) and (max-width:1350px){
#collection .card h2, #collection .card[data-tier="vip"] h2{font-size:15px}
#collection .photo, #collection .card[data-tier="vip"] .photo{height:50%}
#collection .footer, #collection .card[data-tier="vip"] .footer{top:71.9%}
#collection .info{font-size:11px}
}
@media(max-width:1100px) and (min-width:701px){
#collection .scene{aspect-ratio:auto;padding:22px;background:var(--wall)}
#collection .room, #collection .mascot, #collection .door-front, #collection .table-art{display:none}
#collection .search{position:relative;left:auto;top:auto;width:100%;margin-bottom:24px}
#collection #cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#collection .card, #collection .card[data-tier="vip"]{position:relative;left:auto!important;top:auto;transform:none;width:100%}
#collection .card h2, #collection .card[data-tier="vip"] h2{font-size:16px}
#collection .nav{position:static;width:100%;margin-top:20px}
}
@media(max-width:700px){
#collection .search{}
#collection .tools{}
#collection #query{}
#collection #count{}
#collection .card, #collection .card[data-tier="vip"]{top:auto}
#collection .card header, #collection .card[data-tier="vip"] header, #collection .photo, #collection .card[data-tier="vip"] .photo, #collection .footer, #collection .card[data-tier="vip"] .footer{position:static;width:100%;height:auto;transform:none}
#collection .card h2, #collection .card[data-tier="vip"] h2{}
#collection .footer, #collection .card[data-tier="vip"] .footer{grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:10px}
#collection .info{font-size:15px}#collection .actions{flex-direction:column;}
#collection .actions button{font-size:14px}
#collection .nav{position:static}
}


/* source: ../study-v103-footer-theo-vung-lua/v98.css */
/* V98 — source-derived anchors. No raster edits. */
#collection .search{height:110px}
#collection .tools{height:73px;grid-template-rows:44px 22px;}
#collection #query{grid-column:auto;width:100%;padding:0 10px}
#collection #count{grid-column:1/-1;justify-self:center;font-size:13px;margin:0}
#collection #query, #collection .tools button{background:transparent;border:1px solid #70472f33;border-radius:7px 3px 6px 3px;box-shadow:inset 0 1px 2px #70472f12,inset 0 -1px 0 #faf4e8b3}
#collection #query:focus-visible, #collection .tools button:focus-visible{outline:2px solid var(--jade);outline-offset:2px;background:#87977e10}
#collection .tools button:hover{background:#87977e10}
#collection .card h2, #collection .card[data-tier="vip"] h2{line-height:1;margin:0;font-size:17px}
#collection .card .code{font-size:12px;line-height:1}
#collection .actions{}
#collection .actions button{flex:1 1 0;min-width:44px}
#collection .photo, #collection .card[data-tier="vip"] .photo{display:block;height:auto;padding:0;margin:0}
#collection .photo img{display:block;width:100%;height:auto;max-width:none;max-height:none;object-fit:contain}
#collection .nav{width:180px}
#collection .card.compact-actions .actions{flex-direction:row;gap:3px}
#collection .card.compact-actions .footer{grid-template-columns:minmax(0,1fr) 91px}
#collection .card.compact-actions .actions button{font-size:10px;padding:0 2px}
#collection .card.compact-actions .info{font-size:11px;line-height:1.15}
#collection .card.compact-actions .info p{margin:1px 0}
@media(min-width:1101px) and (max-width:1350px){
#collection .card h2, #collection .card[data-tier="vip"] h2{font-size:15px}
#collection .actions{flex-direction:row;gap:3px}
#collection .actions button{font-size:10px;padding:0 2px}
#collection .footer, #collection .card[data-tier="vip"] .footer{grid-template-columns:minmax(0,1fr) 91px}
}
@media(max-width:1100px){
#collection .tools{height:73px}
}
@media(max-width:700px){
#collection .tools{}
#collection #query{}
#collection #count{grid-column:auto;justify-self:start}
#collection .nav{width:100%}
#collection .card h2, #collection .card[data-tier="vip"] h2{font-size:22px;line-height:1.1}
#collection .card .code{font-size:14px;line-height:1.2}
#collection .actions{gap:4px}
#collection .footer, #collection .card[data-tier="vip"] .footer{margin-top:10px}
#collection .photo img{width:100%;max-width:100%}
}


/* source: ../study-v103-footer-theo-vung-lua/v99.css */
/* V99: common portrait frame, permanent vertical actions. */
#collection .scene{isolation:isolate}
#collection .scene::before{content:"";position:absolute;left:0;right:0;top:var(--base-height,100%);bottom:0;background:url("../../study-v103-footer-theo-vung-lua/assets-v96/background.png") center bottom/100% auto no-repeat;z-index:-1;pointer-events:none}
#collection .scene .actions{flex-direction:column;gap:0}
#collection .scene .footer{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
#collection .scene .actions button{font-size:12px;padding:0 4px 0 16%}
#collection .scene .info{font-size:12px;line-height:1.2;align-self:start;display:grid;grid-template-rows:28px 32px 20px}
#collection .scene .info p{margin:0}
#collection .scene .photo{aspect-ratio:4/5;overflow:hidden}
#collection .scene .photo img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center}
@media(min-width:1351px){
#collection .scene{aspect-ratio:auto}
#collection .door-front{height:var(--base-height)}
#collection .mascot{bottom:auto}
}
@media(min-width:701px) and (max-width:1350px){
#collection .scene{aspect-ratio:auto;padding:22px;}
#collection .room, #collection .mascot, #collection .door-front, #collection .table-art{display:none}
#collection .scene::before{display:none}
#collection .search{position:relative;left:auto;top:auto!important;width:100%;margin-bottom:24px}
#collection #cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#collection .card, #collection .card[data-tier="vip"]{position:relative;left:auto!important;top:auto!important;transform:none;width:100%}
#collection .scene .card h2, #collection .scene .card[data-tier="vip"] h2{font-size:17px}
#collection .nav{position:static;width:100%;margin-top:20px}
}
@media(min-width:701px) and (max-width:900px){
#collection #cards{grid-template-columns:minmax(0,1fr);margin:auto}
}
@media(max-width:700px){
#collection .scene{height:auto!important}
#collection .scene::before{display:none}
#collection .scene .photo{height:auto;aspect-ratio:4/5}
#collection .scene .photo img{height:100%}
#collection .scene .footer{grid-template-columns:minmax(0,3fr) minmax(0,2fr);margin-top:12px}
#collection .scene .info{font-size:15px;grid-template-rows:auto;gap:5px}
#collection .scene .actions{gap:4px}
}


/* source: ../study-v103-footer-theo-vung-lua/v100.css */
/* V100: status and paging belong to the filter architecture. */
#collection .scene{aspect-ratio:3/2;height:auto!important}
#collection .scene::before{content:none}
#collection .search{height:122px}
#collection .tools{height:101px;grid-template-columns:1.35fr 1.1fr 1.25fr 1fr;grid-template-rows:44px 45px;gap:7px 10px}
#collection .filter-status{grid-column:1/-1;min-width:0;height:45px;display:grid;grid-template-columns:minmax(132px,1fr) 1px minmax(190px,1.12fr);align-items:center;border:1px solid #8b684c52;border-radius:9px 3px 9px 3px;background:linear-gradient(180deg,#f2e8d8c9,#faf4e8d6 52%,#e9dcc8bd);box-shadow:inset 0 0 0 2px #fff9edaa,inset 0 3px 8px #6d493019,0 1px 0 #fff8e7;color:var(--wood);overflow:hidden}
#collection .filter-status>i{width:1px;height:25px;background:linear-gradient(transparent,#8b684c70,transparent)}
#collection .filter-status #count{grid-column:auto;justify-self:center;margin:0;padding:0 12px;font-size:13px;letter-spacing:.035em}
#collection .filter-status .nav{position:static!important;width:auto!important;height:44px;margin:0!important;display:flex;align-items:center;justify-content:center;gap:5px}
#collection .filter-status .nav button{width:44px;height:44px;padding:0;border:0;background:transparent;font-size:18px;color:var(--wood);isolation:isolate}
#collection .filter-status .nav button::before{inset:8px;background:#faf4e8ad;border-color:#9b775d73;border-radius:8px 3px 8px 3px;box-shadow:inset 0 0 0 2px #fff8eb}
#collection .filter-status #page{min-width:54px;font-size:12px;letter-spacing:.12em}
#collection .filter-status .nav button:disabled{opacity:.34}
#collection .table-art{top:calc(76% + 12px)}
#collection .door-front{height:100%}
#collection .mascot{top:auto!important;bottom:5.8%}
@media(min-width:1351px){#collection .search{height:122px}#collection .tools{height:101px}}
@media(min-width:701px) and (max-width:1350px){#collection .scene{aspect-ratio:auto!important;height:auto!important}#collection .filter-status{grid-column:1/-1}#collection .filter-status .nav{display:flex}}
@media(max-width:700px){#collection .search{}#collection .tools{}#collection .filter-status{grid-template-columns:1fr 1px 1.3fr;height:48px}#collection .filter-status .nav{position:static;width:auto;margin:0}#collection .filter-status #count{font-size:12px;padding:0 5px}}


/* source: ../study-v103-footer-theo-vung-lua/v101.css */
/* V101: one shared footer datum and directional sunlight shadows. */
#collection .footer, #collection .card[data-tier="vip"] .footer{}
#collection .info{align-self:stretch}
#collection .info p{min-width:0}
#collection .info p span{min-width:0;overflow-wrap:anywhere}
#collection .actions{grid-template-rows:repeat(2,44px);gap:2px;align-self:stretch}
#collection .actions button, #collection .actions button:last-child{min-height:44px;height:44px;}
#collection .mascot{filter:drop-shadow(10px 15px 11px rgba(79,51,30,.17))}
#collection .table-art{filter:none}
@media(max-width:700px){#collection .info{gap:4px}#collection .actions{grid-template-rows:repeat(2,44px);}}
@media(prefers-reduced-motion:reduce){#collection .mascot, #collection .table-art{transition:none}}


/* source: ../study-v103-footer-theo-vung-lua/v102.css */
/* V102: visible cast shadows, not rectangular box shadows. */
#collection .room{position:relative;z-index:0}
#collection .mascot-ground-shadow{position:absolute;display:block;pointer-events:none;z-index:1}
#collection .mascot-ground-shadow{left:5.5%;bottom:4.1%;width:23%;height:9%;border-radius:50%;background:radial-gradient(ellipse at 42% 52%,rgba(71,44,25,.48) 0,rgba(71,44,25,.29) 38%,rgba(71,44,25,.11) 62%,transparent 78%);filter:blur(7px);transform:translateX(20px) skewX(-19deg) rotate(5deg)}
#collection .mascot{z-index:2;filter:drop-shadow(17px 18px 8px rgba(74,46,28,.38))}
#collection .table-art{z-index:2;filter:none}
#collection .door-front{z-index:3}
#collection .search, #collection .card{z-index:4}
#collection .footer, #collection .card[data-tier="vip"] .footer{}
#collection .info{display:grid;grid-template-rows:repeat(3,30px);height:90px;min-height:90px;align-self:start}
#collection .info p{height:30px;margin:0;align-items:center}
#collection .actions{display:grid;grid-template-rows:42px 6px 42px;height:90px;min-height:90px;gap:0;align-self:start}
#collection .actions button, #collection .actions button:last-child{height:42px;min-height:42px;align-self:stretch}
#collection .actions button:first-child{grid-row:1}
#collection .actions button:last-child{grid-row:3}
#collection .actions button::before{inset:2px 0}
@media(max-width:1350px){#collection .mascot-ground-shadow{display:none}}
@media(max-width:700px){#collection .info{height:auto;min-height:0;grid-template-rows:auto}#collection .info p{height:auto;min-height:30px}#collection .actions{height:90px;min-height:90px}}


/* source: ../study-v103-footer-theo-vung-lua/v103.css */
/* V103: the footer is a measured content region, not a visual guess. */
#collection .footer, #collection .card[data-tier="vip"] .footer{box-sizing:border-box;align-items:stretch;overflow:visible}
#collection .scene .footer .info{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));height:100%;min-height:0;align-self:stretch;font-size:clamp(11px,.82cqw,12px);line-height:1.12}
#collection .scene .footer .info p{height:auto;min-height:0;margin:0;display:flex;align-items:center;overflow:hidden}
#collection .scene .footer .actions{display:grid;grid-template-rows:minmax(0,1fr) 5px minmax(0,1fr);height:100%;min-height:0;align-self:stretch;gap:0}
#collection .scene .footer .actions button, #collection .scene .footer .actions button:last-child{height:100%;min-height:0}
#collection .scene .footer .actions button:first-child{grid-row:1}#collection .scene .footer .actions button:last-child{grid-row:3}
#collection .scene .footer .actions button::before{inset:1px 0}
#collection .card[data-footer-gate="fail"] .footer{outline:2px solid #a00}
@media(max-width:700px){#collection .scene .footer .info{height:auto;grid-template-rows:auto;gap:4px}#collection .scene .footer .actions{height:90px;grid-template-rows:42px 6px 42px}#collection .scene .footer .actions button, #collection .scene .footer .actions button:last-child{min-height:42px}}


/* source: ../study-v136-thanh-loc-lua-go-manh/v104.css */
/* V104: desktop art remains unchanged; tablet/mobile cards own their coordinates. */
@media(max-width:1350px){
  #collection .scene{height:auto!important;min-height:100vh;overflow:visible;padding:22px;background:#f7f0e2;isolation:isolate}
  #collection .scene::before, #collection .room, #collection .mascot, #collection .door-front, #collection .table-art, #collection .mascot-ground-shadow{display:none}
  #collection .search{position:relative;left:auto;top:auto!important;width:100%;height:110px;margin:0 auto 28px;max-width:1240px}
  #collection .search>img{display:block;width:100%;height:100%}
  #collection #cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;max-width:1220px;margin:auto;align-items:start}
  #collection .card, #collection .card[data-tier="vip"]{position:relative!important;inset:auto!important;left:auto!important;top:auto!important;width:100%;aspect-ratio:2/3;transform:none;padding:0;border:0}
  #collection .scroll-art{display:block;position:absolute;inset:0;width:100%;height:100%}
  #collection .card header, #collection .card[data-tier="vip"] header{position:absolute;left:17.2%;top:13.45%;width:65.6%;height:auto;margin:0;transform:none}
  #collection .scene .photo, #collection .scene .card[data-tier="vip"] .photo{position:absolute;left:17.2%;top:20%;width:65.6%;height:auto;aspect-ratio:4/5;margin:0;overflow:hidden}
  #collection .scene .photo img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
  #collection .scene .footer, #collection .scene .card[data-tier="vip"] .footer{position:absolute;left:18.5%;top:75.2%;width:63%;height:64px;margin:0;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:8px}
  #collection .scene .nav{position:static;width:auto;margin:0}
}
@media(min-width:901px) and (max-width:1350px){
  #collection #cards .card:last-child:nth-child(odd){grid-column:1/-1;width:calc((100% - 34px)/2);justify-self:center}
}
@media(min-width:701px) and (max-width:900px){
  #collection #cards{}
}
@media(max-width:700px){
  #collection .scene{padding:14px 12px 24px}
  #collection .search{height:auto;margin-bottom:20px;padding:12px;border:1px solid #b49761;border-radius:16px 5px 16px 5px;background:#faf4e8;box-shadow:inset 0 0 0 3px #f7f0e2,inset 0 0 0 4px #b4976140}
  #collection .search>img{display:none}
  #collection .tools{position:static;inset:auto;height:auto;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:8px}
  #collection #query{grid-column:1/-1}#collection .filter-status{grid-column:1/-1}
  #collection #cards{grid-template-columns:minmax(0,420px);justify-content:center;gap:20px}
  #collection .card, #collection .card[data-tier="vip"]{width:100%;aspect-ratio:2/3;padding:0;border:0}
  #collection .scroll-art{display:block}
  #collection .card header, #collection .card[data-tier="vip"] header{position:absolute;width:65.6%;left:17.2%;top:13.45%;margin:0}
  #collection .card h2, #collection .card[data-tier="vip"] h2{font-size:clamp(15px,4.5vw,18px);white-space:normal}
  #collection .card .code{font-size:12px}
  #collection .scene .photo, #collection .scene .card[data-tier="vip"] .photo{position:absolute;width:65.6%;left:17.2%;top:20%;height:auto;margin:0;aspect-ratio:4/5}
  #collection .scene .footer, #collection .scene .card[data-tier="vip"] .footer{position:absolute;left:18.5%;top:74.8%;width:63%;height:72px;margin:0;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:6px}
  #collection .scene .footer .info{font-size:11px;gap:0}#collection .scene .footer .info p{min-width:0}
  #collection .scene .footer .actions{height:72px;grid-template-rows:minmax(0,1fr) 4px minmax(0,1fr)}
  #collection .scene .footer .actions button, #collection .scene .footer .actions button:last-child{font-size:11px;min-height:0;padding-left:14%}
  #collection .note{display:none}
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v126.css */
#collection{--v114-paper:#faf4e8;--v114-paper-deep:#f1e3c9;--v114-ink:#34251d;--v114-wood:#70472f;--v114-edge:#b49761;--v114-jade:#286f69}
#collection button, #collection input{font:inherit;color:inherit}#collection button:focus-visible, #collection input:focus-visible{outline:2px solid var(--v114-jade);outline-offset:2px}
#collection .visually-hidden{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}
#collection .mobile-summary, #collection .mobile-close{display:none}

@media(min-width:1351px){
  #collection .scene .search{left:22.5%!important;top:calc(2.734375% + 16px)!important;width:76.5%!important;height:152px!important}
  #collection .scene .tools{left:22px!important;right:22px!important;top:18px!important;bottom:auto!important;width:auto!important;height:116px!important;display:grid!important;grid-template-columns:minmax(130px,15%) minmax(0,1fr) minmax(235px,25%);grid-template-rows:1fr;gap:0!important;font-size:14px}
  #collection .scene .card, #collection .scene .card[data-tier="vip"]{top:max(20%,calc(2.734375% + 168px))!important;width:26.6%!important}
  #collection .scene .card{z-index:3}#collection .scene .mascot{z-index:4}#collection .scene .door-front{z-index:5}
  #collection .scene .mascot{left:-7.22%}
  #collection .scene .table-art{transform:translateY(28px)}
}

#collection .scene .search{z-index:20;border:7px solid #70472f;border-radius:20px 7px 20px 7px;background:linear-gradient(90deg,rgba(180,151,97,.13),transparent 18%,transparent 82%,rgba(180,151,97,.13)),#f7ecd8;box-shadow:inset 0 0 0 2px #d6bd88,inset 0 0 0 6px rgba(255,250,235,.72),0 7px 14px rgba(67,39,22,.2)}
#collection .scene .search:before{content:"";position:absolute;z-index:0;inset:9px;border:1px solid rgba(112,71,47,.38);border-radius:11px 3px 11px 3px;pointer-events:none}#collection .scene .search:after{content:"";position:absolute;z-index:0;left:25%;right:25%;top:-12px;height:8px;border-radius:50%;background:#70472f;box-shadow:0 2px 0 #c7a66b;pointer-events:none}
#collection .filter{color:var(--v114-ink);z-index:1}
#collection .compartment{min-width:0;padding:6px 12px;position:relative;display:grid;grid-template-rows:1fr 1fr;gap:6px}
#collection .compartment+.compartment{border-left:1px solid rgba(112,71,47,.38);box-shadow:-5px 0 9px rgba(112,71,47,.04)}
#collection .measure-top{display:grid;grid-template-columns:repeat(2,minmax(0,68px));justify-content:start;gap:8px}#collection .measure-bottom{min-width:0}
#collection .measure-top label, #collection .main-cell>label{display:block;margin:0 0 3px;font-size:13px;line-height:1.05;white-space:nowrap}
#collection .filter input[type=number], #collection .filter input[type=text], #collection .filter input[type=search], #collection .filter button{height:42px;min-width:0;width:100%;padding:5px 9px;border:1px solid rgba(112,71,47,.42);border-radius:7px 2px 7px 2px;background:rgba(255,250,238,.82);box-shadow:inset 0 1px 2px rgba(112,71,47,.06);font-size:14px}
#collection .measure-top input{padding-left:7px;padding-right:5px}#collection .measure-top input[type=number]{appearance:textfield}#collection .measure-top input[type=number]::-webkit-inner-spin-button, #collection .measure-top input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}
#collection .filter button:hover{background:rgba(135,151,126,.10)}
#collection .measure-bottom>button{text-align:center;font-size:14px;font-weight:600}#collection .measure-bottom>button[data-active=true], #collection .main-cell>button[data-active=true]{border-color:var(--v114-jade)}
#collection .small-note{font-size:10px;line-height:1.15;white-space:nowrap;margin:2px 0 0}#collection .measure-bottom{position:relative}#collection .measure-bottom .small-note{position:absolute;z-index:5;left:0;top:43px;padding:3px 5px;background:#fff8eb;border:1px solid #b49761}
#collection .main-controls{grid-template-columns:minmax(120px,1fr) minmax(0,1.55fr) minmax(0,1.55fr);grid-template-rows:42px 48px;gap:8px 10px}#collection .main-line, #collection .stone-zone{display:contents}#collection .main-cell{position:relative;min-width:0}#collection .main-cell>button{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#collection .price-cell{grid-column:1/3}
#collection .price-line{display:flex;align-items:center;height:27px}#collection .price-rails{position:relative;flex:1;height:27px;display:flex;align-items:center}#collection .price-rails:before{content:"";position:absolute;left:8px;right:8px;height:4px;background:#c4b08c}
#collection .price-rails input{position:absolute;left:0;width:100%;height:27px;margin:0;appearance:none;background:none;pointer-events:none}#collection .price-rails input::-webkit-slider-thumb{appearance:none;width:17px;height:17px;border:2px solid var(--v114-wood);border-radius:50%;background:var(--v114-paper);pointer-events:auto}#collection .price-rails input::-moz-range-thumb{width:15px;height:15px;border:2px solid var(--v114-wood);border-radius:50%;background:var(--v114-paper);pointer-events:auto}#collection .price-rails #price-low{z-index:2}#collection .price-ticks{display:flex;justify-content:space-between;font-size:13px;line-height:1}#collection .price-cell>label{margin-bottom:0}#collection #price-readout{font-weight:700}
#collection .utilities{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:9px;padding:7px 10px}#collection .utility-left{display:grid;grid-template-rows:1fr 1fr;gap:7px;min-width:0}#collection .utility-left>#all{height:100%;font-size:14px}#collection .utilities>#order-cta{height:100%;border:1px solid #235e59;background:#286f69;color:#fffaf0;box-shadow:inset 0 0 0 2px rgba(255,250,240,.12),0 3px 8px rgba(40,111,105,.18);font-size:15px;line-height:1.05;text-align:center}#collection .utilities>#order-cta:hover{background:#235e59}#collection .utilities>#order-cta span, #collection .utilities>#order-cta strong{display:block}#collection .utilities>#order-cta strong{font-size:18px;font-weight:600;margin-top:3px}
#collection .filter .pager{position:static!important;width:auto!important;height:100%;margin:0!important;display:grid;grid-template-columns:36px 1fr 36px;gap:5px;align-items:center}#collection .filter .pager button{height:100%;padding:0;font-size:18px}#collection .filter .pager span{text-align:center;white-space:nowrap;font-size:13px}

#collection .panel{position:absolute;z-index:30;left:0;top:50px;min-width:250px;overflow:auto;padding:11px;border:1px solid var(--v114-edge);background:var(--v114-paper);box-shadow:0 10px 24px rgba(61,39,26,.2)}#collection .panel[hidden]{display:none}#collection .panel h3{font-size:17px;margin:0 0 6px}#collection .panel p{font-size:13px;margin:5px 0}#collection .panel label{display:flex;align-items:center;gap:8px;min-height:42px;padding:3px;white-space:normal;font-size:14px}#collection .panel input[type=checkbox]{width:18px;height:18px}#collection .panel input[type=search], #collection .panel input[type=number]{height:42px;margin:4px 0}#collection .drop-list{max-height:285px;overflow:auto}#collection .drop-list label{border-bottom:1px dashed rgba(112,71,47,.3)}#collection #stone-panel{width:260px}#collection #suffix-panel{width:380px;left:auto;right:0}
#collection .scene .footer .info p span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

#collection .mascot-voice{position:absolute;z-index:6;left:.88%;top:auto;bottom:65%;width:220px;pointer-events:none}#collection .voice-bubble{position:relative;padding:13px 15px;border:1px solid rgba(112,71,47,.62);border-radius:18px 7px 18px 7px;background:rgba(250,244,232,.97);box-shadow:0 8px 20px rgba(70,43,27,.14);pointer-events:auto}#collection .voice-bubble:after{content:"";position:absolute;left:78px;bottom:-9px;width:16px;height:16px;background:var(--v114-paper);border-right:1px solid rgba(112,71,47,.62);border-bottom:1px solid rgba(112,71,47,.62);transform:rotate(45deg)}#collection .voice-bubble strong{display:block;font-size:18px;font-weight:normal;color:var(--v114-wood)}#collection .voice-details{font-size:14px;line-height:1.3}#collection .voice-details[hidden]{display:none}#collection .voice-details p{margin:6px 0 0}#collection .voice-bubble.active{animation:v114-voice .24s ease-out}@keyframes v114-voice{from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:none}}

#collection .order-zone{max-width:1180px;margin:36px auto 72px;padding:34px 40px;border:1px solid rgba(180,151,97,.65);background:#faf4e8;color:var(--v114-ink);scroll-margin-top:24px}#collection .order-zone .eyebrow{margin:0 0 5px;text-transform:uppercase;letter-spacing:.16em;font-size:11px;color:var(--v114-jade)}#collection .order-zone h2{font:normal 30px/1.1 'Times New Roman',serif;margin:0 0 10px}#collection .order-zone>p:last-child{max-width:620px;margin:0;line-height:1.55}

@media(max-width:1350px) and (min-width:901px){
  #collection .scene{padding-top:22px}#collection .scene .search{height:auto!important;margin-bottom:26px;padding:10px}#collection .scene .search:after{display:none}#collection .scene .tools{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;height:116px!important;display:grid!important;grid-template-columns:minmax(130px,15%) minmax(0,1fr) minmax(225px,25%);gap:0!important}
  #collection .mascot-voice{display:none}#collection .mobile-summary{display:flex;max-width:1240px;margin:0 auto 10px;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid rgba(112,71,47,.25)}#collection .mobile-summary button{width:auto;min-width:130px;height:40px;border:1px solid var(--v114-edge);background:var(--v114-paper)}
}

@media(max-width:900px){
  #collection .scene{padding:14px 12px 24px!important}#collection .mascot-voice{display:none}#collection .mobile-summary{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 auto 12px;padding:10px 11px;border:1px solid var(--v114-edge);border-radius:12px 4px 12px 4px;background:var(--v114-paper)}#collection .mobile-summary button{width:auto;min-width:125px;height:44px;border:1px solid var(--v114-edge);background:transparent}
  #collection .scene .search{display:none}#collection .scene .search.open{display:block;z-index:50;inset:auto 0 0!important;width:100%!important;height:auto!important;max-height:92dvh;overflow:auto;padding:10px 12px 16px;border-radius:18px 18px 0 0;background:var(--v114-paper);box-shadow:0 -12px 34px rgba(52,37,29,.25)}#collection .scene .search.open:before, #collection .scene .search.open:after{display:none}#collection .scene .search.open .tools{display:grid!important;height:auto!important;grid-template-columns:1fr;}#collection .mobile-close{display:block!important;margin-bottom:8px;height:44px!important}#collection .compartment{padding:10px 0;gap:9px}#collection .compartment+.compartment{border-top:1px dashed rgba(112,71,47,.35);box-shadow:none}#collection .filter input[type=number], #collection .filter input[type=text], #collection .filter input[type=search], #collection .filter button{height:44px}#collection .measure-top{gap:7px}#collection .main-controls{gap:0}#collection .main-line, #collection .main-line:last-child, #collection .stone-zone{display:grid!important;grid-template-columns:1fr;gap:9px}#collection .price-cell{grid-column:auto}#collection .panel{position:static;max-height:none;margin-top:5px;box-shadow:none}#collection .price-line{height:34px}#collection .price-rails, #collection .price-rails input{height:30px}#collection .utilities{grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:9px;padding:10px 0}#collection .utility-left{min-height:98px}#collection .filter .pager{grid-template-columns:44px 1fr 44px}#collection .order-zone{margin:22px 12px 40px;padding:24px}
}
@media(max-width:600px){#collection .measure-top{grid-template-columns:1fr 1fr}#collection .order-zone h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){#collection .voice-bubble.active{animation:none}}

/* V126 — Án thư tuyển thạch: một thân hộp, các control nằm trên rãnh phiếu chung. */
#collection .scene .search{
  box-sizing:border-box;
  border:12px solid transparent;
  border-left-width:20px;
  border-right-width:20px;
  border-image-source:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/01-than-hop-an-thu-v126.png");
  border-image-slice:50 100 50 100 fill;
  border-image-width:12px 20px;
  border-image-repeat:stretch;
  border-radius:0;
  background-color:transparent;
  background-image:none;
  box-shadow:none;
}
#collection .scene .search:before, #collection .scene .search:after{display:none}
#collection .filter{isolation:isolate}
#collection .compartment{z-index:1}
#collection .compartment+.compartment{border-left:1px solid rgba(170,135,80,.55);box-shadow:none}

/* Xóa lớp card CSS cũ. */
#collection .filter input[type=number], #collection .filter input[type=text], #collection .filter input[type=search], #collection .filter button{
  border:0;
  border-radius:0;
  background-color:transparent;
  background-image:none;
  box-shadow:none;
  line-height:1.15;
}
#collection .filter button:hover, #collection .filter button:focus-visible{background:transparent;color:#285f58}

/* Khoang 1: một rãnh hai phiếu Ni / Chột. */
#collection .measure:before{
  content:"";
  position:absolute;
  z-index:0;
  left:8px;
  right:8px;
  top:4px;
  height:47px;
  background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/03-ranh-ni-chot-v126.png") center/100% 100% no-repeat;
  pointer-events:none;
}
#collection .measure-top, #collection .measure-bottom{position:relative;z-index:1}
#collection .measure-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0 11px}
#collection .measure-top input{padding:5px 13px 5px 24px;background:none!important}
#collection .measure-bottom>button{
  background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/05-the-phu-v126.png") center/100% 100% no-repeat;
  padding:6px 20px 6px 28px;
}
#collection .measure-bottom>button:hover, #collection .measure-bottom>button:focus-visible{background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/05-the-phu-v126.png")}

/* Khoang 2: ba lựa chọn dùng chung một rãnh mục lục. */
#collection .main-controls{grid-template-columns:repeat(3,minmax(0,1fr));position:relative}
#collection .main-controls:before{
  content:"";
  position:absolute;
  z-index:0;
  left:10px;
  right:10px;
  top:4px;
  height:45px;
  background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/02-ranh-ba-phieu-v126.png") center/100% 100% no-repeat;
  pointer-events:none;
}
#collection .main-controls .main-cell{z-index:1}
#collection .main-cell>button{padding:5px 18px}
#collection .main-cell>button[data-active=true]{color:#285f58;font-weight:600}
#collection #query{
  background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/04-ranh-tim-kiem-v126.png") center/100% 100% no-repeat;
  padding:6px 21px;
}

/* Thước giá bằng đồng và chốt ngọc. */
#collection .price-rails:before{
  left:5px;
  right:5px;
  height:10px;
  background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/08-ray-gia-v126.png") center/100% 100% no-repeat;
}
#collection .price-rails input::-webkit-slider-thumb{
  width:23px;height:23px;border:0;border-radius:0;box-shadow:none;
  background:transparent url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/09-chot-ngoc-v126.png") center/contain no-repeat;
}
#collection .price-rails input::-moz-range-thumb{
  width:23px;height:23px;border:0;border-radius:0;box-shadow:none;
  background:transparent url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/09-chot-ngoc-v126.png") center/contain no-repeat;
}

/* Khoang 3: tab phụ yên và một nắp order nổi bật. */
#collection #all, #collection .filter .pager button, #collection .mobile-close, #collection .mobile-summary button{
  border:0;
  border-radius:0;
  background-color:transparent;
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/05-the-phu-v126.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
  box-shadow:none;
}
#collection #all:hover, #collection #all:focus-visible, #collection .filter .pager button:hover, #collection .filter .pager button:focus-visible, #collection .mobile-close:hover, #collection .mobile-close:focus-visible, #collection .mobile-summary button:hover, #collection .mobile-summary button:focus-visible{
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/05-the-phu-v126.png");
}
#collection .utilities>#order-cta{
  border:0;
  border-radius:0;
  background-color:transparent;
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/06-nap-order-v126.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
  box-shadow:none;
  color:#fff8e8;
  padding:17px 15px;
  text-shadow:0 1px rgba(34,43,39,.65);
}
#collection .utilities>#order-cta:hover, #collection .utilities>#order-cta:focus-visible{
  background-color:transparent;
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/06-nap-order-v126.png");
  filter:brightness(1.06);
}

/* Dropdown là ngăn kéo phụ thuộc, không phải khung popup lơ lửng. */
#collection .panel{
  box-sizing:border-box;
  min-width:292px;
  max-height:430px;
  padding:72px 48px 50px;
  border:0;
  border-radius:0;
  background-color:transparent;
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/07-ngan-keo-dropdown-v126.png");
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
  box-shadow:none;
  overflow:hidden;
}
#collection #stone-panel{width:320px}
#collection #suffix-panel{width:420px}
#collection .panel .drop-list{max-height:220px;overflow:auto}
#collection .panel .drop-list label{border-bottom:1px solid rgba(112,71,47,.2)}
#collection .panel input[type=search], #collection .panel input[type=number]{background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/04-ranh-tim-kiem-v126.png") center/100% 100% no-repeat;padding:6px 20px}

@media(min-width:1351px){
  #collection .scene .tools{left:4px!important;right:4px!important;top:4px!important}
}

@media(max-width:1350px) and (min-width:901px){
  #collection .scene .search{padding:18px 24px}
}

@media(max-width:900px){
  #collection .mobile-summary{
    border:0;
    border-radius:0;
    background:transparent url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/01-than-hop-an-thu-v126.png") center/100% 100% no-repeat;
    box-shadow:none;
    padding:18px 24px;
  }
  #collection .scene .search.open{
    border:24px solid transparent;
    border-image-source:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/07-ngan-keo-dropdown-v126.png");
    border-image-slice:78 fill;
    border-image-width:24px;
    border-radius:0;
    background:#f5ead8;
    box-shadow:none;
  }
  #collection .compartment+.compartment{border-left:0;border-top:1px solid rgba(170,135,80,.45)}
  #collection .main-controls{grid-template-columns:1fr;grid-template-rows:auto}
  #collection .main-controls:before{display:none}
  #collection .main-cell>button{background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/04-ranh-tim-kiem-v126.png") center/100% 100% no-repeat}
  #collection .main-cell>button:hover, #collection .main-cell>button:focus-visible{background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/04-ranh-tim-kiem-v126.png")}
  #collection .measure:before{height:49px}
  #collection .panel{padding:68px 42px 46px}
  #collection .mobile-summary button{padding-left:28px}
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v127.css */
/* V127 — căn lại lưới và tách cấu kiện khỏi trạng thái tương tác. */

/* Không cho rule focus/hover cũ thay nền ảnh bằng một card CSS khác. */
#collection .filter button:hover, #collection .filter button:focus-visible, #collection .filter input:focus-visible{
  outline:none;
  outline-offset:0;
}

/* Rãnh tìm kiếm thuộc về cấu kiện; input chỉ là lớp nhập liệu trong suốt. */
#collection .main-cell:has(> #query){
  position:relative;
  isolation:isolate;
}
#collection .main-cell:has(> #query)::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/04-ranh-tim-kiem-v126.png") center/100% 100% no-repeat;
  pointer-events:none;
  transition:filter .16s ease;
}
#collection .main-cell:has(> #query)::after{
  content:"";
  position:absolute;
  z-index:2;
  left:25px;
  right:20px;
  bottom:7px;
  height:2px;
  background:linear-gradient(90deg,transparent,#286f69 14%,#286f69 86%,transparent);
  opacity:0;
  pointer-events:none;
}
#collection #query, #collection #query:focus, #collection #query:focus-visible{
  position:relative;
  z-index:1;
  outline:none!important;
  outline-offset:0!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
#collection .main-cell:has(> #query:focus-visible)::before{filter:brightness(1.06) saturate(1.04)}
#collection .main-cell:has(> #query:focus-visible)::after{opacity:.82}

/* Dấu focus đi theo khe giấy, không tạo hình chữ nhật mới. */
#collection .measure:focus-within::before{filter:brightness(1.055) saturate(1.035)}
#collection .measure-top input:focus-visible{
  box-shadow:inset 0 -2px rgba(40,111,105,.82)!important;
}
#collection .main-cell>button:focus-visible{
  box-shadow:inset 0 -2px rgba(40,111,105,.78)!important;
}
#collection .measure-bottom>button:hover, #collection .measure-bottom>button:focus-visible, #collection #all:hover, #collection #all:focus-visible, #collection .filter .pager button:hover, #collection .filter .pager button:focus-visible{
  background-color:transparent;
  filter:brightness(1.065) saturate(1.025);
}

@media(min-width:901px){
  /* Một hệ hàng chung cho cả ba khoang: 42 / 8 / 48. */
  #collection .scene .tools{
    left:20px!important;
    right:20px!important;
    bottom:auto!important;
    width:auto!important;
    height:98px!important;
    transform:translateY(-50%);
    grid-template-columns:minmax(130px,15%) minmax(0,1fr) minmax(225px,25%)!important;
    grid-template-rows:42px 48px!important;
    align-items:stretch;
  }
  #collection .compartment{
    grid-row:1 / -1;
    grid-template-rows:42px 48px;
    row-gap:8px;
    align-items:stretch;
    padding-top:0;
    padding-bottom:0;
  }

  /* Khoang 1: rãnh trên và tab dưới dùng đúng cùng bề ngang. */
  #collection .measure{padding-left:8px;padding-right:8px}
  #collection .measure:before{left:8px;right:8px;top:-3px;height:48px}
  #collection .measure-top{height:42px;padding-left:11px;padding-right:11px}
  #collection .measure-top input{height:42px}
  #collection .measure-bottom{height:48px}
  #collection .measure-bottom>button{
    height:48px;
    padding-left:32px;
    padding-right:16px;
  }

  /* Khoang giữa: giữ độ rộng chữ, nhưng dùng chung hai đường chuẩn. */
  #collection .main-controls{
    padding:0 12px;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:42px 48px;
    column-gap:10px;
    row-gap:8px;
  }
  #collection .main-controls:before{left:12px;right:12px;top:-3px;height:48px}
  #collection .main-cell>button{height:42px}
  #collection .main-cell:has(> #query){height:48px}
  #collection #query{height:48px;padding:6px 22px}

  /* Khoang 3: tab và phân trang theo hai hàng; CTA chiếm trọn chiều cao. */
  #collection .utilities{
    padding:0 10px;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:98px;
    gap:8px;
  }
  #collection .utility-left{grid-template-rows:42px 48px;gap:8px}
  #collection .utility-left>#all{
    height:42px;
    min-width:0;
    padding:6px 15px 6px 36px;
    white-space:nowrap;
  }
  #collection .filter .pager{height:48px}
  #collection .utilities>#order-cta{height:98px}

  /* Popup mở từ đáy án thư; tay nắm đồng sẵn có giữ vai trò liên kết thị giác. */
  #collection .main-controls .main-cell{position:static}
  #collection .panel{
    top:calc(100% + 2px);
    overflow:visible;
  }
  #collection #type-panel{left:0;right:auto}
  #collection #stone-panel{left:50%;right:auto;transform:translateX(-50%)}
  #collection #suffix-panel{left:auto;right:0}
  #collection .panel .drop-list{overflow:auto}
}

@media(min-width:1351px){
  #collection .scene .tools{
    grid-template-columns:minmax(160px,16%) minmax(0,58%) minmax(260px,26%)!important;
  }
  #collection .utilities{grid-template-columns:minmax(148px,46%) minmax(156px,54%)}
  #collection .utility-left>#all{min-width:148px}
}

@media(max-width:900px){
  /* Mobile tiếp tục dùng ngăn kéo đáy; chỉ sửa lỗi mất nền khi focus. */
  #collection .scene .tools{transform:none}
  #collection .main-cell:has(> #query)::before{inset:0}
}

@media(prefers-reduced-motion:reduce){
  #collection .main-cell:has(> #query)::before{}
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v128.css */
/* V128 — cân vùng thật của án thư, nội khay dropdown, khóa nền nút theo trạng thái. */

@media(min-width:901px){
  /* Mép trong ảnh thân án thư đo tại y=70/182 trên ảnh 1440px.
     Dải nội dung chuyển từ 69–167 (hở 1/15px) thành 76–174 (hở 6/8px). */
  #collection .scene .tools{transform:translateY(calc(-50% + 7px))}

  /* Dropdown trở thành nội khay trong chính khoang giữa, không phủ tranh sản phẩm. */
  #collection .main-controls .main-cell:has(> .panel:not([hidden])){z-index:50}
  #collection .main-controls .panel{
    position:absolute;
    z-index:40;
    inset:0 0 auto!important;
    min-width:0;
    height:106px;
    max-height:106px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px 12px;
    border:8px solid transparent;
    border-image-source:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/01-than-hop-an-thu-v126.png");
    border-image-slice:50 100 50 100 fill;
    border-image-width:8px 12px;
    border-image-repeat:stretch;
    background-color:#f7ecd8;
    background-image:none;
    box-shadow:none;
    overflow:hidden;
    transform:none!important;
  }
  #collection .main-controls .panel[hidden]{display:none}
  #collection .panel h3{
    flex:0 0 102px;
    margin:0;
    font-size:15px;
    line-height:1.05;
  }
  #collection #type-list, #collection .panel .drop-list{
    flex:1 1 auto;
    min-width:0;
    height:58px;
    display:flex;
    align-items:center;
    gap:4px;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin;
  }
  #collection .panel label{
    flex:0 0 auto;
    min-height:34px;
    padding:4px 8px;
    border:0;
    border-left:1px solid rgba(112,71,47,.24);
    white-space:nowrap;
    font-size:13px;
  }
  #collection .panel input[type=checkbox]{width:17px;height:17px}
  #collection .panel-close{
    flex:0 0 34px;
    width:34px!important;
    height:38px!important;
    padding:0!important;
    background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/05-the-phu-v126.png") center/100% 100% no-repeat!important;
    font-size:20px!important;
    line-height:1!important;
  }
  #collection #bead-size:not([hidden]){
    flex:0 0 188px;
    display:grid;
    grid-template-columns:1fr 62px;
    gap:4px 7px;
    align-items:center;
  }
  #collection #bead-size label{padding:0;border:0;min-height:0;font-size:12px}
  #collection #bead-size input{height:34px;margin:0;padding:4px 8px}
  #collection #bead-size p{grid-column:1/-1;margin:0;font-size:10px;line-height:1.05}
  #collection #suffix-panel h3{flex-basis:88px}
  #collection #suffix-panel>#suffix-search{
    flex:0 0 132px;
    width:132px;
    height:38px;
    margin:0;
    padding:5px 14px;
  }
  #collection #suffix-note{flex:0 0 118px;margin:0;font-size:11px;line-height:1.1}
}

/* Khóa toàn bộ longhand: không cho shorthand cũ biến ảnh thành mảng lặp lệch. */
#collection .utilities>#order-cta, #collection .utilities>#order-cta:hover, #collection .utilities>#order-cta:focus-visible, #collection .utilities>#order-cta:active{
  background-color:transparent!important;
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/06-nap-order-v126.png")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:100% 100%!important;
}
#collection #all, #collection #all:hover, #collection #all:focus-visible, #collection #all:active{
  background-color:transparent!important;
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/05-the-phu-v126.png")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:100% 100%!important;
}

@media(max-width:900px){
  #collection .panel-close{display:none}
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v129.css */
/* V129 — cân trục ngang và khóa hợp đồng nền cho hệ nút ảnh. */

@media(min-width:1351px){
  /* Khoang phải cần đủ bề rộng thật; fr trừ gap trước khi chia cột con. */
  #collection .scene .tools{
    grid-template-columns:minmax(160px,16%) minmax(0,52%) minmax(0,32%)!important;
  }
  #collection .utilities{
    grid-template-columns:minmax(142px,46fr) minmax(156px,54fr);
  }
  #collection .utility-left>#all{min-width:0}
}

/* Asset 05 phải giữ cùng hình học ở default / hover / focus / active. */
#collection .measure-bottom>button, #collection .measure-bottom>button:hover, #collection .measure-bottom>button:focus-visible, #collection .measure-bottom>button:active, #collection .filter .pager button, #collection .filter .pager button:hover, #collection .filter .pager button:focus-visible, #collection .filter .pager button:active, #collection .panel-close, #collection .panel-close:hover, #collection .panel-close:focus-visible, #collection .panel-close:active{
  background-color:transparent!important;
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/05-the-phu-v126.png")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:100% 100%!important;
}

#collection .measure-bottom>button:hover, #collection .measure-bottom>button:focus-visible, #collection .filter .pager button:hover, #collection .filter .pager button:focus-visible, #collection .panel-close:hover, #collection .panel-close:focus-visible{
  filter:brightness(1.065) saturate(1.025);
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v130.css */
/* V130 — bỏ chỉ báo focus xanh và cho khung tìm kiếm phủ kín vùng điều khiển. */

#collection .main-cell:has(> #query)::before{
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v130/04-ranh-tim-kiem-v130.png");
  background-position:center;
  background-size:100% 100%;
  background-repeat:no-repeat;
}

/* Không tạo thêm đường viền hay gạch xanh trong các vùng nhập chữ. */
#collection .measure-top input:focus-visible{
  box-shadow:none!important;
}
#collection .main-cell:has(> #query)::after{
}
#collection #ni, #collection #chot, #collection #query{
  caret-color:#70472f;
}

/* Focus vẫn nhận biết qua độ sáng nhẹ của chính cấu kiện gỗ/giấy. */
#collection .measure:focus-within::before{
  filter:brightness(1.065) contrast(1.02) saturate(.96);
}
#collection .main-cell:has(> #query:focus)::before{
  filter:brightness(1.07) contrast(1.02) saturate(.96);
}

@media(prefers-reduced-motion:reduce){
  #collection .main-cell:has(> #query)::before{transition:none}
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v131.css */
/* V131 — khung tìm kiếm đúng tỷ lệ ô và chạm vùng bao ngoài. */

#collection .main-cell:has(> #query)::before{
  background-image:url("../../study-v136-thanh-loc-lua-go-manh/assets-v131/04-ranh-tim-kiem-v131.png");
}

/* Giữ input trong vùng hit-area cũ; chỉ cho cấu kiện gỗ nở vào khoảng an toàn. */
@media(min-width:901px){
  #collection .main-cell:has(> #query)::before{
    inset:-3px -7px;
  }
}

/* Khóa lại mọi kiểu focus mặc định hoặc kế thừa có sắc xanh. */
#collection #query, #collection #query:hover, #collection #query:focus, #collection #query:focus-visible{
  outline:none!important;
  border-color:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  -webkit-tap-highlight-color:transparent;
  caret-color:#70472f;
}
#collection .main-cell:has(> #query)::after{
  display:none!important;
  content:none!important;
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v132.css */
/* V132 — cỡ hạt đi liền lựa chọn Vòng hạt, mỏng và không có dòng chú thích thừa. */

@media(min-width:901px){
  #collection #type-list>#bead-size:not([hidden]){
    flex:0 0 148px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 54px;
    align-items:center;
    gap:5px;
    margin-left:0;
  }
  #collection #type-list>#bead-size label{
    min-height:0;
    padding:0;
    border:0;
    font-size:12px;
    line-height:1;
  }
  #collection #type-list>#bead-size input{
    width:54px;
    height:30px;
    margin:0;
    padding:3px 7px;
    font-size:13px;
  }
}

@media(max-width:900px){
  #collection #type-list>#bead-size:not([hidden]){
    display:grid;
    grid-template-columns:minmax(0,1fr) 62px;
    align-items:center;
    gap:6px;
    margin:2px 0 4px;
  }
  #collection #type-list>#bead-size label{
    min-height:0;
    padding:0;
    border:0;
  }
  #collection #type-list>#bead-size input{
    width:62px;
    height:38px;
    margin:0;
  }
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v133.css */
/* V133 — dành khoảng đệm nhìn thấy khi tự đưa ô cỡ hạt vào khung. */
#collection #type-list>#bead-size{scroll-margin-inline:12px}


/* source: ../study-v136-thanh-loc-lua-go-manh/v134.css */
/* V134 — thử nghiệm font; không thay đổi hình học, asset hoặc công năng V133. */
@font-face{
  font-family:"Aura Source Serif 4";
  src:url("/tai-nguyen/giao-dien/collection-tuong-bao-truc-v1/02-study-thiet-ke/work-clean-integration/fonts/SourceSerif4-opsz-wght-vietnamese-v190.woff2") format("woff2");
  font-style:normal;
  font-weight:200 900;
  font-display:swap;
}
@font-face{
  font-family:"Aura Cormorant Garamond";
  src:url("/tai-nguyen/giao-dien/collection-tuong-bao-truc-v1/02-study-thiet-ke/work-clean-integration/fonts/CormorantGaramond-wght-vietnamese-v190.woff2") format("woff2");
  font-style:normal;
  font-weight:300 700;
  font-display:swap;
}
#collection{
  --aura-ui-font:"Aura Source Serif 4",Georgia,serif;
  --aura-display-font:"Aura Cormorant Garamond",Georgia,serif;
}
#collection, #collection button, #collection input, #collection textarea, #collection select, #collection dialog{
  font-family:var(--aura-ui-font);
  font-optical-sizing:auto;
  font-synthesis:none;
}

#collection .card h2, #collection .voice-bubble>strong, #collection .order-zone h2, #collection #order-cta span, #collection #order-cta strong, #collection dialog h2{
  font-family:var(--aura-display-font);
  font-optical-sizing:auto;
}

#collection .price-ticks, #collection #price-readout, #collection #page, #collection .card .code, #collection .footer .info p:last-child, #collection #bead-mm, #collection #ni, #collection #chot{
  font-variant-numeric:tabular-nums lining-nums;
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v135.css */
/* V135 — khóa hệ chữ đã chọn và sửa bố cục sản phẩm theo 3 / 2 / 1 tranh mỗi lượt. */
#collection{
  --aura-ui-font:"Aura Source Serif 4",Georgia,serif;
  --aura-display-font:"Aura Cormorant Garamond",Georgia,serif;
}

/* Án thư lùi nhẹ về thị giác để sản phẩm là tiêu điểm. */
#collection .scene .search{filter:saturate(.86) contrast(.97)}
#collection .filter{font-size:15px}
#collection .filter input, #collection .filter button{font-weight:450}
#collection .price-ticks{font-size:12px;letter-spacing:.01em}
#collection .filter .pager{grid-template-columns:44px minmax(42px,1fr) 44px}
#collection .filter .pager button{min-width:44px;min-height:44px}
#collection .filter button:focus-visible{filter:brightness(1.1) contrast(1.06);text-decoration:underline;text-underline-offset:3px}
#collection .main-cell>button:disabled{opacity:.52;cursor:not-allowed}

/* Thông tin mua hàng được phép xuống dòng; không giấu bằng dấu ba chấm. */
#collection .scene .footer .info p{overflow:visible}
#collection .scene .footer .info p span{
  overflow:visible;
  text-overflow:clip;
  line-height:1.08;
}
#collection .scene .footer .actions{grid-template-rows:44px 5px 44px;min-height:93px;height:93px}
#collection .scene .footer .actions button, #collection .scene .footer .actions button:last-child{min-height:44px;height:44px}
#collection .scene .footer, #collection .scene .card[data-tier="vip"] .footer{grid-template-columns:minmax(0,2fr) minmax(74px,1fr);gap:8px}
#collection .tier-mark{display:inline-block;margin-right:6px;padding:1px 5px;background:#466e5e;color:#fff8e8;font-size:10px;letter-spacing:.09em;vertical-align:middle}
#collection .mobile-pager{display:none}

/* Desktop: tạo khe thở thật giữa ba cuộn nhưng không thu nhỏ ảnh đáng kể. */
@media(min-width:1351px){
  #collection .scene .card, #collection .scene .card[data-tier="vip"]{width:26.1%!important}
}

/* Tablet chỉ hiển thị đúng hai sản phẩm mỗi trang. */
@media(min-width:701px) and (max-width:1350px){
  #collection .scene{background:
    linear-gradient(115deg,rgba(255,255,255,.45),transparent 36%),
    radial-gradient(circle at 14% 18%,rgba(197,170,113,.12),transparent 34%),
    #f7f0e2}
  #collection .scene .photo, #collection .scene .card[data-tier="vip"] .photo{aspect-ratio:13/16}
  #collection .scene .footer, #collection .scene .card[data-tier="vip"] .footer{height:93px;top:74.4%}
  #collection .mobile-summary button{min-height:44px}
}
@media(min-width:901px) and (max-width:1350px){
  #collection #cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:980px}
  #collection #cards .card:last-child:nth-child(odd){grid-column:auto;width:100%;justify-self:auto}
  #collection #mobile-open{display:none}
}
@media(min-width:701px) and (max-width:900px){
  #collection #cards{grid-template-columns:minmax(0,500px);justify-content:center;max-width:500px}
}

/* Mobile: một cuộn mỗi trang; scene tự cao theo đúng một thẻ. */
#collection .filter-scrim{display:none}
@media(max-width:700px){
  #collection .scene{min-height:0!important;aspect-ratio:auto!important}
  #collection .filter-scrim{
    position:fixed;z-index:49;inset:0;width:100%;height:100%;border:0;
    background:rgba(43,29,20,.42);backdrop-filter:blur(2px)
  }
  #collection .mobile-summary{position:sticky;top:0;z-index:18;min-height:62px;margin-bottom:14px;padding-left:16px;padding-right:16px}
  #collection #mobile-count{font-size:13px;white-space:nowrap}
  #collection .scene .search.open{z-index:50;max-height:88dvh;padding-top:0;overscroll-behavior:contain}
  #collection .scene .search.open .mobile-close{
    position:sticky;z-index:4;top:0;margin:0 0 8px;padding:10px 18px;
    background-color:#f5ead8!important
  }
  #collection #cards{display:block;max-width:430px;margin:0 auto}
  #collection #cards .card{margin:0 auto;touch-action:pan-y}
  #collection .scene .photo, #collection .scene .card[data-tier="vip"] .photo{aspect-ratio:17/20}
  #collection .scene .footer, #collection .scene .card[data-tier="vip"] .footer{top:71.8%;height:93px}
  #collection .scene .footer .info{font-size:12px;line-height:1.05}
  #collection .scene .footer .actions{height:93px;grid-template-rows:44px 5px 44px}
  #collection .scene .footer .actions button, #collection .scene .footer .actions button:last-child{min-height:44px;height:44px;font-size:12px}
  #collection .order-zone{margin-top:18px}
}

@media(max-width:900px){
  #collection .mobile-pager{display:grid;grid-template-columns:44px minmax(42px,1fr) 44px;align-items:center;gap:3px}
  #collection .mobile-pager button{width:44px!important;min-width:44px!important;height:44px!important;background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v126/05-the-phu-v126.png") center/100% 100% no-repeat!important;border:0}
  #collection .mobile-pager span{min-width:42px;text-align:center;font-size:13px;white-space:nowrap}
  #collection .mobile-pager button:disabled{opacity:.4}
  #collection #mobile-open{min-width:88px;width:88px}
}

@media(prefers-reduced-motion:reduce){
  #collection, #collection *{scroll-behavior:auto!important}
}


/* source: ../study-v136-thanh-loc-lua-go-manh/v136.css */
/* V136 — thanh lọc lụa và gỗ mảnh. Không dùng lại thân án thư V126. */
#collection{
  --v136-paper:#f8f0df;
  --v136-paper-deep:#efe1c6;
  --v136-ink:#3b291f;
  --v136-wood:#68432c;
  --v136-gold:#b99a62;
  --v136-jade:#496c5d;
  --v136-hairline:rgba(105,72,44,.26);
  --v136-shadow:rgba(57,34,21,.18);
}

#collection .mobile-filter-head{display:none}

/* Một mặt lụa, chỉ hai thanh gỗ thật ở trên và dưới. */
#collection .scene .search{
  overflow:visible;
  border-radius:2px!important;
  background:
    linear-gradient(90deg,rgba(185,154,98,.08),transparent 17%,transparent 83%,rgba(185,154,98,.08)),
    radial-gradient(circle at 47% 10%,rgba(255,255,255,.66),transparent 46%),
    var(--v136-paper)!important;
  box-shadow:0 7px 18px var(--v136-shadow),inset 0 0 0 1px rgba(185,154,98,.48)!important;
}
#collection .scene .search::before, #collection .scene .search::after{
  content:""!important;
  display:block!important;
  position:absolute;
  z-index:4;
  left:-8px;
  right:-8px;
  height:22px;
  background:url("../../study-v136-thanh-loc-lua-go-manh/assets-v136/thanh-go-manh.svg") center/100% 100% no-repeat;
  pointer-events:none;
}
#collection .scene .search::before{top:-11px}
#collection .scene .search::after{top:auto;bottom:-11px}

#collection .filter{color:var(--v136-ink)}
#collection .compartment{padding-inline:13px}
#collection .compartment+.compartment{
  border-left:1px solid var(--v136-hairline)!important;
  box-shadow:none!important;
}

/* Xóa mọi rãnh ảnh cũ; control là phiếu lụa thật, không phải hộp gỗ nhỏ. */
#collection .measure::before, #collection .main-controls::before, #collection .main-cell:has(> #query)::before{display:none!important}
#collection .filter input[type=number], #collection .filter input[type=text], #collection .filter input[type=search], #collection .filter button{
  color:var(--v136-ink);
  border:0!important;
  border-bottom:1px solid var(--v136-hairline)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.38),rgba(255,255,255,.05))!important;
  box-shadow:none!important;
  transition:color .16s ease,border-color .16s ease,background-color .16s ease;
}
#collection .filter input::placeholder{color:rgba(59,41,31,.58)}
#collection .filter input:hover, #collection .filter button:hover{border-bottom-color:rgba(73,108,93,.58)!important}
#collection .filter input:focus-visible, #collection .filter button:focus-visible{
  outline:1px solid rgba(73,108,93,.64)!important;
  outline-offset:2px!important;
  border-bottom-color:var(--v136-jade)!important;
  color:#294c43!important;
  text-decoration:none!important;
  filter:none!important;
}
#collection .measure-top{gap:10px!important;padding:0!important}
#collection .measure-top input{padding-inline:9px!important}
#collection .measure-bottom>button, #collection .measure-bottom>button:hover, #collection .measure-bottom>button:focus-visible, #collection #all, #collection #all:hover, #collection #all:focus-visible, #collection .filter .pager button, #collection .filter .pager button:hover, #collection .filter .pager button:focus-visible, #collection .panel-close, #collection .panel-close:hover, #collection .panel-close:focus-visible{
  background-image:none!important;
  filter:none!important;
}
#collection .measure-bottom>button{padding:5px 9px!important;text-align:left;font-weight:500}
#collection .main-cell>button{padding-inline:10px!important}
#collection #query{padding-inline:10px!important;background-image:none!important}

/* Thước giá tiếp tục là chi tiết kim loại duy nhất, được làm dịu. */
#collection .price-rails::before{
  height:3px!important;
  background:linear-gradient(90deg,transparent,#aa8955 7%,#d4bd82 50%,#aa8955 93%,transparent)!important;
}
#collection .price-rails input::-webkit-slider-thumb{
  width:17px!important;height:17px!important;border:1px solid #8f7244!important;border-radius:50%!important;
  background:radial-gradient(circle at 35% 30%,#dae0ca,#769080 48%,#3f6156)!important;
  box-shadow:0 1px 2px rgba(55,37,23,.22)!important;
}
#collection .price-rails input::-moz-range-thumb{
  width:17px!important;height:17px!important;border:1px solid #8f7244!important;border-radius:50%!important;
  background:#637e6f!important;
}
#collection .price-ticks{color:rgba(59,41,31,.67)}

/* Khu tiện ích: số lượng là thông tin, không giả làm một nút. */
#collection .utilities{grid-template-columns:minmax(0,1fr) minmax(112px,.8fr)!important;grid-template-rows:20px 58px!important;gap:5px 10px!important;align-content:center}
#collection .filter-count{
  grid-column:1/-1;display:block;align-self:center;padding-left:4px;
  color:#6c4b31;font-size:12px;letter-spacing:.035em
}
#collection .utility-left{display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;grid-template-rows:58px!important;gap:5px!important;align-items:center}
#collection .utility-left>#all{height:44px!important;padding:0 5px!important;text-align:left;color:#6f4f37;font-size:12px}
#collection .filter .pager{height:44px!important;grid-template-columns:44px minmax(34px,1fr) 44px!important;gap:3px!important}
#collection .filter .pager button{height:44px!important;min-width:44px!important;padding:0!important;font-size:17px}
#collection .filter .pager span{font-size:12px;color:#674832}
#collection .utilities>#order-cta, #collection .utilities>#order-cta:hover, #collection .utilities>#order-cta:focus-visible{
  grid-column:2;grid-row:2;height:58px!important;padding:9px 11px!important;
  border:0!important;background:transparent url("../../study-v136-thanh-loc-lua-go-manh/assets-v136/the-ngoc.svg") center/100% 100% no-repeat!important;
  color:#fff9e8!important;text-shadow:0 1px rgba(32,45,40,.72)!important
}
#collection .utilities>#order-cta strong{font-size:16px!important}

/* Khay mở vẫn thuộc cùng mặt lụa: không có khung lồng khung. */
@media(min-width:901px){
  #collection .mobile-summary{}
  #collection .scene .search{height:130px!important}
  #collection .scene .tools{
    top:50%!important;height:96px!important;left:12px!important;right:12px!important;
    grid-template-columns:minmax(154px,15%) minmax(0,59%) minmax(230px,26%)!important;
    grid-template-rows:40px 48px!important;gap:8px 0!important;transform:translateY(-50%)!important
  }
  #collection .compartment{grid-template-rows:40px 48px!important;row-gap:8px!important}
  #collection .measure-top, #collection .measure-top input, #collection .main-cell>button{height:40px!important}
  #collection .measure-bottom, #collection .measure-bottom>button{height:48px!important}
  #collection .main-controls{grid-template-rows:40px 48px!important;row-gap:8px!important;column-gap:12px!important;padding-inline:15px!important}
  #collection .main-cell:has(> #query), #collection #query{height:48px!important}
  #collection .utilities{height:96px!important;padding:0 12px!important}
  #collection .main-controls .panel{
    inset:-3px 0 auto!important;width:auto!important;height:96px!important;max-height:96px!important;
    padding:10px 12px!important;border:1px solid rgba(185,154,98,.5)!important;border-image:none!important;
    border-radius:2px!important;background:
      linear-gradient(90deg,rgba(185,154,98,.07),transparent 20%,transparent 80%,rgba(185,154,98,.07)),
      #f8f0df!important;
    box-shadow:0 3px 8px rgba(57,34,21,.08)!important;gap:10px!important;overflow:hidden!important
  }
  #collection .panel h3{flex:0 0 94px!important;font:500 15px/1.05 var(--aura-display-font);color:#65452e}
  #collection #type-list, #collection .panel .drop-list{
    height:62px!important;display:flex!important;align-items:center!important;align-content:center!important;gap:5px!important;
    overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;overscroll-behavior-inline:contain
  }
  #collection #type-list::-webkit-scrollbar, #collection .panel .drop-list::-webkit-scrollbar{display:none}
  #collection .panel label{
    min-height:36px!important;padding:5px 9px!important;border:0!important;border-left:1px solid rgba(105,72,44,.18)!important;
    background:rgba(255,255,255,.18);white-space:nowrap!important;font-size:13px!important
  }
  #collection .panel input[type=checkbox]{accent-color:var(--v136-jade)}
  #collection .panel-close{
    flex:0 0 78px!important;width:78px!important;height:44px!important;padding:0 4px!important;
    border:0!important;border-bottom:1px solid rgba(73,108,93,.44)!important;background:none!important;
    color:#496c5d!important;font-size:12px!important;white-space:nowrap
  }
  #collection #bead-size:not([hidden]){flex:0 0 142px!important;grid-template-columns:minmax(0,1fr) 52px!important}
  #collection #bead-size input{width:52px!important;height:34px!important;margin:0!important;padding:4px 7px!important}
  #collection #suffix-panel>#suffix-search{flex-basis:128px!important;width:128px!important;height:38px!important;margin:0!important}
  #collection #suffix-note{flex-basis:110px!important;font-size:10px!important}
}

/* Tablet: cùng cấu kiện nhưng cho phép nở theo dòng trang. */
@media(min-width:901px) and (max-width:1350px){
  #collection .scene .search{padding:16px 18px!important}
  #collection .scene .tools{position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;width:100%!important}
}

/* Thanh tóm tắt hẹp là cấu kiện riêng, không phải bản desktop thu nhỏ. */
@media(max-width:900px){
  #collection .scene{padding-top:12px!important}
  #collection .mobile-summary{
    position:sticky;top:0;z-index:18;grid-template-columns:minmax(62px,1fr) auto 86px;
    min-height:58px!important;max-width:680px;padding:7px 10px!important;
    background:
      url("../../study-v136-thanh-loc-lua-go-manh/assets-v136/thanh-go-manh.svg") center top/100% 12px no-repeat,
      url("../../study-v136-thanh-loc-lua-go-manh/assets-v136/thanh-go-manh.svg") center bottom/100% 12px no-repeat,
      rgba(248,240,223,.96)!important;
    box-shadow:0 5px 14px rgba(57,34,21,.12)!important;backdrop-filter:blur(7px)
  }
  #collection #mobile-count{padding-left:5px;color:#66462f}
  #collection .mobile-pager{grid-template-columns:44px minmax(36px,1fr) 44px!important;gap:2px!important}
  #collection .mobile-pager button, #collection .mobile-pager button:hover, #collection .mobile-pager button:focus-visible{
    width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;
    border:0!important;background:none!important;color:#5f4734;font-size:18px
  }
  #collection .mobile-pager span{}
  #collection #mobile-open{
    width:82px!important;min-width:82px!important;height:44px!important;padding:0 8px!important;background:transparent url("../../study-v136-thanh-loc-lua-go-manh/assets-v136/the-ngoc.svg") center/100% 100% no-repeat!important;
    color:#fff8e7;text-shadow:0 1px rgba(34,43,39,.62)
  }
  #collection .scene .search.open{
    max-height:88dvh!important;padding:0 18px 20px!important;border-image:none!important;border-radius:14px 14px 0 0!important;
    background:
      url("../../study-v136-thanh-loc-lua-go-manh/assets-v136/thanh-go-manh.svg") center top/100% 18px no-repeat,
      linear-gradient(180deg,#faf3e5,#f3e6d0)!important;
    box-shadow:0 -14px 34px rgba(45,29,19,.26)!important
  }
  #collection .scene .search.open::before, #collection .scene .search.open::after{display:none!important}
  #collection .mobile-filter-head{
    position:sticky;z-index:5;top:0;display:flex;align-items:center;justify-content:space-between;
    min-height:62px;margin:0 -2px 8px;padding:15px 2px 5px;background:linear-gradient(180deg,#faf3e5 72%,rgba(250,243,229,0))
  }
  #collection .mobile-filter-head>span{font:500 21px/1 var(--aura-display-font);color:#60412c}
  #collection .scene .search.open .mobile-close{
    position:static!important;display:block!important;min-width:96px;margin:0!important;padding:0 3px!important;
    border:0!important;border-bottom:1px solid rgba(73,108,93,.46)!important;background:none!important;color:#496c5d
  }
  #collection .scene .search.open .tools{gap:0!important}
  #collection .compartment{padding:13px 0!important;gap:9px!important}
  #collection .compartment+.compartment{border:0!important;border-top:1px solid rgba(105,72,44,.18)!important}
  #collection .filter input[type=number], #collection .filter input[type=text], #collection .filter input[type=search], #collection .filter button{height:44px!important}
  #collection .main-cell>button, #collection #query, #collection .measure-top input{background:rgba(255,255,255,.16)!important;padding-inline:9px!important}
  #collection .panel{
    position:static!important;width:100%!important;max-height:none!important;margin-top:8px!important;padding:10px 0 2px!important;
    border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;overflow:visible!important
  }
  #collection .panel h3{margin:0 0 7px!important;font:500 17px/1.1 var(--aura-display-font);color:#65452e}
  #collection .panel label{border:0!important;border-bottom:1px solid rgba(105,72,44,.13)!important;background:none!important}
  #collection .panel-close{display:block!important;width:100%!important;height:44px!important;margin-top:7px!important;text-align:right;color:#496c5d!important}
  #collection .drop-list{max-height:250px!important;overflow:auto!important;scrollbar-width:thin;scrollbar-color:rgba(73,108,93,.35) transparent}
  #collection .utilities{grid-template-columns:1fr!important;grid-template-rows:24px 52px 58px!important;gap:7px!important;padding:13px 0!important}
  #collection .filter-count{grid-column:1!important;grid-row:1!important}
  #collection .utilities>#order-cta{grid-column:1!important;grid-row:3!important;width:100%!important;height:58px!important;background-size:min(220px,100%) 100%!important}
  #collection .utility-left{grid-column:1!important;grid-row:2!important;grid-template-columns:72px minmax(0,1fr)!important;grid-template-rows:52px!important}
  #collection .utility-left>#all{height:44px!important}
  #collection .filter .pager{height:44px!important;grid-template-columns:44px 1fr 44px!important}
  #collection .filter .pager button{height:44px!important;min-width:44px!important}
}

@media(max-width:430px){
  #collection .mobile-summary{grid-template-columns:minmax(52px,1fr) auto 78px;padding-inline:7px!important}
  #collection #mobile-open{width:76px!important;min-width:76px!important;font-size:13px}
  #collection .mobile-pager{grid-template-columns:44px 34px 44px!important}
  #collection .mobile-pager button{width:44px!important;min-width:44px!important}
}

@media(prefers-reduced-motion:reduce){
  #collection .filter input, #collection .filter button{transition:none!important}
}


/* source: ../study-v141-thanh-loc-raster-v135/v141.css */
/* V141 — raster whole-object filter system, V135 functional geometry. */
#collection{
  --v141-ink:#453126;
  --v141-muted:#735844;
  --v141-jade:#71877a;
  --v141-line:rgba(104,77,54,.22);
}

#collection .scene .search{
  overflow:visible!important;
  border:0!important;border-image:none!important;border-radius:0!important;
  background:transparent url("../../study-v141-thanh-loc-raster-v135/assets-v141/filter-desktop.png") center/100% 100% no-repeat!important;
  box-shadow:none!important;filter:none!important;
}
#collection .scene .search::before, #collection .scene .search::after{display:none!important}
#collection .scene .filter{color:var(--v141-ink)}
#collection .scene .compartment{border:0!important;box-shadow:none!important;padding:0!important}

/* DOM nằm đúng trong các khoang đã được vẽ, không tự dựng thêm khung. */
#collection .scene .filter input[type=number], #collection .scene .filter input[type=text], #collection .scene .filter input[type=search], #collection .scene .filter button{
  min-width:0;border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;color:var(--v141-ink);outline-offset:-2px!important;
}
#collection .scene .filter input::placeholder{color:rgba(69,49,38,.56)}
#collection .scene .filter input:focus-visible, #collection .scene .filter button:focus-visible{
  outline:2px solid rgba(79,112,96,.62)!important;filter:none!important;text-decoration:none!important
}
#collection .scene .filter button:hover{color:#294d42!important;filter:none!important}

@media(min-width:901px){
  #collection .mobile-summary{display:none!important}
  #collection .scene .search{
    height:auto!important;aspect-ratio:2125/337!important;
    min-height:0!important;padding:0!important;
  }
  #collection .scene .tools{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
    display:block!important;transform:none!important;font-size:clamp(11px,.78vw,15px)!important
  }
  #collection .scene .measure, #collection .scene .main-controls, #collection .scene .utilities{position:absolute!important;display:grid!important}
  #collection .scene .measure{left:6.05%!important;top:31.2%!important;width:13.75%!important;height:55.8%!important;grid-template-rows:37% 55%;gap:8%!important}
  #collection .scene .main-controls{left:22.15%!important;top:31.2%!important;width:47.65%!important;height:55.8%!important;grid-template-columns:1fr!important;grid-template-rows:37% 55%!important;gap:8%!important}
  #collection .scene .utilities{left:71.4%!important;top:31.2%!important;width:23.2%!important;height:55.8%!important;display:block!important}

  #collection .measure-top{height:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:4%!important;padding:0!important}
  #collection .measure-top>div, #collection .measure-top input, #collection .measure-bottom, #collection .measure-bottom>button{width:100%!important;height:100%!important}
  #collection .measure-top input{padding:0 10%!important}
  #collection .measure-bottom{display:block!important}#collection .measure-bottom>button{padding:0 8%!important;text-align:center!important;font-weight:500}

  #collection .main-controls .main-line{height:100%!important;display:grid!important;gap:2.2%!important}
  #collection .main-controls .main-line:first-child{grid-template-columns:31.5% 1fr!important}
  #collection .main-controls .main-line:last-child{grid-template-columns:75% 1fr!important}
  #collection .main-controls .stone-zone{display:grid!important;grid-template-columns:1fr 1fr!important;gap:2.2%!important}
  #collection .main-controls .main-cell, #collection .main-controls .main-cell>button, #collection .main-controls .main-cell>input{width:100%!important;height:100%!important}
  #collection .main-controls .main-cell>button, #collection .main-controls .main-cell>input{padding:0 5%!important;text-align:left!important}
  #collection .price-cell{grid-column:auto!important;display:grid!important;grid-template-columns:minmax(105px,auto) minmax(0,1fr)!important;align-items:center!important;gap:3%!important;padding:0 4%!important}
  #collection .price-cell>label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.88em}#collection .price-line{min-width:0;height:100%!important}#collection .price-ticks{display:none!important}
  #collection .price-rails{top:50%!important;transform:translateY(-50%)}

  /* Khoang phải: dòng trên là kết quả + đặt lại; dòng dưới là prev / số trang / next. */
  #collection .filter-count{position:absolute!important;left:0;top:0;width:46%;height:37%;display:flex!important;align-items:center;padding:0 5%!important;font-size:.86em!important}
  #collection .utility-left{display:block!important;position:static!important}
  #collection .utility-left>#all{position:absolute!important;left:27%;top:0;width:19%!important;height:37%!important;padding:0!important;font-size:.78em!important;text-align:center!important}
  #collection .filter .pager{position:absolute!important;left:0;top:47%!important;bottom:auto!important;width:46%!important;height:41%!important;display:grid!important;grid-template-columns:28% 44% 28%!important;gap:0!important;align-items:stretch!important}
  #collection .filter .pager button{width:100%!important;min-width:0!important;height:100%!important;padding:0!important;font-size:1.1em!important}
  #collection .filter .pager span{display:flex;align-items:center;justify-content:center;font-size:.86em!important;font-variant-numeric:tabular-nums}
  #collection .utilities>#order-cta{position:absolute!important;right:0;top:0;width:45%!important;height:100%!important;padding:0 8%!important;color:#fdf7e8!important;text-shadow:0 1px rgba(31,47,40,.55)!important}
  #collection .utilities>#order-cta strong{font-size:1.06em!important}

  /* Một khay raster chung; dữ liệu thay đổi bên trong bằng DOM. */
  #collection .main-controls .main-cell{position:static!important}
  #collection .scene .main-controls .panel{
    position:absolute!important;z-index:70!important;
    left:0!important;right:0!important;top:calc(100% + 12px)!important;
    width:100%!important;height:clamp(190px,17vw,270px)!important;max-height:none!important;
    display:flex!important;align-items:flex-start!important;gap:12px!important;
    padding:8% 5.5% 7%!important;
    border:0!important;border-image:none!important;border-radius:0!important;
    background:transparent url("../../study-v141-thanh-loc-raster-v135/assets-v141/filter-drawer.png") center/100% 100% no-repeat!important;
    box-shadow:none!important;overflow:hidden!important
  }
  #collection .scene .main-controls .panel[hidden]{display:none!important}
  #collection .scene .panel h3{flex:0 0 112px!important;margin:2px 0 0!important;font:500 15px/1.15 var(--aura-display-font);color:#624630}
  #collection .scene #type-list, #collection .scene .panel .drop-list{
    flex:1 1 auto!important;height:100%!important;max-height:100%!important;display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;align-content:start!important;gap:7px 10px!important;
    overflow:auto!important;padding:0 6px!important;scrollbar-width:thin;scrollbar-color:rgba(91,113,99,.38) transparent
  }
  #collection .scene .panel label{min-height:40px!important;padding:8px!important;border:0!important;border-bottom:1px solid var(--v141-line)!important;background:rgba(255,255,255,.12)!important;white-space:normal!important}
  #collection .scene .panel-close{flex:0 0 86px!important;width:86px!important;height:44px!important;padding:0!important;border-bottom:1px solid rgba(80,111,95,.45)!important;color:#496b5c!important}
  #collection .scene #bead-size:not([hidden]){flex:0 0 150px!important;display:grid!important;grid-template-columns:1fr 62px!important;align-items:center!important}
  #collection .scene #bead-size input{width:62px!important;height:40px!important;padding:0 8px!important}
  #collection .scene #suffix-panel>#suffix-search{flex:0 0 140px!important;width:140px!important;height:42px!important;margin:0!important;padding:0 10px!important}
  #collection .scene #suffix-note{flex:0 0 120px!important;font-size:11px!important}
}

@media(min-width:1351px){
  #collection .scene .search{height:auto!important}
  #collection .scene .card, #collection .scene .card[data-tier="vip"]{top:max(24%,calc(2.734375% + 245px))!important}
}

@media(min-width:901px) and (max-width:1350px){
  #collection .scene .search{width:min(96%,1240px)!important;margin:0 auto 34px!important}
  #collection .scene .tools{position:absolute!important}
}

@media(max-width:900px){
  #collection .scene{padding-top:10px!important}
  #collection .mobile-summary{
    position:sticky!important;top:0!important;z-index:18!important;
    display:grid!important;grid-template-columns:40% 34% 26%!important;align-items:center!important;
    width:min(calc(100% - 14px),520px)!important;min-height:0!important;aspect-ratio:945/185!important;
    margin:0 auto 16px!important;padding:11% 5.2% 9%!important;
    border:0!important;border-radius:0!important;
    background:transparent url("../../study-v141-thanh-loc-raster-v135/assets-v141/filter-mobile-summary.png") center/100% 100% no-repeat!important;
    box-shadow:none!important;backdrop-filter:none!important
  }
  #collection #mobile-count{padding:0 4%!important;font-size:12px!important;color:var(--v141-ink)}
  #collection .mobile-pager{height:100%!important;display:grid!important;grid-template-columns:29% 42% 29%!important;gap:0!important;align-items:stretch!important}
  #collection .mobile-pager button{width:100%!important;min-width:0!important;height:100%!important;padding:0!important;border:0!important;background:transparent!important;color:var(--v141-ink)!important;font-size:16px!important}
  #collection .mobile-pager span{font-size:12px!important;font-variant-numeric:tabular-nums}
  #collection #mobile-open{width:100%!important;min-width:0!important;height:100%!important;padding:0 5%!important;border:0!important;background:transparent!important;color:#fff9ea!important;text-shadow:0 1px rgba(31,47,40,.55)!important}

  #collection .scene .search.open{
    display:block!important;position:fixed!important;z-index:50!important;
    left:50%!important;right:auto!important;bottom:0!important;top:auto!important;transform:translateX(-50%)!important;
    width:min(94vw,470px)!important;height:min(88dvh,760px)!important;max-height:none!important;aspect-ratio:auto!important;
    margin:0!important;padding:11% 8% 10%!important;overflow:hidden!important;
    border:0!important;border-radius:0!important;
    background:transparent url("../../study-v141-thanh-loc-raster-v135/assets-v141/filter-mobile-drawer.png") center/100% 100% no-repeat!important;
    box-shadow:none!important
  }
  #collection .scene .search.open .tools{position:static!important;width:100%!important;height:100%!important;display:block!important;overflow:auto!important;padding:0 2%!important;scrollbar-width:thin}
  #collection .mobile-filter-head{position:sticky!important;top:0!important;z-index:5!important;display:flex!important;min-height:54px!important;margin:0 0 8px!important;padding:5px 0!important;background:linear-gradient(#f8efdf 72%,rgba(248,239,223,0))!important}
  #collection .scene .search.open .mobile-close{width:auto!important;min-width:94px!important;height:44px!important;border-bottom:1px solid rgba(78,108,93,.42)!important;color:#496b5c!important}
  #collection .scene .search.open .compartment{padding:12px 0!important;border:0!important;border-top:1px solid var(--v141-line)!important}
  #collection .scene .search.open .measure{border-top:0!important}
  #collection .scene .search.open .filter input, #collection .scene .search.open .filter button{min-height:44px!important}
  #collection .scene .search.open .main-controls .panel{position:static!important;width:100%!important;height:auto!important;max-height:none!important;margin-top:8px!important;padding:8px 0!important;border:0!important;background:none!important;overflow:visible!important}
  #collection .scene .search.open .panel label{min-height:44px!important;border-bottom:1px solid var(--v141-line)!important}
  #collection .scene .search.open .drop-list{max-height:240px!important;overflow:auto!important}
  #collection .scene .search.open .utilities{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:24px 52px 56px!important;gap:7px!important}
  #collection .scene .search.open .filter-count{grid-row:1!important}#collection .scene .search.open .utility-left{grid-row:2!important}#collection .scene .search.open #order-cta{grid-row:3!important;width:100%!important}
}

@media(max-width:430px){
  #collection .mobile-summary{padding-left:5%!important;padding-right:5%!important}
  #collection #mobile-open{font-size:13px!important}
}


/* source: ../study-v163-main-page-integration/v163-host.css */
/* V163 embedded Collection module. V162 design remains locked. */
#collection aura-collection-filter{
  position:absolute;left:0;right:auto;top:18px;z-index:28;display:block;
  width:100%;height:0;pointer-events:none;visibility:hidden
}
#collection aura-collection-filter[data-ready="true"]{visibility:visible}
#collection .scene .empty-state{
  position:absolute;left:50%;top:48%;z-index:8;transform:translate(-50%,-50%);
  width:min(430px,78vw);display:grid;justify-items:center;gap:8px;padding:22px 24px;
  border:1px solid rgba(107,73,42,.46);border-radius:10px;background:rgba(251,244,231,.95);
  box-shadow:inset 0 0 0 2px rgba(199,157,96,.4),0 10px 26px rgba(52,34,22,.14);
  color:#4a3020;text-align:center
}
#collection .scene .empty-state strong{font-size:18px}#collection .scene .empty-state span{color:#765b46}
#collection .scene .empty-state button{min-height:44px;margin-top:3px;padding:0 18px;border:1px solid #765133;border-radius:7px;background:linear-gradient(#6d9885,#477565);color:#fffaf0;font:600 14px "Aura Source Serif 4",Georgia,serif;cursor:pointer}
#collection .scene .empty-state button:focus-visible{outline:2px solid #315c50;outline-offset:2px}

#collection .scene .card header{
  display:flex!important;align-items:center!important;justify-content:center!important
}
#collection .scene .card header h2{
  margin:0!important;font-size:clamp(16px,1.16cqw,18px)!important;font-weight:700!important;white-space:normal!important;line-height:1!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden
}
#collection .scene .card .tier-mark{
  justify-self:end;align-self:center;min-width:30px;margin:0!important;padding:2px 5px 1px!important;
  border:1px solid rgba(132,101,46,.72);text-align:center;
  border-radius:2px;background:linear-gradient(180deg,#668776,#315c50);color:#fff8e8;
  box-shadow:inset 0 0 0 1px rgba(255,245,211,.38);font-family:"Aura Source Serif 4",Georgia,serif;
  font-size:9px!important;font-weight:700;line-height:1;letter-spacing:.08em
}
#collection .scene .card[data-tier="vip"] .footer .info{color:#3f392a}
#collection .scene .card[data-tier="vip"] .code-row{color:#315c50}
#collection .scene .card[data-tier="vip"] .price-row{color:#4a3020}
#collection .scene .footer, #collection .scene .card[data-tier="vip"] .footer{
  display:grid!important;grid-template-columns:1fr!important;grid-template-rows:50px 39px!important;
  gap:4px!important;align-items:stretch!important;height:93px!important
}
#collection .scene .footer .info{
  display:grid!important;grid-template-rows:28px 22px!important;height:50px!important;
  min-height:0!important;align-self:stretch!important;font-size:clamp(10.5px,.76cqw,12px)!important;
  line-height:1.05!important
}
#collection .scene .footer .info p{
  min-width:0!important;height:auto!important;margin:0!important;display:grid!important;
  grid-template-columns:14px minmax(0,1fr)!important;gap:4px!important;align-items:center!important
}
#collection .scene .footer .info p img{width:14px!important;height:14px!important}
#collection .scene .footer .info p span{min-width:0;white-space:normal;overflow-wrap:anywhere}
#collection .scene .footer .meta-row{
  grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;min-width:0
}
#collection .scene .footer .size-row, #collection .scene .footer .code-row{font-weight:600}
#collection .scene .footer .info p.code-row{color:#644732;font-variant-numeric:tabular-nums;white-space:nowrap;gap:2px!important}
#collection .scene .footer .code-row span{white-space:nowrap!important;overflow-wrap:normal!important}
#collection .scene .footer .price-line{grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;height:22px}
#collection .scene .footer .price-line .price-row{height:22px!important;font-size:clamp(12px,.88cqw,14px);font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
#collection .scene .footer .price-row span{white-space:nowrap!important;overflow-wrap:normal!important}
#collection .scene .voice-bubble>strong{
  width:100%;text-align:center;font-weight:700!important;line-height:1.15
}
#collection .scene .footer .actions{
  display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:39px!important;
  gap:5px!important;height:39px!important;min-height:39px!important;align-self:stretch!important
}
#collection .scene .footer .actions button, #collection .scene .footer .actions button:first-child, #collection .scene .footer .actions button:last-child{
  grid-row:1!important;min-width:0!important;min-height:39px!important;height:39px!important;
  padding:0 4px 0 13%!important;font-size:clamp(11px,.76cqw,12px)!important;
  font-weight:600!important;cursor:pointer;transition:transform 140ms ease,color 140ms ease,text-shadow 140ms ease
}
#collection .scene .footer .actions button:first-child{grid-column:1!important}
#collection .scene .footer .actions button:last-child{grid-column:2!important}
#collection .scene .footer .actions button::before{inset:1px 0!important}
#collection .scene .footer .actions button::after{
  content:"";position:absolute;z-index:2;inset:4px 3px;border:1px solid transparent;
  border-radius:7px 2px 7px 2px;pointer-events:none;opacity:0;transition:opacity 140ms ease
}
#collection .scene .footer .actions button:first-child{color:#4d3423!important}
#collection .scene .footer .actions button:last-child{color:#fffaf0!important;text-shadow:0 1px 1px rgba(22,45,39,.45)}
#collection .scene .footer .actions button:hover{transform:translateY(-1px)}
#collection .scene .footer .actions button:hover::before{filter:brightness(1.09) saturate(1.03)}
#collection .scene .footer .actions button:active{transform:translateY(1px)}
#collection .scene .footer .actions button:active::before{filter:brightness(.94) saturate(.97)}
#collection .scene .footer .actions button:focus-visible{outline:0!important}
#collection .scene .footer .actions button:focus-visible::after{opacity:1;border-color:#416c5f;box-shadow:0 0 0 1px rgba(251,245,229,.92)}
#collection .scene .footer .actions button:last-child:focus-visible::after{border-color:#f5ead1;box-shadow:0 0 0 1px rgba(43,80,69,.85)}
@media(min-width:1351px){
  #collection .scene .card{pointer-events:none}
  #collection .scene .card .photo, #collection .scene .card .actions button{pointer-events:auto}
}
@media(max-width:1350px){
  #collection .scene .card header, #collection .scene .card[data-tier="vip"] header{height:6.55%!important}
}
@media(max-width:900px){
  #collection .scene{padding-top:clamp(68px,13vw,88px)!important}
  #collection aura-collection-filter{left:0;right:auto;top:8px;width:100%;z-index:48}
}
@media(prefers-reduced-motion:reduce){
  #collection .scene .footer .actions button, #collection .scene .footer .actions button::after{transition:none}
}

/* Khay xem nhanh: một phiếu giám ngọc, không phải trang sản phẩm thu nhỏ. */
#collection .product-detail-dialog{
  width:min(1120px,calc(100vw - 48px));height:min(690px,calc(100dvh - 48px));max-width:none;max-height:none;
  margin:auto;padding:0;border:0;background:transparent;color:#4a3020;overflow:visible
}
#collection .product-detail-dialog::backdrop{background:rgba(31,24,19,.58);backdrop-filter:blur(4px)}
#collection .product-detail-dialog[open]{animation:detail-enter 180ms ease-out both}
#collection .product-detail-dialog .detail-shell{
  position:relative;width:100%;height:100%;padding:13px;
  border:1px solid #59341f;border-radius:18px 8px 18px 8px;
  background:linear-gradient(135deg,#4f2e1c,#825234 14%,#5b351f 46%,#8c5c3c 72%,#4b2c1b);
  box-shadow:inset 0 0 0 2px rgba(225,190,128,.55),0 24px 70px rgba(26,16,10,.34)
}
#collection .product-detail-dialog .detail-shell::before{
  content:"";position:absolute;inset:8px;border:1px solid rgba(241,213,155,.48);border-radius:13px 5px 13px 5px;pointer-events:none
}
#collection .product-detail-dialog .close{
  position:absolute;z-index:5;right:24px;top:24px;width:44px;height:44px;margin:0;padding:0;
  display:grid;place-items:center;border:1px solid rgba(94,64,38,.45);border-radius:9px;
  background:linear-gradient(#fffaf0,#ead9bf);color:#315c50;font:400 27px/1 Arial;cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 3px 8px rgba(55,35,20,.12)
}
#collection .product-detail-dialog .close:hover{border-color:#315c50;background:#fffaf0}
#collection .product-detail-dialog .close:focus-visible{outline:2px solid #315c50;outline-offset:3px}
#collection .product-detail-dialog #detail-content{height:100%;border-radius:10px 3px 10px 3px;overflow:hidden;background:#fbf4e7}
#collection .detail-view{height:100%;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)}
#collection .detail-media{position:relative;min-width:0;overflow:hidden;background:#e9dfcf}
#collection .detail-media::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 34px rgba(70,43,24,.2);pointer-events:none}
#collection .detail-media>img{display:block;width:100%;height:100%;object-fit:cover}
#collection .detail-zoom{
  position:absolute;z-index:2;left:18px;bottom:18px;min-height:44px;padding:0 16px;border:1px solid rgba(90,61,37,.48);
  border-radius:7px;background:rgba(255,250,240,.92);color:#4a3020;font:600 14px "Aura Source Serif 4",Georgia,serif;cursor:pointer
}
#collection .detail-zoom:hover, #collection .detail-zoom:focus-visible{outline:0;border-color:#315c50;box-shadow:0 0 0 2px rgba(49,92,80,.2)}
#collection .detail-copy{min-width:0;display:flex;flex-direction:column;padding:42px 38px 30px;background:linear-gradient(180deg,#fffaf0,#f5e7d0);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#aa8955 transparent}
#collection .detail-kicker{margin:0 52px 8px 0;color:#527b6d;font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
#collection .detail-copy h2{margin:0 48px 8px 0;font-family:"Aura Source Serif 4",Georgia,serif;font-size:clamp(27px,2.25vw,36px);font-weight:700;line-height:1.08}
#collection .detail-code{display:flex;align-items:center;gap:6px;margin:0 0 22px;color:#765b46;font-size:13px;font-variant-numeric:tabular-nums}
#collection .detail-code img{width:15px;height:15px}#collection .detail-price{margin:0 0 18px;font-size:24px;font-weight:700;color:#4a3020;font-variant-numeric:tabular-nums}
#collection .detail-facts{display:grid;grid-template-columns:1fr 1fr;margin:0;border-top:1px solid rgba(117,80,44,.24);border-bottom:1px solid rgba(117,80,44,.24)}
#collection .detail-fact{min-width:0;padding:12px 12px 12px 0}#collection .detail-fact:nth-child(even){padding-left:14px;border-left:1px solid rgba(117,80,44,.2)}
#collection .detail-fact:nth-child(n+3){border-top:1px solid rgba(117,80,44,.16)}
#collection .detail-fact dt{margin:0 0 4px;color:#7a604b;font-size:11px;letter-spacing:.07em;text-transform:uppercase}#collection .detail-fact dd{margin:0;font-size:14px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
#collection .detail-note{min-height:42px;margin:14px 0;color:#654b38;font-size:13px;line-height:1.45}
#collection .detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto}
#collection .detail-actions button{min-height:48px;border-radius:8px;font:650 15px "Aura Source Serif 4",Georgia,serif;cursor:pointer}
#collection .detail-actions .detail-ask{border:1px solid #65442c;background:linear-gradient(#6d9885,#477565);color:#fffaf0;text-shadow:0 1px rgba(24,45,38,.45)}
#collection .detail-actions .detail-close-action{border:1px solid rgba(101,68,44,.45);background:#fffaf0;color:#4a3020}
#collection .detail-actions button:hover{filter:brightness(1.06)}#collection .detail-actions button:focus-visible{outline:2px solid #315c50;outline-offset:2px}
#collection .detail-contact{margin-top:12px;padding:12px;border:1px solid rgba(94,64,38,.3);border-radius:8px;background:rgba(255,250,240,.65)}
#collection .detail-contact label{display:block;margin-bottom:6px;font-size:12px;font-weight:700}#collection .detail-contact textarea{width:100%;min-height:82px;resize:vertical;padding:9px;border:1px solid rgba(94,64,38,.34);border-radius:6px;background:#fffdf7;color:#4a3020;font:14px/1.4 "Aura Source Serif 4",Georgia,serif}#collection .detail-contact textarea:focus{outline:2px solid rgba(49,92,80,.35);border-color:#315c50}
#collection .detail-handoff{width:100%;min-height:46px;margin-top:9px;border:1px solid #65442c;border-radius:8px;background:linear-gradient(#6d9885,#477565);color:#fffaf0;text-shadow:0 1px rgba(24,45,38,.45);font:650 14px "Aura Source Serif 4",Georgia,serif;cursor:pointer}#collection .detail-handoff:hover{filter:brightness(1.06)}#collection .detail-handoff:focus-visible{outline:2px solid #315c50;outline-offset:2px}
@keyframes detail-enter{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:760px){
  #collection .product-detail-dialog{width:100vw;height:94dvh;margin:auto 0 0;overflow:hidden}
  #collection .product-detail-dialog .detail-shell{padding:7px;border-radius:16px 16px 0 0}
  #collection .product-detail-dialog #detail-content{overflow:auto;border-radius:11px 11px 0 0}
  #collection .product-detail-dialog .close{position:fixed;right:17px;top:calc(6dvh + 15px)}
  #collection .detail-view{height:auto;min-height:100%;grid-template-columns:1fr;grid-template-rows:min(48dvh,420px) auto}
  #collection .detail-media>img{object-position:center}#collection .detail-copy{padding:24px 20px 26px}#collection .detail-kicker{margin-right:52px}#collection .detail-copy h2{margin-right:48px;font-size:29px}
  #collection .detail-facts{grid-template-columns:1fr}#collection .detail-fact:nth-child(even){padding-left:0;border-left:0}#collection .detail-fact:nth-child(n+2){border-top:1px solid rgba(117,80,44,.16)}
  #collection .detail-actions{position:sticky;bottom:-1px;padding-top:8px;background:linear-gradient(transparent,#f5e7d0 28%)}
}
@media(max-width:410px){#collection .detail-view{grid-template-rows:42dvh auto}#collection .detail-copy{padding-inline:16px}#collection .detail-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#collection .product-detail-dialog[open]{animation:none}}
#collection[data-embed="true"], #collection[data-embed="true"] body{margin:0;min-height:100%;overflow-x:hidden;background:#f8f0e3}
#collection[data-embed="true"] .order-zone{display:none!important}
#collection[data-embed="true"] .scene{min-height:100dvh}


/* source: ../study-v187-collection-journey-handoff/v187-state.css */
/* V187: illustrated states and deterministic panel-relative positioning. */
#collection .scene[data-collection-state="empty"] .mascot, #collection .scene[data-collection-state="empty"] .mascot-ground-shadow, #collection .scene[data-collection-state="empty"] .mascot-voice{opacity:0;visibility:hidden;pointer-events:none}
#collection #filter-state-overlay{position:absolute;z-index:24;left:42%;top:49%;width:min(39%,560px);pointer-events:none}
#collection #filter-state-overlay[hidden]{display:none}
#collection .aura-invalid-card{display:grid;grid-template-columns:minmax(92px,30%) 1fr;align-items:center;gap:15px;padding:13px 16px 14px;border:1px solid #9a7144;border-radius:14px 5px 14px 5px;background:linear-gradient(110deg,rgba(255,250,239,.98),rgba(244,231,210,.98));box-shadow:inset 0 0 0 3px rgba(255,255,255,.55),0 14px 32px rgba(54,34,21,.2);pointer-events:auto}
#collection .aura-invalid-card img{display:block;width:100%;max-height:138px;object-fit:contain}
#collection .aura-invalid-card strong{display:block;margin:0 0 5px;font-size:clamp(18px,1.45vw,24px);line-height:1.05;color:#3d2d24}
#collection .aura-invalid-card p{margin:0;color:#685746;font-size:13px;line-height:1.38}
#collection .aura-invalid-actions, #collection .aura-empty-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
#collection .aura-invalid-actions button, #collection .aura-empty-actions button{min-height:39px;padding:7px 13px;border:1px solid #53776c;border-radius:4px 9px 4px 9px;background:linear-gradient(#fffaf0,#eadbc2);color:#315c50;font-weight:700}
#collection .aura-invalid-actions button:first-child, #collection .aura-empty-actions button:first-child{background:linear-gradient(#668f80,#315c50);color:#fffaf0;text-shadow:0 1px rgba(0,0,0,.18)}
#collection .aura-invalid-actions button:hover, #collection .aura-empty-actions button:hover{filter:brightness(1.06)}

#collection .aura-state--empty{position:absolute;z-index:7;left:30.5%;top:17%;width:67%;height:58%;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.72fr);align-items:center;gap:8px;padding:8px 2% 8px 0}
#collection .aura-state-art{align-self:stretch;display:grid;place-items:center;min-width:0}
#collection .aura-state-art img{display:block;width:100%;height:100%;max-height:520px;object-fit:contain;filter:drop-shadow(0 11px 14px rgba(66,41,24,.13))}
#collection .aura-state-copy{position:relative;padding:21px 22px 22px;border:1px solid rgba(154,113,68,.7);border-radius:16px 5px 16px 5px;background:linear-gradient(115deg,rgba(255,250,239,.95),rgba(244,231,210,.94));box-shadow:inset 0 0 0 3px rgba(255,255,255,.45),0 12px 28px rgba(54,34,21,.12)}
#collection .aura-state-copy::before{content:"";position:absolute;left:15px;top:13px;width:8px;height:8px;border:1px solid rgba(49,92,80,.55);background:#cbd8c8;transform:rotate(45deg)}
#collection .aura-state-copy strong{display:block;padding-left:18px;font-size:clamp(22px,1.8vw,31px);line-height:1.04;color:#3d2d24}
#collection .aura-state-copy p{margin:11px 0 0;color:#685746;font-size:14px;line-height:1.45}
#collection .aura-state-copy .state-range{color:#315c50;font-weight:750}
#collection .aura-state-copy .state-note{font-size:12px}

@media(max-width:1350px){
  #collection #filter-state-overlay{position:relative;left:auto;top:auto;width:min(100%,760px);margin:0 auto 18px}
  #collection .aura-invalid-card{grid-template-columns:120px 1fr}
  #collection #cards[data-state="empty"]{display:block;max-width:980px;width:100%;margin:0 auto}
  #collection .aura-state--empty{position:relative;left:auto;top:auto;width:100%;height:auto;min-height:480px;grid-template-columns:minmax(0,1.1fr) minmax(280px,.8fr);padding:14px}
  #collection .aura-state-art img{max-height:460px}
}

@media(max-width:700px){
  #collection #filter-state-overlay{width:100%;margin:0 auto 14px}
  #collection .aura-invalid-card{grid-template-columns:88px 1fr;gap:11px;padding:11px}
  #collection .aura-invalid-card img{max-height:105px}
  #collection .aura-invalid-card strong{font-size:19px}
  #collection .aura-invalid-card p{font-size:12px}
  #collection .aura-invalid-actions{grid-column:1/-1;margin-top:2px}
  #collection .aura-invalid-actions button{flex:1}
  #collection .aura-state--empty{min-height:0;display:flex;flex-direction:column;padding:6px 0 18px}
  #collection .aura-state-art img{width:100%;height:auto;max-height:330px}
  #collection .aura-state-copy{width:100%;padding:18px 17px 19px}
  #collection .aura-state-copy strong{font-size:24px}
  #collection .aura-state-copy p{font-size:13px}
  #collection .aura-empty-actions button{flex:1 1 100%}
}


/* source: ../study-v345-collection-controls-and-spacing/v331-room-sides.css */
/* Study-only: let the existing room grow moderately to 1920px, then extend
   only the empty wall/floor on its right. The doorway is never duplicated. */
@media (min-width: 1537px) {
  #collection[data-embed="true"] body{
    position: relative;
    background: #f5ecdd;
  }

  #collection[data-embed="true"] .scene{
    z-index: 1;
    max-width: 1920px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 1921px) {
  #collection[data-embed="true"] body::after{
    content: "";
    position: absolute;
    top: 0;
    left: 1920px;
    width: calc(100% - 1920px);
    height: 1280px;
    pointer-events: none;
    background-image: url("../../study-v103-footer-theo-vung-lua/assets-v96/background.png");
    background-size: 1920px 1280px;
    background-repeat: no-repeat;
    background-position: right top;
    transform: scaleX(-1);
  }
}


/* source: ../study-v569-mobile-usability/collection.css */
/* V557: keep the painted scene and full scroll artwork; place all three
   works and the filter entirely on the usable wall at medium desktop widths. */
@media (min-width: 901px) and (max-width: 1520px) {
  #collection[data-embed="true"] .scene{
    padding: 0;
    min-height: 0;
    background: #f4ebdd;
  }
  #collection[data-embed="true"] body .scene{ min-height: 0 !important; height: max(960px, 66.6667vw) !important; aspect-ratio: auto; }
  #collection .scene .room{
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  #collection .scene .mascot{
    display: block;
    width: 25%;
    left: -3%;
    bottom: 3%;
  }
  #collection .scene .door-front{ display: block; }
  #collection .scene .table-art{
    display: block;
    left: 45%;
    top: 79%;
    width: 54%;
  }
  #collection .scene #cards{
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: clamp(10px, 1vw, 15px);
    width: 76.5%;
    max-width: none;
    margin: 0 1% 0 22.5%;
    padding: clamp(180px, 16vw, 218px) 0 44px;
  }
  #collection .scene .card, #collection .scene .card[data-tier="vip"]{
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none;
    width: 100% !important;
    max-width: none;
    margin: 0 auto;
  }
  /* The catalogue code remains in product detail; one concise fact line gives the portrait its space. */
  #collection .scene .card .photo{ height: calc(63.3% - 89px); }
  #collection .scene .card .footer{ top: calc(87% - 95px); }
  #collection .scene aura-collection-filter{ z-index: 28; }
  #collection .scene .mascot-voice{ z-index: 5; }
}
@media (min-width: 901px) and (max-width: 1350px) {
  /* The newly drawn two-row rail needs a little more breathing room above the scrolls. */
  #collection .scene #cards{ padding-top: calc(clamp(180px, 16vw, 218px) + 8px); }
}
/* Keep the old voice cutoff consistent with the new medium-width layout. */
@media (max-width: 1520px) { #collection .scene .mascot-voice{ display: none !important; } }
@media (max-width: 900px) {
  #collection .scene .mascot, #collection .scene .mascot-voice, #collection .scene .mascot-ground-shadow{ display: none !important; }
}
#collection .scene .footer .info p.size-row span.measure-clause{ white-space: nowrap; overflow-wrap: normal; }
#collection .scene .footer .info p.size-row span.measure-clause{ display:inline; }
@media (min-width: 901px) {
  #collection .scene .footer .meta-row{ grid-template-columns:minmax(0,1fr) auto !important; }
  #collection .scene .footer .info, #collection .scene .footer .info p, #collection .scene .footer .price-line .price-row{ font-size:14px !important; }
}
@media (min-width: 1521px) {
  #collection .scene .footer{ height:98px !important; grid-template-rows:50px 44px !important; gap:4px !important; }
  #collection .scene .footer .actions{ height:44px !important; min-height:44px !important; grid-template-rows:44px !important; }
  #collection .scene .footer .actions button, #collection .scene .footer .actions button:first-child, #collection .scene .footer .actions button:last-child{ height:44px !important; min-height:44px !important; }
}
@media (min-width: 901px) and (max-width: 1520px) {
  #collection .scene .footer .info, #collection .scene .footer .info p, #collection .scene .footer .price-line .price-row{ font-size: 14px !important; }
  #collection .scene .footer .meta-row{ grid-template-columns: minmax(0,1fr) auto !important; grid-template-rows: 24px !important; gap: 4px; }
  #collection .scene .footer .info{ height: 46px !important; min-height:46px !important; grid-template-rows: 24px 22px !important; }
  #collection .scene .footer{ height: 95px !important; grid-template-rows: 46px 44px !important; gap:5px !important; }
  #collection .scene .footer .actions, #collection .scene .footer .actions button, #collection .scene .footer .actions button:first-child, #collection .scene .footer .actions button:last-child{ height: 44px !important; min-height: 44px !important; grid-template-rows: 44px !important; font-size:14px !important; }
  #collection .scene .footer .actions button{ white-space:nowrap; padding-left:9% !important; padding-right:1px !important; }
  #collection .scene .footer .info p.size-row span{ white-space:nowrap !important; overflow-wrap:normal !important; }
}

@media (min-width: 768px) and (max-width: 900px) {
  #collection .scene #cards{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: calc(100% - 24px);
    max-width: none;
    margin: 0 12px;
  }
  #collection .scene .card, #collection .scene .card[data-tier="vip"]{ width: 100%; }
  #collection .scene .card .photo{ height: 37%; }
  #collection .scene .card .footer{ top: 59%; }
}

#collection .collection-more-wrap{ display: none; }
@media (max-width: 767px) {
  #collection .scene #cards{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
  }
  #collection .scene .card{ max-width: 500px; }
  #collection .scene .card .photo{ aspect-ratio: 4 / 3.25; }
  #collection .scene .card .footer{ top: 61%; }
  #collection .collection-more-wrap{
    position: relative;
    z-index: 5;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 10px 16px 34px;
    color: #315c50;
    font: 600 13px/1.4 "Aura Source Serif 4", Georgia, serif;
  }
  #collection .collection-more-wrap p{ margin: 0; }
  #collection #collection-more{
    min-width: 230px;
    min-height: 48px;
    padding: 8px 24px;
    border: 2px solid #b58a4b;
    border-radius: 7px 2px 7px 2px;
    color: #fff9e9;
    background: linear-gradient(180deg, #618674, #315c50);
    box-shadow: inset 0 0 0 2px rgba(255, 246, 218, .28), 0 4px 9px rgba(61, 42, 22, .14);
    font: 650 15px/1.2 "Aura Source Serif 4", Georgia, serif;
    cursor: pointer;
  }
  #collection #collection-more:hover{ filter: brightness(1.08); }
  #collection #collection-more:focus-visible{ outline: 2px solid #315c50; outline-offset: 3px; }
  #collection #collection-more[hidden]{ display: none; }
  #collection .scene .footer .info, #collection .scene .footer .info p, #collection .scene .footer .price-line .price-row{ font-size: 13px !important; }
  /* The painted SVG faces stay untouched; extend only the HTML footer hit row. */
  #collection .scene .footer{ height: 98px !important; grid-template-rows: 50px 44px !important; gap: 4px !important; }
  #collection .scene .footer .actions{ height: 44px !important; min-height: 44px !important; grid-template-rows: 44px !important; }
  #collection .scene .footer .actions button, #collection .scene .footer .actions button:first-child, #collection .scene .footer .actions button:last-child{ height: 44px !important; min-height: 44px !important; }
}

@media (min-width: 768px) and (max-width: 900px) {
  #collection .scene .footer .info, #collection .scene .footer .info p, #collection .scene .footer .price-line .price-row{ font-size: 13px !important; }
}

/* V555: keep the approved table PNG intact, uniformly smaller and inside
   the painted room. The old +28px displacement clipped its feet. */
@media (min-width: 1336px) and (max-width: 1520px) {
  #collection .scene .table-art{ width: 49%; transform: translateY(3px); }
}
@media (min-width: 1521px) and (max-width: 1600px) {
  #collection .scene .table-art{ width: 50%; transform: translateY(16px); }
}
@media (min-width: 1601px) {
  #collection .scene .table-art{ width: 50%; transform: translateY(25px); }
}
/* Same painted room, lossless pixel-identical derivative for the continuation. */
#collection .scene::before{ background-image: url("../../study-v569-mobile-usability/assets-collection-lossless/room.webp"); }

/* At compact desktop/tablet widths the longest measurement needs two
   intentional lines; never let it cross the painted inner frame. */
@media (min-width: 901px) and (max-width: 1520px) {
  #collection .scene .card .photo{ height: calc(63.3% - 120px); }
  #collection .scene .card .footer{
    top: calc(87% - 126px);
    height: 126px !important;
    grid-template-rows: 78px 44px !important;
  }
  #collection .scene .card .footer .info{
    height: 78px !important;
    min-height: 78px !important;
    grid-template-rows: 56px 22px !important;
  }
  #collection .scene .card .footer .meta-row{
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: 36px 20px !important;
    gap: 0;
  }
  #collection .scene .card .footer .info p.size-row > span{
    white-space: normal !important;
    line-height: 1.15;
  }
  #collection .scene .card .footer .info p.size-row .measure-clause + .measure-clause{
    display: block;
  }
}


/* source: ../study-v571-collection-single-scroll-swipe/collection-v571.css */
/* V571 study: move the existing rail and a single existing painted scroll
   together below the painted eave. No new pictorial CSS components. */
@media (max-width: 900px) {
  #collection .scene{
    --v571-rail-top: clamp(82px, 15vw, 134px);
    padding-top: calc(var(--v571-rail-top) + 60px) !important;
  }
  #collection .scene aura-collection-filter{
    top: var(--v571-rail-top) !important;
  }
  #collection .scene #cards{
    display: grid !important;
    grid-template-columns: minmax(0, 500px) !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    gap: 0 !important;
  }
  #collection .scene #cards .card{
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
  }
  #collection .collection-more-wrap{ display: none !important; }
}


/* source: ../study-v573-collection-footer-safety/collection-v572.css */
/* V573 study, forked from V572. Scale the complete painted background uniformly;
   do not repeat, stretch, or paint a CSS texture over it. */
@media (max-width: 900px) {
  #collection .scene::before{
    background-image: url('../assets/collection-mobile-tablet-background-lossless.webp') !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    background-size: cover !important;
    background-position: center top !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  #collection .scene .card .photo{
    aspect-ratio: auto !important;
    height: 48% !important;
    overflow: hidden;
  }
  #collection .scene .card .photo img{
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
  }
  #collection .scene .card .photo.full-source img{ object-fit: contain; }
  #collection .scene .card .footer{
    top: calc(70.2% - 4px) !important;
    height: 88px !important;
    grid-template-rows: 42px 44px !important;
    gap: 2px !important;
  }
  #collection .scene .footer .info{ display: none !important; }
  #collection .scene .footer .mobile-facts{
    display: grid;
    grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
    column-gap: 5px;
    width: 100%;
    height: 42px;
    min-width: 0;
    align-items: stretch;
    color: #4d3423;
    box-sizing: border-box;
    padding: 0 4px;
    font: 600 13px/1.16 "Aura Source Serif 4", Georgia, serif;
  }
  #collection .scene .footer .mobile-facts > div{
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
  #collection .scene .footer .mobile-facts p{ margin: 0; min-width: 0; }
  #collection .scene .footer .mobile-facts .fact-spec p{ white-space: nowrap; }
  #collection .scene .footer .mobile-facts .fact-spec .pending{ font-size: 12.5px; letter-spacing: -.14px; }
  #collection .scene .footer .mobile-facts .fact-spec .long-spec{ white-space: normal; overflow-wrap: anywhere; font-size: 12.5px; line-height: 1.05; }
  #collection .scene .footer .mobile-facts .fact-sale{ text-align: right; font-variant-numeric: tabular-nums; }
  #collection .scene .footer .mobile-facts .fact-sale p{ white-space: nowrap; }
  #collection .scene .footer .mobile-facts .fact-code{ display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
  #collection .scene .footer .mobile-facts .fact-tag{ display: block; flex: none; width: 12px; height: 12px; }
  #collection .scene .footer .mobile-facts .fact-price{ font-weight: 700; }
  #collection .scene .footer .actions{
    grid-row: 2 !important;
    height: 44px !important;
    min-height: 44px !important;
    grid-template-rows: 44px !important;
  }
  #collection .scene .footer .actions button, #collection .scene .footer .actions button:first-child, #collection .scene .footer .actions button:last-child{ min-height: 44px !important; height: 44px !important; }
}
@media (min-width: 768px) and (max-width: 900px) {
  #collection .scene .card .photo{ height: 52% !important; }
  #collection .scene .card .footer{ top: calc(75% - 8px) !important; height: 106px !important; grid-template-rows: 58px 44px !important; gap: 4px !important; }
  #collection .scene .footer .mobile-facts{ font-size: 14px; height: 58px; }
}
@media (min-width: 901px) {
  #collection .scene .footer .mobile-facts{ display: none !important; }
}


/* source: ../study-v624-mobile-filter-gesture-chat-fit/filter-inline.css */
/* The filter joins the normal page scroll on small screens; the approved rail
   and product scroll artwork stay in their existing places. */
@media (max-width: 900px) {
  #collection .scene.filter-inline-open{
    padding-top: calc(var(--v571-rail-top) + 60px + var(--aura-filter-extra, 0px)) !important;
  }
}

