/* Product Info Cards Styles refresh*/

.nomarg {
    margin: 0 !important;
}

.product-info-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;

}

.tyre-card {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    overflow: hidden;
    font-family: sans-serif;
}

.tyre-info-top {
    display: flex;
    width: 100%;
    border-bottom: none;
}

.tyre-info-left,
.tyre-info-right {
    width: 50%;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 16px;
    gap: 10px;
    box-sizing: border-box;
}

.tyre-info-bottom {
    background: #ffffff;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tyre-info-left i,
.tyre-info-right i,
.tyre-info-bottom i {
    font-size: 20px;
}

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .tyre-info-top {
        flex-direction: column;
    }

    .tyre-info-left,
    .tyre-info-right {
        width: 100%;
    }

    .tyre-info-right {
        border-radius: 0;
    }
}


/* Wrapper only for tyre products */

.price-break-cards {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.price-card {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    flex: 1 1 120px;
    font-family: sans-serif;
    background: #f9f9f9;
}

.price-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 30px;
    font-weight: 800;
    color: #003366;
}

.price-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Unique Pill VAT toggle */
.pill-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-basis: 100%;
    font-size: 14px;
    justify-content: center;
}

.toggle-text-left,
.toggle-text-right {
    font-weight: 600;
    font-size: 12px;
    color: #333;
    user-select: none;
}

.pill-switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 28px;
}

.pill-switch-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.pill-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #929197;
    border-radius: 14px;
    transition: background-color 0.3s ease;
}

.pill-switch-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 39px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease, left 0.3s ease;
}

.single-product.product_cat-tyres div.product p.price {
    display: none !important;
}

.pill-switch-checkbox:checked + .pill-switch-slider {
    background-color: #34c759;
}

.pill-switch-checkbox:checked + .pill-switch-slider:before {
    transform: translateX(23px);
    left: 0px;
}


/* Wrapper only for tyre products */

.price-break-cards {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.price-card {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    flex: 1 1 120px;
    font-family: sans-serif;
    background: #f9f9f9;
}

.price-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 30px;
    font-weight: 800;
    color: #003366;
}

.price-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Unique Pill VAT toggle */
.pill-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-basis: 100%;
    font-size: 14px;
    justify-content: center;
}

.toggle-text-left,
.toggle-text-right {
    font-weight: 600;
    font-size: 12px;
    color: #333;
    user-select: none;
}

.pill-switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 28px;
}

.pill-switch-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.pill-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #929197;
    border-radius: 14px;
    transition: background-color 0.3s ease;
}

.pill-switch-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 39px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease, left 0.3s ease;
}

.single-product.product_cat-tyres div.product p.price {
    display: none !important;
}

.pill-switch-checkbox:checked + .pill-switch-slider {
    background-color: #34c759;
}

.pill-switch-checkbox:checked + .pill-switch-slider:before {
    transform: translateX(23px);
    left: 0px;
}