#tiemmequick {
    width: 100%;
    margin: 20px 0;
    box-sizing: border-box;
}

#tiemmequick *,
#tiemmequick *:before,
#tiemmequick *:after {
    box-sizing: border-box;
}

.tiemmequick-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tiemmequick-title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.tiemmequick-subtitle {
    color: #666;
    margin-bottom: 25px;
}

.tiemmequick-form {
    margin-bottom: 25px;
}

.tiemmequick-floor {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.tiemmequick-floor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.tiemmequick-floor-title {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

.tiemmequick-floor-body {
    padding: 15px;
}

.tiemmequick-floor-body label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.tiemmequick-floor-area {
    width: 100%;
    max-width: 300px;
    height: 40px;
}

.tiemmequick-floor-actions {
    margin-top: 15px;
}

#tiemmequick-add-floor {
    margin-bottom: 15px;
}

.tiemmequick-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#tiemmequick-calc {
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

.tiemmequick-error {
    min-height: 20px;
    margin-top: 10px;
    color: #c0392b;
    font-weight: 600;
}

.tiemmequick-result {
    margin-top: 20px;
}

.tiemmequick-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.tiemmequick-summary span {
    padding: 10px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #555;
}

.tiemmequick-floor-summary {
    margin-bottom: 20px;
}

.tiemmequick-floor-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 10px 15px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #555;
}

.tiemmequick-floor-result strong {
    color: #444;
}

.tiemmequick-floor-result span {
    padding-left: 12px;
    border-left: 1px solid #ddd;
    color: #555;
}

.tiemmequick-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    color: #555;
}

.tiemmequick-table th,
.tiemmequick-table td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
    color: #555;
}

.tiemmequick-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #444;
}


/*
 * ============================================================
 * TABLE ALIGNMENT
 * ============================================================
 */

/* Quantity - center */
.tiemmequick-table th:nth-child(2),
.tiemmequick-table td:nth-child(2) {
    text-align: center;
    white-space: nowrap;
}

/* Unit Price + Total - right */
.tiemmequick-table th:nth-child(3),
.tiemmequick-table td:nth-child(3),
.tiemmequick-table th:nth-child(4),
.tiemmequick-table td:nth-child(4) {
    text-align: right;
    white-space: nowrap;
}


/*
 * ============================================================
 * PRODUCT
 * ============================================================
 */

.tiemmequick-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tiemmequick-product-link {
    display: block;
    flex: 0 0 auto;
    text-decoration: none;
}

.tiemmequick-product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}


/*
 * ============================================================
 * PRODUCT NAME
 * ============================================================
 */

.tiemmequick-product-name {
    display: inline-block !important;

    color: #444 !important;

    font-size: 15px !important;
    line-height: 1.4 !important;

    font-weight: 700 !important;

    text-decoration: none !important;
}

.tiemmequick-product-name:hover {
    color: #222 !important;
    text-decoration: underline !important;
}


/*
 * ============================================================
 * PRODUCT SECONDARY TEXT
 * ============================================================
 */

.tiemmequick-product-label {
    display: block !important;

    margin-top: 4px;

    color: #555 !important;

    font-size: 12px !important;
    line-height: 1.4 !important;

    font-weight: 400 !important;
}


/*
 * ============================================================
 * TOTAL
 * ============================================================
 */

.tiemmequick-total {
    margin: 20px 0;
    padding: 15px;
    font-size: 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #444;
}

.tiemmequick-total strong {
    font-size: 24px;
    color: #333;
}

#tiemmequick-add {
    margin-top: 10px;
}


/*
 * ============================================================
 * PAGE LAYOUT
 * HIDE LEFT / RIGHT COLUMNS
 * ============================================================
 */

body#module-tiemmequick-display #left_column,
body#module-tiemmequick-display #right_column {
    display: none !important;
}

body#module-tiemmequick-display #columns {
    width: 100% !important;
}

body#module-tiemmequick-display #columns > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body#module-tiemmequick-display #center_column {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    flex: none !important;
    flex-basis: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

body#module-tiemmequick-display .tiemmequick-inner {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}


/*
 * ============================================================
 * DESKTOP
 * ============================================================
 */

@media (min-width: 992px) {

    body#module-tiemmequick-display #left_column,
    body#module-tiemmequick-display #right_column {
        display: none !important;
    }

    body#module-tiemmequick-display #center_column {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        flex: none !important;
        flex-basis: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
}


/*
 * ============================================================
 * TABLET / MOBILE
 * ============================================================
 */

@media (max-width: 991px) {

    body#module-tiemmequick-display #left_column,
    body#module-tiemmequick-display #right_column {
        display: none !important;
    }

    body#module-tiemmequick-display #center_column {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        flex: none !important;
        flex-basis: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
}


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

@media (max-width: 767px) {

    .tiemmequick-inner {
        padding: 15px;
    }

    .tiemmequick-floor-header {
        align-items: flex-start;
    }

    .tiemmequick-floor-title {
        font-size: 16px;
    }

    .tiemmequick-floor-area {
        width: 100%;
        max-width: none;
    }

    .tiemmequick-input-row {
        display: block;
    }

    #tiemmequick-calc {
        width: 100%;
        margin-top: 10px;
    }

    .tiemmequick-table {
        font-size: 12px;
    }

    .tiemmequick-table th,
    .tiemmequick-table td {
        padding: 6px;
    }

    .tiemmequick-product img {
        width: 50px;
        height: 50px;
    }

    .tiemmequick-floor-result {
        display: block;
    }

    .tiemmequick-floor-result span {
        display: block;
        padding-left: 0;
        margin-top: 5px;
        border-left: 0;
    }

    .tiemmequick-product-name {
        font-size: 14px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
    }
}