.pdr-products-grid {
    padding: 100px 0;
}

.pdr-products-grid h2 {
    font-size: var(--font-size-h2-smaller);
    line-height: 50px;
    margin: 0 auto 100px;
    text-align: center;
    text-transform: uppercase;
}

.pdr-products-grid h2 span {
    font-size: 30px;
    line-height: 34px;
    text-transform: uppercase;
}

.woocommerce .pdr-products-grid ul.products {
	display: grid;
	grid-template-columns: repeat(4, calc((100% - 3 * 58px) / 4));
	gap: 58px;
	width: 100%;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

.woocommerce .pdr-products-grid p.woocommerce-loop-product-title {
    font-family: var(--heading-font-family);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-heavy);
    line-height: 24px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}

.woocommerce .pdr-products-grid .pdr-product-full p.woocommerce-loop-product-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

.pdr-product-full .pdr-product-attributes-selector .pdr-was-price {
    display: none;
}

.woocommerce .pdr-products-grid p.woocommerce-loop-product-title a {
    border: none;
}

.pdr-products-grid .pdr-product-summary > .pdr-product-attributes bdi.pdr-was-price {
    text-decoration: line-through;
}

.pdr-products-grid .pdr-archive-subtitle p,
.woocommerce .pdr-products-grid h3.woocommerce-loop-product-subtitle {
    font-family: var(--heading-font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-heavy);
    line-height: 24px;
    text-align: center;
}

.pdr-icons-was-price {
    border-bottom: 1px solid #707070;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.pdr-product-full.product-type-variable .pdr-icons-was-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.pdr-product-full.product-type-variable .pdr-icons-was-price.pdr-icons-was-price-no-original {
    justify-content: center;
}

.pdr-product-full.product-type-variable .pdr-icons-was-price .pdr-was-price {
    text-decoration: line-through;
    font-size: 18px;
    font-weight: 900;
    font-family: "Gotham", sans-serif;
    color: #000000;
}

.woocommerce .pdr-products-grid .pdr-product-full h3.woocommerce-loop-product-subtitle {
    font-size: 18px;
}

.woocommerce .pdr-products-grid h3.woocommerce-loop-product-subtitle a {
    border: none;
}

.woocommerce-loop-product-title-wrap {
    margin-bottom: 40px;
}

.pdr-product-supp .woocommerce-loop-product-title-wrap {
    margin-bottom: 20px;
}

.pdr-products-grid .pdr-product-icons .c-product-icons__list {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pdr-products-grid .pdr-product-full.product-type-variable .pdr-product-icons .c-product-icons__list {
    margin-bottom: 0;
}

.pdr-products-grid .pdr-product-icons .c-product-icons__icon {
    margin: 0 7px;
    width: 48px;
}

.pdr-product-wrap {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.pdr-product-summary.pdr-product-summary-supp,
.pdr-product-full .pdr-product-summary{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.c-product__cart-price{
    text-align: right;
}

.pdr-product-attributes{
    margin-bottom: 18px;
}

.pdr-product-summary,
.pdr-prod-bottom-wrap{
    margin-top: auto;
}

.pdr-products-grid .pdr-product-full .pdr-product-icons .c-product-icons__icon{
    margin: 0 14px 0 0;
}

.pdr-products-grid .pdr-product-full .pdr-product-icons .c-product-icons__icon:last-of-type {
    margin-right: 0;
}

.pdr-products-grid .c-archive-product__image {
    border: none;
    display: block;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
    width: 100%;
}

.pdr-products-grid .c-product-free-delivery-banner {
    position: absolute;
    right: 0px;
    top: -25px;
}

.pdr-products-grid .c-product-free-delivery-banner svg {
    height: 75px;
    width: 75px;
}

.pdr-products-grid .pdr-archive-product-image-full .c-archive-product__image img{
    width: 100%;
}

.pdr-products-grid .c-archive-product__image img {
    max-width: 100%;
    width: 220px;
}

.pdr-subscribe-and-save {
	align-items: center;
	background: var(--prodog-yellow);
	color: #231f20;
	display: flex;
	font-size: 14px;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
	height: 45px;
	justify-content: center;
	margin-bottom: 20px;
	width: 100%;
}

.woocommerce ul.products li.product a.pdr-view-product-link,
.pdr-view-product-link {
    border: none;
	display: flex;
	justify-content: center;
	color: #231F20;
	font-size: 14px;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
	text-decoration: underline !important;
}

.pdr-products-grid .c-feefo-stars--original {
	position: relative;
	width: 60%;
	margin-bottom: 0;
	min-height: 0;
	float: left;
	z-index: 4;
}

.pdr-products-grid .pdr-button-buy {
    margin-bottom: 15px;
    width: 100%;
}

.pdr-button-buy-popup {
	align-items: center;
	background: rgba(0,0,0,0.7);
	display: none;
	height: 100%;
	justify-content: center;
	left: 0;
	position: fixed;
	top: 0;
	z-index: 2000;
	width: 100%;
}

.pdr-button-buy-popup-inner {
	background: #fff;
	max-width: 100%;
	padding: 35px 75px 55px;
	position: relative;
	width: 750px;
}

.pdr-close {
	color: #231f20;
	cursor: pointer;
	font-size: 30px;
	position: absolute;
	right: 35px;
	top: 35px;
}

.pdr-button-buy-popup h3,
.woocommerce ul.products li.product .pdr-button-buy-popup h3 {
	color: #231f20;
	font-size: 30px;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
	line-height: normal;
	margin-bottom: 5px;
	padding: 0;
	text-align: center;
    text-transform: uppercase;
}

.pdr-button-buy-popup p.pdr-button-buy-popup-product-name,
.woocommerce ul.products li.product .pdr-button-buy-popup p.pdr-button-buy-popup-product-name {
	color: #231f20;
	font-size: 25px;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
	margin-bottom: 15px;
	text-align: center;
}

.pdr-button-buy-popup p.pdr-button-buy-popup-product-intro,
.woocommerce ul.products li.product .pdr-button-buy-popup p.pdr-button-buy-popup-product-intro {
	font-weight: 500;
	font-size: 17px;
	line-height: normal;
	margin-bottom: 30px;
	padding: 0 10px;
	text-align: center;
}

.pdr-button-buy-popup .pdr-product-pricing-block-top {
	align-items: center;
	background: #fdd700;
	border-radius: 25px;
	cursor: pointer;
	display: flex;
	height: 48px;
	justify-content: space-between;
	padding: 0 19px;
	transition: all 0.3s ease;
}

.pdr-button-buy-popup .pdr-product-subscribe-option {
	align-items: center;
	display: flex;
	column-gap: 12px;
}

.pdr-button-buy-popup .pdr-product-subscribe-option span.js-pdr_is_prodog_subscription_trigger {
	-webkit-appearance: none;
	appearance: none;
	background-color: none;
	margin: 0;
	font: inherit;
	color: #008091;
	width: 20px;
	height: 20px;
	border: 2px solid #231f20;
	border-radius: 50%;
	display: grid;
	place-content: center;
}

.pdr-button-buy-popup .pdr-product-subscribe-option span.js-pdr_is_prodog_subscription_trigger:before {
	content: "";
	width: 13px;
	height: 13px;
	border-radius: 50%;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em #231f20;
}

.pdr-button-buy-popup .pdr-product-subscribe-option span.js-pdr_is_prodog_subscription_trigger.checked:before {
	transform: scale(1);
}

.pdr-button-buy-popup .pdr-product-subscribe-text {
	align-items: center;
	color: #231f20;
	display: flex;
	font-size: 18px;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
	margin-bottom: 0;
}

.pdr-button-buy-popup .pdr-product-subscribe-text span {
	background: #fff;
	border-radius: 20px;
	color: #231f20;
	display: inline-block;
	font-size: 15px;
    line-height: 1.5;
	margin-left: 5px;
	padding: 0 15px;
	text-transform: uppercase;
}

.pdr-button-buy-popup .pdr-product-price {
	font-size: 18px;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
	margin-bottom: 0;
}

.pdr-button-buy-popup .pdr-product-price {
	font-size: 18px;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
}

.pdr-button-buy-popup .pdr-product-pricing-block-bottom {
	padding-top: 17px;
}

.archive .pdr-products-grid .pdr-product-summary > .pdr-product-attributes {
    margin-bottom: 20px;
	width: 40%;
	float: right;
	text-align: right;
}

.woocommerce ul.products .c-archive-product.product .price {
	font-size: 18px;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
	color: #000000;
}

.pdr-button-buy-popup p strong {
	color: #231f20;
	font-weight: 900;
	font-family: "Gotham", sans-serif;
}

.pdr-button-buy-popup .pdr-product-bullets {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 45px;
	grid-row-gap: 20px;
	padding: 0 0 11px 0;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime .pdr-product-bullets{
    padding: 0 20px 11px 20px;
}

.pdr-button-buy-popup .pdr-product-bullets ul,
.woocommerce .products .pdr-button-buy-popup .pdr-product-bullets ul {
	list-style: none;
	margin-bottom: 0;
	margin-left: 25px;
}

.pdr-button-buy-popup .pdr-product-bullets ul li,
.woocommerce .products .pdr-button-buy-popup .pdr-product-bullets ul li {
    color: #6D6D6D;
	font-weight: 500;
    line-height: 1.5;
    margin-bottom: 5px;
	position: relative;
}

.pdr-button-buy-popup .pdr-product-bullets ul li:before,
.woocommerce .products .pdr-button-buy-popup .pdr-product-bullets ul li::before {
	font-family: "font awesome 6 pro";
	content: '\f00c';
	width: 18px;
	height: 18px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	background: #000;
	color: #fff;
	padding: 3px;
	position: absolute;
	font-weight: 900;
	left: -25px;
	top: 2px;
}

.pdr-button-buy-popup .pdr-product-add-to-basket {
	padding: 0 0 10px;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime .pdr-product-add-to-basket{
    padding: 0 25px 20px;
}

body.woocommerce .pdr-button-buy-popup .pdr-product-add-to-basket form.cart {
	margin-bottom: 0;
}

.pdr-button-buy-popup .pdr-product-add-to-basket-form-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 12px;
}

.pdr-button-buy-popup .pdr-product-attributes, .pdr-button-buy-popup .pdr-product-qty {
    border-radius: 28px;
    display: flex;
    height: 50px;
}

.pdr-button-buy-popup .pdr-product-attributes span.pdr-product-attributes-title, .pdr-button-buy-popup .pdr-product-qty span {
    align-items: center;
    background: #fdd700;
    border-radius: 28px 0 0 28px;
    border-right: 2px solid #fff;
    color: #231f20;
    display: flex;
    font-size: 16px;
    font-weight: 900;
    font-family: "Gotham", sans-serif;
    justify-content: center;
    width: 50%;
}

.pdr-button-buy-popup ..pdr-product-attributes-price span.pdr-product-attributes-title{
    background: #fff;
    color: #fdd700;
}

.pdr-button-buy-popup .pdr-product-qty-selector {
    background: #E5E5E5;
    border-radius: 0 28px 28px 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    width: 50%;
}

.pdr-button-buy-popup .pdr-product-attributes-selector button,
.pdr-button-buy-popup .pdr-product-qty-selector button {
    cursor: pointer;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    border: none;
    background: none;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime.open .pdr-product-pricing-block-top {
	border-bottom: 2px solid #c4c4c4;
}

.woocommerce .pdr-product-qty-selector .quantity .qty {
	border: none;
	box-shadow: none;
    font-size: var(--font-size-base);
	font-weight: var(--font-weight-base);
	height: 100%;
	margin-bottom: 0;
    text-align: center;
}

.woocommerce .pdr-product-qty-selector .quantity input[type="number"] {
  background: transparent !important;
  border: none;
  box-shadow: none;
  color: inherit;
  text-align: center;
  appearance: textfield;
}

/* Remove arrows in Chrome */
.woocommerce .pdr-product-qty-selector .quantity input[type="number"]::-webkit-outer-spin-button,
.woocommerce .pdr-product-qty-selector .quantity input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdr-button-buy-popup .pdr-product-qty-selector button.plus {
	align-items: center;
	display: flex;
}

.pdr-button-buy-popup .pdr-product-attributes-selector {
    background: #E5E5E5;
    border-radius: 0 28px 28px 0;
    padding: 0;
    width: 50%;
}

.pdr-button-buy-popup .pdr-product-attributes-selector select {
    border: none;
    border-radius: 0 28px 28px 0;
    font-weight: 500;
	height: 100%;
    margin: 0;
    width: 100%;
}

.pdr-button-buy-popup .pdr-product-attributes-price span.pdr-product-attributes-title {
	background: #000;
	color: #fdd700;
}

.woocommerce.archive .pdr-button-buy-popup .pdr-product-attributes-selector.pdr_is_subscription .c-product__cart-price.pdr-subscription-price {
	display: block;
}

.pdr-button-buy-popup .pdr-product-attributes-selector .c-product__cart-price {
	font-weight: 500;
	height: 100%;
	margin: 0 !important;
	width: 100%;
}

.woocommerce.archive .pdr-button-buy-popup .pdr-product-attributes-selector.pdr_is_subscription .c-product__cart-price {
	display: none;
}

.woocommerce.archive .pdr-button-buy-popup .pdr-product-attributes-selector.pdr_is_subscription .c-product__cart-price.pdr-subscription-price {
	display: block;
}

.woocommerce.archive .pdr-button-buy-popup .pdr-product-attributes-selector .c-product__cart-price span.amount, .woocommerce.archive .pdr-button-buy-popup .pdr-product-attributes-selector .c-product__cart-price span.amount bdi, .pdr-button-buy-popup .pdr-product-attributes-selector .c-product__cart-price .price {
	display: block;
	font-family: Montserrat,sans-serif;
	font-weight: 700;
	font-size: 1rem;
	height: 100%;
	margin-bottom: 0 !important;
}

.pdr-product-attributes-selector select,
.woocommerce.archive .pdr-button-buy-popup .pdr-product-attributes-selector .c-product__cart-price span.amount bdi {
	display: flex;
	align-items: center;
	padding-left: 10px;
    font-family: Montserrat,sans-serif;
	font-weight: 700;
	font-size: 1rem;
}

.woocommerce.archive .pdr-button-buy-popup .pdr-product-attributes-selector .c-product__cart-price span.amount .woocommerce-Price-currencySymbol {
	font-family: Montserrat,sans-serif;
	font-weight: 700;
	font-size: 1rem;
}

/* Remove arrows in Firefox */
.quantity input[type="number"] {
  -moz-appearance: textfield;
}

.pdr-product-button-buy {
    align-items: center;
    background: #00ad3c;
    border: none;
    border-radius: 28px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: 900;
    font-family: "Gotham", sans-serif;
    height: 50px;
    justify-content: center;
    transition: all 0.3s ease;
    width: 100%;
}

.pdr-product-button-buy:hover {
	background: #231f20;
}

.pdr-product-button-buy.disabled, .pdr-product-button-buy[disabled] {
	background: #808080;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime .pdr-product-pricing-block-bottom {
	display: none;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime .pdr-product-pricing-block-top {
	background: none;
}

.pdr-button-buy-popup .open .pdr-product-pricing-block-top {
	border-radius: 0;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime {
    border: 2px solid #C4C4C4;
    border-radius: 30px;
    margin-top: 12px;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime .pdr-product-subscribe-option span.js-pdr_is_prodog_subscription_trigger {
	border: 2px solid #808080;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime.open .pdr-product-subscribe-option span.js-pdr_is_prodog_subscription_trigger {
	border: 2px solid #231f20;
}

.pdr-button-buy-popup .pdr-product-pricing-block.pdr-product-pricing-block__sub .c-product__cart-price.woocommerce-variation-price {
    display: none;
}

.pdr-button-buy-popup .pdr-product-pricing-block.pdr-product-pricing-block__sub .c-product__cart-price.woocommerce-variation-price.pdr-subscription-price {
    display: block;
}

.pdr-button-buy-popup .pdr-product-pricing-block.pdr-product-pricing-block__onetime .c-product__cart-price.woocommerce-variation-price {
    display: block;
}

.pdr-button-buy-popup .pdr-product-pricing-block.pdr-product-pricing-block__onetime .c-product__cart-price.woocommerce-variation-price.pdr-subscription-price {
    display: none;
}

.pdr-button-buy-popup .pdr-product-pricing-block__onetime .pdr-product-subscribe-text {
	color: #c4c4c4;
}

.woocommerce .quantity .qty {
	width: 3.631em;
	text-align: center;
}

input[type="number"] {
	-moz-appearance: textfield !important;
	padding: 0 !important;
}

.perfect-for-mobile {
    display: none;
}

.pdr-perfect-for-pop {
    color: #fff;
    display: none;
    font-size: 16px;
}

.pdr-perfect-for-pop ul {
    padding: 40px 15px 0;
}

.pdr-perfect-for-pop {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.pdr-archive-product-image-wrap-inner {
  position: relative;
}

.pdr-perfect-for-pop li {
	margin-bottom: 15px;
	padding-left: 35px;
	position: relative;
}

.pdr-perfect-for-pop ul li:before {
	content: '\f058';
	font-family: "Font Awesome 6 Sharp";
	font-weight: 900;
	font-size: 25px;
	position: absolute;
	left: 0;
	top: -6px;
}

/* colour scheme for grid */

.woocommerce .pdr-products-grid .supp-flexx p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-flexx); }
.woocommerce .pdr-products-grid .supp-digest p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-digest); }
.woocommerce .pdr-products-grid .supp-protect p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-protect); }
.woocommerce .pdr-products-grid .supp-revive p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-revive); }
.woocommerce .pdr-products-grid .supp-repel p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-repel); }
.woocommerce .pdr-products-grid .supp-perform p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-perform); }
.woocommerce .pdr-products-grid .supp-shine p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-shine); }
.woocommerce .pdr-products-grid .supp-muscle p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-muscle); }
.woocommerce .pdr-products-grid .supp-boost p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-boost); }
.woocommerce .pdr-products-grid .supp-colostrum p.woocommerce-loop-product-title { border-bottom: 3px solid var(--prodog-colostrum-legible); }

.pdr-products-grid .supp-flexx .pdr-archive-subtitle p { color: var(--prodog-flexx); }
.pdr-products-grid .supp-digest .pdr-archive-subtitle p { color: var(--prodog-digest); }
.pdr-products-grid .supp-protect .pdr-archive-subtitle p { color: var(--prodog-protect); }
.pdr-products-grid .supp-revive .pdr-archive-subtitle p { color: var(--prodog-revive); }
.pdr-products-grid .supp-repel .pdr-archive-subtitle p { color: var(--prodog-repel); }
.pdr-products-grid .supp-perform .pdr-archive-subtitle p { color: var(--prodog-perform); }
.pdr-products-grid .supp-shine .pdr-archive-subtitle p { color: var(--prodog-shine); }
.pdr-products-grid .supp-muscle .pdr-archive-subtitle p { color: var(--prodog-muscle); }
.pdr-products-grid .supp-boost .pdr-archive-subtitle p { color: var(--prodog-boost); }
.pdr-products-grid .supp-colostrum .pdr-archive-subtitle p { color: var(--prodog-colostrum-legible); }

.woocommerce .pdr-products-grid .supp-flexx .pdr-perfect-for-pop { background: var(--prodog-flexx); }
.woocommerce .pdr-products-grid .supp-digest .pdr-perfect-for-pop { background: var(--prodog-digest); }
.woocommerce .pdr-products-grid .supp-protect .pdr-perfect-for-pop { background: var(--prodog-protect); color: var(--prodog-black); }
.woocommerce .pdr-products-grid .supp-revive .pdr-perfect-for-pop { background: var(--prodog-revive); }
.woocommerce .pdr-products-grid .supp-repel .pdr-perfect-for-pop { background: var(--prodog-repel); }
.woocommerce .pdr-products-grid .supp-perform .pdr-perfect-for-pop { background: var(--prodog-perform); }
.woocommerce .pdr-products-grid .supp-shine .pdr-perfect-for-pop { background: var(--prodog-shine); }
.woocommerce .pdr-products-grid .supp-muscle .pdr-perfect-for-pop { background: var(--prodog-muscle); }
.woocommerce .pdr-products-grid .supp-boost .pdr-perfect-for-pop { background: var(--prodog-boost); }
.woocommerce .pdr-products-grid .supp-colostrum .pdr-perfect-for-pop { background: var(--prodog-colostrum-legible); color: var(--prodog-black); }

/* when carousel is active (unchanged) */
/* Activate carousel layout when our class is present */
ul.products.columns-4.pdr-products-is-carousel {
  display: block !important; /* override Woo flex/grid */
  overflow: hidden;
}

/* Each product is a slide */
ul.products.columns-4.pdr-products-is-carousel li.product {
  width:100%; margin-right:0; padding: 0 30px;
}

/* Button styling & hit area */
ul.products.columns-4.pdr-products-is-carousel .flickity-prev-next-button {
  width: 20px;
  height: auto;
  background: transparent;
  box-shadow: none;
  border: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}
ul.products.columns-4.pdr-products-is-carousel .flickity-prev-next-button:hover {
  background: transparent;
}

/* Positioning */
ul.products.columns-4.pdr-products-is-carousel .flickity-prev-next-button.previous { left: 0; }
ul.products.columns-4.pdr-products-is-carousel .flickity-prev-next-button.next { right: 0; }

/* Hide default icon—our JS replaces it anyway */
ul.products.columns-4.pdr-products-is-carousel .flickity-button-icon { display: none; }

/* Size the injected SVG */
ul.products.columns-4.pdr-products-is-carousel .pdr-arrow-svg {
	width: 20px;
	height: auto;
	display: block;
}

/* fullscreen modal layer */
.pdr-button-buy-popup {
    position: fixed;         /* key: detach from transformed ancestors */
    inset: 0;                /* top/right/bottom/left: 0 */
    width: 100vw;
    height: 100vh;
    z-index: 10000;          /* above Flickity arrows/dots */
    display: none;           /* toggled to flex by JS */
    align-items: center;     /* keep your existing inner layout */
    justify-content: center; /* optional */
}

/* optional dim background if your markup doesn't already include it */
.pdr-button-buy-popup::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* prevent background scroll while modal is open */
.pdr-popup-active {
    overflow: hidden;
}

/* keep Flickity’s viewport clipping intact for slides (no change needed) */
/* ul.products.columns-4.pdr-products-is-carousel .flickity-viewport { overflow: hidden; } */

@media (max-width: 1299px) {

    .pdr-products-grid {
        padding: 100px 20px;
    }

}

@media (max-width: 1199px) {

    .woocommerce .pdr-products-grid ul.products {
    	grid-template-columns: repeat(3, calc((100% - 80px) / 3));
    	gap: 40px;
    }

    .pdr-perfect-for-pop {
    	font-size: 14px;
    }

    .pdr-perfect-for-pop ul {
    	padding: 20px 15px 0;
    }

    .pdr-perfect-for-pop li {
    	margin-bottom: 12px;
    	padding-left: 30px;
    }

    .pdr-perfect-for-pop ul li:before {
    	font-size: 20px;
    	top: -4px;
    }

}

@media (max-width: 799px) {

    .woocommerce .pdr-products-grid ul.products {
    	grid-template-columns: repeat(2, calc((100% - 40px) / 2));
    }

}

@media (max-width: 767px) {

    .pdr-products-grid .pdr-product-supp .c-archive-product__image {
        padding-top: 25px;
    }

    .pdr-products-grid .pdr-product-supp .c-archive-product__image img {
        width: 180px;
    }

    .pdr-products-grid .pdr-product-supp .c-product-free-delivery-banner {
    	right: 25px;
    	top: 0px;
    }

    ul.products .flickity-page-dots { bottom: -18px; }

    .woocommerce-loop-product-title-wrap {
    	margin-bottom: 20px;
    }

    .pdr-products-grid .c-archive-product__image,
    .pdr-product-full .pdr-product-attributes,
    .pdr-subscribe-and-save {
    	margin-bottom: 12px;
    }

    .pdr-products-grid {
    	padding: 35px 20px;
    }

    .pdr-products-grid h2 {
        line-height: 30px;
    	margin-bottom: 30px;
    }

    .pdr-products-grid h2 span {
    	font-size: 20px;
    	line-height: 24px;
    }

    .pdr-button-buy-popup-inner {
    	padding: 25px 20px;
    }

    .pdr-button-buy-popup h3,
    .woocommerce ul.products li.product .pdr-button-buy-popup h3 {
    	font-size: 26px;
    }

    .pdr-button-buy-popup p.pdr-button-buy-popup-product-name,
    .woocommerce ul.products li.product .pdr-button-buy-popup p.pdr-button-buy-popup-product-name {
    	font-size: 22px;
    	line-height: 25px;
    	margin-bottom: 10px;
    }

    .pdr-button-buy-popup p.pdr-button-buy-popup-product-intro,
    .woocommerce ul.products li.product .pdr-button-buy-popup p.pdr-button-buy-popup-product-intro {
    	font-size: 15px;
    	margin-bottom: 20px;
    }

    .pdr-button-buy-popup .pdr-product-bullets {
    	grid-template-columns: repeat(1, 1fr);
    	grid-row-gap: 0;
    }

    .pdr-product-pricing-block .pdr-product-price {
    	display: none;
    }

    .pdr-button-buy-popup .pdr-product-bullets ul li:nth-of-type(2n),
    .woocommerce .pdr-products-grid ul.products li:nth-of-type(2n) {
    	margin-right: 0;
    }

    .pdr-button-buy-popup .pdr-product-bullets ul li:nth-of-type(2n+1),
    .woocommerce .pdr-products-grid ul.products li:nth-of-type(2n+1) {
    	clear: none;
    }

    .pdr-button-buy-popup .pdr-product-bullets ul li:nth-of-type(3n+1),
    .woocommerce .pdr-products-grid ul.products li:nth-of-type(3n+1) {
    	clear: both;
    }

    .pdr-button-buy-popup .pdr-product-add-to-basket-form-inner {
    	grid-template-columns: repeat(1, 1fr);
    }

}

@media (max-width: 549px) {

    .woocommerce .pdr-products-grid ul.products {
    	grid-template-columns: repeat(1, 100%);
    }

    .pdr-products-grid .pdr-archive-product-image-full .c-archive-product__image img {
    	max-width: 250px;
    }

    .pdr-products-grid .pdr-product-icons .c-product-icons__icon {
    	width: 60px;
    }

}
