/* Cellpept - All Products: category tiles as modern cards (first one wide, the rest two per row on phones). 1.1.0 (20 Nov): 6 categories. */
.wd-shop-product .wd-products > .wd-cat.cat-design-side { --cpap-r: 18px; display: flex; align-self: stretch; height: auto; }
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-wrap { flex: 1 1 auto; display: flex; min-width: 0; padding: 0 !important; background: none !important; border-radius: var(--cpap-r); box-shadow: none; }
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-inner {
	position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 8px 0;
	background: #fff; border: 1px solid rgba(16, 42, 67, .07); border-radius: var(--cpap-r);
	box-shadow: 0 1px 2px rgba(16, 42, 67, .04), 0 10px 28px -14px rgba(16, 42, 67, .28);
	overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-thumb {
	flex: 0 0 auto; width: 100%; max-width: none; margin: 0; aspect-ratio: 1 / .72; border-radius: 12px; overflow: hidden;
	background: radial-gradient(120% 90% at 22% 12%, rgba(255, 255, 255, .34) 0, rgba(255, 255, 255, 0) 55%), linear-gradient(150deg, #3fb0ea 0%, #1b6fdc 58%, #0f4fc4 100%);
	display: flex; align-items: center; justify-content: center;
}
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-image img {
	width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 4% 8%; border-radius: 0;
	filter: drop-shadow(0 10px 14px rgba(5, 25, 70, .35)); transition: transform .25s ease;
}
/* This cut-out ends at the picture's lower edge: let it stand on the panel's edge. */
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-image img[src*="03_LIQUIDS"] { padding-bottom: 0; object-position: 50% 100%; }
/* A full photo (own background) fills the panel instead of floating in it. */
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-image img[src*="MOCKUP"] { object-fit: cover; object-position: 50% 0; padding: 0; filter: none; }
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-content {
	flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 6px 13px 8px !important; text-align: left; min-width: 0;
}
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-header { min-width: 0; margin: 0; }
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-entities-title {
	margin: 0; font-size: 15px; line-height: 1.25; font-weight: 600; letter-spacing: -.005em; text-transform: none; color: #14263a;
}
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-entities-title a { color: inherit; }
/* The theme's whole-card link must stay on top of the picture (its shadow filter makes a layer of its own). */
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-inner > .wd-fill { position: absolute; inset: 0; z-index: 3; border-radius: var(--cpap-r); }
/* Round arrow button (decorative: the whole card is the link). */
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-content::after {
	content: ""; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
	background: #eaf3fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23155fd3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
	transition: background-color .18s ease, transform .18s ease;
}
@media (hover: hover) {
	.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-inner:hover { transform: translateY(-3px); border-color: rgba(21, 95, 211, .28); box-shadow: 0 2px 4px rgba(16, 42, 67, .05), 0 18px 34px -16px rgba(21, 95, 211, .45); }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-inner:hover .wd-cat-image img { transform: scale(1.06); }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-inner:hover .wd-cat-content::after { background-color: #dcebfd; transform: translateX(2px); }
}
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-inner:active { transform: scale(.985); }
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-fill:focus-visible { outline: 3px solid #155fd3; outline-offset: -3px; border-radius: var(--cpap-r); }

/* Phones and tablets: two per row, the first category as a wide card. */
@media (max-width: 1024.98px) {
	.wd-shop-product .wd-products:has(> .wd-cat.cat-design-side) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child { grid-column: 1 / -1; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child .wd-cat-inner { flex-direction: row; padding: 8px; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child .wd-cat-thumb { width: 42%; aspect-ratio: 1 / .74; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child .wd-cat-content { padding: 6px 8px 6px 18px !important; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child .wd-entities-title { font-size: 20px; line-height: 1.2; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child .wd-cat-content::after { flex-basis: 36px; width: 36px; height: 36px; background-color: #155fd3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
}
@media (min-width: 600px) and (max-width: 1024.98px) {
	.wd-shop-product .wd-products:has(> .wd-cat.cat-design-side) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child .wd-cat-thumb { width: 30%; aspect-ratio: 1 / .7; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child .wd-entities-title { font-size: 26px; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:first-child .wd-cat-content { padding: 6px 12px 6px 24px !important; }
}
/* Laptops: all categories in one row. */
@media (min-width: 1025px) {
	.wd-shop-product .wd-products:has(> .wd-cat.cat-design-side) { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-entities-title { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-inner, .wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-image img, .wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-content::after { transition: none; }
}

/* 1.1.0 (20 Nov 2026): with an even number of tiles (6 since Dual Chamber Pens) the last one is wide too on phones and tablets,
   so no tile stands alone; laptops get 3 per row. The dual chamber pen photo fills its panel like the Liquids photo. */
.wd-shop-product .wd-products > .wd-cat.cat-design-side .wd-cat-image img[src*="dual-chamber-pen-1-pen"] { object-fit: cover; object-position: 50% 40%; padding: 0; filter: none; }
@media (max-width: 1024.98px) {
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) { grid-column: 1 / -1; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) .wd-cat-inner { flex-direction: row; padding: 8px; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) .wd-cat-thumb { width: 42%; aspect-ratio: 1 / .74; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) .wd-cat-content { padding: 6px 8px 6px 18px !important; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) .wd-entities-title { font-size: 20px; line-height: 1.2; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) .wd-cat-content::after { flex-basis: 36px; width: 36px; height: 36px; background-color: #155fd3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
}
@media (min-width: 600px) and (max-width: 1024.98px) {
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) .wd-cat-thumb { width: 30%; aspect-ratio: 1 / .7; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) .wd-entities-title { font-size: 26px; }
	.wd-shop-product .wd-products > .wd-cat.cat-design-side:last-child:nth-child(even) .wd-cat-content { padding: 6px 12px 6px 24px !important; }
}
@media (min-width: 1025px) {
	.wd-shop-product .wd-products:has(> .wd-cat.cat-design-side:nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
