/* =========================================
ORDER DETAILS
========================================= */

/* REMOVE DEFAULT TABLE STYLE */
/*.woocommerce-order-details table,*/
/*.woocommerce-order-details tbody,*/
/*.woocommerce-order-details tr,*/
/*.woocommerce-order-details td {*/
/*    border: none !important;*/
/*}*/

/*.woocommerce-order-details table {*/
/*    border-collapse: separate;*/
/*    border-spacing: 0 20px;*/
    
/*}*/

/*.woocommerce-order-details thead {*/
/*    display: none;*/
/*}*/

.woocommerce-order-received table tr{
    height: 2rem !important;
}

/* ROW */
.custom-order-row td {
    padding: 0 !important;
}

/* CARD */
.custom-order-card {

    display: flex;
    gap: 24px;

    padding: 24px;

    border-radius: 24px;

    background: #fff;

    border: 1px solid #ececec;

    transition: all 0.3s ease;

    align-items: center;
}

.custom-order-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);
}

/* IMAGE */
.custom-order-image {
    flex-shrink: 0;
}

.custom-order-image img {

    width: 140px;
    height: 140px;

    object-fit: cover;

    border-radius: 18px;

    display: block;
}

/* CONTENT */
.custom-order-content {
    flex: 1;
    min-width: 0;
}

/* TOP */
.custom-order-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

/* INFO */
.custom-order-info {
    flex: 1;
    min-width: 0;
}

/* TITLE */
.custom-order-title a {

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

    line-height: 1.4;

    color: #111;

    text-decoration: none;

    transition: all 0.2s ease;
}

.custom-order-title a:hover {
    opacity: 0.7;
}

/* META */
.custom-order-meta {
    margin-top: 14px;
}

/* QTY */
.custom-order-qty {

    display: inline-flex;

    align-items: center;

    padding: 7px 14px;

    border-radius: 999px;

    background: #f5f5f5;

    font-size: 14px;
    font-weight: 500;

    margin-bottom: 14px;
}

/* WOOCOMMERCE META */
.wc-item-meta {
    margin: 0;
    padding: 0;

    list-style: none;
}

.wc-item-meta li {
    margin-bottom: 8px;
}

.wc-item-meta strong {
    color: #666;
}

.wc-item-meta p {
    display: inline;
    margin: 0;
}

/* PRICE */
.custom-order-price {

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

    white-space: nowrap;

    color: #111;
}

/* PURCHASE NOTE */
.custom-purchase-note {

    padding: 20px;

    border-radius: 18px;

    background: #fafafa;

    margin-top: -10px;
}

/* =========================================
RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .custom-order-card {

        flex-direction: column;

        align-items: flex-start;
    }

    .custom-order-image {
        width: 100%;
    }

    .custom-order-image img {

        width: 100%;
        height: auto;
    }

    .custom-order-top {

        flex-direction: column;
    }

    .custom-order-price {

        font-size: 20px;
    }

    .custom-order-title a {

        font-size: 18px;
    }
}







/* =========================================
CUSTOMER DETAILS
========================================= */

.woocommerce-customer-details address {

    padding: 24px;

    border-radius: 24px;

    background: #fff;

    border: 1px solid #ececec;

    line-height: 1.8;
}

.custom-customer-details {
    margin-top: 40px;
}

.custom-address-card {

    padding: 28px;

    border-radius: 24px;

    background: #fff;

    border: 1px solid #ececec;
}

.custom-address-card h2 {

    margin-bottom: 20px;

    font-size: 24px;
}

.custom-address-card address {

    font-style: normal;

    line-height: 1.9;
}
