/*
 * ----------------
 * cpo group styles
 * ----------------
 */

#cpo-container {
    margin-bottom: 0;
}

/*
 * ---------------------
 * cpo group info styles
 * ---------------------
 */

#cpo-container .cpo-group {
    display: flex;
}

#cpo-container .cpo-group .cpo-field-group-info {
    flex: none;
    width: 50%;
    padding-left: 10px;
    line-height: 1.2em;
}

#cpo-container .cpo-group .cpo-field-group-info small {
    line-height: calc( 1.2em * 0.875 );
}

#cpo-container .cpo-group .cpo-field-group {
    flex: none;
    width: 50%;
}

/*
 * ----------------
 * cpo group styles
 * ----------------
 */

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown {
    position: relative;
    border: 1px solid var( --color-pearlgray );
    border-radius: 2px;
    transition: all 0.1s;
    cursor: pointer;
    transition: all 0.1s;
}

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown.active {
    border-color: var( --color-panthablack );
}

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown .cpo-field-group-dropdown-header {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 5px;
    padding: 5px 10px;
    align-items: center;
    background-color: var( --color-pearlgray-light );
    min-height: 35px;
}

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown .cpo-field-group-dropdown-header span.cpo-field-group-selected {
    flex: auto;
    display: flex;
    flex-wrap: nowrap;
}

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown .cpo-field-group-dropdown-header span.cpo-field-group-selected span.selected-text {
    flex: auto;
}

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown .cpo-field-group-dropdown-header span.cpo-field-group-selected strong.selected-value {
    flex: none;
}

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown .cpo-field-group-dropdown-header i {
    flex: none;
}

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown .cpo-field-group-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -1px;
    width: calc( 100% + 2px );
    border-top: 1px solid var( --color-pearlgray );
    border-bottom: 1px solid var( --color-panthablack );
    border-left: 1px solid var( --color-panthablack );
    border-right: 1px solid var( --color-panthablack );
    padding: 5px 10px;
    border-radius: 0 0 2px 2px;
    background-color: var( --color-white );
    z-index: 99;
    transition: all 0.1s;
    max-height: 250px;
}

#cpo-container .cpo-group .cpo-field-group .cpo-field-group-dropdown.active .cpo-field-group-dropdown-content {
    display: block;
}

#cpo-container .cpo-group .cpo-field-group label.cpo-input-row {
    display: block;
    margin: 0;
}

#cpo-container .cpo-group .cpo-field-group label.cpo-input-row:not(:last-child) {
    margin-bottom: 5px;
}

#cpo-container .cpo-group .cpo-field-group label.cpo-input-row.cpo-product-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 5px;
}

#cpo-container .cpo-group .cpo-field-group label.cpo-input-row.cpo-product-row .cpo-input {
    flex: none;
}

#cpo-container .cpo-group .cpo-field-group label.cpo-input-row.cpo-product-row .cpo-field-label {
    flex: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 5px;
    min-width: 0;
}

#cpo-container .cpo-group .cpo-field-group label.cpo-input-row.cpo-product-row .cpo-field-value {
    flex: none;
}

#cpo-container .cpo-group .cpo-field-group label.cpo-input-row.cpo-product-row .cpo-field-label img.cpo-product-image {
    max-width: 40px;
    max-height: 40px;
}

#cpo-container .cpo-group .cpo-field-group label.cpo-input-row.cpo-product-row .cpo-field-label span.cpo-product-name {
    flex: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#cpo-container .cpo-group .cpo-field-group input[type="date"] {
    display: inline-block;
    width: calc( 75% - 5px );
    margin-right: 5px;
}

#cpo-container .cpo-group .cpo-field-group input[type="time"] {
    display: inline-block;
    width: 25%;
}

/**
 * ------------
 * Review Order
 * ------------
 */

.checkout-wizard .woocommerce-checkout-review-order .cart-item-data ul {
    margin-bottom: 0px;
}

.checkout-wizard .woocommerce-checkout-review-order .cpo-cart-details {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

/**
 * ----
 * Cart
 * ----
 */
 
.woocommerce-cart-form .cart .cart-item .cart-item-data ul {
    margin-bottom: 0px;
}

.woocommerce-cart-form .cart .cart-item .cpo-cart-details {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

/**
 * --------
 * Minicart
 * --------
 */
 

.woocommerce-mini-cart .cart-list .cart-item .cart-item-data ul {
    margin-bottom: 0px;
}

.woocommerce-mini-cart .cart-list .cart-item .cpo-cart-details {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}