/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */




/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}

#product-8780 .single_variation_wrap { margin: 10px 0px 20px 8px; }
.mrc-images-grid { display: flex; flex-wrap: wrap; }
.mrc-images-grid .mrc-item { display: grid; align-items: center; justify-content: center; box-sizing: border-box; padding-left: 20px; padding-right: 20px; }
.mrc-images-grid .mrc-item.width-50 { width: 50%; max-width: 50%; flex: 0 0 50%; }
.mrc-images-grid .mrc-item img { border: none; border-style: unset !important; border-width: unset !important; pointer-events: none; }
.mrc-images-grid .mrc-item img.mrc-screen-size-image { max-width: 120px !important; }
#product-8780 .variations .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.n-a { display: none; }
#product-8780 form.variations_form.cart.th-var-active a.add-request-quote-button.button { margin-top: 0px !important; margin-left: 0px !important; }
#product-8780 .single_add_to_cart_button { display: none; }
#product-8780 .yith-ywraq-add-to-quote { margin-left: 0px !important; display: flex; gap: 10px; align-items: center;}
.mrc-images-grid .mrc-item.screen-size { display: flex; gap: 0px; }
.mrc-images-grid .mrc-item.mrc-room-size { display: flex; align-items: center; flex-direction: row; }
.mrc-images-grid .mrc-item.mrc-room-size strong { line-height: 1.2em;}
.mrc-images-grid .mrc-item.mrc-room-size .mrc-room-size-image { width: 100px !important; }

.mrc-images-grid .mrc-item.screen-size { position: relative; }
.mrc-images-grid .mrc-item.screen-size .screen-size-label { position: absolute; bottom: -12px; left: 0; right: 0; text-align: center; line-height: 1.2em; }
.mrc-images-grid:has(.mrc-display-image:not([style*="display: none"])) .mrc-item.screen-size .screen-size-label {
    bottom: 20px;
}
#yith-ywrq-table-list td.product-name > br,
#yith-ywrq-table-list td.product-name ul br {
    display: none !important;
}

#email-quote-offcanvas { position: fixed; top: 0; right: 0; width: 400px; max-width: 90%; height: 100vh; background: #fff; z-index: 999999 !important; transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -5px 0 20px rgba(0,0,0,.15); }
#email-quote-offcanvas.open { transform: translateX(0); overflow-y: auto; }
#email-quote-offcanvas-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999998; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
#email-quote-offcanvas-overlay.open { opacity: 1; visibility: visible; }
.email-quote-offcanvas-close { position: absolute; top: 15px; right: 20px; border: 0; background: none; font-size: 30px; cursor: pointer; color: #000; }
.email-quote-offcanvas-content { padding: 50px 30px 30px; display: flex; flex-direction: column; height: 100%; }
.email-quote-offcanvas-content .title { font-size: 1.4rem; font-weight: 600; margin-top: 0px; }
.email-quote-offcanvas-content .quote-content p { margin-bottom: 0px; margin-top: 3px; }
.email-quote-offcanvas-content .quote-result-content { padding: 20px; background-color: #f8f8f8; border: 1px solid #f1f1f1; margin-top: 20px; margin-bottom: 20px; }
.email-quote-offcanvas-content .quote-email-form-content { margin-top: auto; }
.email-quote-offcanvas-content .quote-email-form-content .input { margin-bottom: 10px !important; }
.email-quote-offcanvas-content .quote-email-form-content .button { width: 100%; }
.email-quote-offcanvas-content .quote-result-content .price .sharp-capex-prefix { font-size: 0.8rem !important; display: block !important; font-weight: 500 !important; }
.email-quote-offcanvas-content .quote-result-content .sharp-opex-prefix { font-size: 0.8rem !important; display: block !important; font-weight: 500 !important; border-top: 1px solid #cbcbcb !important; padding-top: 10px !important; margin-top: 10px !important; }

.sp-package-builder-wrapper .single-product-summary div.summary { width: unset !important; float: unset !important; }
.sp-package-builder-wrapper div.images { width: unset !important; float: unset !important; }

body:has(.sp-package-builder-wrapper) .avia-post-nav { display: none !important; }

body:has(.sp-package-builder-wrapper) #header { z-index: 0 !important; }
body:has(.sp-package-builder-wrapper) #socket { z-index: 0 !important;}

#email-quote-offcanvas .quote-email-error { color: red; margin-top:8px; padding: 10px; background-color: #fce6e1; font-size: 0.8rem; }
#email-quote-offcanvas .quote-email-success { color: green; padding: 10px; background-color: #dff5e5; font-size: 0.8rem; }

.single_variation_wrap:has(.add-request-quote-button.disabled) .button-email-me-the-quote { opacity: 0.6; }
#product-8780 .yith-ywraq-add-button img { padding-top: 15px; margin-left: 10px; }

body:has(#product-8780) #av_section_1 { display: none; }

#product-8780 .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default:has(img) { width: 60px; height: 60px; }

@media only screen and (min-width: 768px) and (max-width: 1549px) {
  .mrc-images-grid { display: block; flex-wrap: unset; }
  .mrc-images-grid .mrc-item.width-50 { width: 100%; max-width: 100%; }
  .mrc-images-grid:has(.mrc-display-image:not([style*="display: none"])) .mrc-item.screen-size .screen-size-label { bottom: -12px; }
}
@media only screen and (min-width: 560px) {
    #product-8780 .variations th.label { display: flex; align-items: center; min-height: 56px; width: fit-content !important; }
    #product-8780 .variations .label label { text-align: left !important; }
}
@media only screen and (max-width: 559px) {
  .mrc-images-grid { display: block; flex-wrap: unset; }
  .mrc-images-grid .mrc-item.width-50 { width: 100%; max-width: 100%; }
  .mrc-images-grid:has(.mrc-display-image:not([style*="display: none"])) .mrc-item.screen-size .screen-size-label { bottom: -12px; }
  #product-8780 .variations th,
  #product-8780 .variations td { width: 100% !important; display: block; }
  #product-8780 .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-label-li.attr_swatch_design_default { width: 100%;}
  #product-8780 .thwvsf_fields .thwvsf-wrapper-ul { display: flex; justify-content: center; }
  #product-8780 .single_variation_wrap { margin-left: 9px !important; }

  #product-8780 { display: flex; flex-direction: column; }
  #product-8780 .single-product-main-image { order: 2; position: relative; }
  #product-8780 .single-product-summary { order: 1; }
}
