h1,
h2 {
    color: #3f4aa7;
}

a,
.nav-sections .navigation .level0>.level-top {
    color: #14193a;
}

input[type="text"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type*="date"],
input[type="email"] {
    height: 38px;
}

.page-wrapper .page-header .panel.wrapper {
    background-color: #14193a;
}

.nav-sections {
    background: transparent;
}

/* Desktop navigation */
@media (min-width: 768px) {
    .navigation {
        background-color: transparent;
        border-radius: 9999px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        border: 1px solid rgb(217, 217, 217);
    }
}

/* Product item price box */
.product-item-info .price-box .prodPiece {
    background-color: transparent;
    border: 1px solid #cdcdcd;
    text-align: left;
}

/* Tier / price box */
.priceBox {
    display: flex;
    gap: 16px;
}

.priceBox .prodPiece {
    position: relative;
    display: block;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.priceBox .prodPiece label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.priceBox .prodPiece .price {
    font-weight: 600;
    font-size: 16px;
    color: #111827;
}

/* hide radio */
.priceBox .prodPiece input[type="radio"] {
    display: none;
}

/* custom radio */
.priceBox .prodPiece label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

/* checked state */
.priceBox .prodPiece.active,
.priceBox .prodPiece input[type="radio"]:checked+label {
    border-color: #cccccc;
    background: #f5f3ff;
}

.priceBox .prodPiece.active label::before,
.priceBox .prodPiece input[type="radio"]:checked+label::before {
    border-color: #14193a;
    background: #3f4aa7;
    box-shadow: inset 0 0 0 4px #fff;
}

.priceBox .prodPiece:hover {
    border-color: #7c3aed;
}

/* Prod box layout */
.priceBox .prodBox {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    transition: all 0.25s ease;
}

.priceBox .prodBox:hover {
    border-color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.priceBox .prodBox h4 {
    margin-top: 0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.priceBox .prodBox h4 sub {
    font-size: 12px;
    color: #666;
    bottom: 0;
}

.priceBox .prodBox .price {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

/* Sticker */
.priceBox .p-20-related {
    position: relative;
    width: 100%;
    max-width: 260px;
}

.priceBox .sticker {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 2;
}

.priceBox .sticker .labelnew {
    background: #e53935;
    color: #fff;
    padding: 4px 10px;
    border-radius: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Qty section */
.product-qty label {
    padding-bottom: 10px;
    width: 100%;
    display: block;
}

.product-qty .custom-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.product-qty .custom-qty button.items {
    width: 25px;
    height: 25px;
}

.catalog-category-view .product-qty .custom-qty button.items {
    display: none;
}

/* Focus reset */
._keyfocus *:focus,
input:not([disabled]):focus,
textarea:not([disabled]):focus,
select:not([disabled]):focus {
    box-shadow: none;
}

/* Tier options list */
.priceBox .tier-options-list {
    display: flex;
    gap: 10px;
}

.priceBox .tier-options-list .prodBox {
    font-size: 11px;
}



/* Product grid */
.page-products .product-item-info {
    width: auto;
}

/* Add to cart */
.actions-primary form {
    display: flex;
}

.actions-primary form .add-to-cart-qty {
    width: 55px;
}

/* Mobile */
@media (max-width: 640px) {
    .catalog-category-view .priceBox {
        width: 100%;
        flex-direction: column;
    }

    .catalog-category-view .priceBox .tier-option {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .catalog-category-view .priceBox .prodBox {
        padding-left: 6px;
        padding-right: 6px;
    }

    .priceBox .tier-options-list .prodBox .price {
        font-size: 12px;
    }
}

.r-group {
    display: flex;
    align-items: center;
    padding-bottom: 2px;
}