/* DTFPD Christmas category: layout polish v1.4.0. Scope exclusively to category. */
body.dtfpd-xmas-structural-repair {overflow-x:clip!important}
body.dtfpd-xmas-structural-repair .dtfpd-xmas-repair-sidebar {display:none!important}
body.dtfpd-xmas-structural-repair .dtfpd-xmas-repair-main {
 width:100%!important;max-width:100%!important;flex:1 1 100%!important;
 float:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important;
}
body.dtfpd-xmas-structural-repair .dtfpd-xmas-wide-shell {
 box-sizing:border-box;display:block;position:relative;max-width:1440px;width:100%;
 min-width:0;overflow:hidden;clear:both;margin:0 auto 16px!important;
}
body.dtfpd-xmas-structural-repair .dtfpd-xmas-wide-shell > .dtfpd-xmas-moved-promo {
 display:block!important;box-sizing:border-box!important;left:0!important;right:auto!important;
 top:0!important;bottom:auto!important;position:relative!important;
 margin:0!important;max-width:none!important;transform-origin:0 0!important;
}
body.dtfpd-xmas-structural-repair .dtfpd-xmas-wide-shell :is(img,video,svg) {height:auto}
body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-panel{display:none}
@media (max-width:767px){
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-wide-shell{overflow:visible!important;margin:0 auto 12px!important}
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-wide-shell>.dtfpd-xmas-moved-promo{display:none!important}
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-panel{
  display:block!important;text-align:center;border-radius:13px;padding:24px 16px 20px;
  color:#fff!important;font-family:Arial,Helvetica,sans-serif;
  background:radial-gradient(ellipse at 85% 20%,#28344c 0,transparent 40%),
  radial-gradient(circle at 14% 70%,#4c1526 0,transparent 38%),
  linear-gradient(135deg,#07111e,#12192b 65%,#07111b);
  box-shadow:0 8px 25px #0b102233;overflow:hidden;
 }
 .dtfpd-xmas-mobile-panel .dtfpd-xmas-overline{margin:0 0 10px!important;letter-spacing:.13em;font-weight:800;font-size:10px!important;color:#f9cdb9!important}
 .dtfpd-xmas-mobile-panel h1{margin:0 0 10px!important;font-family:Georgia,serif!important;font-style:italic!important;color:#fff!important;line-height:1.07!important;font-size:clamp(33px,9vw,56px)!important;text-shadow:3px 4px 0 #b50008,0 7px 15px #000!important}
 .dtfpd-xmas-mobile-panel .dtfpd-xmas-sub{font-size:15px!important;color:#fff!important;font-weight:700!important;line-height:1.35!important;margin:8px auto 13px!important;max-width:340px}
 .dtfpd-xmas-mobile-panel img{display:block;max-width:min(78%,290px)!important;width:auto!important;max-height:270px!important;object-fit:contain!important;margin:0 auto 12px!important;border-radius:10px}
 .dtfpd-xmas-mobile-panel .dtfpd-xmas-badge{margin:0 auto 15px;background:#a80d12;color:#fff;font-weight:900;display:inline-block;padding:9px 18px;border-radius:999px;box-shadow:0 3px 0 #5f0707;border:2px solid white}
 .dtfpd-xmas-mobile-panel a.dtfpd-xmas-mobile-cta{display:block!important;max-width:440px;margin:0 auto 16px!important;background:linear-gradient(#f3262c,#b30000)!important;border:3px solid #fff!important;border-radius:999px!important;padding:14px 10px!important;box-shadow:0 5px 0 #6a0404!important;font-weight:900!important;color:#fff!important;text-decoration:none!important;font-size:17px!important;line-height:1.2!important;text-transform:uppercase}
 .dtfpd-xmas-mobile-panel .dtfpd-xmas-points{margin:0 auto!important;padding:0!important;list-style:none!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:420px}
 .dtfpd-xmas-mobile-panel .dtfpd-xmas-points li{font-size:12px!important;line-height:1.3!important;font-weight:700!important;color:#fff!important;background:#ffffff12;border:1px solid #ffffff26;border-radius:7px;padding:9px 6px}
}

/* Finishing touches: gently reduce banner height by scaling the entire composition.
   The artwork contains rasterised iconography, so its icons are not edited independently. */
@media (min-width:768px){
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-wide-shell{
   max-width:1360px!important;
   border-radius:10px;
   margin-top:10px!important;
   margin-bottom:14px!important;
   box-shadow:0 7px 20px rgba(15,19,35,.12);
 }
}
@media (max-width:767px){
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-wide-shell{
   border-radius:13px;
   background:#eef5fa;
   margin-top:6px!important;
   margin-bottom:13px!important;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-panel{
   border-radius:13px 13px 0 0;
   box-shadow:none;
   padding-bottom:22px;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-panel .dtfpd-xmas-badge{
   font-size:14px;
   padding:6px 14px;
   margin-bottom:13px;
   background:#a90d15;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-panel a.dtfpd-xmas-mobile-cta{
   padding:13px 12px!important;
   min-height:53px;
   display:flex!important;
   align-items:center;
   justify-content:center;
   box-sizing:border-box;
   font-size:clamp(14px,4.1vw,17px)!important;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-ideas{
   display:block;
   padding:20px 12px 23px;
   background:linear-gradient(180deg,#f1f7fd 0%,#fff 100%);
   color:#131e2b;
   max-width:100%;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-ideas h2{
   font-family:Arial,Helvetica,sans-serif;
   font-size:clamp(20px,5vw,25px)!important;
   line-height:1.2!important;
   text-align:center;
   text-transform:uppercase;
   letter-spacing:.01em;
   color:#101d2a!important;
   font-weight:900!important;
   margin:0 0 13px!important;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-ideas-track{
   display:flex;
   gap:11px;
   overflow-x:auto;
   max-width:100%;
   padding:0 2px 10px;
   scroll-snap-type:x mandatory;
   -webkit-overflow-scrolling:touch;
   scrollbar-width:thin;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-idea{
   display:block;
   flex:0 0 min(48%,180px);
   min-width:0;
   scroll-snap-align:start;
   text-decoration:none!important;
   border:1px solid #d8dfe8;
   border-radius:10px;
   background:#fff;
   padding:7px;
   box-shadow:0 2px 7px #12233311;
   box-sizing:border-box;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-idea img{
   display:block;
   aspect-ratio:1;
   object-fit:contain;
   border-radius:7px;
   width:100%;
   height:auto;
   margin:0 auto 7px;
   background:#f9f9f9;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-idea strong{
   display:-webkit-box;
   -webkit-line-clamp:2;
   -webkit-box-orient:vertical;
   overflow:hidden;
   color:#1a2635;
   font-size:12px;
   line-height:1.3;
   min-height:2.6em;
   font-family:Arial,Helvetica,sans-serif;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-ideas p{
   font-family:Arial,Helvetica,sans-serif;
   font-size:11px;
   text-align:center;
   margin:12px 0 0!important;
   color:#536176!important;
 }
}
@media (min-width:768px){
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-ideas{display:none!important}
}

/* v1.4: only the real shop category sidebar can be hidden. The site footer,
   site header and mobile navigation remain untouched at any viewport. */
body.dtfpd-xmas-structural-repair .dtfpd-xmas-repair-shop-row { min-width:0; }
@media(max-width:767px){
 body.dtfpd-xmas-structural-repair aside.sidebar,
 body.dtfpd-xmas-structural-repair aside.shop-sidebar {display:none!important}
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-wide-shell {
    width:calc(100% - 28px)!important;
    max-width:560px!important;
    margin:12px auto 16px!important;
    box-sizing:border-box!important;
 }
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-panel,
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-ideas {max-width:100%;box-sizing:border-box!important}
 body.dtfpd-xmas-structural-repair .dtfpd-xmas-mobile-ideas-track {overscroll-behavior-x:contain;}
}
