/* Trendy House V0.8.2 — complete replacement of Advent V3.1 presentation.
   No reservation, price, publication or stock logic in this stylesheet. */
.tha31{--gold:#edcf91;--cream:#fff2db;--red:#7c172b;box-sizing:border-box;width:100%;margin:0 auto;color:var(--cream);font-family:inherit;border:0;border-bottom:1px solid #9a6f47;border-radius:0;padding:clamp(12px,1.8vw,26px) clamp(10px,2vw,32px) 18px;background:radial-gradient(ellipse at 50% 13%,#40201b 0,transparent 55%),#120e10;position:relative;isolation:isolate;overflow:hidden}
.tha31 *{box-sizing:border-box}.tha31::before,.tha31::after{content:'';position:absolute;z-index:-1;top:0;bottom:0;width:clamp(130px,19.5vw,350px);pointer-events:none;background-repeat:no-repeat;background-size:cover;opacity:.95}.tha31::before{left:0;background-image:url('../img/noel-v08-gauche.webp');background-position:left center;mask-image:linear-gradient(to right,#000 0%,#000 55%,transparent 100%)}.tha31::after{right:0;background-image:url('../img/noel-v081-droite.webp');background-position:right center;mask-image:linear-gradient(to left,#000 0%,#000 55%,transparent 100%)}
.tha31-hero{text-align:center;max-width:1050px;margin:0 auto 15px;position:relative}.tha31-stars{display:flex;align-items:center;justify-content:center;gap:24px;color:var(--gold);margin:0 auto 4px;line-height:1}.tha31-stars::before,.tha31-stars::after{content:'';height:1px;width:min(15vw,158px);background:linear-gradient(90deg,transparent,#e9bf76)}.tha31-stars::after{transform:rotate(180deg)}.tha31-stars svg{width:29px;height:29px;filter:drop-shadow(0 0 6px #e6b25f66)}.tha31-kicker{color:#e1ba7d;font-size:9px;letter-spacing:.24em;font-weight:700;margin-bottom:3px}
.tha31 h1{color:var(--cream);font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(31px,3.8vw,61px);line-height:1.08;letter-spacing:-.025em;margin:4px 0 6px;text-shadow:0 3px 22px #000a}.tha31 h1 em{color:var(--gold);font-weight:400}.tha31-hero p{color:#f3e7d4;line-height:1.5;font-size:clamp(12px,.95vw,15px);margin:4px 0}.tha31 .tha31-tagline{font-size:clamp(16px,1.6vw,25px);color:var(--gold);font-family:Georgia,serif;font-weight:600;margin:6px 0}
.tha31-head,.tha31-grid,.tha31-footer{width:min(100%,1080px);margin-inline:auto}.tha31-head{display:flex;justify-content:space-between;align-items:center;gap:6px 12px;flex-wrap:wrap;font-size:10px;letter-spacing:.09em;color:var(--gold);border-top:1px solid #9b704d77;padding:8px 0}.tha31-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(7px,.75vw,12px);margin-bottom:13px;align-items:stretch}
.tha31-card{min-width:0;min-height:112px;border:1px solid #af7747;border-radius:9px;overflow:hidden;position:relative;box-shadow:0 5px 13px #0008,inset 0 0 0 2px #f4c67915;background:#3c1117}.tha31-door{height:100%;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;gap:4px;padding:8px 6px 10px;background:radial-gradient(ellipse at 50% 0,#903640 0,#5b1722 45%,#2b0b13 100%);color:var(--gold);position:relative;isolation:isolate}.tha31-door::before{content:'';position:absolute;inset:12% 0 10%;z-index:-1;background:url('../img/noel-v08-ruban.svg') center/100% auto no-repeat;pointer-events:none}.tha31-door::after{content:'';position:absolute;inset:4px;border:1px solid #e8b67529;border-radius:5px;pointer-events:none}.tha31-corner{position:absolute;right:8px;top:5px;color:#edc580;opacity:.58;font-size:18px;line-height:1}.tha31-number{position:absolute;top:7px;left:10px;font:400 clamp(25px,2.4vw,36px)/1 Georgia,serif;color:#ffe1a0;text-shadow:0 2px 6px #0009}.tha31-gift{display:none}.tha31-gift svg{width:25px;height:25px}.tha31-locked{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;color:#ffe7c0;line-height:1.2}.tha31-locked svg{width:16px;height:16px}.tha31-card.is-next{border:2px solid #f2cf89;box-shadow:0 0 17px #e5a84d66}.tha31-card.is-next .tha31-door{justify-content:center;padding:24px 4px 6px;background:radial-gradient(ellipse,#75312f,#361018)}.tha31-card.is-next .tha31-door::before{display:none}.tha31-card.is-next .tha31-gift{display:block}.tha31-card.is-next .tha31-gift svg{width:19px;height:19px}.tha31-next-label{font-size:9px;font-weight:700;letter-spacing:.025em;line-height:1.15}.tha31-count{font:700 clamp(12px,1.1vw,17px)/1.2 Georgia,serif;font-variant-numeric:tabular-nums;color:#fff4d7;background:#200c13b0;padding:5px 8px;border:1px solid #ca856e;border-radius:20px;white-space:nowrap;max-width:100%}
.tha31-card.is-final .tha31-door{background:radial-gradient(ellipse at 50% 40%,#855024,#50271d 55%,#281018)}.tha31-card.is-final:not(.is-next) .tha31-door::before{display:none}.tha31-card.is-final:not(.is-next) .tha31-gift{display:block;position:absolute;top:33%;left:50%;transform:translateX(-50%);filter:drop-shadow(0 0 9px #f6bf55)}.tha31-card.is-final:not(.is-next) .tha31-gift svg{width:35px;height:35px}.tha31-card.is-final .tha31-corner{opacity:.95}
.tha31-open{height:100%;display:flex;flex-direction:column;background:linear-gradient(160deg,#493127,#241a19);color:var(--cream)}.tha31-open-top{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:6px 8px;color:var(--gold);font-size:9px;font-weight:700;line-height:1.15}.tha31-open-top span:first-child{font:27px Georgia,serif}.tha31-open img,.tha31-image-placeholder{width:100%;height:clamp(76px,8vw,125px);object-fit:contain;display:block;background:#1f1716}.tha31-image-placeholder{display:grid;place-items:center;background:radial-gradient(ellipse,#614138,#2c2022);color:var(--gold)}.tha31-image-placeholder svg{width:40px;height:40px}.tha31-copy{padding:8px;flex:1;display:flex;flex-direction:column;gap:5px}.tha31-copy h2{color:var(--cream);font-size:14px;line-height:1.25;margin:0;overflow-wrap:anywhere}.tha31-copy p{color:#e3d4ca;font-size:12px;line-height:1.4;margin:0;overflow-wrap:anywhere;white-space:normal}.tha31-copy strong{color:var(--gold);font-size:19px}.tha31-cta,.tha31-status{display:block;text-align:center;padding:8px 5px;font-size:12px;font-weight:700;border-radius:4px;margin-top:auto;overflow-wrap:anywhere;line-height:1.25}.tha31-cta{background:linear-gradient(130deg,#f9e3aa,#d4a252);color:#28151a!important;text-decoration:none;min-height:38px}.tha31-cta:hover,.tha31-cta:focus-visible{background:#ffe5a7;outline:2px solid #fff;outline-offset:-3px}.tha31-status{background:#333;color:#fff}.tha31-small{font-size:11px;color:var(--gold)}.tha31-card.is-latest{border:2px solid #ffe3a3;box-shadow:0 0 19px #eab35c80}.tha31-card.is-latest .tha31-open-top{background:#c78d44;color:#28151a}.tha31-card.is-soldout,.tha31-card.is-expired{filter:grayscale(1);opacity:.86}.tha31-demo{background:#f0d195;color:#28151a;text-align:center;padding:10px;font-weight:700}.tha31 .is-unconfigured{opacity:.78}.tha31 .is-unconfigured .tha31-door{font-size:11px}.tha31-footer{border-top:1px solid #9b704d77;padding:12px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;position:relative;color:var(--cream)}.tha31-footer>span{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 7px}.tha31-footer>span+span{border-left:1px solid #a87b4c77}.tha31-footer i{font-style:normal;color:var(--gold);font-size:24px;line-height:1}.tha31-footer i svg{width:23px;height:23px}.tha31-footer b{font-size:12px;line-height:1.2}.tha31-footer small{display:block;font-weight:400;font-size:10px;color:#e0cbb4;margin-top:3px}
@media(min-width:1250px){.tha31-head,.tha31-grid,.tha31-footer{width:min(70vw,1080px)}}
@media(max-width:1249px){.tha31::before,.tha31::after{opacity:.36}.tha31-grid,.tha31-head,.tha31-footer{max-width:1000px}}
@media(max-width:1000px){.tha31-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tha31::before,.tha31::after{opacity:.22;background-size:100% auto;background-position:bottom;mask-image:linear-gradient(to top,#000 0,transparent 265px)}.tha31 h1{font-size:clamp(30px,5vw,48px)}}
@media(max-width:640px){.tha31{padding:13px 10px 15px}.tha31-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.tha31-card,.tha31-door{min-height:108px}.tha31-hero{margin-bottom:10px}.tha31-kicker{font-size:8px}.tha31-head{font-size:9px}.tha31-number{font-size:27px;top:7px;left:7px}.tha31-corner{font-size:15px}.tha31-next-label{font-size:8px}.tha31-count{font-size:12px;padding:4px 5px}.tha31-copy{padding:7px}.tha31-copy h2{font-size:13px}.tha31-footer>span{flex-direction:column;text-align:center;gap:6px}.tha31-footer b{font-size:11px}.tha31-footer small{font-size:9px}.tha31-open img,.tha31-image-placeholder{height:90px}}
@media(max-width:359px){.tha31-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tha31-card,.tha31-door{min-height:110px}}
@media(prefers-reduced-motion:no-preference){.tha31-card.is-next{animation:th08-cardglow 3.8s ease-in-out infinite alternate}@keyframes th08-cardglow{from{box-shadow:0 0 10px #d89c4866}to{box-shadow:0 0 24px #f4c36e99}}}

/* V1.0.2 — identical compact tile geometry, including opened offers. */
.tha31-grid{grid-auto-rows:clamp(146px,10.6vw,164px);align-items:stretch}
.tha31-card{height:100%;min-height:0;min-width:0;contain:layout paint}
.tha31-card .tha31-door{min-height:0;height:100%}
.tha31-open{position:relative;isolation:isolate;height:100%;min-height:0;background:linear-gradient(145deg,#5b352d,#201416);display:flex;flex-direction:column;justify-content:flex-end}
.tha31-tile-media{position:absolute;inset:0;display:flex;z-index:-2;overflow:hidden;background:#2c2022}
.tha31-tile-media img{height:100%;min-width:0;flex:1 1 0;width:0;object-fit:cover;object-position:center 25%;background:#dfdbd7}
.tha31-tile-media .tha31-image-placeholder{width:100%;height:100%;align-items:start;padding-top:24px}
.tha31-tile-media .tha31-image-placeholder svg{width:32px;height:32px}
.tha31-open::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#180e10b0 0%,transparent 23%,#1a1012b8 41%,#201416 72%,#201416 100%);pointer-events:none}
.tha31-open-top,.tha31-card.is-latest .tha31-open-top{position:absolute;top:0;left:0;right:0;background:linear-gradient(180deg,#1e1319d9,transparent);color:#ffe6ad;padding:5px 7px;line-height:1;font-size:8px;z-index:1}
.tha31-open-top span:first-child{font-size:23px}
.tha31-copy{position:relative;flex:0 0 auto;min-height:0;padding:5px 6px 6px;gap:3px;display:flex;flex-direction:column}
.tha31-copy h2{font-size:11px;line-height:1.16;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;max-height:2.32em;text-shadow:0 1px 5px #000}
.tha31-copy strong{font-size:15px;line-height:1.12;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
.tha31-copy .tha31-cta,.tha31-copy .tha31-status{font-size:10px;line-height:1.12;min-height:0;padding:6px 3px;margin-top:1px;display:block;overflow-wrap:anywhere}
.tha31-details{width:min(100%,1080px);margin:8px auto 0;padding:8px 12px;color:var(--cream);background:#241819;border:1px solid #9a6f4766;border-radius:6px;font-size:13px}.tha31-details summary{cursor:pointer;color:var(--gold);font-weight:600}.tha31-details p{margin:8px 0 2px;white-space:normal}
@media(max-width:640px){.tha31-grid{grid-auto-rows:152px}.tha31-card,.tha31-card .tha31-door{min-height:0}.tha31-copy{padding:5px 4px;gap:3px}.tha31-copy h2{font-size:10px}.tha31-copy strong{font-size:13px}.tha31-copy .tha31-cta,.tha31-copy .tha31-status{font-size:9px;padding:6px 2px}.tha31-open-top span:first-child{font-size:21px}}
