/* Bag and wishlist only. The 64px composite and its original print coordinates remain intact. */
body:has(.ts-gallery-bag){margin:0;background:#faf9f6;color:#20201f}
body:has(.ts-gallery-bag) :is(.c950,.c585):has(>.ts-gallery-bag){width:100%!important;max-width:none!important;margin-top:0!important;box-sizing:border-box}
.ts-gallery-bag{box-sizing:border-box;width:calc(100% - 96px);max-width:1180px;margin:0 auto;padding:52px 0 64px;font:14px/1.6 Arial,Helvetica,sans-serif;text-align:left}
.ts-gallery-bag>header{margin-bottom:36px}
.ts-gallery-bag-content>br{display:none}
.ts-gallery-bag h1{margin:0;font:400 clamp(42px,5vw,66px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.045em}
.ts-gallery-bag .ts-gallery-eyebrow{margin:0 0 18px;color:#8b4934;font:500 10px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.2em}
.ts-bag-table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:auto}
.ts-bag-table th{text-align:left;font:500 10px/1.6 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#68665d;padding:16px 10px;border-block:1px solid #dedcd5}
.ts-bag-table td{padding:24px 10px;vertical-align:middle;border-bottom:1px solid #dedcd5;overflow-wrap:anywhere}
.ts-bag-table th:first-child,.ts-bag-table td:first-child{padding-left:0}
.ts-bag-table th:last-child,.ts-bag-table td:last-child{padding-right:0}
.ts-bag-cell-image{width:110px;min-width:100px}
.ts-bag-cell-design{font:400 24px/1.25 Georgia,'Times New Roman',serif;letter-spacing:-.02em;max-width:220px}
.ts-bag-cell-article{max-width:190px;color:#64635c}
.ts-bag-cell-size{font-weight:600}
.ts-bag-cell-price,.ts-bag-cell-total{font-variant-numeric:tabular-nums;min-width:70px;white-space:nowrap}
.ts-bag-cell-total{font-size:17px}
.ts-bag-preview{border:1px solid #dedcd5;width:64px;transform:scale(1.5);transform-origin:top left;margin:0 34px 38px 0}
.ts-bag-blank{display:block;width:64px;height:auto}
.ts-bag-overlay{position:absolute;top:0;left:0}
.ts-bag-print-image{width:inherit;height:inherit;min-height:100%;min-width:100%;max-width:100%;max-height:100%}
.ts-bag-status-icon{display:none}
.ts-bag-icon-large{width:64px}
.ts-bag-icon{width:32px;height:auto;display:block}
.ts-bag-note{font:11px/1.4 Arial,Helvetica,sans-serif;color:#68665d}
.ts-bag-personalized{font:11px/1.4 Arial,Helvetica,sans-serif;color:#47634b}
.ts-bag-price-old{color:#8d5140;text-decoration:line-through;font-size:12px}
.ts-bag-discount{font-size:11px;color:#47634b}
.ts-bag-currency{font-size:inherit;font-weight:inherit;color:inherit}
.ts-bag-amount{font:400 30px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.025em}
.ts-bag-table .push_varia{cursor:default;background:transparent}
.ts-bag-table .push_varia>span{display:none!important}
/* Keep native quantity selection visible, including after the legacy blur handler. */
.ts-bag-table select{display:block!important;box-sizing:border-box;width:72px;min-height:44px;border:1px solid #b9b7ae;border-radius:0;background:#fff;padding:9px 8px;color:#20201f;font:16px/1.4 Arial,Helvetica,sans-serif}
.ts-bag-table button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;min-height:44px;padding:6px;border:1px solid #d6d2c7;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;color:#20201f}
.ts-bag-table button:hover{background:#eeeae1}
.ts-bag-table :is(button,select,a):focus-visible,.ts-gallery-bag a:focus-visible{outline:2px solid #a5573e;outline-offset:4px}
.ts-bag-summary{box-sizing:border-box;max-width:420px;width:100%;margin:28px 0 0 auto;padding:24px;background:#eeeae1;text-align:center}
.ts-bag-summary>a{display:block;text-decoration:none}
.ts-bag-summary .button_green{box-sizing:border-box;border-radius:0;background:#20201f;color:#fff;border:1px solid #20201f;box-shadow:none;padding:18px 22px;min-height:52px;font:12px/1.65 Arial,Helvetica,sans-serif;letter-spacing:.04em}
.ts-bag-summary .button_green:hover{background:#414139}
.ts-bag-share{color:#20201f;font:14px/1.6 Arial,Helvetica,sans-serif}
.ts-bag-share-links{margin:14px auto 0;border-spacing:12px}
.ts-bag-share-links .button_green{padding:10px;min-width:44px;background:transparent;border:1px solid #b9b7ae}
.ts-bag-empty{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:360px;border-block:1px solid #dedcd5}
.ts-bag-empty-art{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:38px;background:#ebe6dc;padding:48px 24px}
.ts-bag-empty-art img{width:96px;height:96px}
.ts-bag-empty-art span{font:10px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.2em;color:#70695f}
.ts-bag-empty-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:40px 48px}
.ts-bag-empty-copy h2{margin:0 0 16px;font:400 clamp(30px,3vw,42px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.03em;color:#20201f}
.ts-bag-empty-copy>p{margin:0 0 24px;max-width:330px;color:#68665d;font-size:15px}
.ts-gallery-bag-next{margin:8px 0 18px!important}
.ts-gallery-action{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:48px;box-sizing:border-box;padding:12px 18px;background:#20201f;color:#fff!important;text-decoration:none;font:13px/1.5 Arial,Helvetica,sans-serif}
.ts-gallery-action:hover{background:#414139}
.ts-bag-secondary{color:#68665d;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
/* Navbar shares the bag edges, preserving the two legacy DOM branches. */
body:has(.ts-gallery-bag) #id-corpo:has(.elem_menu){width:calc(100% - 96px)!important;max-width:1180px;margin-inline:auto;box-sizing:border-box;background:#faf9f6!important;border-color:#dedcd5!important}
body:has(.ts-gallery-bag) #id-corpo>:is(.c950,.c585){width:100%!important;max-width:none;box-sizing:border-box}
@media(max-width:1050px){
 .ts-bag-table,.ts-bag-table tbody{display:block;width:100%}
 .ts-bag-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .ts-bag-table tbody>tr{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1fr);gap:14px 20px;box-sizing:border-box;border-block-start:1px solid #dedcd5;padding:24px 0}
 .ts-bag-table td{display:block;box-sizing:border-box;min-width:0;max-width:none;width:auto;padding:0!important;border:0;text-align:left;white-space:normal}
 .ts-bag-table td[data-label]:not(.ts-bag-cell-image):not(.ts-bag-cell-add):not(.ts-bag-cell-remove):not(.ts-bag-cell-design)::before{content:attr(data-label);display:block;font:10px/1.5 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#777168;margin-bottom:5px}
 .ts-bag-cell-image{grid-column:1;grid-row:1/5}
 .ts-bag-cell-design{grid-column:2;grid-row:1;font-size:26px}
 .ts-bag-cell-article{grid-column:2;grid-row:2}
 .ts-bag-cell-color{grid-column:2;grid-row:3}
 .ts-bag-cell-size{grid-column:2;grid-row:4}
 .ts-bag-cell-price{grid-column:1;grid-row:5}
 .ts-bag-cell-quantity{grid-column:2;grid-row:5}
 .ts-bag-cell-total{grid-column:1;grid-row:6}
 .ts-bag-cell-remove{grid-column:2;grid-row:6;align-self:end;justify-self:end}
 .ts-bag-cell-add{grid-column:1/-1;grid-row:7}
 .ts-bag-cell-add button{width:100%;gap:12px}
 .ts-bag-cell-add button::after{content:attr(aria-label);font:13px/1.5 Arial,Helvetica,sans-serif}
}
@media(max-width:760px){
 .ts-gallery-bag{width:calc(100% - 48px);padding:34px 0 44px}
 .ts-gallery-bag>header{margin-bottom:28px}
 .ts-bag-empty{grid-template-columns:1fr}
 .ts-bag-empty-art{padding:32px 24px;gap:20px;min-height:150px}
 .ts-bag-empty-copy{padding:30px 0}
 .ts-bag-summary{padding:20px;margin-top:20px}
 body:has(.ts-gallery-bag) #id-corpo:has(.elem_menu){width:calc(100% - 48px)!important}
 body:has(.ts-gallery-bag) #id-corpo>div>ul,body:has(.ts-gallery-bag) #id-corpo>div>ul>li{display:block!important;width:100%!important;box-sizing:border-box;max-width:100%}
 body:has(.ts-gallery-bag) #id-corpo>div>ul>li:first-child{display:flex!important;align-items:center}
 body:has(.ts-gallery-bag) #id-corpo>div>ul>li:first-child>ul{display:flex;min-width:0;flex:1;overflow-x:auto;white-space:nowrap}
 body:has(.ts-gallery-bag) #id-corpo>div>ul>li:first-child>ul>li{flex:none}
 body:has(.ts-gallery-bag) #id-corpo>div>ul>li:first-child>div{flex:0 0 42px;margin-right:6px}
 body:has(.ts-gallery-bag) #id-corpo>div>ul>li:last-child{display:flow-root!important}
}
