/* PSD 1920: photo 988x686 flush to the right edge (x 934), thumbs 158x95 20 below, text column x 172-814; title Montserrat 300 59px, price 47 / 31 (Myriad not loaded), text Light 18/26, counter 203x69 */
.books .block-product {display: flex; flex-direction: column; gap: 2.5rem; padding: 0 0 3rem; background-color: #fff; color: var(--color-text);}

.books .block-product .gallery .main {background-color: color-mix(in srgb, var(--color-primary) 7%, #fff);}
.books .block-product .gallery .main img {display: block; width: 100%; aspect-ratio: 988 / 686; object-fit: cover;}
.books .block-product .gallery .thumbs {display: flex; flex-wrap: wrap; gap: .3rem; margin-top: 1.25rem; padding: 0 1rem;}
.books .block-product .gallery .thumb {
	position: relative; flex: 0 0 calc((100% - .6rem) / 3); padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
	background-color: color-mix(in srgb, var(--color-primary) 7%, #fff);
}
.books .block-product .gallery .thumb:after {content: ''; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s ease; pointer-events: none;}
.books .block-product .gallery .thumb img {display: block; width: 100%; aspect-ratio: 158 / 95; object-fit: cover;}
.books .block-product .gallery .thumb:hover:after {box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--color-accent) 55%, transparent);}
.books .block-product .gallery .thumb.active:after {box-shadow: inset 0 0 0 2px var(--color-accent);}
.books .block-product .gallery .thumb:focus-visible {outline: 2px solid var(--color-accent-bright); outline-offset: 2px;}

.books .block-product .info {display: flex; flex-direction: column; align-items: flex-start; padding: 0 1rem;}
.books .block-product .info .mTitle {width: auto; height: auto; overflow: visible; line-height: 1.1;}
.books .block-product .info .mTitle.mTitle > h2 {
	float: none; margin: 0; line-height: 1.05; font-family: var(--font-heading); font-size: clamp(1.8rem, 8vw, 2.8rem); font-weight: 300; text-transform: uppercase; color: var(--color-text);
}
.books .block-product .price {display: flex; align-items: baseline; gap: .9rem; margin: 1.75rem 0 1.5rem;}
.books .block-product .price :is(.current, .old) {direction: ltr; unicode-bidi: isolate;}
.books .block-product .price .current {font-size: 2rem; font-weight: 400; color: var(--color-text);}
.books .block-product .price .old {text-decoration: line-through; font-size: 1.4rem; font-weight: 400; color: var(--color-text);}
.books .block-product .content p {margin: 0; line-height: 1.45; font-size: 1.1rem; font-weight: 300;}

.books .block-product .qty {display: flex; align-items: stretch; width: 12.7rem; height: 4.3rem; margin-top: 2.25rem; border: 1px solid var(--color-primary); border-radius: 10px; overflow: hidden;}
.books .block-product .qty button {flex: 0 0 4rem; padding: 0; border: 0; background: transparent; font-family: var(--font-primary); font-size: 1.4rem; color: var(--color-primary); cursor: pointer; transition: background-color .2s ease;}
.books .block-product .qty button:hover {background-color: color-mix(in srgb, var(--color-primary) 8%, transparent);}
.books .block-product .qty button:focus-visible {outline: 2px solid var(--color-accent-bright); outline-offset: -3px;}
.books .block-product .qty:focus-within {box-shadow: 0 0 0 2px var(--color-accent-bright);}
.books .block-product .qty input {flex: 1 1 0; min-width: 0; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-inline: 1px solid var(--color-primary) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; text-align: center; font-size: 1.2rem; color: var(--color-text);}
.books .block-product .info .mButton {margin-top: 1.9rem;}

@media screen and (min-width: 64em) {
	.books .block-product {flex-direction: row; align-items: center; gap: 0; padding: 0 0 4rem;}
	.books .block-product .gallery {flex: 0 0 51.5%;}
	.books .block-product .gallery .thumbs {gap: .62%; margin-top: 1.1rem; padding: 0 1.9% 0 0;}
	.books .block-product .gallery .thumb {flex: 0 0 16.15%;}
	.books .block-product .info {flex: 1 1 0; min-width: 0; box-sizing: border-box; padding: 0 6.2% 0 9%;}
	.books .block-product .info .mTitle.mTitle > h2 {font-size: clamp(2.5rem, 3.07vw, 3.7rem);}
	.books .block-product .price {margin: clamp(2rem, 4vw, 4.8rem) 0 clamp(1.5rem, 2.2vw, 2.6rem);}
	.books .block-product .price .current {font-size: clamp(2rem, 2.45vw, 2.95rem);}
	.books .block-product .price .old {font-size: clamp(1.4rem, 1.6vw, 1.95rem);}
	.books .block-product .content p {font-size: clamp(1.1rem, .94vw, 1.125rem);}
	.books .block-product .qty {margin-top: clamp(2.25rem, 3.8vw, 4.5rem);}
}
