/* SMATT Group catalogue page — scoped to catalog only */
.smatt-product-page{background:#e5e5e5;color:#222;min-height:100vh;padding:94px 0 64px;font-family:"Lato",sans-serif}
/* Catalog page uses Lato throughout, including the copied shared navbar, without changing site-wide styles. */
body:has(.smatt-product-page), body:has(.smatt-product-detail){font-family:"Lato",sans-serif}
body:has(.smatt-product-page) .navbar, body:has(.smatt-product-page) .navbar *, body:has(.smatt-product-detail) .navbar, body:has(.smatt-product-detail) .navbar *{font-family:"Lato",sans-serif!important}
.smatt-catalog-intro{width:min(1120px,calc(100% - 48px));margin:0 auto 16px}
.smatt-catalog-intro h1{font-size:clamp(34px,6vw,58px);font-weight:400;line-height:.98;margin:0 0 14px;color:#292929;text-align:center;width:100%}
.smatt-catalog-intro h1 span{color:#a90000;font-weight:900}
.smatt-catalog-intro p{font-size:clamp(14px,1.25vw,16px);line-height:1.5;text-align:justify;text-justify:inter-word;margin:0 0 12px;max-width:850px}
.smatt-catalog-search{height:38px;display:flex;align-items:center;gap:10px;background:#fff;border-radius:24px;padding:0 14px;margin-bottom:8px}
.smatt-catalog-search svg{width:22px;height:22px;flex:0 0 auto;stroke:#555;fill:none;stroke-width:2.8}
.smatt-catalog-search input{border:0;outline:0;background:transparent;width:100%;font:15px "Lato",sans-serif;color:#222;min-width:0}
.smatt-catalog-tabs{display:flex;gap:25px;align-items:center;overflow-x:auto;scrollbar-width:none;padding:0 12px 6px;margin:0 0 14px;white-space:nowrap}
.smatt-catalog-tabs::-webkit-scrollbar{display:none}
.smatt-catalog-tabs button{font:600 13px/1.2 "Lato",sans-serif;color:#222;background:none;border:0;padding:5px 0;cursor:pointer;position:relative;flex:0 0 auto}
.smatt-catalog-tabs button[aria-pressed="true"]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#a90000}
.smatt-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;width:min(1120px,calc(100% - 48px));margin:0 auto}
.smatt-product-card{min-width:0;overflow:hidden;background:transparent;color:#222;text-decoration:none;display:flex;flex-direction:column;box-shadow:none;transition:transform .2s ease;position:relative}
.smatt-product-card:hover{transform:translateY(-2px)}
.smatt-product-card-media{position:relative;display:block;overflow:hidden;border-radius:10px;isolation:isolate;background:#d3d3d3}
.smatt-product-card>img,.smatt-product-card-media>img{display:block;width:100%;height:clamp(270px,58vw,330px);aspect-ratio:auto;object-fit:cover;object-position:center 48%;background:#ddd}
.smatt-product-card h2{position:absolute;z-index:1;left:9%;right:9%;bottom:10px;min-height:42px;margin:0;padding:5px 8px;border-radius:12px;background:#fff;color:#555;display:flex;align-items:center;justify-content:center;text-align:center;font:400 12px/1.12 "Lato",sans-serif;text-transform:uppercase;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.smatt-product-card-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;padding:5px 2px 0;min-height:25px}
.smatt-product-card p{font:400 11px/1.15 "Lato",sans-serif;color:#555;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.smatt-product-card .smatt-product-price{font:400 11px/1.15 "Lato",sans-serif;color:#555;white-space:nowrap}
.smatt-product-card .smatt-product-price strong{font-weight:900;color:#333}
.smatt-product-card .smatt-view-details{font:700 11px/1.15 "Lato",sans-serif;color:#8f0000;white-space:nowrap;text-transform:uppercase;justify-self:end;display:inline-flex;gap:3px;align-items:center}
.smatt-catalog-empty{grid-column:1/-1;text-align:center;padding:35px 12px;color:#555}
@media(max-width:600px){
 .smatt-product-page{padding-top:150px;padding-bottom:38px}
 .smatt-catalog-intro{width:calc(100% - 48px);margin-bottom:14px}
 .smatt-catalog-intro h1{font-size:clamp(34px,9vw,48px);margin-bottom:13px;line-height:.98}
 .smatt-catalog-intro p{font-size:14px;line-height:1.5;text-align:justify;text-justify:inter-word;margin-bottom:10px}
 .smatt-catalog-search{height:36px;margin-bottom:7px;padding:0 12px}
 .smatt-catalog-search input{font-size:13px}
 .smatt-catalog-tabs{gap:23px;padding:0 10px 6px;margin-bottom:13px}
 .smatt-catalog-tabs button{font-size:12px}
 .smatt-product-grid{width:calc(100% - 48px);gap:12px 9px}
 .smatt-product-card-media{border-radius:9px}
 .smatt-product-card>img,.smatt-product-card-media>img{height:clamp(270px,58vw,310px);aspect-ratio:auto;object-fit:cover;object-position:center 48%}
 .smatt-product-card h2{left:8%;right:8%;bottom:9px;min-height:39px;font-size:11px;padding:5px 6px;border-radius:10px}
 .smatt-product-card-copy{padding-top:5px;gap:4px;min-height:23px}
 .smatt-product-card p,.smatt-product-card .smatt-product-price,.smatt-product-card .smatt-view-details{font-size:10px}
}
@media(min-width:760px){.smatt-product-page{padding-top:110px}.smatt-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}.smatt-catalog-tabs{justify-content:flex-start}.smatt-product-card h2{font-size:15px}.smatt-product-card p,.smatt-product-card .smatt-product-price,.smatt-product-card .smatt-view-details{font-size:12px}}
@media(prefers-reduced-motion:reduce){.smatt-product-card{transition:none}}
.smatt-product-detail{background:linear-gradient(180deg,#a90000 0%,#670a13 52%,#4b0910 100%);color:#fff;min-height:100vh;padding:34px 0 52px;font-family:"Lato",sans-serif}
.smatt-detail-inner{width:min(1080px,calc(100% - 40px));margin:0 auto}
.smatt-detail-title{font:400 clamp(22px,4vw,38px)/1.15 "Lato",sans-serif;margin:0 0 14px;white-space:normal;overflow-wrap:anywhere}
.smatt-detail-title:before{content:"›››";font-weight:900;letter-spacing:-4px;margin-right:8px;color:#e8a0a0}
.smatt-gallery{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 18%;gap:14px;overflow:hidden}
.smatt-gallery-main,.smatt-gallery-next{padding:0;border:0;background:transparent;display:block;overflow:hidden;border-radius:18px;cursor:pointer;min-width:0}
.smatt-gallery-main img,.smatt-gallery-next img{display:block;width:100%;height:clamp(350px,56vw,650px);object-fit:cover;background:#ddd}
.smatt-gallery-next img{height:clamp(350px,56vw,650px)}
.smatt-gallery-controls{display:flex;align-items:center;gap:10px;margin:16px 0 14px}
.smatt-gallery-track{height:4px;background:#ffffff55;flex:1;position:relative}
.smatt-gallery-progress{display:block;height:100%;width:10%;background:#fff;transition:width .2s ease}
.smatt-gallery-count{font-size:12px;color:#fff;min-width:42px;text-align:right}
.smatt-detail-buyrow{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch;margin:0 0 16px}
.smatt-detail-price{border-radius:24px;background:#e7e7e7;color:#333;padding:10px 18px;display:flex;flex-direction:column;justify-content:center;min-height:74px}
.smatt-detail-price span{font-size:17px;line-height:1.1}.smatt-detail-price strong{font:900 clamp(25px,4vw,40px)/1 "Lato",sans-serif;overflow-wrap:anywhere}
.smatt-order-button{border:0;border-radius:24px;background:#ff9d00;color:#4a3210;font:500 clamp(20px,3vw,30px)/1.05 "Lato",sans-serif;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center;padding:10px 18px;cursor:pointer;min-height:74px}
.smatt-detail-description{font-size:17px;line-height:1.2;margin:0 0 30px;white-space:pre-line}
.smatt-detail-note{border-top:2px solid #ffffff65;padding-top:16px;font-size:16px;line-height:1.2}
.smatt-detail-note strong{display:block;color:#ffad18;font-size:16px;font-weight:500;margin-bottom:3px}
.smatt-back-link{display:inline-flex;gap:7px;align-items:center;color:#fff;text-decoration:none;font-size:14px;margin-bottom:16px}
.smatt-quote-form{display:none;background:#fff;color:#222;border-radius:16px;padding:18px;margin:18px 0 0}
.smatt-quote-form.is-open{display:grid;gap:10px}
.smatt-quote-form label{font-size:13px;font-weight:700;display:grid;gap:5px}
.smatt-quote-form input,.smatt-quote-form textarea{width:100%;padding:11px;border:1px solid #ccc;border-radius:8px;font:14px "Lato",sans-serif}
.smatt-quote-form button{border:0;border-radius:9px;background:#a90000;color:#fff;padding:12px;font-weight:700;cursor:pointer}
@media(max-width:600px){.smatt-product-page{padding-top:94px;padding-bottom:38px}.smatt-catalog-intro{width:calc(100% - 48px)}.smatt-catalog-intro h1{font-size:clamp(37px,9vw,48px);margin-bottom:16px}.smatt-catalog-intro p{font-size:14px;line-height:1.28}.smatt-product-grid{width:calc(100% - 40px);gap:14px 9px}.smatt-product-card{border-radius:12px}.smatt-product-card>img{aspect-ratio:.72/1}.smatt-product-card-copy{padding:6px 7px 8px;gap:2px}.smatt-product-card h2{font-size:12px}.smatt-product-card p{font-size:11px;min-height:26px}.smatt-product-card .smatt-view-details{font-size:11px}.smatt-detail-inner{width:calc(100% - 40px)}.smatt-product-detail{padding-top:24px}.smatt-detail-title{font-size:clamp(22px,5.6vw,30px);margin-bottom:14px}.smatt-gallery{grid-template-columns:minmax(0,1fr) 18%;gap:12px}.smatt-gallery-main,.smatt-gallery-next{border-radius:16px}.smatt-gallery-main img,.smatt-gallery-next img{height:clamp(390px,96vw,520px)}.smatt-gallery-controls{margin:14px 0}.smatt-detail-buyrow{gap:10px}.smatt-detail-price{border-radius:22px;padding:9px 12px;min-height:72px}.smatt-detail-price span{font-size:15px}.smatt-detail-price strong{font-size:clamp(23px,6.4vw,32px)}.smatt-order-button{border-radius:22px;padding:8px 10px;min-height:72px;font-size:clamp(20px,5.7vw,28px)}.smatt-detail-description{font-size:16px;line-height:1.16;margin-bottom:30px}.smatt-detail-note{font-size:15px;padding-top:14px}}
@media(min-width:760px){.smatt-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}.smatt-product-card h2{font-size:17px}.smatt-product-card p{font-size:14px;min-height:34px}.smatt-product-card .smatt-view-details{font-size:13px}.smatt-catalog-tabs{justify-content:center}.smatt-gallery{grid-template-columns:minmax(0,1fr) 15%}}
@media(prefers-reduced-motion:reduce){.smatt-product-card,.smatt-gallery-progress{transition:none}}

/* Final catalog-only typography and mobile image sizing overrides */
.smatt-product-page, .smatt-product-page *, .smatt-product-detail, .smatt-product-detail *{font-family:"Lato",sans-serif!important}
@media(max-width:600px){.smatt-product-card-media>img{height:clamp(270px,58vw,310px)!important;aspect-ratio:auto!important;object-fit:cover!important}.smatt-product-page{padding-top:94px!important}}


/* Catalog card refinement — match the supplied mobile reference */
.smatt-product-card-media{position:relative;isolation:isolate;overflow:hidden}
.smatt-product-card-media::after{content:"";position:absolute;inset:auto 0 0;height:34%;z-index:0;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,.24) 42%,rgba(0,0,0,.86) 100%)}
.smatt-product-card-media>img{position:relative;z-index:-1}
.smatt-product-card h2{left:7%;right:7%;bottom:9px;min-height:0;height:auto;padding:4px 7px;border-radius:10px;background:#fff;color:#555;font-family:"Lato",sans-serif!important;font-size:clamp(10px,2.15vw,14px);font-weight:400;line-height:1.08;letter-spacing:0;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;z-index:1}
.smatt-product-card-copy{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;gap:6px;padding:7px 8px 0;min-height:0}
.smatt-product-card .smatt-product-price{font-family:"Lato",sans-serif!important;font-size:clamp(11px,2.2vw,15px);font-weight:400;line-height:1.15;color:#555;white-space:nowrap;overflow:visible;text-overflow:clip;flex:0 1 auto}
.smatt-product-card .smatt-product-price strong{font-family:"Lato",sans-serif!important;font-size:1.08em;font-weight:900;color:#555}
.smatt-product-card .smatt-view-details{font-family:"Lato",sans-serif!important;font-size:clamp(11px,2.1vw,14px);font-weight:400;line-height:1.15;color:#970000;white-space:nowrap;flex:0 0 auto;justify-self:auto;gap:2px}
@media(max-width:600px){
 .smatt-product-card-media{border-radius:10px}
 .smatt-product-card-media::after{height:32%}
 .smatt-product-card h2{left:7%;right:7%;bottom:8px;padding:4px 6px;border-radius:9px;font-size:clamp(10px,2.45vw,12.5px);line-height:1.08;min-height:0}
 .smatt-product-card-copy{padding:7px 3px 0;gap:4px;align-items:baseline}
 .smatt-product-card .smatt-product-price{font-size:clamp(11px,2.65vw,13.5px)}
 .smatt-product-card .smatt-product-price strong{font-size:1.06em}
 .smatt-product-card .smatt-view-details{font-size:clamp(11px,2.55vw,13px)}
}


/* Latest mobile reference refinement: larger title label and aligned price/action */
.smatt-product-card-media{position:relative;overflow:hidden;border-radius:11px}
.smatt-product-card-media::after{height:36%;background:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,.18) 30%,rgba(0,0,0,.82) 100%)}
.smatt-product-card h2{left:7%;right:7%;bottom:10px;min-height:34px;padding:5px 8px;border-radius:11px;background:#fff;color:#606060;font-family:"Lato",sans-serif!important;font-size:13px;font-weight:400;line-height:1.08;letter-spacing:0;text-align:center;align-content:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;z-index:1}
.smatt-product-card-copy{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;gap:5px;padding:7px 3px 0;min-height:0}
.smatt-product-card .smatt-product-price{font-family:"Lato",sans-serif!important;font-size:15px;font-weight:400;line-height:1.1;color:#666;white-space:nowrap;overflow:visible;text-overflow:clip;flex:0 1 auto;margin:0}
.smatt-product-card .smatt-product-price strong{font-family:"Lato",sans-serif!important;font-size:1.08em;font-weight:900;color:#606060}
.smatt-product-card .smatt-view-details{font-family:"Lato",sans-serif!important;font-size:14px;font-weight:400;line-height:1.1;color:#970000;white-space:nowrap;flex:0 0 auto;gap:2px}
@media(max-width:600px){
 .smatt-product-card-media{border-radius:10px}
 .smatt-product-card-media::after{height:36%}
 .smatt-product-card h2{left:7%;right:7%;bottom:10px;min-height:34px;padding:5px 7px;border-radius:10px;font-size:clamp(12px,2.8vw,13.5px);line-height:1.08}
 .smatt-product-card-copy{padding:7px 2px 0;gap:4px;align-items:baseline}
 .smatt-product-card .smatt-product-price{font-size:clamp(12px,3.1vw,15px)}
 .smatt-product-card .smatt-product-price strong{font-size:1.06em}
 .smatt-product-card .smatt-view-details{font-size:clamp(12px,2.9vw,14px)}
}

/* Readability refinement: clearer text with compact paragraph spacing */
.smatt-catalog-intro p{font-size:17px!important;line-height:1.3!important;text-align:justify;text-justify:inter-word;margin-bottom:10px}
.smatt-catalog-search input{font-size:16px}
.smatt-catalog-tabs button{font-size:15px}
.smatt-product-card h2{font-size:14px}
.smatt-product-card .smatt-product-price{font-size:16px}
.smatt-product-card .smatt-view-details{font-size:15px}
.smatt-detail-title{line-height:1.12}
.smatt-detail-description{font-size:18px;line-height:1.3;margin-bottom:22px}
.smatt-detail-note{font-size:17px;line-height:1.3}
.smatt-detail-note strong{font-size:17px}
.smatt-gallery-count{font-size:14px}
.smatt-back-link{font-size:15px}
.smatt-quote-form label{font-size:15px}
@media(max-width:600px){
 .smatt-catalog-intro p{font-size:15px!important;line-height:1.3!important;margin-bottom:9px}
 .smatt-catalog-search input{font-size:15px}
 .smatt-catalog-tabs button{font-size:14px}
 .smatt-product-card h2{font-size:clamp(12px,3.2vw,14px)}
 .smatt-product-card .smatt-product-price{font-size:clamp(12px,3.3vw,15px)}
 .smatt-product-card .smatt-view-details{font-size:clamp(12px,3.1vw,14px)}
 .smatt-detail-description{font-size:17px;line-height:1.28;margin-bottom:22px}
 .smatt-detail-note{font-size:16px;line-height:1.28}
 .smatt-detail-note strong{font-size:16px}
 .smatt-gallery-count{font-size:13px}
 .smatt-back-link{font-size:14px}
 .smatt-quote-form label{font-size:14px}
}


/* Restore product-name white label dimensions to the previous compact size. */
.smatt-product-card h2{left:7%!important;right:7%!important;bottom:10px!important;min-height:34px!important;height:34px!important;padding:5px 8px!important;border-radius:11px!important;font-size:13px!important;line-height:1.08!important;box-sizing:border-box!important}
@media(max-width:600px){.smatt-product-card h2{left:7%!important;right:7%!important;bottom:10px!important;min-height:34px!important;height:34px!important;padding:5px 7px!important;border-radius:10px!important;font-size:clamp(12px,2.8vw,13.5px)!important;line-height:1.08!important}}

/* SMATT premium interaction layer — subtle 2026-style motion, scoped to catalogue only */
.smatt-catalog-intro h1 span{
  background:linear-gradient(100deg,#8d0000 0%,#d51c28 48%,#8d0000 100%);
  background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:smattTitleSheen 7s ease-in-out infinite;
}
@keyframes smattTitleSheen{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.smatt-catalog-search{transition:none!important;box-shadow:none!important;border-color:transparent!important}
.smatt-catalog-search:focus-within{box-shadow:none!important;border-color:transparent!important;transform:none!important;outline:none!important}
.smatt-catalog-search input:focus,.smatt-catalog-search input:focus-visible{outline:none!important;box-shadow:none!important;border-color:transparent!important}
.smatt-catalog-tabs button{transition:color .22s ease,transform .22s ease}
.smatt-catalog-tabs button:hover{color:#a90000;transform:translateY(-2px)}
.smatt-catalog-tabs button[aria-pressed="true"]{color:#a90000}
.smatt-catalog-tabs button[aria-pressed="true"]:after{height:3px;border-radius:99px;box-shadow:0 2px 8px rgba(169,0,0,.22)}
.smatt-product-card{
  border-radius:13px;
  transition:transform .32s cubic-bezier(.2,.75,.25,1),filter .32s ease;
  will-change:transform;
}
.smatt-product-card-media{
  border:1px solid rgba(255,255,255,.42);
  box-shadow:0 5px 16px rgba(25,15,15,.07);
  transition:box-shadow .32s ease,border-color .32s ease;
}
.smatt-product-card-media>img{
  transform:scale(1.001);
  transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .4s ease;
}
.smatt-product-card h2{
  box-shadow:0 3px 12px rgba(0,0,0,.10);
  transition:box-shadow .28s ease,background-color .28s ease,color .28s ease;
}
.smatt-product-card .smatt-view-details{transition:color .22s ease,letter-spacing .22s ease}
@media(hover:hover) and (pointer:fine){
  .smatt-product-card:hover{transform:translateY(-6px) scale(1.008);z-index:2}
  .smatt-product-card:hover .smatt-product-card-media{border-color:rgba(169,0,0,.22);box-shadow:0 16px 36px rgba(55,0,0,.16)}
  .smatt-product-card:hover .smatt-product-card-media>img{transform:scale(1.045);filter:saturate(1.06)}
  .smatt-product-card:hover h2{box-shadow:0 6px 20px rgba(0,0,0,.17);color:#8f0000}
  .smatt-product-card:hover .smatt-view-details{color:#c20b19;letter-spacing:.15px}
}
.smatt-product-card:focus-visible,.smatt-catalog-tabs button:focus-visible,.smatt-catalog-search input:focus-visible,
.smatt-gallery-main:focus-visible,.smatt-gallery-next:focus-visible,.smatt-order-button:focus-visible,.smatt-back-link:focus-visible{
  outline:3px solid rgba(169,0,0,.72);outline-offset:4px
}
.smatt-gallery-main img,.smatt-gallery-next img{transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .35s ease}
@media(hover:hover) and (pointer:fine){
  .smatt-gallery-main:hover img,.smatt-gallery-next:hover img{transform:scale(1.025);filter:saturate(1.04)}
}
.smatt-order-button{position:relative;overflow:hidden;isolation:isolate;box-shadow:0 8px 22px rgba(20,0,0,.12);transition:transform .24s ease,box-shadow .24s ease,filter .24s ease}
.smatt-order-button:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.5) 48%,transparent 72%);transform:translateX(-120%);transition:transform .65s ease}
@media(hover:hover) and (pointer:fine){.smatt-order-button:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(20,0,0,.2);filter:saturate(1.06)}.smatt-order-button:hover:before{transform:translateX(120%)}}
.smatt-order-button:active{transform:scale(.985)}
.smatt-quote-form{box-shadow:0 16px 40px rgba(20,0,0,.12);border:1px solid rgba(169,0,0,.08)}
.smatt-quote-form input,.smatt-quote-form textarea{transition:border-color .2s ease,box-shadow .2s ease}
.smatt-quote-form input:focus,.smatt-quote-form textarea:focus{outline:0;border-color:#a90000;box-shadow:0 0 0 3px rgba(169,0,0,.09)}
.smatt-quote-form button{transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}
.smatt-quote-form button:hover{background:#850000;box-shadow:0 7px 18px rgba(169,0,0,.2);transform:translateY(-1px)}
@media(prefers-reduced-motion:reduce){
  .smatt-catalog-intro h1 span{animation:none}
  .smatt-catalog-search,.smatt-catalog-tabs button,.smatt-product-card,.smatt-product-card-media,.smatt-product-card-media>img,.smatt-product-card h2,.smatt-product-card .smatt-view-details,.smatt-gallery-main img,.smatt-gallery-next img,.smatt-order-button,.smatt-order-button:before,.smatt-quote-form input,.smatt-quote-form textarea,.smatt-quote-form button{transition:none!important;animation:none!important}
}


/* Mobile scroll reveal: polished touch-first motion, no cursor required */
.smatt-product-card{background:transparent;overflow:visible}
.smatt-product-card-media{overflow:hidden}
.smatt-product-card h2 a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:inherit;text-decoration:none;border-radius:inherit}
.smatt-product-card h2 a:focus-visible,.smatt-view-details:focus-visible{outline:2px solid #a90000;outline-offset:3px;border-radius:5px}
.smatt-product-card .smatt-view-details{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:30px;padding:2px 0;touch-action:manipulation}
@media(max-width:700px){
  .smatt-product-card{opacity:0;transform:translateY(22px) scale(.985);transition:opacity .55s ease,transform .65s cubic-bezier(.2,.75,.25,1);}
  .smatt-product-card.is-in-view{opacity:1;transform:translateY(0) scale(1)}
  .smatt-product-card h2{opacity:.88;transform:translateY(8px) scale(.97);transition:opacity .45s ease,transform .55s cubic-bezier(.2,.75,.25,1),box-shadow .3s ease,color .3s ease;}
  .smatt-product-card.is-in-view h2{opacity:1;transform:translateY(0) scale(1);box-shadow:0 7px 20px rgba(0,0,0,.13)}
  .smatt-product-card.is-in-view .smatt-view-details{animation:smattViewNudge .55s ease both;}
  .smatt-product-card:active{transform:scale(.985)}
  .smatt-product-card:active h2{color:#970000;box-shadow:0 2px 8px rgba(169,0,0,.18)}
}
@keyframes smattViewNudge{0%{opacity:.65;transform:translateY(5px)}100%{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  .smatt-product-card,.smatt-product-card h2,.smatt-product-card .smatt-view-details{animation:none!important;transition:none!important;transform:none!important;opacity:1!important}
}


/* SMATT 2026 touch-first scroll motion: scroll-linked where supported, safe fallback elsewhere. */
/* Keep cards visible by default; only hide them when the reveal script is active. */
.smatt-product-card{opacity:1;transform:none}
@media(max-width:700px){
  .smatt-product-grid.has-scroll-reveal .smatt-product-card{
    opacity:0;transform:translate3d(0,28px,0) scale(.975);
    transition:opacity .62s ease,transform .72s cubic-bezier(.16,1,.3,1);
  }
  .smatt-product-grid.has-scroll-reveal .smatt-product-card.is-in-view{
    opacity:1;transform:translate3d(0,0,0) scale(1);
  }
  .smatt-product-grid.has-scroll-reveal .smatt-product-card.is-in-view .smatt-product-card-media{
    box-shadow:0 10px 28px rgba(35,0,0,.12);
    transition:box-shadow .65s ease,border-color .4s ease;
  }
  .smatt-product-grid.has-scroll-reveal .smatt-product-card h2{
    box-shadow:0 5px 16px rgba(0,0,0,.12);
    transition:transform .55s cubic-bezier(.16,1,.3,1),box-shadow .4s ease,color .3s ease;
  }
  .smatt-product-grid.has-scroll-reveal .smatt-product-card:active .smatt-product-card-media{box-shadow:0 3px 10px rgba(169,0,0,.16)}
  .smatt-product-grid.has-scroll-reveal .smatt-product-card:active .smatt-view-details{transform:translateX(2px);color:#a90000}
  .smatt-product-card .smatt-product-card-media>img{transform-origin:50% 55%;}
}
/* Native scroll-linked movement follows the user's actual scroll, with observer transitions as fallback. */
@supports (animation-timeline:view()) and (animation-range:entry 0% entry 100%){
 @media(max-width:700px) and (prefers-reduced-motion:no-preference){
  .smatt-product-grid.has-scroll-reveal .smatt-product-card.is-in-view .smatt-product-card-media>img{
    animation:smattImageScrollDepth linear both;
    animation-timeline:view();
    animation-range:entry 0% exit 100%;
  }
  .smatt-product-grid.has-scroll-reveal .smatt-product-card.is-in-view h2{
    animation:smattLabelScrollLift linear both;
    animation-timeline:view();
    animation-range:entry 0% entry 75%;
  }
  @keyframes smattImageScrollDepth{
    from{transform:scale(1.09) translateY(1.2%);filter:saturate(.92)}
    to{transform:scale(1) translateY(-.6%);filter:saturate(1.04)}
  }
  @keyframes smattLabelScrollLift{
    from{transform:translateY(9px) scale(.96);box-shadow:0 1px 4px rgba(0,0,0,.04)}
    to{transform:translateY(0) scale(1);box-shadow:0 8px 22px rgba(0,0,0,.16)}
  }
 }
}
@media(prefers-reduced-motion:reduce){
 .smatt-product-grid.has-scroll-reveal .smatt-product-card,
 .smatt-product-grid.has-scroll-reveal .smatt-product-card h2,
 .smatt-product-grid.has-scroll-reveal .smatt-product-card .smatt-view-details,
 .smatt-product-grid.has-scroll-reveal .smatt-product-card .smatt-product-card-media>img{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
}


/* Final refinement: controlled stagger + clear touch targets; catalogue only */
@media(max-width:700px) and (prefers-reduced-motion:no-preference){
  .smatt-product-grid.has-scroll-reveal .smatt-product-card{
    transition-duration:.46s,.54s;
    transition-timing-function:cubic-bezier(.2,.75,.25,1);
  }
  .smatt-product-grid.has-scroll-reveal .smatt-product-card h2{
    transition:box-shadow .32s ease,color .25s ease,transform .42s cubic-bezier(.2,.75,.25,1);
  }
  .smatt-product-grid.has-scroll-reveal .smatt-product-card.is-in-view .smatt-product-card-media{
    box-shadow:0 8px 22px rgba(35,0,0,.10);
  }
  @supports not (animation-timeline:view()){
    .smatt-product-grid.has-scroll-reveal .smatt-product-card.is-in-view .smatt-product-card-media>img{
      animation:smattMobileImageSettle .72s cubic-bezier(.2,.75,.25,1) both;
    }
    @keyframes smattMobileImageSettle{
      from{transform:scale(1.035) translateY(1%)}
      to{transform:scale(1) translateY(0)}
    }
  }
}
/* Keep product photos decorative/non-navigating; only the title and VIEW links navigate. */
.smatt-product-card-media>img{pointer-events:none;user-select:none;-webkit-user-drag:none}
.smatt-product-card h2 a{
  position:relative;z-index:2;display:flex;align-items:center;justify-content:center;
  width:100%;min-height:100%;height:100%;padding:0 2px;box-sizing:border-box;
  color:inherit;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:rgba(169,0,0,.12);
}
.smatt-product-card h2 a:active{color:#970000}
.smatt-product-card .smatt-view-details{
  min-height:44px;min-width:48px;padding:0 5px;box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;touch-action:manipulation;
  -webkit-tap-highlight-color:rgba(169,0,0,.12);transition:color .2s ease,transform .2s ease;
}
.smatt-product-card .smatt-view-details:active{color:#c20b19;transform:translateX(2px) scale(.98)}
.smatt-product-card h2 a:focus-visible,.smatt-product-card .smatt-view-details:focus-visible{
  outline:2px solid #a90000;outline-offset:2px;border-radius:6px;
}
@media(prefers-reduced-motion:reduce){
 .smatt-product-grid.has-scroll-reveal .smatt-product-card.is-in-view .smatt-product-card-media>img{animation:none!important}
 .smatt-product-card .smatt-view-details{transition:none!important}
}
