.carrierr32easy {
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.carrierr32easy *,
.carrierr32easy *:before,
.carrierr32easy *:after {
    box-sizing: border-box;
}

.carrierr32easy-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.carrierr32easy-description {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
}

.carrierr32easy-form {
    width: 100%;
}

.carrierr32easy-area-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.carrierr32easy-area-row label {
    display: block;
    margin-right: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.carrierr32easy-area-input-wrap {
    display: flex;
    align-items: center;
}

.carrierr32easy-area {
    width: 180px;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
    background: #fff;
    color: #333;
    font-size: 16px;
    outline: none;
}

.carrierr32easy-area:focus {
    border-color: #999;
}

.carrierr32easy-area-unit {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-left: 0;
    border-radius: 0 3px 3px 0;
    background: #f5f5f5;
    color: #555;
    font-size: 15px;
}

.carrierr32easy-search {
    display: inline-block;
    min-height: 42px;
    padding: 9px 20px;
    border: 0;
    border-radius: 3px;
    background: #333;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.carrierr32easy-search:hover {
    opacity: .9;
}

.carrierr32easy-search:disabled {
    opacity: .6;
    cursor: default;
}

.carrierr32easy-loading {
    margin-top: 15px;
    padding: 10px 12px;
    background: #f5f5f5;
    color: #555;
    border-radius: 3px;
}

.carrierr32easy-message {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 3px;
    background: #f5f5f5;
    color: #333;
}

.carrierr32easy-message-error {
    background: #f8d7da;
    color: #721c24;
}

.carrierr32easy-results {
    margin-top: 25px;
}

.carrierr32easy-result-group {
    margin-bottom: 25px;
}

.carrierr32easy-result-label {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #333;
}

.carrierr32easy-product-list {
    width: 100%;
}

.carrierr32easy-product {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 95px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease,
                box-shadow .15s ease,
                background .15s ease;
}

.carrierr32easy-product:hover {
    border-color: #aaa;
}

.carrierr32easy-product-selected {
    border-color: #4caf50;
    background: #f6fff7;
    box-shadow: 0 0 0 1px #4caf50;
}

.carrierr32easy-product-checkbox-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 35px;
    width: 35px;
}

.carrierr32easy-product-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.carrierr32easy-product-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 90px;
    width: 90px;
    min-height: 75px;
    margin-right: 15px;
}

.carrierr32easy-product-image {
    display: block;
    max-width: 90px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.carrierr32easy-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
}

.carrierr32easy-product-name {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
    color: #333;
}

.carrierr32easy-product-area {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.carrierr32easy-product-price {
    display: block;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #333;
}

.carrierr32easy-no-products {
    padding: 10px 0;
    color: #777;
    font-size: 14px;
}

.carrierr32easy-selected {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid #4caf50;
    border-radius: 4px;
    background: #f8fff9;
}

.carrierr32easy-selected-title {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #333;
}

.carrierr32easy-selected-product {
    display: flex;
    align-items: center;
    width: 100%;
}

.carrierr32easy-selected-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 120px;
    width: 120px;
    min-height: 100px;
    margin-right: 20px;
}

.carrierr32easy-selected-image {
    display: block;
    max-width: 120px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.carrierr32easy-selected-info {
    flex: 1 1 auto;
    min-width: 0;
}

.carrierr32easy-selected-name {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.carrierr32easy-selected-name a {
    color: #333;
    text-decoration: none;
}

.carrierr32easy-selected-name a:hover {
    text-decoration: underline;
}

.carrierr32easy-selected-area {
    margin-bottom: 5px;
    font-size: 15px;
    color: #666;
}

.carrierr32easy-selected-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.carrierr32easy-add-to-cart {
    display: inline-block;
    margin-top: 20px;
    min-height: 44px;
    padding: 10px 25px;
    border: 0;
    border-radius: 3px;
    background: #4caf50;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.carrierr32easy-add-to-cart:hover {
    background: #43a047;
}

.carrierr32easy-add-to-cart:disabled {
    opacity: .6;
    cursor: default;
}

.carrierr32easy-cart-message {
    margin-top: 12px;
    font-size: 14px;
}

.carrierr32easy-cart-success {
    color: #2e7d32;
}

.carrierr32easy-cart-error {
    color: #c62828;
}

.carrierr32easy-cart-message a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

/*
 * Директната страница е на пълна ширина.
 */
body.carrierr32easy-page #left_column,
body.carrierr32easy-page #right_column {
    display: none !important;
}

body.carrierr32easy-page #center_column {
    width: 100% !important;
    float: none !important;
}

body.carrierr32easy-page .columns-container {
    width: 100% !important;
}

body.carrierr32easy-page .columns {
    width: 100% !important;
}

body.carrierr32easy-page .left-column,
body.carrierr32easy-page .right-column,
body.carrierr32easy-page .sidebar {
    display: none !important;
}

body.carrierr32easy-page .main-content,
body.carrierr32easy-page .content-wrapper {
    width: 100% !important;
}

@media (max-width: 767px) {

    .carrierr32easy {
        padding: 15px;
    }

    .carrierr32easy-title {
        font-size: 21px;
    }

    .carrierr32easy-area-row {
        display: block;
    }

    .carrierr32easy-area-row label {
        margin: 0 0 8px 0;
    }

    .carrierr32easy-area-input-wrap {
        margin-bottom: 12px;
    }

    .carrierr32easy-area {
        width: 150px;
    }

    .carrierr32easy-product {
        align-items: flex-start;
    }

    .carrierr32easy-product-checkbox-wrap {
        flex: 0 0 30px;
        width: 30px;
    }

    .carrierr32easy-product-image-wrap {
        flex: 0 0 70px;
        width: 70px;
        margin-right: 10px;
    }

    .carrierr32easy-product-image {
        max-width: 70px;
        max-height: 65px;
    }

    .carrierr32easy-selected-product {
        align-items: flex-start;
    }

    .carrierr32easy-selected-image-wrap {
        flex: 0 0 90px;
        width: 90px;
        margin-right: 12px;
    }

    .carrierr32easy-selected-image {
        max-width: 90px;
        max-height: 80px;
    }

    .carrierr32easy-selected-name {
        font-size: 16px;
    }

    .carrierr32easy-selected-price {
        font-size: 16px;
    }
}