/* =========================================================
   KILTZONE PRODUCT PAGE
   Phase 4: Stack Savoy summary columns
   ========================================================= */

.kz-product-page .kz-product-summary {
	display: block;
}

/* Make both Savoy summary sections full width */
.kz-product-page .nm-product-summary-inner-col {
	float: none;
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

/* Product header section */
.kz-product-page .nm-product-summary-inner-col-1 {
	padding-right: 0;
	padding-left: 0;
}

/* Product customization and purchase section */
.kz-product-page .nm-product-summary-inner-col-2 {
	clear: both;
	padding-right: 0;
	padding-left: 0;
	margin-top: 28px;
}

/* =========================================================
   KILTZONE PRODUCT PAGE
   Phase 5: Product header
   ========================================================= */

.kz-product-page .nm-product-summary-inner-col-1 {
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(20, 20, 20, 0.12);
}

/* Product title */
.kz-product-page .product_title {
	max-width: 760px;
	margin: 0 0 16px;
	font-size: clamp(30px, 2.35vw, 44px);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: #171717;
}

/* Rating row */
.kz-product-page .woocommerce-product-rating {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
}

/* Review link */
.kz-product-page .woocommerce-review-link {
	font-size: 14px;
	line-height: 1.4;
	color: #656565;
	text-decoration: none;
}

.kz-product-page .woocommerce-review-link:hover {
	color: #171717;
}

/* Main price */
.kz-product-page .nm-product-summary-inner-col-1 > .price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	color: #171717;
}

/* Original price */
.kz-product-page .nm-product-summary-inner-col-1 > .price del {
	font-size: 17px;
	font-weight: 400;
	color: #8b8b8b;
	opacity: 1;
}

/* Sale price */
.kz-product-page .nm-product-summary-inner-col-1 > .price ins {
	font-weight: 600;
	color: #171717;
	text-decoration: none;
}

/* Purchase/customization area spacing */
.kz-product-page .nm-product-summary-inner-col-2 {
	margin-top: 30px;
}

/* Mobile */
@media screen and (max-width: 767px) {
	.kz-product-page .nm-product-summary-inner-col-1 {
		padding-bottom: 22px;
	}

	.kz-product-page .product_title {
		margin-bottom: 14px;
		font-size: clamp(27px, 8vw, 36px);
	}

	.kz-product-page .nm-product-summary-inner-col-1 > .price {
		font-size: 22px;
	}
}

.kz-number-wrapper{
    position:relative;
    margin-top:10px;
}

.kz-number-input{

    width:100%;
    height:56px;

    border:2px solid #d9d9d9;
    border-radius:10px;

    padding:0 55px 0 18px;

    font-size:18px;
    font-weight:600;

    transition:.2s;
    background:#fff;

    box-sizing:border-box;
}

.kz-number-input:focus{

    outline:none;

    border-color:#1b4d8b;

    box-shadow:0 0 0 4px rgba(27,77,139,.12);

}

.kz-unit{

    position:absolute;

    right:18px;
    top:50%;

    transform:translateY(-50%);

    font-size:14px;
    font-weight:700;
    color:#666;

    pointer-events:none;

}

.kz-number-range{

    margin-top:8px;

    font-size:12px;
    color:#777;

}

.kz-original-measurement-select {
    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;
}

.kz-measurement-control {
    width: 100%;
}

.kz-number-wrapper {
    position: relative;
}

.kz-number-input {
    width: 100%;
    min-height: 54px;
    padding: 0 54px 0 16px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 17px;
    font-weight: 600;
    box-sizing: border-box;
}

.kz-number-input:focus {
    border-color: #222;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.kz-unit {
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    color: #666;
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
}

.kz-number-range {
    margin-top: 7px;
    color: #777;
    font-size: 12px;
}

.kz-measurement-error {
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
}

/* =========================================================
   Hidden original TM EPO fields
   ========================================================= */

.kz-original-option-select {
    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;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   Optional add-on buttons
   ========================================================= */

.kz-addon-control {
    width: 100%;
}

.kz-addon-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 76px;
    padding: 15px 17px;
    border: 1px solid #d8d8d8;
    border-radius: 9px;
    background: #fff;
    color: #222;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.kz-addon-toggle:hover {
    border-color: #222;
}

.kz-addon-toggle:focus-visible {
    outline: none;
    border-color: #222;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.09);
}

.kz-addon-toggle.is-selected {
    border-color: #1f1f1f;
    background: #f5f5f2;
    box-shadow: inset 0 0 0 1px #1f1f1f;
}

.kz-addon-check {
    display: flex;
    flex: 0 0 25px;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin-right: 13px;
    border: 1.5px solid #bcbcbc;
    border-radius: 50%;
    background: #fff;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.kz-addon-check svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform: scale(0.7);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.kz-addon-toggle.is-selected .kz-addon-check {
    border-color: #222;
    background: #222;
}

.kz-addon-toggle.is-selected .kz-addon-check svg {
    opacity: 1;
    transform: scale(1);
}

.kz-addon-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.kz-addon-title {
    color: #222;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.kz-addon-description {
    display: block;
    margin-top: 4px;
    color: #737373;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.kz-addon-price {
    flex: 0 0 auto;
    margin-left: 14px;
    color: #222;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   Small option button groups
   ========================================================= */

.kz-choice-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
}

.kz-choice-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 66px;
    padding: 10px 8px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #222;
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.kz-choice-button:hover {
    border-color: #222;
}

.kz-choice-button:focus-visible {
    outline: none;
    border-color: #222;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.09);
}

.kz-choice-button.is-selected {
    border-color: #222;
    background: #f5f5f2;
    box-shadow: inset 0 0 0 1px #222;
}

.kz-choice-main {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.kz-choice-secondary {
    display: block;
    margin-top: 3px;
    color: #767676;
    font-size: 11px;
    line-height: 1.25;
}

.kz-choice-price {
    display: block;
    margin-top: 4px;
    color: #333;
    font-size: 11px;
    font-weight: 700;
}

.kz-choice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 2px 6px;
    border-radius: 20px;
    background: #222;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* =========================================================
   TM EPO validation cleanup
   ========================================================= */

.tc-element-inner-wrap:has(.kz-addon-control) > .tc-row > label.tm-error,
.tc-element-inner-wrap:has(.kz-choice-buttons) > .tc-row > label.tm-error {
    display: none;
}


/* =========================================================
   Responsive adjustments
   ========================================================= */

@media (max-width: 767px) {

    .kz-choice-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kz-addon-toggle {
        min-height: 72px;
        padding: 14px;
    }

    .kz-addon-price {
        margin-left: 9px;
    }
}

/* =========================================================
   Measurement number inputs
   ========================================================= */

.kz-original-measurement-select {
    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;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.kz-measurement-control {
    width: 100%;
}

.kz-measurement-input-wrap {
    position: relative;
    width: 100%;
}

.kz-measurement-input {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 58px 0 16px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 54px;
    appearance: textfield;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.kz-measurement-input::-webkit-inner-spin-button,
.kz-measurement-input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.kz-measurement-input:hover {
    border-color: #999;
}

.kz-measurement-input:focus {
    outline: none;
    border-color: #222;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.kz-measurement-input.is-invalid {
    border-color: #b3261e;
}

.kz-measurement-unit {
    position: absolute;
    top: 50%;
    right: 17px;
    color: #737373;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.kz-measurement-feedback {
    min-height: 18px;
    margin-top: 5px;
    color: #737373;
    font-size: 11px;
    line-height: 1.4;
}

.kz-measurement-input.is-invalid + .kz-measurement-unit {
    color: #b3261e;
}

.kz-measurement-input.is-invalid
    ~ .kz-measurement-feedback {
    color: #b3261e;
}

/* =========================================================
   Product configurator structure
   ========================================================= */

.kz-product-configurator {
    width: 100%;
}

.kz-product-configurator,
.kz-product-configurator * {
    box-sizing: border-box;
}


/* =========================================================
   Configuration section headings
   ========================================================= */

.kz-config-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    margin: 34px 0 20px;
    padding-top: 30px;
    border-top: 1px solid #dedede;
}

.kz-config-section-heading:first-child {
    margin-top: 5px;
    padding-top: 0;
    border-top: 0;
}

.kz-config-section-eyebrow {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1f1f1f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
}

.kz-config-section-heading-content {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 1px;
}

.kz-config-section-title {
    margin: 0;
    color: #202020;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.kz-config-section-description {
    max-width: 520px;
    margin: 5px 0 0;
    color: #747474;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
   Individual configuration fields
   ========================================================= */

.kz-config-field {
    position: relative;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
}

.kz-config-field > .tc-row {
    display: block;
    width: 100%;
}

.kz-config-field .tc-epo-label {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 0 9px;
    padding: 0;
    color: #282828;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.kz-config-field .tc-epo-element-label-text {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.kz-field-label-main {
    color: #282828;
    font-size: 13px;
    font-weight: 600;
}

.kz-field-optional {
    display: inline-flex;
    align-items: center;
    min-height: 19px;
    padding: 2px 7px;
    border-radius: 20px;
    background: #e8e8e5;
    color: #777;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kz-config-field .tm-epo-required {
    order: 2;
    margin: 0 0 0 5px;
    color: #a8483f;
    font-size: 12px;
    font-weight: 700;
}

.kz-config-field .tc-element-container {
    display: block;
    width: 100%;
}

.kz-config-field .tmcp-ul-wrap,
.kz-config-field .tmcp-field-wrap,
.kz-config-field .tmcp-field-wrap-inner,
.kz-config-field .tc-field-label-wrap,
.kz-config-field .tm-epo-field-label {
    width: 100%;
}


/* Remove unnecessary TM EPO spacing */

.kz-config-field .tmcp-ul-wrap,
.kz-config-field .tmcp-field-wrap {
    margin: 0;
    padding: 0;
}

.kz-config-field .tmcp-field-wrap {
    list-style: none;
}


/* =========================================================
   Measurement group
   ========================================================= */

.kz-config-field--measurements
.kz-measurement-input-wrap {
    background: #fff;
}

.kz-config-field--measurements
.kz-measurement-feedback:empty {
    display: none;
}

.kz-config-field--measurements
.kz-measurement-feedback:not(:empty) {
    display: block;
}


/* =========================================================
   Customization controls
   ========================================================= */

.kz-config-field--customization
.kz-addon-toggle,
.kz-config-field--customization
.kz-choice-button {
    background-color: #fff;
}

.kz-config-field--customization
.kz-addon-toggle.is-selected,
.kz-config-field--customization
.kz-choice-button.is-selected {
    background-color: #f3f3f0;
}


/* =========================================================
   Additional requirements
   ========================================================= */

.kz-config-field--additional textarea,
.kz-config-field--additional input[type="text"] {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font: inherit;
    line-height: 1.5;
    resize: vertical;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.kz-config-field--additional textarea {
    min-height: 110px;
}

.kz-config-field--additional textarea:focus,
.kz-config-field--additional input[type="text"]:focus {
    outline: none;
    border-color: #222;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   Generic unclassified fields
   ========================================================= */

.kz-config-field--other {
    margin-bottom: 20px;
}


/* =========================================================
   Validation messages
   ========================================================= */

.kz-config-field label.tm-error {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    color: #a52f28;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.kz-config-field:has(.kz-addon-control)
label.tm-error,
.kz-config-field:has(.kz-choice-buttons)
label.tm-error {
    display: none;
}


/* =========================================================
   Desktop spacing
   ========================================================= */

@media (min-width: 768px) {

    .kz-config-section-heading {
        margin-top: 40px;
        padding-top: 34px;
    }

    .kz-config-field {
        margin-bottom: 23px;
    }
}


/* =========================================================
   Mobile layout
   ========================================================= */

@media (max-width: 767px) {

    .kz-config-section-heading {
        gap: 11px;
        margin: 29px 0 17px;
        padding-top: 25px;
    }

    .kz-config-section-eyebrow {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .kz-config-section-title {
        font-size: 16px;
    }

    .kz-config-section-description {
        margin-top: 4px;
        font-size: 11px;
    }

    .kz-config-field {
        margin-bottom: 18px;
    }
}

/* =========================================================
   Purchase card
   ========================================================= */

.kz-purchase-card {
    width: 100%;
    margin: 34px 0 0;
    padding: 24px;
    border: 1px solid #deded9;
    border-radius: 12px;
    background: #f8f8f5;
    box-sizing: border-box;
}

.kz-purchase-card,
.kz-purchase-card * {
    box-sizing: border-box;
}


/* Header */

.kz-purchase-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 21px;
}

.kz-purchase-eyebrow {
    display: block;
    margin: 0 0 5px;
    color: #777;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.kz-purchase-title {
    margin: 0;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.kz-purchase-live-indicator {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 25px;
    padding: 5px 9px;
    border-radius: 20px;
    background: #e7eee4;
    color: #355330;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kz-purchase-live-indicator::before {
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}


/* Pricing */

.kz-purchase-pricing {
    padding: 16px 0;
    border-top: 1px solid #deded9;
    border-bottom: 1px solid #deded9;
}

.kz-purchase-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.kz-purchase-options-row {
    margin-bottom: 11px;
}

.kz-purchase-options-row.is-hidden {
    display: none;
}

.kz-purchase-price-label {
    color: #686868;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.kz-purchase-options-value {
    color: #555;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.kz-purchase-total-row .kz-purchase-price-label {
    color: #222;
    font-size: 14px;
    font-weight: 700;
}

.kz-purchase-total-value {
    color: #222;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.kz-purchase-options-value .price,
.kz-purchase-total-value .price {
    color: inherit;
    font: inherit;
}

.kz-purchase-options-value .amount,
.kz-purchase-total-value .amount {
    color: inherit;
    font: inherit;
}


/* Actions */

.kz-purchase-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: 20px;
}

.kz-purchase-actions .nm-quantity-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    margin: 0;
    gap: 7px;
}

.kz-purchase-actions .nm-quantity-wrap > label {
    display: block;
    margin: 0 0 7px;
    color: #555;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.kz-purchase-actions .nm-qty-label-abbrev {
    display: none !important;
}

.kz-purchase-actions .quantity {
    display: flex;
    align-items: center;
    width: 112px;
    height: 50px;
    border: 1px solid #d2d2ce;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
}

.kz-purchase-actions .quantity .qty {
    flex: 1 1 auto;
    width: 38px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    line-height: 48px;
    text-align: center;
    appearance: textfield;
    box-shadow: none;
}

.kz-purchase-actions .quantity .qty::-webkit-inner-spin-button,
.kz-purchase-actions .quantity .qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.kz-purchase-actions .nm-qty-minus,
.kz-purchase-actions .nm-qty-plus {
    display: flex;
    flex: 0 0 35px;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 48px;
    color: #444;
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        color 0.18s ease;
}

.kz-purchase-actions .nm-qty-minus:hover,
.kz-purchase-actions .nm-qty-plus:hover {
    background: #f1f1ee;
    color: #000;
}

.kz-purchase-actions .single_add_to_cart_button {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 13px 22px;
    border: 1px solid #202020;
    border-radius: 7px;
    background: #202020;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.kz-purchase-actions .single_add_to_cart_button:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

.kz-purchase-actions .single_add_to_cart_button:active {
    transform: translateY(1px);
}

.kz-purchase-actions .single_add_to_cart_button.disabled,
.kz-purchase-actions .single_add_to_cart_button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}


/* Notes */

.kz-purchase-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 17px;
}

.kz-purchase-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #686868;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.kz-purchase-note-icon {
    display: inline-flex;
    flex: 0 0 15px;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
}

.kz-purchase-note-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Hide the original totals visually after mirroring them */

.kz-purchase-enhanced .kz-original-totals {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}


/* Mobile */

@media (max-width: 767px) {

    .kz-purchase-card {
        margin-top: 28px;
        padding: 19px;
        border-radius: 10px;
    }

    .kz-purchase-card-header {
        gap: 12px;
        margin-bottom: 17px;
    }

    .kz-purchase-title {
        font-size: 16px;
    }

    .kz-purchase-live-indicator {
        min-height: 22px;
        padding: 4px 7px;
        font-size: 8px;
    }

    .kz-purchase-total-value {
        font-size: 22px;
    }

    .kz-purchase-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .kz-purchase-actions .nm-quantity-wrap {
        width: 100%;
    }

    .kz-purchase-actions .quantity {
        width: 100%;
    }

    .kz-purchase-actions .quantity .qty {
        width: auto;
    }

    .kz-purchase-actions .nm-qty-minus,
    .kz-purchase-actions .nm-qty-plus {
        flex-basis: 45px;
        width: 45px;
    }

    .kz-purchase-notes {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Fix quantity label spacing across product types */

.kz-purchase-actions .nm-quantity-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.kz-purchase-actions .nm-quantity-wrap > label {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    color: #555;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.kz-purchase-actions .nm-quantity-wrap .quantity {
    margin: 0 !important;
}

.kz-purchase-actions .nm-quantity-wrap .nm-qty-label-abbrev {
    display: none !important;
}

/* =========================================================
   Sticky mobile cart
   ========================================================= */

.kz-sticky-cart {

    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

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

    gap: 16px;

    padding:
        14px
        18px
        calc(14px + env(safe-area-inset-bottom));

    background: #fff;

    border-top: 1px solid #e4e4df;

    box-shadow:
        0 -8px 30px rgba(0,0,0,.08);

    transform: translateY(120%);

    transition:
        transform .28s ease;

    z-index: 9999;

}

.kz-sticky-cart.is-visible {

    transform: translateY(0);

}

.kz-sticky-cart-price {

    font-size: 24px;
    font-weight: 700;

    color: #222;

    line-height: 1;

}

.kz-sticky-cart-price .price,
.kz-sticky-cart-price .amount {

    font: inherit;
    color: inherit;

}

.kz-sticky-cart-button {

    flex: 0 0 auto;

    min-width: 170px;

    height: 48px;

    padding: 0 22px;

    border: 0;

    border-radius: 6px;

    background: #202020;

    color: #fff;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .06em;

}

.kz-sticky-cart-button.is-disabled {

    opacity: .45;

    cursor: not-allowed;

}


/* =========================================================
   KiltZone Product Page Refinement
   Blue, black and white brand direction
   ========================================================= */

.single-product {
    --kz-blue: #123f73;
    --kz-blue-dark: #0a294b;
    --kz-blue-soft: #edf4fb;

    --kz-black: #151515;
    --kz-charcoal: #292929;
    --kz-grey: #6c7075;

    --kz-page-bg: #f5f6f7;
    --kz-surface: #ffffff;
    --kz-surface-soft: #f8f9fa;

    --kz-border: #dfe3e7;
    --kz-border-dark: #c9cfd5;

    --kz-shadow-small:
        0 2px 8px rgba(14, 31, 48, 0.05);

    --kz-shadow-card:
        0 12px 35px rgba(14, 31, 48, 0.09);

    --kz-shadow-gallery:
        0 18px 50px rgba(14, 31, 48, 0.12);
}


/* =========================================================
   Overall product layout
   ========================================================= */

.single-product .nm-single-product-bg {
    background: var(--kz-page-bg);
}

.single-product .nm-single-product {
    padding-top: 25px;
}

.single-product .product-summary {
    align-items: flex-start;
}

.single-product .summary {
    color: var(--kz-black);
}

.single-product .summary .product_title {
    margin-bottom: 10px;
    color: var(--kz-black);
    font-weight: 750;
    letter-spacing: -0.035em;
}

.single-product .summary > .price {
    margin-bottom: 14px;
    color: var(--kz-blue);
    font-weight: 750;
}

.single-product .summary .woocommerce-product-rating {
    margin-bottom: 12px;
}


/* =========================================================
   Section headings
   ========================================================= */

.single-product .kz-config-section-heading {
    gap: 12px;
    margin: 20px 0 9px;
}

.single-product .kz-config-section-heading:first-child {
    margin-top: 16px;
}

.single-product .kz-config-section-eyebrow {
    flex-basis: 34px;
    width: 34px;
    height: 34px;

    border: 0;
    background: var(--kz-blue);
    color: #fff;

    font-size: 9px;
    box-shadow:
        0 5px 14px rgba(18, 63, 115, 0.18);
}

.single-product .kz-config-section-title {
    color: var(--kz-black);
    font-size: 17px;
    font-weight: 750;
}

.single-product .kz-config-section-description {
    max-width: 560px;
    color: var(--kz-grey);
    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   Tighter configurator
   ========================================================= */

.single-product .kz-product-configurator {
    margin-top: 18px;
}

.single-product .kz-config-field {
    margin-bottom: 7px;
    padding: 13px 14px;

    border-color: var(--kz-border);
    border-radius: 10px;

    background: #fff;
    box-shadow: var(--kz-shadow-small);
}

.single-product .kz-config-field:hover {
    border-color: #c8d2dc;
    box-shadow:
        0 7px 20px rgba(14, 31, 48, 0.075);
    transform: none;
}

.single-product .kz-config-field:focus-within {
    border-color: var(--kz-blue);
    box-shadow:
        0 0 0 3px rgba(18, 63, 115, 0.08),
        var(--kz-shadow-small);
}

.single-product .kz-config-field >
.tc-row >
.tc-epo-label.tm-epo-element-label {
    margin-bottom: 8px;
}

.single-product .kz-field-label-main {
    color: var(--kz-black);
    font-size: 12px;
    font-weight: 700;
}

.single-product .kz-field-optional {
    background: #eef0f2;
    color: #62676c;
}


/* =========================================================
   Choice buttons
   ========================================================= */

.single-product .kz-choice-buttons {
    gap: 6px;
}

.single-product .kz-choice-button {
    min-height: 50px;
    padding: 8px 7px;

    border-color: var(--kz-border);
    border-radius: 7px;

    background: var(--kz-surface-soft);
    color: var(--kz-black);
}

.single-product .kz-choice-button:hover {
    border-color: var(--kz-blue);
    background: #fff;
}

.single-product .kz-choice-button.is-selected {
    border-color: var(--kz-blue);
    background: var(--kz-blue-soft);
    color: var(--kz-blue-dark);

    box-shadow:
        0 4px 13px rgba(18, 63, 115, 0.12);
}

.single-product .kz-choice-button.is-selected::after {
    background: var(--kz-blue);
}

.single-product .kz-choice-price {
    color: var(--kz-blue);
}

.single-product .kz-choice-badge {
    background: var(--kz-blue);
    color: #fff;
}


/* =========================================================
   Add-on controls
   ========================================================= */

.single-product .kz-addon-toggle {
    min-height: 56px;
    padding: 10px 11px;

    border-color: var(--kz-border);
    border-radius: 7px;

    background: var(--kz-surface-soft);
}

.single-product .kz-addon-toggle:hover {
    border-color: var(--kz-blue);
    background: #fff;
}

.single-product .kz-addon-toggle.is-selected {
    border-color: var(--kz-blue);
    background: var(--kz-blue-soft);

    box-shadow:
        0 4px 13px rgba(18, 63, 115, 0.12);
}

.single-product .kz-addon-toggle.is-selected .kz-addon-check {
    border-color: var(--kz-blue);
    background: var(--kz-blue);
}

.single-product .kz-addon-title {
    font-size: 11px;
}

.single-product .kz-addon-description {
    font-size: 9px;
    line-height: 1.35;
}

.single-product .kz-addon-price {
    color: var(--kz-blue);
}


/* =========================================================
   Measurement inputs
   ========================================================= */

.single-product .kz-measurement-input-wrap {
    height: 43px;
    border-color: var(--kz-border-dark);
    border-radius: 7px;
}

.single-product .kz-measurement-input-wrap:focus-within {
    border-color: var(--kz-blue);
    box-shadow:
        0 0 0 3px rgba(18, 63, 115, 0.08);
}

.single-product .kz-measurement-input {
    height: 41px;
    line-height: 41px;
}

.single-product .kz-measurement-feedback {
    color: var(--kz-blue);
}


/* =========================================================
   Additional requirements
   ========================================================= */

.single-product .kz-config-field--additional textarea.tmcp-textarea {
    min-height: 90px;
    padding: 11px 12px;
    border-radius: 7px;
}

.single-product .kz-config-field--additional textarea.tmcp-textarea:focus {
    border-color: var(--kz-blue);
    box-shadow:
        0 0 0 3px rgba(18, 63, 115, 0.08);
}


/* =========================================================
   Remove empty divider sections
   ========================================================= */

.single-product .kz-config-field .hr_divider {
    display: none !important;
}

/*
 * Modern-browser solution:
 * remove any field card that contains only a divider.
 */

.single-product .kz-config-field:has(.hr_divider)
:not(:has(input))
:not(:has(select))
:not(:has(textarea))
:not(:has(button))
:not(:has(.kz-addon-control))
:not(:has(.kz-choice-buttons))
:not(:has(.kz-measurement-control)) {
    display: none !important;
}


/* Also suppress empty TM EPO structural rows */

.single-product .tc-container:has(> .tc-row:empty),
.single-product .tc-row:has(> .hr_divider:only-child),
.single-product .cpf-section:has(.hr_divider):not(:has(input)):not(:has(select)):not(:has(textarea)) {
    display: none !important;
}


/* =========================================================
   Purchase card
   ========================================================= */

.single-product .kz-purchase-card {
    margin-top: 13px;
    padding: 17px;

    border: 1px solid #cad5df;
    border-top: 4px solid var(--kz-blue);
    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 12px 30px rgba(14, 31, 48, 0.10);
}

.single-product .kz-purchase-card-header {
    margin-bottom: 12px;
}

.single-product .kz-purchase-eyebrow,
.single-product .kz-purchase-live-indicator {
    color: var(--kz-blue);
}

.single-product .kz-purchase-live-indicator {
    border-color: #d6e2ed;
    background: var(--kz-blue-soft);
}

.single-product .kz-purchase-title {
    color: var(--kz-black);
}

.single-product .kz-purchase-pricing {
    padding: 11px 0;
}

.single-product .kz-purchase-total-value {
    color: var(--kz-blue);
}

.single-product .kz-purchase-actions {
    margin-top: 12px;
}

.single-product .kz-purchase-actions .single_add_to_cart_button {
    border-color: var(--kz-black);
    background: var(--kz-black);

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.17);
}

.single-product .kz-purchase-actions .single_add_to_cart_button:hover {
    border-color: var(--kz-blue);
    background: var(--kz-blue);

    box-shadow:
        0 8px 22px rgba(18, 63, 115, 0.23);
}


/* =========================================================
   Sticky cart: mobile and desktop
   ========================================================= */

.kz-sticky-cart {
    border-top: 3px solid var(--kz-blue, #123f73);
}

.kz-sticky-cart-price {
    color: var(--kz-blue, #123f73);
}

.kz-sticky-cart-button {
    background: var(--kz-black, #151515);
}

.kz-sticky-cart-button:hover {
    background: var(--kz-blue, #123f73);
}


/*
 * Replace the previous desktop rule that completely hides
 * the sticky cart.
 */

@media (min-width: 768px) {

    .kz-sticky-cart {
        right: 25px;
        bottom: 24px;
        left: auto;

        width: min(440px, calc(100vw - 50px));

        padding: 12px;

        border: 1px solid #d9dfe5;
        border-top: 3px solid var(--kz-blue, #123f73);
        border-radius: 12px;

        background: rgba(255, 255, 255, 0.97);

        box-shadow:
            0 16px 45px rgba(10, 25, 40, 0.18);

        backdrop-filter: blur(12px);
    }

    .kz-sticky-cart-price {
        padding-left: 5px;
        font-size: 22px;
    }

    .kz-sticky-cart-button {
        min-width: 185px;
        height: 46px;
        border-radius: 7px;
    }
}


/* =========================================================
   Desktop balance
   ========================================================= */

@media (min-width: 992px) {

    .single-product .kz-choice-buttons {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}


/* =========================================================
   Mobile gallery and spacing
   ========================================================= */

@media (max-width: 767px) {

    .single-product .nm-single-product {
        padding-top: 12px;
    }

    .single-product .woocommerce-product-gallery {
        margin-right: -3px;
        margin-left: -3px;
        padding: 8px;

        border-radius: 13px;

        box-shadow:
            0 10px 30px rgba(14, 31, 48, 0.10);
    }

    .single-product .woocommerce-product-gallery__wrapper,
    .single-product .woocommerce-product-gallery__image {
        border-radius: 9px;
    }

    .single-product .woocommerce-product-gallery::before {
        top: 17px;
        left: 17px;
    }

    .single-product .woocommerce-product-gallery__trigger {
        top: 17px !important;
        right: 17px !important;

        width: 36px !important;
        height: 36px !important;
    }

    .single-product .flex-control-thumbs,
    .single-product .nm-product-thumbnails {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        margin-top: 8px;
    }

    .single-product .kz-config-section-heading {
        margin-top: 17px;
    }

    .single-product .kz-config-field {
        padding: 12px;
    }

    .single-product .kz-purchase-card {
        padding: 15px;
    }
}


@media (min-width: 768px) {

    body.single-product .kz-sticky-cart {
        display: flex !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(25px);
    }

    body.single-product .kz-sticky-cart.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

}

/* =========================================================
   KILTZONE PRODUCT GALLERY
   Clean final version
   ========================================================= */

/*
 * The outer gallery is a Savoy layout column.
 * Keep it transparent and do not control its width.
 */

body.single-product .woocommerce-product-gallery {
    position: relative !important;
    align-self: flex-start !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    overflow: visible !important;
}


/* Prevent the left product column from visually stretching */

body.single-product .nm-product-gallery-col,
body.single-product .nm-product-images-col,
body.single-product .images {
    align-self: flex-start !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    background: transparent !important;
}


/* Main media shell */

body.single-product
.woocommerce-product-gallery
.woocommerce-product-gallery__wrapper {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: 1 / 1;

    margin: 0 !important;
    padding: 14px !important;

    border: 1px solid #dfe3e7 !important;
    border-radius: 18px !important;

    background: #fff !important;

    box-shadow:
        0 18px 50px rgba(14, 31, 48, 0.12) !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
}


/* Each gallery slide fills only the square media shell */

body.single-product
.woocommerce-product-gallery
.woocommerce-product-gallery__image {
    position: absolute !important;
    inset: 14px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 13px !important;
    background: #fff !important;

    overflow: hidden !important;
}


/*
 * Savoy/FlexSlider controls which slide is displayed.
 * Non-active slides must remain hidden.
 */

body.single-product
.woocommerce-product-gallery
.woocommerce-product-gallery__image:not(.flex-active-slide):not(:first-child) {
    visibility: hidden;
}


/* Image link fills the media shell */

body.single-product
.woocommerce-product-gallery
.woocommerce-product-gallery__image > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
}


/* Keep the product image proportional */

body.single-product
.woocommerce-product-gallery
.woocommerce-product-gallery__image img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: 100% !important;

    margin: auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    transform: none !important;
}


/* No image zoom animation */

body.single-product
.woocommerce-product-gallery
.woocommerce-product-gallery__image:hover img {
    transform: none !important;
}


/* =========================================================
   Horizontal thumbnail row
   ========================================================= */

body.single-product
.woocommerce-product-gallery
.nm-product-thumbnails-wrapper {
    position: static !important;
    inset: auto !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 10px 0 0 !important;
    padding: 9px !important;

    border: 1px solid #dfe3e7 !important;
    border-radius: 12px !important;

    background: #fff !important;

    box-shadow:
        0 8px 24px rgba(14, 31, 48, 0.07) !important;

    box-sizing: border-box !important;

    transform: none !important;
    overflow: hidden !important;
}


body.single-product
.woocommerce-product-gallery
.nm-product-thumbnails-inner {
    position: static !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}


body.single-product
.woocommerce-product-gallery
.nm-product-thumbnails,
body.single-product
.woocommerce-product-gallery
.flex-control-thumbs {
    position: static !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;

    gap: 8px;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 1px !important;

    list-style: none !important;
    background: transparent !important;

    box-sizing: border-box !important;
    transform: none !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}


/* Thumbnail item */

body.single-product
.woocommerce-product-gallery
.nm-product-thumbnails li,
body.single-product
.woocommerce-product-gallery
.flex-control-thumbs li {
    display: block !important;

    flex: 0 0 72px !important;

    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;

    margin: 0 !important;
    padding: 0 !important;

    scroll-snap-align: start;
}


/* Thumbnail image */

body.single-product
.woocommerce-product-gallery
.nm-product-thumbnails img,
body.single-product
.woocommerce-product-gallery
.flex-control-thumbs img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 4px !important;

    border: 1px solid #dfe3e7 !important;
    border-radius: 8px !important;

    background: #fff !important;

    object-fit: contain !important;
    object-position: center center !important;

    box-sizing: border-box !important;

    cursor: pointer;
    opacity: 0.72;
}


body.single-product
.woocommerce-product-gallery
.nm-product-thumbnails img:hover,
body.single-product
.woocommerce-product-gallery
.flex-control-thumbs img:hover {
    border-color: #123f73 !important;
    opacity: 1;
}


body.single-product
.woocommerce-product-gallery
.nm-product-thumbnails .selected img,
body.single-product
.woocommerce-product-gallery
.nm-product-thumbnails .active img,
body.single-product
.woocommerce-product-gallery
.flex-control-thumbs img.flex-active {
    border-color: #123f73 !important;

    box-shadow:
        0 0 0 2px rgba(18, 63, 115, 0.14) !important;

    opacity: 1;
}


/* Hide the obsolete vertical rail */

body.single-product .nm-product-thumbnails-col {
    display: none !important;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__wrapper {
        aspect-ratio: 1 / 1;
        padding: 8px !important;
        border-radius: 13px !important;
    }

    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__image {
        inset: 8px !important;
        border-radius: 9px !important;
    }

    body.single-product
    .woocommerce-product-gallery
    .nm-product-thumbnails-wrapper {
        margin-top: 8px !important;
        padding: 7px !important;
        border-radius: 10px !important;
    }

    body.single-product
    .woocommerce-product-gallery
    .nm-product-thumbnails,
    body.single-product
    .woocommerce-product-gallery
    .flex-control-thumbs {
        gap: 6px;
    }

    body.single-product
    .woocommerce-product-gallery
    .nm-product-thumbnails li,
    body.single-product
    .woocommerce-product-gallery
    .flex-control-thumbs li {
        flex-basis: 58px !important;

        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        height: 58px !important;
    }

}

/* =========================================================
   Mobile color swatch one-tap selection
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    /* Stop the tooltip image from consuming the first tap */
    .single-product .tm-variation-ul-image .tm-tooltip {
        pointer-events: none !important;
    }

    /* Make the complete swatch label the tap target */
    .single-product .tm-variation-ul-image .tm-epo-field-label {
        position: relative;
        display: block;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .single-product .tm-variation-ul-image .tmcp-field-wrap {
        cursor: pointer;
        touch-action: manipulation;
    }

    /* Prevent tooltip overlays from intercepting taps */
    .single-product .tc-tooltip,
    .single-product .tm-tooltip-html,
    .single-product .tm-tooltip-container,
    .single-product .qtip,
    .single-product .qtip-default {
        pointer-events: none !important;
    }
}

/* =========================================================
   Product gallery percentage sale badge
   ========================================================= */

body.single-product .woocommerce-product-gallery {
    position: relative !important;
}


/* Circular discount badge */

body.single-product
.woocommerce-product-gallery
.onsale.kz-sale-percentage {
    position: absolute !important;
    z-index: 20 !important;

    top: 18px !important;
    left: 18px !important;
    right: auto !important;
    bottom: auto !important;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 3px solid #fff !important;
    border-radius: 50% !important;

    background: var(--kz-blue, #123f73) !important;
    color: #fff !important;

    line-height: 1 !important;
    text-align: center !important;

    box-shadow:
        0 8px 22px rgba(10, 41, 75, 0.28) !important;

    transform: none !important;
}


/* Percentage number */

body.single-product
.woocommerce-product-gallery
.kz-sale-percentage-value {
    display: block;

    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}


/* OFF text */

body.single-product
.woocommerce-product-gallery
.kz-sale-percentage-label {
    display: block;

    margin-top: 4px;

    color: rgba(255, 255, 255, 0.9);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}


/* Prevent theme pseudo-elements from adding extra text */

body.single-product
.woocommerce-product-gallery
.onsale.kz-sale-percentage::before,
body.single-product
.woocommerce-product-gallery
.onsale.kz-sale-percentage::after {
    display: none !important;
    content: none !important;
}


/* Mobile badge */

@media (max-width: 767px) {

    body.single-product
    .woocommerce-product-gallery
    .onsale.kz-sale-percentage {
        top: 12px !important;
        left: 12px !important;

        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;

        border-width: 2px !important;
    }

    body.single-product
    .woocommerce-product-gallery
    .kz-sale-percentage-value {
        font-size: 18px;
    }

    body.single-product
    .woocommerce-product-gallery
    .kz-sale-percentage-label {
        margin-top: 3px;
        font-size: 8px;
    }

}

/* =========================================================
   KILTZONE PRODUCT TABS
   Description, additional information and reviews
   ========================================================= */

body.single-product .woocommerce-tabs {
    width: 100%;
    max-width: 1320px;

    margin: 56px auto 0;
    padding: 0 20px;

    box-sizing: border-box;
}


/* Remove legacy Savoy tab styling */

body.single-product .woocommerce-tabs::before,
body.single-product .woocommerce-tabs::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   Tab navigation
   ========================================================= */

body.single-product .woocommerce-tabs ul.tabs {
    position: relative;

    display: flex;
    align-items: stretch;
    gap: 8px;

    width: 100%;

    margin: 0;
    padding: 8px;

    border: 1px solid var(--kz-border, #dfe3e7);
    border-radius: 14px;

    background: #eef1f4;

    list-style: none;
    box-sizing: border-box;
}


/* Remove WooCommerce decorative tab edges */

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
    content: none !important;
}


/* Individual tab */

body.single-product .woocommerce-tabs ul.tabs li {
    position: relative;

    display: block;
    flex: 1 1 0;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 9px !important;

    background: transparent !important;

    box-shadow: none !important;
}


/* Tab link */

body.single-product .woocommerce-tabs ul.tabs li a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;

    padding: 12px 18px;

    border: 1px solid transparent;
    border-radius: 9px;

    color: #555b61;

    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.055em;

    box-sizing: border-box;

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


body.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--kz-blue, #123f73);
    background: rgba(255, 255, 255, 0.65);
}


/* Active tab */

body.single-product .woocommerce-tabs ul.tabs li.active a {
    border-color: #d6dee6;

    background: #fff;
    color: var(--kz-blue, #123f73);

    box-shadow:
        0 4px 14px rgba(14, 31, 48, 0.08);
}


/* Active underline */

body.single-product .woocommerce-tabs ul.tabs li.active a::after {
    position: absolute;

    right: 22px;
    bottom: 2px;
    left: 22px;

    height: 3px;

    border-radius: 999px;

    background: var(--kz-blue, #123f73);

    content: "";
}


/* =========================================================
   Main tab panel card
   ========================================================= */

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    width: 100%;

    margin: 14px 0 0 !important;
    padding: 42px 46px !important;

    border: 1px solid var(--kz-border, #dfe3e7);
    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 14px 38px rgba(14, 31, 48, 0.075);

    box-sizing: border-box;
}


/* Hide inactive panels correctly */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel[style*="display: none"] {
    display: none !important;
}


/* =========================================================
   Shared panel typography
   ========================================================= */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel {
    color: #34383c;

    font-size: 15px;
    line-height: 1.78;
}


body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel > *:first-child {
    margin-top: 0;
}


body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel > *:last-child {
    margin-bottom: 0;
}


/* Main panel headings */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel > h2:first-child {
    position: relative;

    margin: 0 0 28px;
    padding: 0 0 17px;

    color: var(--kz-black, #151515);

    font-size: clamp(23px, 2vw, 31px);
    font-weight: 780;
    line-height: 1.2;
    letter-spacing: -0.025em;
}


body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel > h2:first-child::after {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 56px;
    height: 4px;

    border-radius: 999px;

    background: var(--kz-blue, #123f73);

    content: "";
}


/* Internal headings */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel h2:not(:first-child) {
    margin: 34px 0 14px;

    color: var(--kz-black, #151515);

    font-size: 23px;
    font-weight: 760;
    line-height: 1.3;
    letter-spacing: -0.018em;
}


body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel h3 {
    margin: 28px 0 12px;

    color: var(--kz-black, #151515);

    font-size: 19px;
    font-weight: 750;
    line-height: 1.35;
}


body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel h4 {
    margin: 24px 0 10px;

    color: var(--kz-black, #151515);

    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
}


/* Paragraphs */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel p {
    max-width: 920px;

    margin: 0 0 18px;

    color: #4f555a;
}


/* Links */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel a:not(.button) {
    color: var(--kz-blue, #123f73);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel a:not(.button):hover {
    color: var(--kz-blue-dark, #0a294b);
}


/* Lists */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel ul:not(.commentlist),
body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel ol:not(.commentlist) {
    max-width: 900px;

    margin: 18px 0 22px;
    padding-left: 24px;
}


body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel li {
    margin-bottom: 9px;
}


body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel li::marker {
    color: var(--kz-blue, #123f73);
}


/* Blockquotes */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel blockquote {
    max-width: 900px;

    margin: 28px 0;
    padding: 20px 23px;

    border-left: 4px solid var(--kz-blue, #123f73);
    border-radius: 0 10px 10px 0;

    background: var(--kz-blue-soft, #edf4fb);
    color: #394551;
}


/* Images inside descriptions */

body.single-product
.woocommerce-tabs
.woocommerce-Tabs-panel img {
    max-width: 100%;
    height: auto;

    border-radius: 10px;
}


/* =========================================================
   Description panel
   ========================================================= */

body.single-product
#tab-description {
    position: relative;
}


body.single-product
#tab-description > h2:first-child {
    max-width: 800px;
}


body.single-product
#tab-description table {
    width: 100%;

    margin: 26px 0;

    border-collapse: collapse;
    border: 1px solid var(--kz-border, #dfe3e7);
    border-radius: 10px;

    overflow: hidden;
}


body.single-product
#tab-description table th,
body.single-product
#tab-description table td {
    padding: 13px 16px;

    border-bottom: 1px solid var(--kz-border, #dfe3e7);

    text-align: left;
    vertical-align: top;
}


body.single-product
#tab-description table th {
    background: #f3f5f7;
    color: var(--kz-black, #151515);

    font-weight: 700;
}


/* =========================================================
   Additional information table
   ========================================================= */

body.single-product
#tab-additional_information
table.shop_attributes {
    width: 100%;

    margin: 0;

    border: 1px solid var(--kz-border, #dfe3e7);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;

    overflow: hidden;
}


body.single-product
#tab-additional_information
table.shop_attributes tr {
    background: #fff;
}


body.single-product
#tab-additional_information
table.shop_attributes tr:nth-child(even) {
    background: #f7f8f9;
}


body.single-product
#tab-additional_information
table.shop_attributes th,
body.single-product
#tab-additional_information
table.shop_attributes td {
    padding: 16px 18px !important;

    border: 0 !important;
    border-bottom: 1px solid var(--kz-border, #dfe3e7) !important;

    line-height: 1.5;
    vertical-align: top;
}


body.single-product
#tab-additional_information
table.shop_attributes tr:last-child th,
body.single-product
#tab-additional_information
table.shop_attributes tr:last-child td {
    border-bottom: 0 !important;
}


body.single-product
#tab-additional_information
table.shop_attributes th {
    width: 30%;

    background: rgba(238, 241, 244, 0.7);

    color: var(--kz-black, #151515);

    font-size: 13px;
    font-weight: 750;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}


body.single-product
#tab-additional_information
table.shop_attributes td {
    color: #50565c;

    font-size: 14px;
    font-style: normal !important;
}


body.single-product
#tab-additional_information
table.shop_attributes td p {
    margin: 0 !important;
    padding: 0 !important;

    font-style: normal !important;
}


/* =========================================================
   Reviews layout
   ========================================================= */

body.single-product #reviews {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
    gap: 46px;
    align-items: start;
}


/* Reviews heading */

body.single-product #reviews #comments > h2 {
    margin: 0 0 25px;

    color: var(--kz-black, #151515);

    font-size: 24px;
    font-weight: 780;
    line-height: 1.3;
    letter-spacing: -0.02em;
}


/* Review list */

body.single-product #reviews .commentlist {
    margin: 0;
    padding: 0;

    list-style: none;
}


body.single-product #reviews .commentlist > li {
    margin: 0 0 14px !important;
    padding: 0 !important;

    border: 0 !important;
}


/* Individual review card */

body.single-product
#reviews
.commentlist
.review
.comment_container {
    position: relative;

    min-height: 74px;

    padding: 22px 22px 22px 88px;

    border: 1px solid var(--kz-border, #dfe3e7);
    border-radius: 12px;

    background: #f9fafb;

    box-sizing: border-box;
}


/* Reviewer avatar */

body.single-product
#reviews
.commentlist
.review
.comment_container
.avatar {
    position: absolute !important;

    top: 22px !important;
    left: 22px !important;

    width: 48px !important;
    height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 3px solid #fff !important;
    border-radius: 50% !important;

    box-shadow:
        0 4px 12px rgba(14, 31, 48, 0.12);
}


/* Review text */

body.single-product
#reviews
.commentlist
.review
.comment-text {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}


body.single-product
#reviews
.commentlist
.review
.meta {
    margin: 0 0 10px !important;

    color: #737980;

    font-size: 12px;
    line-height: 1.45;
}


body.single-product
#reviews
.commentlist
.review
.woocommerce-review__author {
    color: var(--kz-black, #151515);

    font-size: 14px;
    font-weight: 750;
}


body.single-product
#reviews
.commentlist
.review
.description p {
    margin: 0;

    color: #4f555a;

    font-size: 14px;
    line-height: 1.7;
}


/* Star rating */

body.single-product #reviews .star-rating {
    color: var(--kz-blue, #123f73);
}


body.single-product
#reviews
.commentlist
.review
.star-rating {
    float: none;

    margin: 0 0 9px;
}


/* No reviews message */

body.single-product
#reviews
.woocommerce-noreviews {
    padding: 18px 20px;

    border: 1px solid #d6e2ed;
    border-radius: 10px;

    background: var(--kz-blue-soft, #edf4fb);
    color: #3c5267;
}


/* =========================================================
   Review form card
   ========================================================= */

body.single-product #review_form_wrapper {
    padding: 25px;

    border: 1px solid var(--kz-border, #dfe3e7);
    border-top: 4px solid var(--kz-blue, #123f73);
    border-radius: 13px;

    background: #fff;

    box-shadow:
        0 12px 28px rgba(14, 31, 48, 0.08);

    box-sizing: border-box;
}


body.single-product
#review_form
#reply-title {
    display: block;

    margin: 0 0 8px;

    color: var(--kz-black, #151515);

    font-size: 20px;
    font-weight: 780;
    line-height: 1.3;
}


body.single-product
#review_form
.comment-notes {
    margin-bottom: 20px;

    color: #747a80;

    font-size: 12px;
    line-height: 1.5;
}


body.single-product
#review_form
.comment-form-rating {
    margin-bottom: 19px;
}


body.single-product
#review_form
.comment-form-rating > label,
body.single-product
#review_form
.comment-form-comment > label,
body.single-product
#review_form
.comment-form-author > label,
body.single-product
#review_form
.comment-form-email > label {
    display: block;

    margin: 0 0 7px;

    color: var(--kz-black, #151515);

    font-size: 12px;
    font-weight: 700;
}


/* Rating stars */

body.single-product
#review_form
.stars {
    margin: 7px 0 0;
}


body.single-product
#review_form
.stars a {
    color: var(--kz-blue, #123f73) !important;

    text-decoration: none !important;
}


/* Form fields */

body.single-product
#review_form
textarea,
body.single-product
#review_form
input[type="text"],
body.single-product
#review_form
input[type="email"] {
    display: block;

    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--kz-border-dark, #c9cfd5);
    border-radius: 8px;

    background: #fff;
    color: var(--kz-black, #151515);

    font: inherit;
    font-size: 14px;
    line-height: 1.5;

    box-sizing: border-box;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


body.single-product
#review_form
textarea {
    min-height: 130px;

    resize: vertical;
}


body.single-product
#review_form
textarea:focus,
body.single-product
#review_form
input[type="text"]:focus,
body.single-product
#review_form
input[type="email"]:focus {
    outline: none;

    border-color: var(--kz-blue, #123f73);

    box-shadow:
        0 0 0 3px rgba(18, 63, 115, 0.09);
}


/* Name and email */

body.single-product
#review_form
.comment-form-author,
body.single-product
#review_form
.comment-form-email {
    width: calc(50% - 6px);
}


body.single-product
#review_form
.comment-form-author {
    float: left;
}


body.single-product
#review_form
.comment-form-email {
    float: right;
}


/* Consent checkbox */

body.single-product
#review_form
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    clear: both;

    margin: 16px 0;
}


body.single-product
#review_form
.comment-form-cookies-consent input {
    flex: 0 0 auto;

    margin-top: 5px;
}


body.single-product
#review_form
.comment-form-cookies-consent label {
    color: #6b7176;

    font-size: 11px;
    line-height: 1.5;
}


/* Submit button */

body.single-product
#review_form
.form-submit {
    clear: both;

    margin: 18px 0 0;
}


body.single-product
#review_form
.form-submit
.submit {
    width: 100%;
    min-height: 48px;

    padding: 13px 22px;

    border: 1px solid var(--kz-black, #151515);
    border-radius: 7px;

    background: var(--kz-black, #151515);
    color: #fff;

    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.065em;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


body.single-product
#review_form
.form-submit
.submit:hover {
    border-color: var(--kz-blue, #123f73);

    background: var(--kz-blue, #123f73);

    box-shadow:
        0 7px 18px rgba(18, 63, 115, 0.2);
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

    body.single-product .woocommerce-tabs {
        margin-top: 46px;
    }

    body.single-product
    .woocommerce-tabs
    .woocommerce-Tabs-panel {
        padding: 34px 32px !important;
    }

    body.single-product #reviews {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body.single-product #review_form_wrapper {
        max-width: 680px;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    body.single-product .woocommerce-tabs {
        margin-top: 36px;
        padding: 0 12px;
    }


    /* Horizontally scrollable tab bar */

    body.single-product .woocommerce-tabs ul.tabs {
        justify-content: flex-start;

        gap: 6px;

        padding: 6px;

        border-radius: 11px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.single-product
    .woocommerce-tabs
    ul.tabs::-webkit-scrollbar {
        display: none;
    }

    body.single-product
    .woocommerce-tabs
    ul.tabs
    li {
        flex: 0 0 auto;

        min-width: 135px;

        scroll-snap-align: start;
    }

    body.single-product
    .woocommerce-tabs
    ul.tabs
    li a {
        min-height: 43px;

        padding: 10px 13px;

        font-size: 10px;
        white-space: nowrap;
    }


    /* Panel */

    body.single-product
    .woocommerce-tabs
    .woocommerce-Tabs-panel {
        margin-top: 9px !important;
        padding: 25px 20px !important;

        border-radius: 12px;

        font-size: 14px;
        line-height: 1.72;
    }

    body.single-product
    .woocommerce-tabs
    .woocommerce-Tabs-panel > h2:first-child {
        margin-bottom: 22px;
        padding-bottom: 14px;

        font-size: 22px;
    }

    body.single-product
    .woocommerce-tabs
    .woocommerce-Tabs-panel h2:not(:first-child) {
        margin-top: 28px;

        font-size: 20px;
    }

    body.single-product
    .woocommerce-tabs
    .woocommerce-Tabs-panel h3 {
        font-size: 17px;
    }


    /* Additional information becomes stacked */

    body.single-product
    #tab-additional_information
    table.shop_attributes,
    body.single-product
    #tab-additional_information
    table.shop_attributes tbody,
    body.single-product
    #tab-additional_information
    table.shop_attributes tr,
    body.single-product
    #tab-additional_information
    table.shop_attributes th,
    body.single-product
    #tab-additional_information
    table.shop_attributes td {
        display: block;

        width: 100%;

        box-sizing: border-box;
    }

    body.single-product
    #tab-additional_information
    table.shop_attributes tr {
        border-bottom: 1px solid var(--kz-border, #dfe3e7);
    }

    body.single-product
    #tab-additional_information
    table.shop_attributes tr:last-child {
        border-bottom: 0;
    }

    body.single-product
    #tab-additional_information
    table.shop_attributes th {
        padding: 12px 14px 5px !important;

        border-bottom: 0 !important;

        background: #f3f5f7;

        font-size: 11px;
    }

    body.single-product
    #tab-additional_information
    table.shop_attributes td {
        padding: 6px 14px 13px !important;

        border-bottom: 0 !important;

        background: #fff;

        font-size: 13px;
    }


    /* Reviews */

    body.single-product #reviews {
        gap: 25px;
    }

    body.single-product
    #reviews
    .commentlist
    .review
    .comment_container {
        padding: 18px;
    }

    body.single-product
    #reviews
    .commentlist
    .review
    .comment_container
    .avatar {
        position: static !important;

        float: none !important;

        width: 42px !important;
        height: 42px !important;

        margin: 0 0 12px !important;
    }

    body.single-product #review_form_wrapper {
        padding: 20px;

        border-radius: 11px;
    }

    body.single-product
    #review_form
    .comment-form-author,
    body.single-product
    #review_form
    .comment-form-email {
        float: none;

        width: 100%;
    }

}

/* =========================================================
   KILTZONE RELATED PRODUCTS
   CSS-only layout
   ========================================================= */

body.single-product .related.products {
    width: 100%;
    max-width: 1320px;

    margin: 72px auto 0;
    padding: 58px 20px 20px;

    border-top: 1px solid var(--kz-border, #dfe3e7);

    box-sizing: border-box;
}


/* Section heading */

body.single-product .related.products > h2 {
    position: relative;

    margin: 0 0 34px;
    padding-bottom: 17px;

    color: var(--kz-black, #151515);

    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 780;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-align: center;
}


body.single-product .related.products > h2::after {
    position: absolute;

    bottom: 0;
    left: 50%;

    width: 60px;
    height: 4px;

    border-radius: 999px;

    background: var(--kz-blue, #123f73);

    content: "";

    transform: translateX(-50%);
}


/* =========================================================
   Product grid
   ========================================================= */

body.single-product
.related.products
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none;
}


/* Reset theme widths and floats */

body.single-product
.related.products
ul.products
li.product {
    position: relative;

    float: none !important;

    width: auto !important;
    min-width: 0;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 0 20px !important;

    border: 1px solid var(--kz-border, #dfe3e7);
    border-radius: 14px;

    background: #fff;

    overflow: hidden;

    box-shadow:
        0 8px 24px rgba(14, 31, 48, 0.055);

    box-sizing: border-box;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


body.single-product
.related.products
ul.products
li.product:hover {
    border-color: #ccd5dd;

    box-shadow:
        0 15px 34px rgba(14, 31, 48, 0.11);

    transform: translateY(-4px);
}


/* =========================================================
   Product image
   ========================================================= */

body.single-product
.related.products
li.product
.nm-shop-loop-thumbnail,
body.single-product
.related.products
li.product
.woocommerce-loop-product__link {
    position: relative;

    display: block;

    overflow: hidden;
}


body.single-product
.related.products
li.product
.nm-shop-loop-thumbnail {
    margin: 0 0 18px !important;

    border-radius: 13px 13px 0 0;

    background: #f5f6f7;
}


body.single-product
.related.products
li.product
.nm-shop-loop-thumbnail img,
body.single-product
.related.products
li.product
.woocommerce-loop-product__link > img {
    display: block;

    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;

    margin: 0 !important;

    object-fit: cover;
    object-position: center;

    transition: transform 0.35s ease;
}


body.single-product
.related.products
li.product:hover
.nm-shop-loop-thumbnail img,
body.single-product
.related.products
li.product:hover
.woocommerce-loop-product__link > img {
    transform: scale(1.035);
}


/* =========================================================
   Sale badge
   ========================================================= */

body.single-product
.related.products
li.product
.onsale {
    position: absolute !important;
    z-index: 5 !important;

    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    min-width: 50px !important;
    height: 50px !important;

    margin: 0 !important;
    padding: 7px !important;

    border: 2px solid #fff !important;
    border-radius: 50% !important;

    background: var(--kz-blue, #123f73) !important;
    color: #fff !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 0.025em;

    box-shadow:
        0 5px 15px rgba(18, 63, 115, 0.24) !important;
}


/* =========================================================
   Card content
   ========================================================= */

body.single-product
.related.products
li.product
.nm-shop-loop-details,
body.single-product
.related.products
li.product
.woocommerce-loop-product__title,
body.single-product
.related.products
li.product
.price,
body.single-product
.related.products
li.product
.button {
    margin-right: 18px;
    margin-left: 18px;
}


/* Savoy details wrapper */

body.single-product
.related.products
li.product
.nm-shop-loop-details {
    padding: 0 !important;
}


/* Product title */

body.single-product
.related.products
li.product
.woocommerce-loop-product__title,
body.single-product
.related.products
li.product
.nm-shop-loop-title {
    display: -webkit-box;

    min-height: 45px;

    margin-top: 0 !important;
    margin-bottom: 10px !important;

    overflow: hidden;

    color: var(--kz-black, #151515);

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


body.single-product
.related.products
li.product
a:hover
.woocommerce-loop-product__title,
body.single-product
.related.products
li.product
a:hover
.nm-shop-loop-title {
    color: var(--kz-blue, #123f73);
}


/* Product category or secondary text */

body.single-product
.related.products
li.product
.nm-shop-loop-category {
    margin: 0 0 7px;

    color: #81878d;

    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}


/* =========================================================
   Price
   ========================================================= */

body.single-product
.related.products
li.product
.price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;

    min-height: 26px;

    margin-top: 0 !important;
    margin-bottom: 16px !important;

    color: var(--kz-blue, #123f73) !important;

    font-size: 17px !important;
    font-weight: 780 !important;
    line-height: 1.3 !important;
}


body.single-product
.related.products
li.product
.price
ins {
    color: var(--kz-blue, #123f73) !important;

    font-weight: 780 !important;
    text-decoration: none !important;
}


body.single-product
.related.products
li.product
.price
del {
    color: #979ca1 !important;

    font-size: 13px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}


/* =========================================================
   Rating
   ========================================================= */

body.single-product
.related.products
li.product
.star-rating {
    margin: 0 18px 11px !important;

    color: var(--kz-blue, #123f73);
}


/* =========================================================
   Product button
   ========================================================= */

body.single-product
.related.products
li.product
.button,
body.single-product
.related.products
li.product
.add_to_cart_button,
body.single-product
.related.products
li.product
.product_type_simple,
body.single-product
.related.products
li.product
.product_type_variable {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: calc(100% - 36px) !important;
    min-height: 44px;

    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding: 11px 14px !important;

    border: 1px solid var(--kz-black, #151515) !important;
    border-radius: 7px !important;

    background: var(--kz-black, #151515) !important;
    color: #fff !important;

    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.055em;

    box-sizing: border-box;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


body.single-product
.related.products
li.product
.button:hover,
body.single-product
.related.products
li.product
.add_to_cart_button:hover,
body.single-product
.related.products
li.product
.product_type_simple:hover,
body.single-product
.related.products
li.product
.product_type_variable:hover {
    border-color: var(--kz-blue, #123f73) !important;

    background: var(--kz-blue, #123f73) !important;

    box-shadow:
        0 6px 17px rgba(18, 63, 115, 0.19);
}


/* Hide loading spinner clutter */

body.single-product
.related.products
li.product
.button.loading::after {
    position: static !important;

    margin-left: 7px;
}


/* =========================================================
   Make cards equal height
   ========================================================= */

body.single-product
.related.products
ul.products
li.product {
    display: flex;
    flex-direction: column;
}


body.single-product
.related.products
li.product
.nm-shop-loop-details {
    display: flex;
    flex: 1;
    flex-direction: column;
}


body.single-product
.related.products
li.product
.price {
    margin-top: auto !important;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

    body.single-product .related.products {
        margin-top: 60px;
        padding-top: 48px;
    }

    body.single-product
    .related.products
    ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    body.single-product .related.products {
        margin-top: 46px;
        padding: 38px 12px 8px;
    }

    body.single-product
    .related.products > h2 {
        margin-bottom: 25px;

        font-size: 25px;
    }

    body.single-product
    .related.products
    ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.single-product
    .related.products
    ul.products
    li.product {
        padding-bottom: 13px !important;

        border-radius: 10px;
    }

    body.single-product
    .related.products
    li.product
    .nm-shop-loop-thumbnail {
        margin-bottom: 12px !important;

        border-radius: 9px 9px 0 0;
    }

    body.single-product
    .related.products
    li.product
    .nm-shop-loop-details,
    body.single-product
    .related.products
    li.product
    .woocommerce-loop-product__title,
    body.single-product
    .related.products
    li.product
    .price,
    body.single-product
    .related.products
    li.product
    .button {
        margin-right: 11px;
        margin-left: 11px;
    }

    body.single-product
    .related.products
    li.product
    .woocommerce-loop-product__title,
    body.single-product
    .related.products
    li.product
    .nm-shop-loop-title {
        min-height: 39px;

        margin-bottom: 7px !important;

        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    body.single-product
    .related.products
    li.product
    .nm-shop-loop-category {
        display: none;
    }

    body.single-product
    .related.products
    li.product
    .price {
        gap: 4px;

        min-height: 22px;

        margin-bottom: 11px !important;

        font-size: 14px !important;
    }

    body.single-product
    .related.products
    li.product
    .price del {
        font-size: 11px !important;
    }

    body.single-product
    .related.products
    li.product
    .button,
    body.single-product
    .related.products
    li.product
    .add_to_cart_button,
    body.single-product
    .related.products
    li.product
    .product_type_simple,
    body.single-product
    .related.products
    li.product
    .product_type_variable {
        width: calc(100% - 22px) !important;
        min-height: 38px;

        padding: 9px 7px !important;

        font-size: 9px !important;
    }

    body.single-product
    .related.products
    li.product
    .onsale {
        top: 7px !important;
        left: 7px !important;

        min-width: 40px !important;
        height: 40px !important;

        padding: 5px !important;

        font-size: 8px !important;
    }

    body.single-product
    .related.products
    li.product
    .star-rating {
        margin: 0 11px 8px !important;

        transform: scale(0.85);
        transform-origin: left center;
    }

}


/* One column on very narrow screens */

@media (max-width: 380px) {

    body.single-product
    .related.products
    ul.products {
        grid-template-columns: 1fr;
    }

}

body.single-product
.related.products
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

body.single-product
.related.products
ul.products > li.product {
    grid-column: auto !important;
    grid-row: auto !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
    margin: 0 !important;
}

/* =========================================================
   RELATED PRODUCTS: SAVOY GRID RESET
   ========================================================= */

body.single-product
.related.products
ul.nm-products.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


/* Reset all Foundation/Savoy block-grid positioning */

body.single-product
.related.products
ul.nm-products.products > li.product {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    float: none !important;
    clear: none !important;

    display: flex !important;
    flex-direction: column;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 0 20px !important;

    transform: none !important;

    grid-column: auto !important;
    grid-row: auto !important;
}


/* Savoy adds first/last classes every four products */

body.single-product
.related.products
ul.nm-products.products > li.product.first,
body.single-product
.related.products
ul.nm-products.products > li.product.last {
    float: none !important;
    clear: none !important;

    margin-right: 0 !important;
    margin-left: 0 !important;

    transform: none !important;
}


/* Explicitly prevent the first product being offset */

body.single-product
.related.products
ul.nm-products.products > li.product:first-child {
    grid-column: 1 !important;

    margin-left: 0 !important;
}


/* Remove old block-grid pseudo-elements */

body.single-product
.related.products
ul.nm-products.products::before,
body.single-product
.related.products
ul.nm-products.products::after {
    display: none !important;

    content: none !important;
}


/* Make the internal wrapper fill the card */

body.single-product
.related.products
ul.nm-products.products
.nm-shop-loop-product-wrap {
    display: flex;
    flex: 1;
    flex-direction: column;

    width: 100%;
}


/* Tablet */

@media (max-width: 991px) {

    body.single-product
    .related.products
    ul.nm-products.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

}


/* Mobile */

@media (max-width: 767px) {

    body.single-product
    .related.products
    ul.nm-products.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

}


/* Very narrow screens */

@media (max-width: 380px) {

    body.single-product
    .related.products
    ul.nm-products.products {
        grid-template-columns: 1fr !important;
    }

}