/* Product photography and interactive packaging studio. */
.product-card[hidden],.product-studio .viewer-fallback[hidden],.product-studio canvas[hidden]{display:none!important}
.catalog-page .catalog-grid,.product-page .catalog-grid{gap:1.5rem;border:0;background:none}
.catalog-page .catalog-grid{grid-template-columns:repeat(4,1fr)}
.catalog-page .product-card,.product-page .product-card{padding:0;background:#fff;border:1px solid #dfebee;border-radius:14px;overflow:hidden;transition:box-shadow .25s,transform .25s}
.catalog-page .product-card:hover,.product-page .product-card:hover{box-shadow:0 18px 45px rgba(19,58,73,.09)}
.product-card .packshot{position:relative;height:350px;background:radial-gradient(ellipse at 50% 35%,#fff,#edf4f6);display:flex;align-items:center;justify-content:center;margin:0 0 1.6rem;overflow:hidden}
.product-photo{display:block;position:relative;width:174px;height:258px;overflow:hidden;border-radius:13px;clip-path:polygon(5% 0,95% 0,100% 4%,100% 94%,96% 100%,5% 100%,0 94%,0 5%);transition:transform .4s}
.product-photo img{position:absolute;max-width:none;width:164%;height:auto;left:-31.5%;top:0}
.photo-mar-rish img{width:166%;left:-33%;top:0}
.photo-mar-tile-fix img{width:175%;left:-38%;top:-7.3%}
.photo-markhor-putty,.photo-mar-tile-grout{height:244px}
.photo-mar-tile-fix{height:270px}
.product-card .packshot:hover .product-photo{transform:translateY(-6px) rotate(-2deg)}
.pack-weight{position:absolute;top:1.2rem;left:1.2rem;border:1px solid #d5e3e9;border-radius:30px;padding:.3rem .7rem;color:#47616c;font-size:.75rem;font-weight:600;background:#ffffffa6}
.pack-360{position:absolute;bottom:1rem;right:1.2rem;font-size:.72rem;font-weight:600;color:#49636f}
.product-card>.tag,.product-card>h3,.product-card>p,.product-card>.text-link{margin-left:1.5rem;margin-right:1.5rem}
.product-card>.tag{font-size:.65rem;letter-spacing:.08em;min-height:2.2em;color:var(--product-accent,#018bb5)}
.product-card>h3{font-size:1.5rem;margin-top:.35rem;margin-bottom:.8rem}
.product-card>p{font-size:.9rem;line-height:1.8}
.product-card>.text-link{margin-top:.7rem;margin-bottom:1.8rem;padding-bottom:.3rem;border-color:var(--product-accent,#018bb5)}
.product-detail-section{padding:2.4rem 0 5rem;background:#fff}
.product-page .breadcrumbs{color:#6f8790;font-size:.75rem;margin-bottom:2rem}
.product-page .breadcrumbs a:hover{color:#01a3d3}
.product-detail-layout{display:grid;grid-template-columns:1.12fr 1fr;gap:clamp(2rem,6vw,5.5rem);align-items:center}
.product-studio{position:relative;aspect-ratio:1/1.08;border:0;border-radius:22px;background:#fff;overflow:hidden;isolation:isolate;box-shadow:none}
.product-studio canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;z-index:2;outline-offset:-5px}
.product-studio canvas:active{cursor:grabbing}
.studio-topline,.studio-bottomline{position:absolute;left:1.5rem;right:1.5rem;z-index:3;display:flex;justify-content:space-between;align-items:center;color:#6a828e;pointer-events:none;font-size:.63rem;letter-spacing:.12em;font-weight:600}
.studio-topline{top:1.4rem}.studio-bottomline{bottom:1.4rem;font-size:.65rem;letter-spacing:.015em;font-weight:400}
.studio-badge{border:1px solid #d2e1e6;border-radius:50px;padding:.3rem .65rem;color:#274a59;font-size:.75rem;letter-spacing:0}
.product-studio .viewer-fallback{inset:13% auto auto 28%;width:44%;height:72%;object-fit:fill;border-radius:10px;box-shadow:5px 9px 18px #173a4824}
.viewer-status{position:absolute;z-index:4;left:12%;right:12%;bottom:8%;font-size:.72rem;text-align:center;color:#547380}.viewer-status:empty{display:none}
.product-view-help{font-size:.7rem;color:#78909a;text-align:center;margin:.8rem 0 0}
.product-back{display:block;margin-bottom:2.4rem;color:#6f8790;font-size:.75rem}
.product-information>.tag{display:block;color:var(--product-accent);font-size:.72rem}
.product-information h1{font-size:clamp(2.8rem,4.3vw,4.7rem);line-height:1.06;margin:.7rem 0 1.3rem;color:#17323c}
.product-description{font-size:1.05rem;line-height:1.8;color:#607881}
.product-weight-row{display:flex;gap:.85rem;align-items:center;flex-wrap:wrap;margin:1.8rem 0;color:#71848c;font-size:.73rem}
.product-weight-row strong{border:1px solid #cddce2;border-radius:30px;padding:.45rem .9rem;color:#193e50;font-size:.9rem}.product-weight-row>span:last-child{margin-left:auto}
.product-information .feature-list{gap:0 1.3rem;margin:1.8rem 0 2.3rem;color:#496370;font-size:.85rem}
.product-information .feature-list li:before{content:'✓';color:var(--product-accent);margin-right:.5rem}
.product-actions{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}.product-actions .btn{background:#193e50;color:#fff;border-radius:7px;font-size:.76rem;letter-spacing:0}.product-actions .text-link{align-self:center;font-size:.75rem}
.product-details{background:#f0f7f9;border-top:1px solid #e0ebef}.product-details h2,.related-products h2{font-size:clamp(2rem,3.5vw,3.6rem)}.product-details p{color:#607881}.product-technical-note{font-size:.82rem;max-width:450px}.product-details .specs{font-size:.84rem}.product-details .specs th{width:40%}.product-page .related-products .catalog-grid{margin-top:2rem}
@media(max-width:1000px){.product-detail-layout{gap:2.5rem}.product-weight-row>span:last-child{margin-left:0;width:100%}}
@media(max-width:1100px){.catalog-page .catalog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.product-detail-layout{grid-template-columns:1fr}.product-view-column{max-width:600px;width:100%;margin:auto}.product-information{max-width:650px}.product-back{margin-bottom:1.4rem}.product-page .related-products .catalog-grid{grid-template-columns:1fr 1fr}.product-information h1{font-size:clamp(2.6rem,8vw,4rem)}}
@media(max-width:620px){.catalog-page .catalog-grid,.product-page .related-products .catalog-grid{grid-template-columns:1fr}.product-detail-section{padding:1.6rem 0 3rem}.product-studio{border-radius:14px;aspect-ratio:1/1.12}.studio-topline,.studio-bottomline{left:1rem;right:1rem}.product-detail-layout{gap:2rem}.product-actions .btn{width:100%}.product-photo{width:166px;height:246px}.product-card .packshot{height:315px}.product-information .feature-list{font-size:.78rem}}
@media(prefers-reduced-motion:reduce){.product-photo{transition:none}.product-card .packshot:hover .product-photo{transform:none}}
@media(max-width:620px){.photo-markhor-putty,.photo-mar-tile-grout{height:232px}.photo-mar-tile-fix{height:258px}}
