/* Add-to-quote button */
.ec-quote-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .8rem;
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.ec-quote-btn:hover {
  background: #f7f7f7
}

.ec-quote-btn .ecq-icon {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center
}

.ec-quote-btn .ecq-text {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .25s ease
}

.ec-quote-btn:hover .ecq-text {
  max-width: 220px
}

/* Corner style – place parent container as relative to pin top-right */
.ec-quote-type-corner {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.ec-quote-type-corner svg {
    fill: #e54618;
}
.ec-quote-type-corner:focus {
    outline: none !important;
}
.pcw-card:hover .ec-quote-type-corner svg {
    fill: #fff;
}
.pcw-card {
  position: relative
}
button.ec-quote-btn.ec-quote-add {
    border: 1px solid #EB6A27;
    color: #EB6A27;
    font-family: 'Open Sans';
    padding: 17px 35px;
    border-radius: 15px;
    font-size: 16px;
    background: transparent;
    z-index: 99;
}
button.ec-quote-btn.ec-quote-add:hover {
   background: linear-gradient(90deg, #E44219 0%, #F37500 100%);
    color: #fff;
}
/* Mini basket (header) */
.ec-quote-mini {
  position: relative
}

.ec-quote-mini__toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: inherit;
  text-decoration: none;
  padding: .3rem .6rem;
  position: relative;
  color: #fff !important;
  font-weight: 600 !important;
}

.ec-quote-mini__toggle:hover {
  color: #f37401 !important;
}

.ec-quote-mini__count {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  background: #f37401;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  position: absolute;
  right: -9px;
  top: -3px;
}

.ec-quote-mini__dropdown {
    position: absolute;
    right: 0;
    top: 160%;
    width: 320px;
    background-color: #f9f9f9;
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    padding: 15px 2px 15px 15px;
    z-index: 999;
    border-radius: 0px 0px 15px 15px;
    border: 1px solid #ddd;
}

.ec-quote-mini__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow: auto
}

.ecq-mini-row {
    display: grid;
    grid-template-columns: 20px 48px 1fr;
    gap: 8px;
    align-items: center;
    padding: 0px 0px 10px 0px;
    border-bottom: 1px solid #ddd;
}

.ecq-mini-row:last-child {
  border-bottom: 0
}

.ecq-mini-row .ecq-remove {
  background: none;
  color: #E44219;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  display: contents;
}

.ecq-thumb img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px
}

.ecq-title {
  font-weight: 600;
  font-size: 14px
}

.ecq-qty {
  opacity: .8;
  font-size: 12px
}

.ec-quote-mini__footer {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;

}


.ecq-view-list {
  color: #fff !important;
  background-image: linear-gradient(90deg, #E44219 0%, #F37500 100%);
  border-radius: 15px 15px 15px 15px;
  padding: 12px 20px 12px 20px;
  width: 100%;
  text-align: center;
  font-weight: 600 !important;
}

.ecq-mini-head .ecq-mini-title {
  font-size: 18px;
  font-weight: 600;
}

/* Modal after add */
.ecq-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ecq-modal[hidden] {
  display: none
}

.ecq-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45)
}

.ecq-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 540px)
}

.ecq-modal__content {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ecq-modal__text {
  font-size: 20px;
  margin-bottom: 30px;
}

.ecq-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}
.ecq-modal__content .ecq-go-quote {
    background-image: linear-gradient(90deg, #E44219 0%, #F37500 100%);
    color: #fff;
}
.ecq-go-quote {
  background: #ff3b30;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none
}
.ecq-modal__content .ecq-keep {
    padding: 10px 14px;
    background: transparent;
    color: #e84d14;
    border-color: #e84d14;
    border-radius: 8px;
}
.ecq-modal__content .ecq-keep:hover {
    background:#e84d14;
    color: #fff;
    border-color: #e84d14;
}
.ecq-keep {
  background: #e9ecef;
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  cursor: pointer
}

/* Quote page */
.ec-quote-page .ecq-grid {
  display: grid;
  grid-template-columns:1fr 1fr;
  gap: 70px
}

.ecq-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.ecq-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 40px;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
}

.ecq-row img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px
}

.ecq-c-title a {
  color: inherit;
  text-decoration: none
}

.ecq-c-qty input {
    width: 80px !important;
    border: 1px solid #ddd !important;
}
.ecq-actions a.ecq-pdf {
    display: none;
}
.ecq-c-remove button {
  border: 0;
  background: #ff3b30;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  padding: 15px !important;
}

.ecq-empty {
  opacity: .7;
  padding: 10px
}

.ecq-actions {
  margin-top: 10px
}

.ecq-clear {
  background: #eee;
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer
}

.ecq-form .ecq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px
}

.ecq-send {
  background: #ff3b30;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  cursor: pointer
}

.ecq-status {
  margin-left: 10px
}

.ecq-pdf {
  background: #0b3;
  border: 1px solid #0a2;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 8px
}
.ecq-modal .ecq-modal__close {
    align-self: flex-end;
    border: none;
    background: transparent;
    padding: 0;
    color: #f06a05;
    font-size: 34px;
    line-height: 20px;
}
.ec-quote-page .product-quote-url-link .product-menu-dropdown {
    border: 1px solid #ddd;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    width: 100%;
}
.ec-quote-page .product-quote-url-link .product-menu-dropdown.dd-open {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom: 0;
}
.ec-quote-page .product-quote-url-link li {
    list-style: none;
    color: #000;
}
.ec-quote-page .product-quote-url-link .product-menu-dropdown {
    list-style: none;
    color: #000;
    position: relative;
    background: #fff;
}

.ec-quote-page .product-quote-url-link .product-menu-dropdown:after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    border: 1px solid #000;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(
225deg);
    right: 16px;
    top: 12px;
}
.ec-quote-page .product-quote-url-link .product-menu-dropdown.dd-open:after {
     transform: rotate(45deg);
    top: 22px;
}
.product-quote-url-link .js-dd > ul.sub-menu .menu-item-has-children:after {
content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    border: 1px solid #000;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(
225deg);
    right: 16px;
    top: 12px;
}

.ec-quote-page .product-quote-url-link .product-menu-dropdown a.elementor-item {
    width: 100%;
    display: inline-block;
    cursor: pointer;
}
.product-quote-url-link .elementor-sub-item:focus {
    background: transparent;
    color: #000;
}
.product-quote-url-link .elementor-sub-item:focus-within {
   outline: none;
}
.product-quote-url-link .js-dd > ul.sub-menu {
    position: absolute;
    top: 100%;
    left: -1px;
    display: none;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 16px 24px rgba(0,0,0,.08);
    z-index: 9999;
    max-height: 70vh;
    overflow: auto;
    border-top: 0;
    border-radius: 0 0 15px 15px;
}
.product-quote-url-link .js-dd > ul.sub-menu .menu-item-has-children .sub-menu {
    position: relative;
    box-shadow: none;
    border: none;
    padding: 0;
}

.product-quote-url-link .js-dd > ul.sub-menu .menu-item-has-children .sub-menu .elementor-sub-item {
    padding-left: 25px;
}
.product-quote-url-link .js-dd > ul.sub-menu .menu-item-has-children.dd-open:after {
    transform: rotate(45deg);
    top: 22px;
}
/* admin quote page */

.ecqr-toolbar{margin:8px 0}
.ecqr-toolbar .button{margin-right:6px}
a.page-numbers.current {
    font-weight: 700 !important;
    font-size: 20px !important;
    text-decoration: underline !important;
}
a.page-numbers {
   text-decoration: none ;
    font-size: 16px ;
}
/* end admin quote page */
.ecq-items h2 {
    font-size: 20px;
    margin-top: 30px;
    color: #000;
    margin-bottom: 20px;
}
.ecq-c-remove button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.ecq-actions a.ecq-pdf:hover {
    color: #fff;
    background-image: linear-gradient(90deg, #E44219 0%, #F37500 100%);
}
button.ecq-clear{
  color: #000;
}
.ecq-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 25px;
}
a.ecq-pdf {
    background: #fff;
    border: 1px solid #F37500;
    border-radius: 15px;
    padding: 12px 15px;
    color: #F37500 !important;
}
a.ecq-pdf:hover {
    color: #fff !important;
}
.ecq-form h3 {
    font-size: 20px;
    margin: 0px;
    color: #000;
    padding-bottom: 20px;
}
.ec-quote-page .ecq-field input, .ec-quote-page .ecq-field textarea, .ecq-field select {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 8px 13px;
    font-size: 14px;
    width: 100%;
    background-color: #fff;
}
.ecq-form .ecq-field label input {
    width: auto;
}
.ecq-modal .ecq-modal__close:hover {
    background: transparent;
    color: #f06a05;
}

.ecq-modal .ecq-modal__close:focus {
    outline: none;
    color: #f06a05;
    background: transparent;
}
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .col-md-7 {
    flex: 0 1 75%;
}

.form-row .col-md-5 {
    flex: 0 1 25%;
}

.form-row .col-md-6 {
    flex: 0 1 50%;
}


.space-group .space-row {
    display: flex;
    gap: 20px;
    margin: 0 0 10px 0;
}

button.ecq-add-space {
    width: fit-content;
}

.disclaimer-section{
  margin-top: 10px;
}

.ecq-submit .ecq-send {
    width: 100%;
}
.quotes-photo-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.appointment-form .elementor-upload-field {
    border: 1px solid #69727d;
    border-radius: 5px !important;
    padding: 7px 13px;
    font-size: 16px;
    background: transparent !important;
}
.ecq-form .ecq-field label {
    font-size: 16px;
    color: #232323;
    display: flex !important;
    gap: 10px;
}
@media (max-width: 900px) {
  .ec-quote-page .ecq-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:767px) {
  .ec-quote-mini__dropdown {
    width: 235px;
  }
  .ecq-modal__actions {
    flex-direction: column;
    gap: 15px;
}
.form-row .col-md-7 {
    flex: 0 1 100%;
}

.form-row .col-md-5 {
    flex: 0 1 100%;
}

.form-row .col-md-6 {
    flex: 0 1 100%;
}
.form-row {
    flex-direction: column;
}
.space-group .space-row {
    flex-wrap: wrap;
}
.space-group .space-row input {
    flex: calc(50% - 20px);
}
}
@media(max-width:450px){
  .ecq-row {
    grid-template-columns:100px 1fr;
}
}


/* 23-oct-25 */

.appointment-form span.ec-chip {
    width: 100%;
}
.appointment-form .ec-pcards-selected-list {
    height: 380px;
}
.appointment-form .elementor-field-type-upload.elementor-field-group input {
    background-color: #fff !important;
    border-radius: 10px !important;
    padding: 10px 13px !important;
}

button.remove-space {
    padding: 2px 11px !important;
    font-size: 20px !important;
    border-radius: 50% !important;
    height: 38px !important;
    width: 38px !important;
}
[type=button]:focus, [type=submit]:focus, button:focus {
    outline: none !important;
}
input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus {
   outline: none;
   border-color: #ddd !important;
}
.ecq-outer-section span.ecq-icon {
    background-color: #EB6A27;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    width: 12px !important;
    line-height: 6px !important;
    padding: 12px;
    height: 12px !important;
}
button.ec-quote-btn.ec-quote-add:hover .ecq-outer-section span.ecq-icon {
    background-color: #fff;
    color: #EB6A27;
}
input[type="checkbox"] {
  accent-color: #EB6A27; 
}