/*
 * Wholesale product card + single product page (ported from the classic Instyle Source theme v1.6).
 * Card: .pgrid > .pcell > .pcard    Page: .ip-single > .psingle (gallery + info), accordions, related, benefits, mobile bar.
 * Colours/fonts follow the theme presets where they exist; --ip-* are the exact values used by the classic theme.
 */
:root{--ip-red:var(--wp--preset--color--maroon,#8b0000);--ip-red2:#b30000;--ip-navy:#061640;--ip-cream:#f5f3ee;--ip-ink:#141414;--ip-muted:#6b6b6b;--ip-line:#e6e2da;--ip-ease:cubic-bezier(.22,.61,.36,1);--ip-wrapw:1180px}
.ip-single,.pgrid{font-family:var(--wp--preset--font-family--poppins,'Poppins',system-ui,sans-serif);color:var(--ip-ink)}
.ip-single *,.ip-single *::before,.ip-single *::after,.pgrid *,.pgrid *::before,.pgrid *::after{box-sizing:border-box}
.ip-single p{margin:0 0 1em;color:#4a4a4a}
.ip-single h1,.ip-single h2,.ip-single h3{font-weight:600;line-height:1.2;margin:0 0 .5em;letter-spacing:-.01em;color:var(--ip-ink)}
.ip-single img,.pgrid img{max-width:100%;height:auto;display:block}
.ip-single a,.pgrid a{text-decoration:none;color:inherit}
.ip-single{width:100%;margin:0;font-size:15px;line-height:1.7}
.instyle-product-page .ip-main{display:block;margin:0;padding:0;max-width:none;width:100%}
.instyle-product-page .wp-site-blocks{padding:0}
.ip-wrap{width:min(var(--ip-wrapw),calc(100% - 40px));margin-inline:auto}
.ip-section{padding:clamp(56px,8vw,104px) 0}
.ip-section--cream{background:var(--ip-cream)}
.ip-head{margin-bottom:0}
.ip-script{font-family:var(--wp--preset--font-family--script,'Kaushan Script',cursive);color:var(--ip-red2);font-size:1.25rem;display:block;margin-bottom:6px;font-weight:400}
.ip-head h2{font-size:clamp(1.6rem,3vw,2.4rem)}
.ip-btn{display:inline-block;padding:11px 24px;border:0;border-radius:3px;font:600 13px/1 var(--wp--preset--font-family--poppins,'Poppins',sans-serif);cursor:pointer;background:var(--ip-red);color:#fff!important;text-align:center;transition:background .25s,transform .25s var(--ip-ease),box-shadow .25s}
.ip-btn:hover{background:var(--ip-red2);transform:translateY(-2px);box-shadow:0 8px 18px rgba(139,0,0,.25)}
.ip-btn:active{transform:none}
.ip-btn--line{background:#fff;color:var(--ip-ink)!important;box-shadow:inset 0 0 0 1px var(--ip-ink)}
.ip-btn--line:hover{background:var(--ip-ink);color:#fff!important;box-shadow:inset 0 0 0 1px var(--ip-ink)}
.ip-btn:focus-visible,.pcard a:focus-visible{outline:2px solid var(--ip-red2);outline-offset:3px}
.crumbs{font-size:12.5px;color:var(--ip-muted);padding-top:22px}.crumbs a:hover{color:var(--ip-red2)}.crumbs i{margin:0 8px;font-style:normal;opacity:.5}
.ip-ico{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.product-ph{display:grid;place-items:center}
.pcard__ph{display:grid;place-items:center}
.pcard__ph .ip-ico{width:64px;height:64px;stroke-width:1.1}
.pcard__go .ip-ico{width:16px;height:16px;stroke-width:2}
.assure .ip-ico{width:22px;height:22px}
.pcard__title{font-family:inherit}
.instyle-notice{padding:1rem;background:#f6f3ec}
.ip-single .pcard__title a{color:inherit}
.wp-block-post-content .pgrid{margin-top:1.5rem}
/* full-width block inside the template */
.ip-main{margin-block:0!important;padding:0!important;max-width:none!important}
.ip-main>.ip-single{max-width:none}
@media(prefers-reduced-motion:reduce){.pcard__media,.pcard__media img,.gallery__main img,.ip-btn{animation:none!important;transition-duration:.01ms!important}}
/* ---- ported styles ---- */
/*
 * Wholesale product card + grid.
 * Loaded wherever cards appear: collection pages, shop archive, related products.
 * The card is one link (stretched from the title), so keyboard and screen-reader users get a single stop per style.
 */
.pgrid{display:grid;grid-template-columns:repeat(var(--ip-cols,4),minmax(0,1fr));gap:clamp(36px,4vw,56px) clamp(16px,2vw,28px)}
.pcell{min-width:0;display:flex;flex-direction:column}
.pcell>.pcard{flex:1}

.pcard{position:relative;display:flex;flex-direction:column;background:transparent}
.pcard__media{position:relative;aspect-ratio:1/1;overflow:hidden;background:#f3f1ec}
.pcard__media img,.pcard__ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.pcard__media img{transition:opacity .7s var(--ip-ease),transform 1.1s var(--ip-ease)}
.pcard__alt{opacity:0}
.pcard__ph{display:grid;place-items:center;background:#efece5;color:#b3ab98;min-height:0;padding:0}
.pcard__ph .ip-ico{width:64px;height:64px;stroke-width:1.1}

.pcard__body{display:flex;flex-direction:column;flex:1;padding-top:18px}
.pcard__cat{margin:0 0 6px;font-size:12px;font-weight:500;color:var(--ip-red)}
.pcard__title{margin:0 0 10px;font-size:1.0625rem;font-weight:500;line-height:1.35;letter-spacing:-.005em;min-height:2.7em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.pcard__title a::after{content:"";position:absolute;inset:0;z-index:1}
.pcard__specs{margin:0 0 20px;display:grid;gap:5px;font-size:13px}
.pcard__specs div{display:flex;gap:10px;min-width:0}
.pcard__specs dt{flex:none;color:var(--ip-muted)}
.pcard__specs dd{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:var(--ip-ink)}

/* Footer is a sewn seam: running-stitch rule, then the action. */
.pcard__foot{margin-top:auto;padding-top:14px;border-top:1px dashed #c4bdad;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:600;color:var(--ip-navy)}
.pcard__go{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:2px;background:#efece5;color:var(--ip-navy);transition:background .3s,color .3s}
.pcard__go .ip-ico{width:16px;height:16px;stroke-width:2;transition:transform .35s var(--ip-ease)}

@media (hover:hover){
	.pcard:hover .pcard__alt{opacity:1}
	.pcard:not(.pcard--alt):hover .pcard__media img{transform:scale(1.04)}
	.pcard:hover .pcard__go{background:var(--ip-red);color:#fff}
	.pcard:hover .pcard__go .ip-ico{transform:translateX(2px)}
	.pcard__title a{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .4s var(--ip-ease)}
	.pcard:hover .pcard__title a{background-size:100% 1px}
}
/* One visible focus ring for the whole card (the link itself is only the title text). */
@supports selector(:has(*)){
	.pcard__title a:focus-visible{outline:0}
	.pcard:has(.pcard__title a:focus-visible){outline:2px solid var(--ip-red2);outline-offset:6px}
}

@media(max-width:1000px){.pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
	.pgrid{gap:32px 14px}
	.pcard__body{padding-top:14px}
	.pcard__title{font-size:.9375rem}
	.pcard__specs{font-size:12.5px;margin-bottom:16px}
	.pcard__specs div:nth-child(n+2){display:none}
	.pcard__foot{font-size:12.5px;padding-top:12px}
	.pcard__go{width:28px;height:28px}
}

/* ===== v1.6 additions ===== */
/* Photo skeleton while a lazy image loads (no layout shift: the box is square before the image arrives). */
.pcard__media{background:linear-gradient(110deg,#f3f1ec 30%,#faf9f6 45%,#f3f1ec 60%) 0 0/200% 100%}
@media(prefers-reduced-motion:no-preference){.pcard__media{animation:pshimmer 1.4s linear infinite}.pcard__media:has(img.is-loaded),.pcard__media:has(img[complete]){animation:none}}
@keyframes pshimmer{to{background-position:-200% 0}}
.pcard__media::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(20,20,20,.06);pointer-events:none}
.pcard__cat{letter-spacing:.01em}
.pcard__title{transition:color .25s}
@media (hover:hover){.pcard:hover .pcard__title{color:var(--ip-red)}}
/* Touch: no hover swap, so give the whole card a pressed state instead. */
@media (hover:none){.pcard:active .pcard__media img{opacity:.92}}
@media(max-width:700px){
	.pgrid{gap:28px 12px}
	.pcard__title{min-height:2.7em;font-size:.9rem}
	.pcard__cat{font-size:11px}
}
@media(max-width:360px){.pgrid{grid-template-columns:1fr}}



/* ==========================================================================
   SINGLE PRODUCT PAGE — premium wholesale layout
   Scope: .ip-single only. Related product cards (.pgrid/.pcard) intentionally
   remain unchanged.
   ========================================================================== */

/* Page rhythm + breadcrumb */
.ip-single .crumbs{
	width:min(var(--ip-wrapw),calc(100% - 40px));
	margin:0 auto;
	padding:24px 0 18px;
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:0;
	font-size:11px;
	line-height:1.5;
	letter-spacing:.02em;
	color:#777b82;
	border-bottom:1px solid #eeeae3;
}
.ip-single .crumbs a{color:#666b72;transition:color .2s ease}
.ip-single .crumbs a:hover{color:var(--ip-red)}
.ip-single .crumbs i{margin:0 9px;color:#c5c2bc}

/* Main product area */
.ip-single .psingle{
	display:grid;
	grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);
	gap:clamp(48px,6vw,92px);
	align-items:start;
	padding-top:clamp(34px,5vw,64px);
	padding-bottom:clamp(60px,7vw,92px);
}

/* Gallery */
.ip-single .gallery{
	min-width:0;
	position:sticky;
	top:96px;
	align-self:start;
}
.ip-single .gallery__stage{
	position:relative;
	aspect-ratio:1/1;
	overflow:hidden;
	background:#f7f6f3;
	border:1px solid #ebe8e1;
}
.ip-single .gallery__main{
	width:100%;
	height:100%;
	display:grid;
	place-items:center;
	position:relative;
}
.ip-single .gallery__main img{
	width:100%;
	height:100%;
	max-width:none;
	object-fit:contain;
	object-position:center;
	padding:clamp(12px,2vw,30px);
	transition:opacity .2s ease,transform .45s cubic-bezier(.22,.61,.36,1);
	transform-origin:var(--x,50%) var(--y,50%);
}
.ip-single .gallery__main.zoom-on img{
	transform:scale(1.06);
}
.ip-single .product-ph{
	width:100%;
	height:100%;
	display:grid;
	place-items:center;
	text-align:center;
	background:#f4f2ed;
	color:#9a968d;
	font-size:14px;
	line-height:1.6;
}

/* Gallery arrows */
.ip-single .gallery__nav{
	position:absolute;
	top:50%;
	z-index:3;
	width:42px;
	height:42px;
	transform:translateY(-50%);
	border:1px solid rgba(20,20,20,.12);
	border-radius:50%;
	background:rgba(255,255,255,.94);
	box-shadow:0 6px 18px rgba(20,20,20,.10);
	cursor:pointer;
	transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.ip-single .gallery__nav:hover{
	background:#fff;
	box-shadow:0 9px 24px rgba(20,20,20,.15);
}
.ip-single .gallery__nav--prev{left:16px}
.ip-single .gallery__nav--next{right:16px}
.ip-single .gallery__nav::before{
	content:"";
	position:absolute;
	top:50%;
	left:50%;
	width:8px;
	height:8px;
	border-top:1.5px solid #171717;
	border-right:1.5px solid #171717;
}
.ip-single .gallery__nav--prev::before{
	transform:translate(-35%,-50%) rotate(-135deg);
}
.ip-single .gallery__nav--next::before{
	transform:translate(-65%,-50%) rotate(45deg);
}

/* Thumbnails */
.ip-single .gallery__thumbs{
	display:grid;
	grid-template-columns:repeat(6,minmax(0,1fr));
	gap:10px;
	margin-top:14px;
}
.ip-single .gallery__thumbs button{
	appearance:none;
	padding:0;
	border:1px solid #e5e1da;
	background:#f8f7f4;
	aspect-ratio:1/1;
	overflow:hidden;
	cursor:pointer;
	transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.ip-single .gallery__thumbs button:hover{
	transform:translateY(-1px);
	border-color:#b9b4aa;
}
.ip-single .gallery__thumbs button[aria-current="true"]{
	border:2px solid var(--ip-ink);
	box-shadow:0 0 0 2px #fff inset;
}
.ip-single .gallery__thumbs img{
	width:100%;
	height:100%;
	object-fit:cover;
}

/* Product information */
.ip-single .pinfo{
	min-width:0;
	padding-top:2px;
}
.ip-single .pinfo .pill{
	display:inline-flex;
	align-items:center;
	min-height:28px;
	padding:5px 11px;
	border:1px solid #dedad2;
	border-radius:999px;
	background:#faf9f7;
	color:#6f302d;
	font-size:10.5px;
	font-weight:600;
	line-height:1.2;
	letter-spacing:.08em;
	text-transform:uppercase;
}
.ip-single .pinfo h1{
	margin:14px 0 14px;
	max-width:700px;
	font-size:clamp(2rem,3.4vw,3.35rem);
	font-weight:650;
	line-height:1.08;
	letter-spacing:-.035em;
	color:#111318;
}
.ip-single .pinfo__lead{
	max-width:680px;
	margin:0 0 25px;
	font-size:14px;
	line-height:1.75;
	color:#64686d;
}

/* Key facts */
.ip-single .keyfacts{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	margin:0 0 28px;
	border-top:1px solid #e5e1da;
	border-bottom:1px solid #e5e1da;
}
.ip-single .keyfacts>div{
	min-width:0;
	padding:15px 14px 16px;
	border-right:1px solid #e5e1da;
}
.ip-single .keyfacts>div:first-child{padding-left:0}
.ip-single .keyfacts>div:last-child{
	border-right:0;
	padding-right:0;
}
.ip-single .keyfacts dt{
	margin:0 0 5px;
	font-size:9.5px;
	line-height:1.3;
	font-weight:600;
	color:#8a8d92;
	text-transform:uppercase;
	letter-spacing:.09em;
}
.ip-single .keyfacts dd{
	margin:0;
	font-size:13px;
	line-height:1.45;
	font-weight:600;
	color:#17191c;
	word-break:break-word;
}

/* Order box */
.ip-single .orderbox{
	margin:0 0 12px;
	padding:22px;
	border:1px solid #dedad2;
	background:#f8f7f4;
}
.ip-single .orderbox>strong{
	display:block;
	margin:0 0 5px;
	font-size:15px;
	line-height:1.35;
	color:#141518;
}
.ip-single .orderbox>p{
	margin:0 0 16px;
	font-size:12.5px;
	line-height:1.6;
	color:#70747a;
}
.ip-single .orderbox__form{margin:0}
.ip-single .orderbox__form>label{
	display:block;
	margin:0 0 7px;
	font-size:10px;
	font-weight:600;
	line-height:1.3;
	color:#55595f;
	text-transform:uppercase;
	letter-spacing:.07em;
}
.ip-single .orderbox__controls{
	display:grid;
	grid-template-columns:130px minmax(0,1fr);
	gap:10px;
}
.ip-single .orderbox__controls input{
	width:100%;
	height:46px;
	padding:0 13px;
	border:1px solid #cbc6bc;
	border-radius:2px;
	background:#fff;
	color:#16181b;
	font:500 13px/1 var(--wp--preset--font-family--poppins,'Poppins',sans-serif);
	outline:none;
}
.ip-single .orderbox__controls input:focus{
	border-color:#8b0000;
	box-shadow:0 0 0 3px rgba(139,0,0,.08);
}
.ip-single .orderbox .ip-btn{
	width:100%;
	min-height:46px;
	padding:0 20px;
	border-radius:2px;
	background:var(--ip-red);
	font-size:11.5px;
	letter-spacing:.01em;
}
.ip-single .orderbox .ip-btn:hover{
	background:#6f0000;
}

/* Secondary contact actions */
.ip-single .actions{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:10px;
	margin:0 0 20px;
}
.ip-single .actions .ip-btn{
	min-height:42px;
	padding:0 15px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:11px;
}
.ip-single .actions .ip-btn--line{
	border:1px solid #cfcac1;
	box-shadow:none;
	background:#fff;
}
.ip-single .actions .ip-btn--line:hover{
	background:#15171a;
	border-color:#15171a;
}

/* Reassurance list */
.ip-single .assure{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:10px 18px;
	margin:0 0 24px;
	padding:0;
	list-style:none;
}
.ip-single .assure li{
	display:flex;
	align-items:center;
	gap:9px;
	margin:0;
	font-size:11px;
	line-height:1.45;
	color:#565a60;
}
.ip-single .assure .ip-ico{
	flex:0 0 19px;
	width:19px;
	height:19px;
	padding:3px;
	border:1px solid #dedad2;
	border-radius:50%;
	color:var(--ip-red);
}

/* Trust strip */
.ip-single .product-trust{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:1px;
	margin:0 0 26px;
	border:1px solid #e3dfd7;
	background:#e3dfd7;
}
.ip-single .product-trust>div{
	min-width:0;
	padding:13px 14px;
	background:#fff;
}
.ip-single .product-trust strong{
	display:block;
	margin-bottom:3px;
	font-size:10.5px;
	line-height:1.35;
	color:#202226;
}
.ip-single .product-trust span{
	display:block;
	font-size:10px;
	line-height:1.5;
	color:#777b81;
}

/* Accordions */
.ip-single .acc{
	border-top:1px solid #dcd8d0;
}
.ip-single .acc details{
	border-bottom:1px solid #dcd8d0;
	margin:0;
}
.ip-single .acc summary{
	position:relative;
	padding:17px 34px 17px 0;
	list-style:none;
	cursor:pointer;
	font-size:12px;
	line-height:1.4;
	font-weight:600;
	color:#191b1e;
}
.ip-single .acc summary::-webkit-details-marker{display:none}
.ip-single .acc summary::after{
	content:"+";
	position:absolute;
	right:3px;
	top:50%;
	transform:translateY(-50%);
	font-size:19px;
	font-weight:300;
	line-height:1;
	color:var(--ip-red2);
}
.ip-single .acc details[open] summary::after{content:"−"}
.ip-single .acc__body{
	padding:0 0 18px;
	font-size:12px;
	line-height:1.75;
	color:#686c72;
}
.ip-single .acc__body p:last-child{margin-bottom:0}
.ip-single .acc__body ul{
	margin:0;
	padding-left:18px;
}
.ip-single .acc__body li{margin:0 0 5px}
.ip-single .specs{
	width:100%;
	margin:0;
	border-collapse:collapse;
	font-size:11.5px;
}
.ip-single .specs tr{border-bottom:1px solid #eeeae3}
.ip-single .specs tr:last-child{border-bottom:0}
.ip-single .specs th,
.ip-single .specs td{
	padding:9px 0;
	text-align:left;
	vertical-align:top;
}
.ip-single .specs th{
	width:38%;
	padding-right:15px;
	font-weight:600;
	color:#44484e;
}
.ip-single .specs td{color:#72767c}

/* Product description content */
.ip-single .product-description>*:first-child{margin-top:0}
.ip-single .product-description>*:last-child{margin-bottom:0}
.ip-single .product-description h2,
.ip-single .product-description h3,
.ip-single .product-description h4{
	margin:0 0 8px;
	font-size:13px;
}
.ip-single .product-description strong{color:#303338}

/* Give the main section a deliberate ending before related products */
.ip-single .psingle + .related-section{
	margin-top:0;
}


/* Reviews */
.ip-single .product-reviews-section{
	border-top:1px solid #e8e4dd;
	background:#fff;
}
.ip-single .reviews-head{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:30px;
	margin-bottom:28px;
}
.ip-single .reviews-head .ip-head{margin:0}
.ip-single .reviews-summary{
	display:flex;
	align-items:center;
	gap:10px;
	padding-bottom:4px;
	font-size:11px;
	color:#777b81;
}
.ip-single .reviews-summary strong{font-size:12px;color:#222428}
.ip-single .reviews-stars,.ip-single .review-stars{display:flex;gap:2px;line-height:1}
.ip-single .reviews-stars span,.ip-single .review-stars span{font-size:16px;color:#d7d4ce}
.ip-single .reviews-stars span.is-filled,.ip-single .review-stars span.is-filled{color:#b77932}
.ip-single .reviews-grid{
	display:grid;
	grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);
	gap:32px;
	align-items:start;
}
.ip-single .reviews-list{display:grid;gap:12px}
.ip-single .review-card,.ip-single .reviews-empty,.ip-single .review-form-card{
	border:1px solid #e2ded6;
	background:#fff;
}
.ip-single .review-card{padding:20px 22px}
.ip-single .review-card__top{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:20px;
	margin-bottom:12px;
}
.ip-single .review-card__top strong{display:block;font-size:12px;color:#1b1d20}
.ip-single .review-card__top time{display:block;margin-top:3px;font-size:10px;color:#92959a}
.ip-single .review-card__text{font-size:12px;line-height:1.75;color:#64686e}
.ip-single .review-card__text p:last-child{margin-bottom:0}
.ip-single .reviews-empty{padding:28px}
.ip-single .reviews-empty strong{font-size:13px;color:#202226}
.ip-single .reviews-empty p{margin:7px 0 0;font-size:11.5px;line-height:1.65;color:#777b81}
.ip-single .review-form-card{padding:24px}
.ip-single .review-form-card h3{margin:0 0 6px;font-size:17px;color:#17191c}
.ip-single .review-form-card>p{margin:0 0 20px;font-size:11.5px;line-height:1.6;color:#777b81}
.ip-single .instyle-review-form{display:grid;gap:14px}
.ip-single .review-form-row--2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ip-single .instyle-review-form label{display:grid;gap:6px;font-size:10px;font-weight:600;color:#4d5157;text-transform:uppercase;letter-spacing:.06em}
.ip-single .instyle-review-form input,.ip-single .instyle-review-form select,.ip-single .instyle-review-form textarea{
	width:100%;
	box-sizing:border-box;
	border:1px solid #d2cdc4;
	border-radius:2px;
	background:#fff;
	padding:11px 12px;
	font:400 12px/1.45 var(--wp--preset--font-family--poppins,'Poppins',sans-serif);
	color:#202226;
	outline:none;
}
.ip-single .instyle-review-form input,.ip-single .instyle-review-form select{height:42px}
.ip-single .instyle-review-form textarea{resize:vertical;min-height:120px}
.ip-single .instyle-review-form input:focus,.ip-single .instyle-review-form select:focus,.ip-single .instyle-review-form textarea:focus{border-color:#8b0000;box-shadow:0 0 0 3px rgba(139,0,0,.07)}
.ip-single .instyle-review-form .ip-btn{justify-self:start;min-height:42px;padding:0 20px;border:0;cursor:pointer}

/* Benefits — keep the existing content but give it a clean section treatment.
   This does not touch related product cards. */
.ip-single .product-benefits{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:0;
	border:1px solid #e1ddd5;
	background:#e1ddd5;
}
.ip-single .product-benefits>div{
	padding:25px 24px;
	background:#fff;
}
.ip-single .product-benefits h3{
	margin:0 0 7px;
	font-size:13px;
	line-height:1.35;
	font-weight:600;
}
.ip-single .product-benefits p{
	margin:0;
	font-size:11.5px;
	line-height:1.65;
	color:#73777d;
}

/* Sticky mobile action */
.ip-single .buybar{
	position:fixed;
	left:0;
	right:0;
	bottom:0;
	z-index:100;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:18px;
	padding:10px max(18px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
	background:rgba(255,255,255,.96);
	border-top:1px solid #dedad2;
	box-shadow:0 -8px 24px rgba(20,20,20,.08);
	backdrop-filter:blur(10px);
}
.ip-single .buybar>span{
	min-width:0;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	font-size:11px;
	font-weight:600;
	color:#25272b;
}
.ip-single .buybar .ip-btn{
	flex:0 0 auto;
	padding:12px 18px;
	font-size:10.5px;
}

/* Tablet */
@media(max-width:980px){
	.ip-single .psingle{
		grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);
		gap:36px;
	}
	.ip-single .pinfo h1{font-size:clamp(1.9rem,4vw,2.7rem)}
	.ip-single .gallery__thumbs{grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* Mobile */
@media(max-width:760px){
	.ip-single .gallery{position:relative;top:auto}
	.ip-single .reviews-head{align-items:flex-start;flex-direction:column;gap:12px}
	.ip-single .reviews-grid{grid-template-columns:1fr;gap:20px}
	.ip-single .review-form-row--2{grid-template-columns:1fr}

	.ip-single .crumbs{
		width:calc(100% - 28px);
		padding:17px 0 13px;
		font-size:10px;
		white-space:nowrap;
		overflow:hidden;
	}
	.ip-single .crumbs span{
		max-width:150px;
		overflow:hidden;
		text-overflow:ellipsis;
	}
	.ip-single .psingle{
		width:calc(100% - 28px);
		grid-template-columns:1fr;
		gap:30px;
		padding-top:18px;
		padding-bottom:50px;
	}
	.ip-single .gallery__stage{aspect-ratio:1/1}
	.ip-single .gallery__main img{padding:8px}
	.ip-single .gallery__nav{
		width:36px;
		height:36px;
	}
	.ip-single .gallery__nav--prev{left:10px}
	.ip-single .gallery__nav--next{right:10px}
	.ip-single .gallery__thumbs{
		grid-template-columns:repeat(5,minmax(0,1fr));
		gap:7px;
		margin-top:9px;
	}
	.ip-single .pinfo h1{
		font-size:clamp(1.9rem,9vw,2.55rem);
		line-height:1.08;
		margin-top:12px;
	}
	.ip-single .pinfo__lead{
		font-size:13px;
		margin-bottom:20px;
	}
	.ip-single .keyfacts{
		margin-bottom:20px;
	}
	.ip-single .keyfacts>div{
		padding:12px 9px;
	}
	.ip-single .keyfacts>div:first-child{padding-left:0}
	.ip-single .keyfacts>div:last-child{padding-right:0}
	.ip-single .keyfacts dt{font-size:8.5px}
	.ip-single .keyfacts dd{font-size:11.5px}
	.ip-single .orderbox{padding:17px}
	.ip-single .orderbox__controls{grid-template-columns:105px minmax(0,1fr)}
	.ip-single .actions{grid-template-columns:1fr}
	.ip-single .assure{grid-template-columns:1fr}
	.ip-single .product-trust{grid-template-columns:1fr}
	.ip-single .product-benefits{grid-template-columns:1fr}
	.ip-single .product-benefits>div{padding:20px}
	.ip-single.has-buybar{padding-bottom:64px}
}

/* Small phones */
@media(max-width:420px){
	.ip-single .psingle,
	.ip-single .crumbs{width:calc(100% - 20px)}
	.ip-single .keyfacts dd{font-size:10.5px}
	.ip-single .orderbox__controls{grid-template-columns:1fr}
	.ip-single .gallery__thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}
	.ip-single .buybar>span{display:none}
	.ip-single .buybar{justify-content:flex-end}
}


/* v2.6.3 review placement + closed accordions */
.ip-single .acc summary::after{color:var(--ip-red2);}
.ip-single .product-reviews-section{margin-top:0;}
.ip-single .product-reviews-section .reviews-grid{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);}
@media (max-width:760px){
  .ip-single .product-reviews-section .reviews-grid{grid-template-columns:1fr;gap:20px;}
}

/* Click-to-zoom lightbox */
.ip-single .gallery__zoom{
	position:absolute;
	right:16px;
	bottom:16px;
	z-index:4;
	width:42px;
	height:42px;
	border:1px solid rgba(20,20,20,.12);
	border-radius:50%;
	background:rgba(255,255,255,.94);
	box-shadow:0 6px 18px rgba(20,20,20,.10);
	font-size:25px;
	line-height:1;
	font-weight:300;
	cursor:pointer;
	transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.ip-single .gallery__zoom:hover{transform:scale(1.05);background:#fff;box-shadow:0 9px 24px rgba(20,20,20,.15)}
.ip-single .gallery__main img{cursor:zoom-in}
.instyle-lightbox{
	position:fixed;
	inset:0;
	z-index:99999;
	display:grid;
	place-items:center;
	padding:30px;
	background:rgba(0,0,0,.82);
	backdrop-filter:blur(3px);
}
.instyle-lightbox[hidden]{display:none}
.instyle-lightbox__img{
	max-width:min(94vw,1400px);
	max-height:90vh;
	width:auto;
	height:auto;
	object-fit:contain;
	box-shadow:0 20px 70px rgba(0,0,0,.35);
}
.instyle-lightbox__close{
	position:fixed;
	top:18px;
	right:18px;
	width:46px;
	height:46px;
	border:1px solid rgba(255,255,255,.28);
	border-radius:50%;
	background:rgba(255,255,255,.12);
	color:#fff;
	font-size:30px;
	line-height:1;
	cursor:pointer;
}
body.instyle-lightbox-open{overflow:hidden}

/* Custom design banner above related products (3.10.2) */
.ip-custom-cta{padding-top:34px;padding-bottom:6px}
.ip-custom-cta__box{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;border-radius:10px;background:var(--ip-navy,#061640);color:#fff;box-shadow:0 14px 34px rgba(6,21,79,.18)}
.ip-custom-cta__text h2{margin:0;color:#fff;font-size:clamp(20px,2.4vw,26px);line-height:1.25}
.ip-custom-cta__text p{margin:8px 0 0;color:rgba(255,255,255,.85);font-size:15px;line-height:1.5}
.ip-custom-cta__btn{flex:none;padding:14px 26px;font-size:14px;white-space:nowrap}
@media(max-width:700px){.ip-custom-cta__box{flex-direction:column;align-items:flex-start;padding:22px 20px}.ip-custom-cta__btn{width:100%;text-align:center;box-sizing:border-box;white-space:normal}}
