.custom-single-product-page {
    width: 100%;
}

.custom-product-layout {
    display: grid;
	grid-template-columns: calc(48% - 16px) calc(52% - 16px);
    gap: 32px;
    align-items: stretch;
    max-width: 100%;
    margin: 0 auto;
}

a.reset_variations {
	display: none !important;
}

.custom-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-product-gallery .owl-stage {
	padding-left: 0 !important;
}

.custom-product-image {
    width: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.custom-product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.custom-product-summary {
    position: sticky;
    top: 100px;
    min-height: calc(100vh - 116px);
    display: flex;
    flex-direction: column;
}

.custom-product-category,
.custom-product-category a {
    color: #5A6B9B;
    text-decoration: none;
    margin-bottom: 16px;
}

.custom-product-title {
	font-size: 28px;
	line-height: 30.8px;
	letter-spacing: 0.84px;
    margin: 0 0 12px;
}

.custom-product-subtitle {
    font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	color: #7B8487;
	margin-bottom: 16px;
}

.custom-product-price {
    font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0.16px;
	color: #343434;
}

/* WooCommerce variations */
.custom-product-summary form.cart {
    margin-top: 20px;
	margin-bottom: 0 !important;
}

.custom-product-summary table.variations {
    width: 100%;
    margin-bottom: 20px;
}

.custom-product-summary table.variations th,
.custom-product-summary table.variations td {
    display: block;
    width: 100%;
    padding: 0;
}

.custom-product-summary table.variations label {
    font-size: 12px;
    font-weight: 400;
    color: #7d8691;
}

.custom-product-summary table.variations select {
    width: 100%;
    height: 42px;
    border: 0;
    border-bottom: 1px solid #e2e2e2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6' fill='none'%3E%3Cpath d='M4.5019 6L8.57143 1.44212L9 0.962124L8.14096 0L7.71239 0.48L4.5 4.07788L1.28761 0.48L0.859039 0L0 0.962124L0.428571 1.44212L4.06953 5.52L4.4981 6H4.5019Z' fill='%237B8487'/%3E%3C/svg%3E") !important;
    background-position: right center !important;
	background-size: 9px 6px !important;
	font-size: 12px;
    color: #7B8487;
    padding: 0;
}

.custom-product-summary .single_variation_wrap {
    width: 100%;
}

.custom-product-summary .quantity {
    display: none !important;
}

.custom-product-summary .single_add_to_cart_button {
    width: 100%;
    height: 42px;
    background: #2c2c2c !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    margin-top: 12px;
}

.custom-product-summary .single_add_to_cart_button:hover {
    background: #111 !important;
}

table.variations th.label {
    display: none;
}

/* Benefits */
.custom-product-benefits {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-product-benefit {
	display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.12px;
    color: #7B8487;
}
.custom-product-benefit span {
	display: flex;
}

.custom-product-benefit p {
    margin: 0;
}

/* Tabs */
.custom-product-tabs {
    margin-top: auto;
}

.custom-tabs-nav {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dcdcdc;
}

.custom-tab-btn {
    border: 0;
    background: transparent !important;
    padding: 0 0 14px;
    font-size: 12px;
    color: #7B8487 !important;
    cursor: pointer;
    text-align: left;
	font-weight: 500;
}

.custom-tab-btn:hover,
.custom-tab-btn.active {
    color: #343434 !important;
}

.custom-tabs-content {
    padding-top: 18px;
    font-size: 12px;
    color: #7d8691;
    line-height: 1.6;
}

.custom-tab-panel {
    display: none;
}

.custom-tab-panel ul {
    margin: 0;
    padding-left: 18px;
}

.custom-tab-panel ul:first-of-type {
	margin-top: 0;
}

.custom-tab-panel p:last-of-type,
.custom-tab-panel ul:last-of-type {
	margin-bottom: 0;
}

.custom-product-item a {
	text-decoration: none;
}

.custom-product-section { 
	margin: 50px 0; 
}
.custom-product-grid { 
	display: flex; 
	justify-content: center; 
	gap: 40px;
}
.custom-product-item {
	text-align: center;
	width: 100%;
}
.custom-product-item img {
	max-width: 100%;
    height: 100%;
    background: #F2F2F2;
    background-size: contain;
    object-fit: cover;
}
.custom-product-grid .owl-stage {
	padding-left: 0 !important;
}
.product-title { 
	font-size: 14px; 
	margin-bottom: 5px; 
}

/*PERSONALIZE PRODUCT START*/
.woocommerce-variation > div:last-of-type {
	margin-bottom: 24px;
}

.pp-popup * {
	color: #343434;
}

.pp-popup .pp-main button:not(.pp-review-btn):not(.single_add_to_cart_button):not(.pp-optional-option) {
    background: transparent !important;
}

.pp-checkout-summary {
    max-width: 100%;
}

.pp-checkout-section {
    padding: 12px 0;
}

.pp-checkout-section:first-child {
    padding-top: 0;
}

.pp-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pp-summary-tag {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    color: #343434;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1;
    gap: 8px;
}

.pp-note-field {
    width: 100%;
    min-height: 54px;
    border: 0;
    background: transparent;
    resize: vertical;
    color: #343434;
    padding: 0;
    outline: none;
	border-bottom: 1px solid #0000001a !important;
}

.pp-note-field::placeholder {
    color: #7d8588;
    opacity: 1;
}

.pp-checkout-summary .pp-cart-qty {
    width: 92px;
    height: 36px;
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    border: 0;
    background: #F8F8F8;
}

.pp-checkout-summary .pp-cart-qty button.pp-qty-btn {
    padding: 0;
	color: var(--contrast);
}

.pp-checkout-summary .pp-popup-qty {
    background: transparent !important;
    font-size: 14px;
    padding: 0;
    height: auto;
    min-height: unset;
    border: 0 none;
}

.pp-checkout-summary .pp-qty-btn {
    font-size: 14px;
    line-height: 1.2;
}

.pp-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pp-popup .pp-main button.pp-size-option[type="button"] {
    min-width: 42px;
    height: 33px;
    border: 1px solid transparent;
    background: #F8F8F8 !important;
	border: 1px solid #F8F8F8;
    color: #343434 !important;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    border-radius: 2px;
}

.pp-popup .pp-main button.pp-size-option.is-active[type="button"] {
	border: 1px solid #AE3A3A;
}

.pp-size-option.is-active {
    border-color: #cc2b2b;
    background: #fff;
}

.pp-size-option.is-disabled {
    opacity: .35;
    pointer-events: none;
}

.pp-popup .pp-main button.pp-size-option.is-out-of-stock[type="button"] {
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
    color: #3434346b !important;
}

.pp-checkout-price {
    margin: 16px 0;
}

.pp-checkout-price del {
    color: #7d8588;
    margin-right: 6px;
}

.pp-checkout-summary .pp-add-cart-btn *,
.pp-checkout-summary .pp-add-cart-btn {
    width: 100%;
    height: 40px;
    border: 0;
    background: #5A6B9B !important;
    color: #fff !important;
    cursor: pointer;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12px;
}

.pp-checkout-note {
    margin: 14px 0 0;
    color: #7d8588;
    font-size: 15px;
    line-height: 1.5;
}

.custom-product-personalize-wrap {
    margin-top: 10px;
}

.custom-product-add-to-cart--personalized .single_add_to_cart_button {
    display: none !important;
}

.custom-product-add-to-cart--personalized .quantity {
    display: none !important;
}

.custom-personalize-btn {
    width: 100%;
    display: block;
    border: 0;
    background: #343434;
    color: #fff;
    padding: 11px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12px;
	border-radius: 4px;
}

.custom-personalize-btn[disabled],
.pp-next-btn.js-pp-next[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

.pp-variation-notice {
    margin-top: 16px;
    font-size: 12px;
    color: #7d8588;
}

.pp-variation-notice span {
    font-size: 16px;
    color: #343434;
    font-weight: 400;
    font-family: 'IvyPresto Headline';
}

.pp-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.pp-popup.is-active {
    display: block;
}

.pp-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.pp-popup__inner {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pp-popup__inner.is-last-step {
    overflow: visible;
}

.pp-popup__close {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 20;
    border: 0;
    background: transparent;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.pp-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    height: calc(100%);
    min-height: 0;
    overflow: hidden;
}

.pp-sidebar {
    position: relative;
    padding: 140px 30px 32px;
    overflow-y: auto;
}

.pp-step-label {
    color: #5A6B9B;
    margin-bottom: 32px;
	font-weight: 500;
}

.pp-step-label * {
	color: #5A6B9B;
}

.pp-back-btn,
.pp-popup-back-close {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border: 0;
    background: #EBF0F4 !important;
    color: #343434 !important;
    padding: 12px 16px 13px;
    cursor: pointer;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.12px;
}

.pp-popup-back-close:hover {
    background: #dfe6ea !important;
    color: #343434 !important;
}

.pp-sidebar-content {
    display: none;
}

.pp-sidebar-content.is-active {
    display: block;
}

.pp-sidebar-content h2 {
    margin: 0 0 24px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 400;
}

.pp-sidebar-content p {
    max-width: 420px;
    color: #7B8487;
    line-height: 1.6;
	margin: 32px 0;
}

.pp-back-btn {
    padding: 14px 16px 12px;
}

.pp-main {
	padding: 32px 30px 0;
    min-height: 0;
}

.pp-tabs {
    display:flex;
    justify-content: space-between;
    border-bottom: 1px solid #d5dde0;
    margin-bottom: 40px;
}

.pp-tab {
    border: 0;
    background: transparent;
    padding: 12px 0px;
    color: #7B8487;
    cursor: default;
    border-bottom: 1px solid transparent;
	font-weight: 500;
    cursor: pointer;
    pointer-events: auto;
}

.pp-tab.is-active {
    color: #343434;
}

.pp-tab:disabled,
.pp-tab.is-locked {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .45;
}

.pp-panels {
    height: calc(100% - 88px);
	overflow: auto;
}

.pp-panel {
    display: none;
}

.pp-panel.is-active {
    display: block;
}

.pp-choice-group {
    border-bottom: 1px solid #e0e6e8;
	overflow: hidden;
}

.pp-choice-heading {
	width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    font-weight: 500;
}

.pp-choice-heading::after {
	content: "";
	display: inline-block;
	width: 9px;
	height: 6px;
	margin-left: 8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6' fill='none'%3E%3Cpath d='M4.5019 6L8.57143 1.44212L9 0.962124L8.14096 0L7.71239 0.48L4.5 4.07788L1.28761 0.48L0.859039 0L0 0.962124L0.428571 1.44212L4.06953 5.52L4.4981 6H4.5019Z' fill='%237B8487'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	transition: all 0.6s ease;
}

.is-open .pp-choice-heading::after {
	transform: rotate(-180deg);
}

.custom-product-personalize-wrap form.variations_form.cart {
    margin-top: 0;
}

.pp-selected-variant__text {
	display: block;
}

a.pp-option-details__close.js-pp-details-close span {
    color: #7B8487;
    font-size: 12px;
}

.pp-choice-heading > span:first-of-type {
    text-align: left;
}

.pp-choice-selected {
    margin-left: auto;
    margin-right: 16px;
    font-size: 14px;
    color: #343434;
	text-align: right;
}

.pp-choice-options {
    display: none;
    padding-bottom: 28px;
}

.pp-choice-group.is-open .pp-choice-options {
    display: block;
}

.pp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
	align-items: start;
}

.pp-option-card {
    border: 1px solid transparent;
    background: #f3f4f5;
    padding: 0;
    text-align: left;
    cursor: pointer;
    display: block;
    color: inherit;
    width: 100%;
	position: relative;
}

.pp-option-card__image {
    display: block;
    aspect-ratio: 1 / 1.15;
	margin-bottom: 4px;
    overflow: hidden;
}

.is-selected .pp-option-card__image {
    border: 1px solid #AE3A3A;
}

.pp-option-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-option-card__name,
.pp-option-card__details,
.pp-option-card__price {
    display: block;
    padding: 2px 0;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 500;
}

span.pp-option-card__price {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.14px;
    text-transform: uppercase;
    color: #AE3A3A !important;
    position: absolute;
    bottom: 0;
    right: 0;
	display: block;
}

.custom-product-sku {
	display: none;
}

span.pp-option-card__price * {
    color: #AE3A3A !important;
}

.is-selected span.pp-option-card__price {
    display: block;
}

.pp-option-card__details {
    text-decoration: underline;
	/* display: none; */
}

.is-selected .pp-option-card__details {
	display: block;
}

.pp-option-details {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    padding: 10px;
    align-items: center;
    justify-content: center;
	cursor: default;
}

.pp-option-details:before {
    content: '';
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .2);
    z-index: -1;
}

.pp-option-details-wrap {
	padding: 16px;
    background: #fff;
    width: 1090px;
    max-width: 100%;
    display: flex;
    flex-direction: row-reverse;
	align-items: flex-end;
	gap: 16px;
}

.pp-option-card.is-details-open .pp-option-details {
    display: flex;
}

span.pp-option-details__text {
    width: 25%;
}

span.pp-option-details__text a[href="#close-details"] {
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.12px;
    color: #F8F8F8;
    text-decoration: none;
    padding: 12px 16px 13px;
    border-radius: 4px;
    background: #343434;
    display: block;
    text-align: center;
}

span.pp-option-details__text a[href="#close-details"] * {
	color: #FFF !important;
}

.pp-option-details__gallery {
    display: flex;
    gap: 8px;
	width: 75%;
}

.pp-simple-options {
    display: flex;
    gap: 8px;
    justify-content: flex-end;

}

.pp-popup .pp-main .pp-panels button.pp-simple-option.js-pp-select-option {
    border: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    background: #F8F8F8!important;
    padding: 8.5px 12px;
}

.pp-popup .pp-main .pp-panels button.pp-simple-option.js-pp-select-option.is-selected {
    border: 1px solid #cc2b2b!important;
}

.pp-summary {
    max-width: 760px;
}

.pp-summary h3 {
    margin-bottom: 24px;
}

.pp-summary-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e0e6e8;
    padding: 12px 0;
    gap: 20px;
}

.pp-final-add-to-cart {
    margin-top: 32px;
}

.pp-cart-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: center;
}

.pp-cart-qty {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    border: 1px solid #d9d9d9;
    height: 52px;
}

.pp-popup-qty {
    width: 100%;
    height: 100%;
    border: 0;
    text-align: center;
    padding: 0;
    -moz-appearance: textfield;
}

.pp-popup-qty::-webkit-outer-spin-button,
.pp-popup-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pp-qty-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.pp-add-cart-btn {
    width: 100%;
    height: 52px;
    border: 0;
    background: #343434;
    color: #fff;
    cursor: pointer;
}

.pp-add-cart-btn:hover {
    background: #222;
    color: #fff;
}

.pp-bottom-bar {
    position: relative;
    background: #f6f6f6;
    display: grid;
	grid-template-columns: 42% 58%;
    align-items: stretch;
	gap: 24px;
    z-index: 10;
    width: 100%;
    max-height: 100%;
    transition: all 0.5s ease;
}

.is-checkout-summary-showing .pp-bottom-bar {
    max-height: 0;
}

.pp-bottom-bar:not(.is-hidden) .last-step-buttons {
	display: none;
}

.pp-bottom-bar.is-hidden {
	background: transparent;
	grid-template-columns: 42% 56%;
}

.pp-bottom-bar.is-hidden .last-step-buttons {
	padding: 0 24px 24px 0;
}

.pp-bottom-bar.is-hidden .last-step-buttons:before {
    content: '';
    width: 100%;
    border-top: 1px solid #F4F0EB;
    display: block;
}

.pp-bottom-bar.is-hidden .selected-color-variant img,
.pp-bottom-bar.is-hidden .pp-bottom-product {
	display: none;
}

.pp-bottom-bar > div {
	width: 100%;
}

.selected-color-variant {
	height: 100%;
	position: relative;
}

.selected-color-variant img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}

.pp-bottom-product {
    display: flex;
    align-items: center;
    height: 100%;
	padding: 10px 55px 10px 7px;
    justify-content: space-between;
	gap: 24px;
}

.pp-bottom-product__content {
    width: 100%;
}

.pp-bottom-product__category {
    color: #7d8588;
    margin-bottom: 4px;
}

.pp-bottom-product__category a {
    color: inherit;
    text-decoration: none;
	font-weight: 500;
}

.pp-bottom-product__title {
    margin-bottom: 4px;
}

.pp-bottom-product__price {
    color: #cc2b2b;
}

span.price,
span.price del *,
span.price ins * {
	font-weight: 500;
}

span.price del * {
    color: #7B8487 !important;
}

span.price ins * {
    color: #AE3A3A !important;
}

.pp-next-btn {
    width: calc(100% - 72px);
    max-width: 327px;
    justify-self: end;
    border: 0;
    background: #343434 !important;
    color: #fff !important;
    padding: 11px 24px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12px;
    border-radius: 4px;
}

.pp-review-btn *,
.pp-next-btn * {
	color: #fff;
}

body.pp-popup-open {
    overflow: hidden;
}

.pp-review-summary {
    max-width: 100%;
}

.pp-review-section {
    padding: 0 0 24px;
}

.pp-review-section h3 {
    margin: 0 0 16px;
}

.pp-selected-variant__text p {
    margin: 0 0 16px;
    color: #7B8487;
    font-size: 16px;
}

.pp-selected-variant__image img {
    width: 128px;
    height: 142px;
    object-fit: cover;
    display: block;
}

.pp-review-price .screen-reader-text {
    display: none !important;
}

.pp-review-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 0;
}

.pp-review-price {
    margin: 16px 0;
}

.pp-review-btn {
    width: 100%;
    height: 40px;
    border: 0;
    color: #fff !important;
    cursor: pointer;
    font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.12px;
	border-radius: 4px;
}

.pp-review-btn--blue {
    background: #5d6f9f !important;
}

.pp-review-btn--black {
    background: #343434 !important;
}

.pp-review-action p {
    margin: 8px 4px 0;
    color: #7B8487;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.12px;
}

.pp-checkout-summary[hidden] {
    display: none !important;
}

.pp-measure-modal {
    position: absolute;
    inset: 0;
    z-index: 60;
    display: none;
    background: #FFF;
    padding: 32px 30px;
}

.pp-measure-modal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-measure-modal__box {
    position: relative;
    width: 100%;
    min-height: 100%;
    background: #fff;
    padding: 46px 16px 16px;
    border: 1px solid #AFB7BA;
    align-content: center;
}

.pp-measure-modal__close {
    position: absolute;
    top: 16px;
    right: 22px;
    border: 0;
    background: transparent !important;
    color: #7B8487 !important;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}

.pp-measure-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.pp-measure-content[hidden] {
    display: none !important;
}

.pp-measure-login h2,
.pp-measure-form h2,
.pp-measure-thankyou h2 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 400;
}

.pp-measure-login p,
.pp-measure-form p,
.pp-measure-thankyou p {
    color: #7B8487;
    line-height: 1.5;
}

.pp-measure-login__btn,
.pp-measure-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 34px;
    border: 0;
    background: #343434;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12px;
	border-radius: 4px;
}

.pp-measure-submit {
	height: auto;
    min-width: 100%;
    margin-top: 16px;
    padding: 11px 20px;
}

.pp-measure-form label {
    display: block;
    margin-top: 16px;
    font-size: 12px;
}

.pp-measure-form input:not([type="checkbox"]),
.pp-measure-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d9dfe2;
    padding: 10px 0;
    outline: none;
    background: transparent;
}

.pp-measure-form textarea {
    min-height: 90px;
    resize: vertical;
}

.pp-measure-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.pp-measure-privacy {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #7B8487;
}

.pp-measure-error {
    margin: 10px 0 0;
    color: #cc2b2b;
}

.pp-measure-thankyou {
    width: 500px;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
}

.pp-measure-thankyou[hidden] {
    display: none !important;
}

.pp-tabs button:hover {
    color: #343434 !important;
}

.custom-product-personalize-wrap table.variations,
.custom-product-personalize-wrap .sf-size-guide {
    display: none;
}

.pp-simple-option .option-price ,.pp-simple-option .option-price .woocommerce-Price-amount, .pp-simple-option .option-price .woocommerce-Price-currencySymbol {
    color: #AE3A3A;
}

.pp-option-details__gallery img {
	width: calc(50% - 4px);
    max-height: 448px;
	object-fit: cover;
}

span.pp-option-details-wrap.has-single-image {
    width: 760px;
}

span.pp-option-details-wrap.has-single-image span.pp-option-details__text {
    width: 45%;
}

span.pp-option-details-wrap.has-single-image .pp-option-details__gallery img {
	width: 100%;
}

.pp-optional-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pp-optional-summary {
    color: #7b8487;
    font-size: 14px;
}

.pp-optional-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.pp-optional-option .pp-optional-tick {
    display: none;
}

.pp-optional-option.is-selected {
    border-color: #a13d3d;
}

.pp-optional-option.is-selected:not([data-is-none="1"]) .pp-optional-tick {
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
}

.pp-optional-price,
.pp-optional-price span {
    color: #a13d3d;
}

.pp-optional-option:hover, .pp-optional-option:focus{
    background: #f5f5f5!important;
}

.pp-review-summary > .pp-checkout-summary {
    padding-bottom: 20px;
}

@media (max-width: 991px) {
    .pp-option-details-wrap {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .pp-option-details__gallery {
        flex-wrap: nowrap;
        width: 100%;
    }

    .pp-option-details__text {
        width: 100% !important;
    }

    /*
     * iOS Safari: use the dynamic viewport so the popup follows the
     * actually visible screen when Safari's bars expand/collapse.
     */
    .pp-popup {
        top: 62px;
        height: calc(100vh - 62px);
        height: calc(100dvh - 62px);
        z-index: 99;
    }

    .pp-popup__inner {
        width: 100%;
        height: 100%;
        min-height: 0;
        margin: 0;
        overflow: hidden;
    }

    .pp-panels {
        height: auto;
    }

    /*
     * Let flexbox reserve space for the bottom CTA instead of using
     * fixed height subtraction values.
     */
    .pp-layout {
        grid-template-columns: 1fr;
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        align-content: start;
        -webkit-overflow-scrolling: touch;
    }

    .pp-sidebar {
        padding: 70px 10px 20px;
        overflow: visible;
    }

    .pp-main {
        padding: 10px;
    }

    .pp-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pp-bottom-bar.is-hidden,
    .pp-bottom-bar {
        grid-template-columns: 1fr;
        flex: 0 0 auto;
        padding: 10px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .pp-bottom-bar.is-hidden .last-step-buttons {
        padding: 0;
    }

    .is-checkout-summary-showing .pp-bottom-bar {
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .pp-bottom-bar .selected-color-variant,
    .pp-bottom-product .pp-bottom-product__content {
        display: none !important;
    }

    .pp-bottom-product {
        padding: 0;
    }

    .pp-next-btn {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    /*
     * Keep the personalization navigation permanently visible on
     * real iPhone Safari. Do not rely on z-index overlap with the
     * measurement modal; reserve an actual row for the tabs.
     */
    .pp-tabs {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 51px;
        margin: 0;
        padding: 0 10px;
        background: #FFF;
        z-index: 80;
        box-sizing: border-box;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .pp-summary-tags p:last-of-type {
        margin-bottom: 0;
    }

    .pp-tab {
        padding: 10px;
    }

    .pp-choice-options {
        padding-bottom: 16px;
    }

    .pp-cart-row {
        grid-template-columns: 1fr;
    }

    .pp-review-actions,
    .pp-measure-content,
    .pp-measure-form__row {
        grid-template-columns: 1fr;
    }

    /*
     * The measurement modal begins below the tab bar instead of
     * covering it. This avoids Safari/iOS stacking-context issues
     * where the tabs could disappear behind the modal.
     */
    .pp-measure-modal {
        top: 51px;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 10px;
        overflow: hidden;
    }

    .pp-measure-modal__box {
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
        height: 100%;
        max-height: 100%;
        min-height: 0;
        margin: 0;
        padding: 46px 20px calc(20px + env(safe-area-inset-bottom));
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767px) {
	#ppPopup input,
	#ppPopup textarea,
	#ppPopup select,
	#ppPopup .pp-additional-field__input,
	#ppPopup .wpforms-field input,
	#ppPopup .wpforms-field textarea,
	#ppPopup .wpforms-field select {
		font-size: 16px !important;
		line-height: 1.4;
	}
	.pp-simple-options {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}
/*PERSONALIZE PRODUCT END*/

/* Mobile */
@media screen and (min-width: 992px) {
	.custom-accordion-btn {
		display: none !important;
	}
	.custom-tab-panel {
		display: none !important;
	}
	.custom-tab-panel.active {
		display: block !important;
	}
}
@media screen and (max-width: 991px) {
    .custom-product-layout {
        display: block;
    }

    .custom-product-summary {
        position: static;
        padding-top: 28px;
    }

    .custom-product-tabs {
        margin-top: 48px;
    }

    .custom-tabs-nav {
        overflow-x: auto;
        gap: 28px;
        white-space: nowrap;
    }

    .custom-tab-btn {
        min-width: max-content;
    }
	
	.custom-product-gallery {
		height: 69vh;
	}
	
	.custom-product-gallery .owl-stage {
		display: flex;
		height: 100%;
	}
	
	.custom-product-gallery.owl-carousel .owl-stage-outer {
		overflow: visible;
	}
	
	.custom-product-gallery.owl-carousel .owl-stage-outer,
	.custom-product-image,
	.custom-product-image img {
		height: 100%;
	}
	
	body.single-product.one-container .site-content {
		overflow: hidden;
	}
	
	.custom-tabs-nav {
		display: none !important;
	}
	
	.custom-accordion-btn {
		color: #343434;
		font-weight: 500;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 0;
		border-bottom: 1px solid #EBF0F4;
	}
	
	.custom-tab-panel {
		padding: 16px 0;
		border-bottom: 1px solid #EBF0F4;
	}
	
	.custom-accordion-btn svg {
		transition: all 0.5s ease;
	}
	
	.custom-accordion-btn.active-heading-accordion svg {
		transform: rotate(-180deg);
	}
}

@media (max-width: 991px) {
	.single-product .custom-product-image img {
		height: auto;
		aspect-ratio: 316/351;
	}
	.custom-product-gallery {
		height: auto;
	}

    .pp-measure-thankyou {
        width: 100%;
    }
	
	.woocommerce-message {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
	}

    .woocommerce-message .button {
		display: inline-block!important;
		float: none!important;
		margin: 0 0 0 auto!important;
	}
}

@media (max-width: 603px) {
    /*
     * No fixed 110px / 310px subtraction and no artificial 60px
     * bottom padding. The flex layout and safe-area inset handle it.
     */
    .pp-layout,
    .is-last-step .pp-layout,
    .is-checkout-summary-showing .is-last-step .pp-layout {
        height: auto;
    }

    .pp-review-summary > .pp-checkout-summary {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
	.woocommerce-message .button {
		margin-left: 0 !important;
	}
}

.sf-size-guide {
    text-align: right;
    margin: -10px 0 24px;
}
a.sf-size-guide__link {
    color: #7B8487;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* Size selector */
.custom-product-summary table.variations select.sf-native-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.sf-variation-select {
	position: relative;
	width: 100%;
	font-size: 14px;
}

.sf-variation-select__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 39px;
	padding: 0 5px 0 0;
	border: 0;
	border-bottom: 1px solid #e2e2e2;
	background: #fff !important;
	color: #7b8487 !important;
	text-align: left;
	cursor: pointer;
}

.sf-variation-select__button::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.sf-variation-select__options {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	display: none;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid #e2e2e2;
	background: #fff;
	list-style: none;
	box-shadow: 0 8px 20px rgb(0 0 0 / 10%);
}

.sf-variation-select.is-open .sf-variation-select__options {
	display: block;
}

.sf-variation-select__option {
	display: block;
	width: 100%;
	padding: 10px 16px;
	border: 0;
	background: #fff;
	color: #343434;
	text-align: left;
	cursor: pointer;
}

.sf-variation-select__option:hover,
.sf-variation-select__option.is-selected {
	background: #5A6B9B;
	color: #fff;
}

.sf-variation-select__option:disabled {
	background: #f4f4f4;
	color: #aaa;
	cursor: not-allowed;
}

.pp-choice-required {
	display: none;
}

.sf-extra-variation-attribute__label {
	display: block;
	margin-bottom: 8px;
	color: #7d858c;
	font-size: 13px;
	font-weight: 400;
}

/* Keep WooCommerce select functional but visually hidden */
.sf-extra-variation-attribute__select.sf-native-select-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.sf-brand-select {
	position: relative;
	width: 100%;
}

.sf-brand-select__button {
	width: 100%;
	height: 46px;
	padding: 0 14px;

	display: flex;
	align-items: center;
	justify-content: space-between;

	border: 0 none;
	border-bottom: 1px solid #EBF0F4;
	border-radius: 0;

	background: transparent !important;
	color: #343434 !important;

	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 400;
	text-align: left;

	cursor: pointer;
}

.sf-brand-select__button::after {
	content: "";
	width: 7px;
	height: 7px;

	border-right: 1.5px solid #5A6B9B;
	border-bottom: 1.5px solid #5A6B9B;

	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease;
}

.sf-brand-select.is-open .sf-brand-select__button::after {
	transform: rotate(225deg) translate(-2px, -2px);
}

.sf-brand-select__button:hover,
.sf-brand-select__button:focus {
	outline: none;
	border-color: #5A6B9B;
}

.sf-brand-select__options {
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	z-index: 100;

	width: 100%;
	max-height: 260px;
	padding: 0;
	margin: 0;

	overflow-y: auto;

	border: 1px solid #5A6B9B;
	background: #fff;

	list-style: none;

	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);

	transition:
		opacity 0.15s ease,
		transform 0.15s ease,
		visibility 0.15s ease;
}

.sf-brand-select.is-open .sf-brand-select__options {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sf-brand-select__option {
	width: 100%;
	min-height: 40px;
	padding: 10px 14px;

	display: flex;
	align-items: center;

	border: 0;
	background: #fff;
	color: #343434;

	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 400;
	text-align: left;

	cursor: pointer;
}

.sf-brand-select__option:hover,
.sf-brand-select__option:focus {
	outline: none;
	background: rgba(90, 107, 155, 0.10);
	color: #343434;
}

.sf-brand-select__option.is-selected {
	background: #5A6B9B;
	color: #fff;
}

.sf-brand-select__option:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.woocommerce-notices-wrapper ul.woocommerce-error > li {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

.woocommerce-notices-wrapper ul.woocommerce-error a.button {
    float: none;
}

.woocommerce-variation-availability {
	display: none;
}