/* EPC product page layout (matches live europeanpaper.com). Style A palette. */
body.epc-pdp .epc-pdp__brand{font:600 12px/1 'Open Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px}
body.epc-pdp .epc-pdp__brand a{color:#9d201a;text-decoration:none}
body.epc-pdp .epc-pdp__short{font-size:14px;color:#555;margin:-4px 0 12px}
body.epc-pdp .epc-pdp__item{font-size:12px;color:#777;margin:14px 0 0}
body.epc-pdp .vk-pdp-meta{display:none}
body.epc-pdp .epc-pdp__coll{font-size:13px;color:#555;margin:14px 0 0}
body.epc-pdp .epc-pdp__coll p{margin:0 0 4px}
body.epc-pdp .epc-pdp__coll a{color:#9d201a;font-weight:600}
body.epc-pdp .epc-pdp__below{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;margin:36px 0 0;clear:both;width:100%}
body.epc-pdp .epc-pdp__below:not(:has(.epc-pdp__aside)){grid-template-columns:minmax(0,1fr)}
body.epc-pdp .epc-pdp__sec{margin:0 0 32px}
body.epc-pdp .epc-pdp__sec>h2,body.epc-pdp .epc-pdp__aside>h2{font:700 15px/1.2 'Open Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#222;border-bottom:1px solid #e2ddd5;padding:0 0 8px;margin:0 0 16px}
body.epc-pdp .epc-pdp__desc ul{margin:12px 0 0 18px}
body.epc-pdp .epc-pdp__desc li{margin:0 0 8px}
body.epc-pdp .epc-pdp__specs table{width:100%;border-collapse:collapse;font-size:14px}
body.epc-pdp .epc-pdp__specs th{background:#f6f3ee;text-align:left;padding:8px 12px;font-weight:700;border:1px solid #e2ddd5}
body.epc-pdp .epc-pdp__specs td{padding:6px 12px;border:1px solid #e2ddd5;vertical-align:top}
body.epc-pdp .epc-pdp__specs td.n{width:36%;font-weight:600;color:#444}
body.epc-pdp .epc-pdp__story p{margin:0 0 12px}
body.epc-pdp .epc-pdp__pairs ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important}
body.epc-pdp .epc-pdp__aside ul.products{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;margin:0!important;padding:0!important}
body.epc-pdp .epc-pdp__below ul.products li.product{width:auto!important;margin:0!important;float:none!important}
@media (max-width:900px){
 body.epc-pdp .epc-pdp__below{grid-template-columns:1fr}
 body.epc-pdp .epc-pdp__aside ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:600px){
 body.epc-pdp .epc-pdp__pairs ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.epc-pdp .epc-pdp__specs td.n{width:42%}
}

/* Pairs well with sits under the gallery (desktop) or after the buy box (phone) */
body.epc-pdp .epc-pdp__left .epc-pdp__pairs{margin:22px 0 0}
@media (min-width:1025px){
 body.vk.single-product div.product.type-product>.epc-pdp__left{grid-column:1;grid-row:2;margin:0}
}
@media (max-width:1024px){
 body.vk.single-product div.product.type-product>.epc-pdp__left{order:3;margin-top:20px}
}

/* Round 3: one brand line, compact thumbnails, 3-across Pairs on phone */
body.epc-pdp .summary .vk-product-brand{display:none!important}
body.epc-pdp .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:6px!important;margin:10px 0 0!important}
body.epc-pdp .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important}
body.epc-pdp .epc-pdp__specs td.v[colspan]{padding-left:12px}
@media (max-width:600px){
 body.epc-pdp .flex-control-thumbs{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 body.epc-pdp .epc-pdp__pairs ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 body.epc-pdp .epc-pdp__pairs ul.products li.product{padding:5px!important}
 body.epc-pdp .epc-pdp__pairs ul.products li.product .woocommerce-loop-product__title,
 body.epc-pdp .epc-pdp__pairs ul.products li.product h2{font-size:11px!important;line-height:1.25!important}
 body.epc-pdp .epc-pdp__pairs ul.products li.product .price{font-size:11px!important}
 body.epc-pdp .epc-pdp__pairs ul.products li.product :is(.star-rating,.onsale,.vk-badge,.vk-card__brand,.vk-card__vendor){display:none!important}
}

/* Selected option buttons: no black fill, white 2px border (1px border + 1px inset keeps the box size). */
body.vk .vk-sw[aria-pressed=true],
body.vk .vk-sw[aria-pressed=true]:hover,
body.vk .vk-sw.is-static[aria-pressed=true],
body.vk .vk-sw.is-static[aria-pressed=true]:hover,
body.vk .vk-sw.is-out[aria-pressed=true],
body.vk .vk-swatches--color .vk-sw[aria-pressed=true]{background:#fff!important;color:#222!important;border:1px solid #fff!important;box-shadow:inset 0 0 0 2px #fff,0 0 0 2px #9d201a!important;position:relative}
body.vk .vk-sw:not([aria-pressed=true]):hover{border-color:#222!important}

/* Description in the right column */
body.epc-pdp .summary .epc-pdp__desc{margin:26px 0 0;clear:both}
body.epc-pdp .summary .epc-pdp__desc>*:last-child{margin-bottom:0}

/* strong selected variant: 2px #9d201a outer ring, white inner gap, 3px underline bar 4px below the ring; row gap leaves room for the bar */
body.vk .vk-swatches{row-gap:18px!important;padding-bottom:6px}
body.vk .vk-sw{position:relative}
body.vk .vk-sw[aria-pressed=true]::after{content:"";position:absolute;left:-2px;right:-2px;bottom:-9px;height:3px;background:#9d201a;pointer-events:none}
body.vk .vk-sw:not([aria-pressed=true]):hover{box-shadow:0 0 0 1px #222!important}
body.vk .vk-sw:not([aria-pressed=true]):focus-visible{outline:0!important;box-shadow:0 0 0 2px #d9b3b0!important}
body.vk .vk-sw[aria-pressed=true]:focus-visible{outline:0!important}

/* 2026-11-22: narrow-window thumbnails fill their grid cells evenly, no cut-off last thumb */
@media (max-width:767.98px){
 body.epc-pdp.vk.woocommerce div.product div.images .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;padding-bottom:0!important}
 body.epc-pdp.vk.woocommerce div.product div.images .flex-control-thumbs li,
 body.epc-pdp.vk.woocommerce div.product div.images .flex-control-thumbs li:nth-child(n){flex:none!important;width:auto!important;height:auto!important;margin:0!important}
 body.epc-pdp.vk.woocommerce div.product div.images .flex-control-thumbs li img{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:contain}
}
@media (max-width:420px){
 body.epc-pdp.vk.woocommerce div.product div.images .flex-control-thumbs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
