.header-buttons a.button[aria-disabled=true] {
    opacity: .5;
}
.entry-footer a.button[aria-disabled=true] {
    opacity: .5;
}
table.estimates {
    width: 100%;
    border-collapse: collapse;
}
table.estimates th,
table.estimates td {
    border: 1px solid #ccc;
    padding: 6px 8px;
}
table.estimates th {
    background: #0073aa;
    color: #fff;
}
table.estimates tfoot td {
    font-weight: bold;
    text-align: right;
    border-top: 2px solid #0073aa;
}
.estimate-content footer  a {
    background: #004F90;
    color: #ffffff;
    box-shadow: none !important;
    outline: 0;
    text-align: center;
    width: 185px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1em;
    border-radius: 4px;
    text-shadow: none;
    -webkit-appearance: button;
    cursor: pointer;
}
div.estimate-content {
    max-width: 1024px !important;
    margin: 40px auto !important;
}
.estimate-content .header-buttons  a {
    background: #004F90;
    color: #ffffff;
    box-shadow: none !important;
    outline: 0;
    text-align: center;
    width: 185px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1em;
    border-radius: 4px;
    text-shadow: none;
    -webkit-appearance: button;
    cursor: pointer;
}
.header-buttons {
    margin-bottom: 10px;
}
@media all and (max-width: 1024px){
    div.estimate-content {
    margin-right: 20px;
    margin-left: 20px;
}
}
@media all and (max-width: 650px){
    /* 1. Constrain the container to your desired viewport width */
.service-table{
  width: 100% !important;         /* or max-width: 100%; or any CSS width you need */
  overflow-x: auto !important;     /* enable horizontal scrolling */
  -webkit-overflow-scrolling: touch !important; /* smooth scrolling on iOS */         /* optional styling */
}

/* 2. Prevent the table from wrapping its cells (so the scroll kicks in) */
.estimates{
  min-width: 100% !important;        /* or min-width: 100%; or auto, depending on your layout */
  border-collapse: collapse !important;
  white-space: nowrap !important;  /* prevent cell contents from wrapping */
}

/* Optional: style the scrollbar */
.service-table::-webkit-scrollbar {
  height: 8px;
}
.service-table::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

}
@media all and (max-width: 576px){
    .estimate-content .header-buttons  a {
    display: block;
    margin-bottom: 10px;
}
.estimate-content footer  a{
    display: block;
    margin-bottom: 10px;
}
}