
:root {
     --transition: all 0.2s linear;
    --content-font : 'Sora';
    --primary-color : #C9132A;
    --secondary-color : #FAA31C;
    --white : #fff;
    --black : #232926;
    --green : #4B8166;
    --border: rgba(35, 41, 38, 0.2) ;
    --grey: #FBF4F2;
    --braun: #B64D20;
    --yellow: #FBA21B;
       --gap: 20px;
    --row-gap: 60px;
    --section-space: 170px;
    --font-12: 12px;
    --font-14: 14px;
    --font-15: 15px;
    --font-16: 16px;
    --font-18: 18px;
    --font-20: 20px;
    --font-22: 22px;
    --font-24: 24px;
    --font-26: 26px;
    --font-30: 30px;
    --font-36: 36px;
    --font-38: 38px;
    --font-44: 44px;
    --font-48: 48px;
    --font-54: 54px;
}
.quote-ajax-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.quote-ajax-loader.active {
    opacity: 1;
    visibility: visible;
}
.quote-ajax-loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--grey);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: quote-spin 0.7s linear infinite;
}
@keyframes quote-spin {
    to { transform: rotate(360deg); }
}

/* ===== QUOTE DRAWER ===== */
.quote-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
}
.quote-drawer-overlay.active { display: block; height: 100vh;}

.quote-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
}
.quote-drawer.open { right: 0; }

.quote-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:  24px;
    border-bottom: 1px solid var(--grey);
}
.quote-drawer-header .h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.quote-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--black);
    line-height: 1;
    padding: 0;min-width: 20px;
}
.quote-drawer-close:hover { color: var(--black); }

.quote-drawer-body {
    /* flex: 1; */
    overflow-y: auto; 
    padding:  24px;
}


.quote-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    color: var(--black);
    gap: 12px;
    padding: 125px 24px 24px 24px;
}
.quote-drawer-empty i { font-size: 48px; }
.quote-drawer-empty p { margin: 0; font-size: 15px; }

.quote-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.quote-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--grey);
    position: relative;
    padding-right: 30px;
}
.quote-drawer-item:last-child { border-bottom: none; }

.quote-drawer-item-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--grey);
}
.quote-drawer-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.quote-drawer-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.3;
}
.quote-drawer-item-qty {
    font-size: 13px;
    color: var(--black);
}
.quote-drawer-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}
.quote-drawer-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 18px;
    color: var(--grey);
    text-decoration: none;
    line-height: 1;
    padding: 2px;
}
.quote-drawer-item-remove:hover { color: var(--primary-color); }

.quote-drawer-footer {
    padding:14px 24px;
    border-top: 1px solid var(--grey);
        display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.quote-drawer-footer a.btn { width: 100%; margin-top: 10px;   }
.quote-drawer-footer a.btn.btn-outline-black  { width: 100%; margin-top: 10px;  color: var(--primary-color) !important; background-color: transparent !important; border: 1px solid var(--primary-color) !important; line-height: 48px !important; font-family: var(--content-font); font-size: var(--font-16); font-weight: 500; border: none; min-width: 200px; min-height: 50px; position: relative; z-index: 9; line-height: normal; overflow: hidden; border-radius: 40px; padding: 0px 30px; }
.quote-drawer-footer a.btn-view-quote {     width: 55%; margin: 10px 0;   min-width: auto;    color: var(--white); background-color: var(--primary-color); border: transparent; font-family: var(--content-font); font-size: var(--font-16); font-weight: 500; border: none; min-width: 200px; min-height: 50px; position: relative; z-index: 9; line-height: normal; overflow: hidden; border-radius: 40px; padding: 0px 30px; line-height: 50px; }
.quote-drawer-footer a.quote-drawer-clear-all { text-decoration: none; padding:0px  15px; margin-left: 20px;margin-top: 0; width: auto; display: inline-flex; color: var(--black); align-items: center; justify-content: center; min-width: auto; width: 37%;   border-radius: 0; border-bottom:1px solid var(--black) ;}
.quote-drawer-footer a.quote-drawer-clear-all svg { width: 16px; margin-left: 10px; }
.btn-view-quote:hover { background: var(--grey); }
.quote-drawer-footer a.btn.btn-outline-black:hover{border: 1px solid var(--primary-color) !important; background-color: var(--primary-color) !important; color: var(--white) !important;}
.quote-drawer-item-name a { color:var(--black); }
/* Trigger button */
.quote-drawer-trigger {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--grey);
    padding: 0 8px;
}
.quote-drawer-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.quote-drawer-count:empty { display: none; }

h2.woocommerce-page-title{margin-block: var(--row-gap) !important; }
.quote-empty-state {
  max-width: 520px;
  margin: 80px auto;
  padding: 40px 30px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(35, 41, 38, 0.08);
  font-family: var(--content-font);
}

/* Image */
.quote-empty-state img {
  width: 180px;
  max-width: 100%;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Heading */
.quote-empty-state h3 {
  font-size: var(--font-24);
  color: var(--black);
  margin-bottom: 10px;
  font-weight: 600;
}

/* Text */
.quote-empty-state p {
  font-size: var(--font-16);
  color: rgba(35, 41, 38, 0.7);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Button */
.quote-empty-state .button {
  display: inline-block !important;
  padding: 12px 26px !important;
  font-size: var(--font-16) !important;
  font-weight: 500 !important;
  color: var(--white) !important;
  background: var(--primary-color) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
}

/* Hover effect */
.quote-empty-state .button:hover {
  background: var(--secondary-color) !important; 
}
.quote-drawer-close span { font-size:var(--font-36); }
/* Responsive 001 */
@media screen and (max-width: 1730px) {
    :root {
        --gap: 20px;
        --row-gap: 50px;
        --section-space: 120px;
        --font-12: 12px;
        --font-14: 14px;
        --font-15: 15px;
        --font-16: 16px;
        --font-18: 18px;
        --font-20: 20px;
        --font-22: 22px;
        --font-24: 24px;
        --font-26: 26px;
        --font-30: 30px;
        --font-36: 36px;
        --font-38: 38px;
        --font-44: 44px;
        --font-48: 48px;
        --font-54: 54px;
    } }
@media screen and (max-width: 1439px) {
    :root {
        --gap: 20px;
        --row-gap: 40px;
        --section-space: 90px;
        --font-14: 14px;
        --font-15: 15px;
        --font-16: 15px;
        --font-18: 17px;
        --font-20: 19px;
        --font-22: 22px;
        --font-24: 24px;
        --font-26: 26px;
        --font-30: 30px;
        --font-36: 36px;
        --font-38: 36px;
        --font-44: 44px;
        --font-48: 44px;
        --font-54: 50px;
    } }
@media screen and (max-width: 1299px) {
    :root {
        --gap: 20px;
        --row-gap: 30px;
        --section-space: 80px;
        --font-14: 13px;
        --font-15: 14px;
        --font-20: 19px;
        --font-22: 20px;
        --font-24: 22px;
        --font-26: 24px;
        --font-30: 28px;
        --font-36: 36px;
        --font-38: 36px;
        --font-44: 40px;
        --font-48: 42px;
        --font-54: 48px;
    }}
    @media (min-width: 1080px) {
        .quote-drawer-footer a.quote-drawer-clear-all:hover{color: var(--primary-color); border-color: var(--primary-color);}
        .quote-drawer-footer a.quote-drawer-clear-all:hover svg path{fill: var(--primary-color);}
    }
    @media (min-width: 768px) and (max-width: 1080px) {
        .quote-drawer-body {
    max-height: calc(100vh - 260px);
    overflow: auto;
}
    }
    @media (max-width: 1080px) {
    :root {
        --section-space: 70px;
        --font-12: 12px;
        --font-16: 14px;
        --font-18: 17px;
        --font-20: 18px;
        --font-24: 20px;
        --font-36: 32px;
        --font-38: 34px;
        --font-44: 38px;
        --font-48: 40px;
        --font-54: 44px;
    }
    

}
    @media screen and (max-width: 991px) {
    :root {
        --section-space: 60px;
        --font-16: 16px;
        --font-18: 17px;
        --font-20: 17px;
        --font-24: 20px;
        --font-26: 22px;
        --font-30: 26px;
        --font-36: 30px;
        --font-38: 32px;
        --font-44: 34px;
        --font-48: 34px;
        --font-54: 38px;
    }
    .quote-drawer-footer a.btn-view-quote,.quote-drawer-footer a.btn.btn-outline-black { min-height: 40px; line-height: 40px !important; }
    .quote-drawer-footer a.btn-view-quote {min-width: auto;}
}

@media (max-width: 768px) {
    :root {
        --section-space: 50px;
        --font-12: 11px;
        --font-15: 13px;
        --font-16: 14px;
        --font-18: 16px;
        --font-20: 18px;
        --font-22: 18px;
        --font-24: 18px;
        --font-26: 22px;
        --font-30: 24px;
        --font-36: 30px;
        --font-38: 30px;
        --font-44: 30px;
        --font-48: 32px;
        --font-54: 34px;
    }
  .quote-empty-state {
    margin: 50px 20px;
    padding: 30px 20px;
  }

  .quote-empty-state h3 {
    font-size: var(--font-20);
  }

  .quote-empty-state img {
    width: 150px;
  }
  .quote-drawer-count { top: 6px; right: 0px; }
}

@media (max-width: 767px) {
    :root {
        --window-height: 0;
    }
    .quote-drawer {
        display: block;
        height: var(--window-height);
    }
    .quote-drawer-body {
        height: calc(var(--window-height) - 215px);
    }
    body.cart-open {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden;
    }
}
@media (max-width: 575px) {
    :root {
        --section-space: 40px;
        --font-14: 12px;
        --font-15: 12px;
        --font-16: 14px;
        --font-18: 14px;
        --font-20: 16px;
        --font-22: 17px;
        --font-24: 17px;
        --font-26: 20px;
        --font-30: 22px;
        --font-36: 22px;
        --font-38: 24px;
        --font-44: 26px;
        --font-48: 28px;
        --font-54: 30px;
    }}