


.quickcart-loader {
  position: absolute;
  top: 0;
  left: 0; 
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none; /* domyślnie ukryty */
}

.quickcart-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #212c4d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}




#quickcart-panel {
    position: fixed;
    top: 0;
    right: -470px;
    width: 470px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 10000;
    overflow-y: hidden;
    @media (max-width: 767px) {
        width: 100%;
        height: 100%;
        right: -100%;
    }
}

.content-scrol {
    height: 100vh;
    overflow-y: auto;
    padding: 30px 30px 250px 20px;

}




.content-scrol::-webkit-scrollbar {
    display: none;
}

.content-scrol {
    -ms-overflow-style: none;
}


#quickcart-panel .relative {
    position: relative;
    height: 100%;

}

#quickcart-panel .grid-2 {
    display: grid;
    grid-template-columns: 82px 1fr;
    align-items: center;
    justify-content: end;

}

.quickcart-summary .quickcart-totals   div {

    font-size: 18px;
    line-height: 23px;
    letter-spacing: 1.8px;
    font-weight: 500;
    color: #000000 !important;
}

.quickcart-summary .quickcart-totals   div:last-child {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 1.4px;
    margin-top: 5px;
}

.quickcart-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    align-items: center;
}

.for-only-desktop-q {
    @media (max-width: 767px) {
        display: none; !important;
    }
}

.mobile-q-catr-btn-s {
    @media (min-width: 768px) {
        display: none; !important;
    }
}
.mobile-q-catr-btn {
    @media (max-width: 767px) {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 0 !important;
    }
}

.quickcart-actions a {
    display: flex;
    width: 100%;
    height: 46px;
    border: 1px solid #212C4D ;
    line-height: 46px;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: #212C4D !important;
    font-family: "brandon-grotesque",sans-serif;
    text-align: center;
    align-items: center;
    justify-content: start;
    padding-left: 20px;
    gap: 15px;

}

.quickcart-actions a:last-child {
    color: #ffffff !important;
    background: #212C4D;
}

#quickcart-summary {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    padding: 0 25px 30px 25px;
}

.quickcart-summary  {
    border-top: 1px solid #E5E5E5 ;

    width: 100%;
    padding-top: 11px;
}
.quickcart-summary .quickcart-totals {
    margin-bottom: 36px;
}

.quickcart-summary .quickcart-totals div span  {

    display: inline-block;
    float: right;

}

#quickcart-panel  .quickcart-price-current {
    text-align: right;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.4px;
    font-family: "brandon-grotesque",sans-serif;
    font-weight: bold;
    color: #000000;
    display: block;

}

#quickcart-panel  .quickcart-price-current.discount {

    color: #CDAF87;

}


#quickcart-panel .quickcart-prices {
    text-align: right;
}

#quickcart-panel .quickcart-price-regular {
    text-align: right;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1.2px;
    text-decoration: line-through;
    color: #000000;
}

#quickcart-panel  .free_shipping {
    width: 100%;
    height: 45px;
    border: 1px solid #00B51C;
    background: #54DB0010;
    margin-top: 22px;
    margin-bottom: 35px;




}

#quickcart-panel  .free_shipping .grid-info-shipping {
    display: flex;
    height: 45px;
    padding: 0 16px  !important;
    gap: 16px;
    align-items: center !important;
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: 18px;
    font-weight: 400;
    color: #000000;

}


#quickcart-panel  .free_shipping .grid-info-shipping  * {
    margin: 0 !important;
    text-align: left !important;
    font-size: 14px;
    letter-spacing: 1.2px;
    line-height: 18px;
    font-weight: 400;
    color: #000000;

}

#quickcart-panel  .quantity-selector {
    border: 1px solid #E2E2E2;
    width: 96px;
}

#quickcart-panel .input-quantity {
    width: 54px;
    height: 41px;
    border: 0;
    text-align: center;
    background: #ffffff;
    padding: 0 !important;
    margin: 0 !important;
    outline: none;
}

#quickcart-panel .qty-btn {
    width: 20px;
    height: 41px;
    line-height: 1;
    padding: 0;
    text-align: center;
    font-size: 10px;
    color: #000000;
    outline: none;
    background: white;
    border: 0;
    cursor: pointer;
}

#quickcart-panel  .qty-btn.minus {
    text-align: right;
}

#quickcart-panel  .qty-btn.plus {
    text-align: left;
}

#quickcart-panel .quickcart-item {
    border-bottom: 1px solid #E2E2E2;
    padding-bottom: 16px;
}


#quickcart-panel  .quickcart-info   {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(2, auto) 60px;
    align-items: center;
    margin-bottom: 15px;

    >div {
        text-align: right;
        button {
            float: right;
        }
    }
}

#quickcart-panel  .quickcart-info img {
    max-width: 90px;
    height: auto;
    margin-right: 10px;
}


#quickcart-panel  .quickcart-info .quickcart-name {
    height: auto;
    max-width: 236px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.4px;
    font-family: "brandon-grotesque",sans-serif;
    font-weight: 400;
    padding-right: 30px;
}



#quickcart-panel  .quickcart-info button {
    width: 15px;
    height: 18px;
    display: block;
    cursor: pointer;
    background: transparent;
    border: 0;
    outline: none;
    text-align: center;
}



#quickcart-panel.open {
    right: 0;
}

.quickcart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quickcart-header h3 {
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 1.8px;
    color: #000000;
    font-weight: 500;
    position: relative;
    z-index: 100000000;
}

#quickcart-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    z-index: 100000000;
}

#quickcart-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#quickcart-panel .quickcart-empty {
    margin: 0;
    font-size: 14px;
    color: #000000;
}

#quickcart-panel .quickcart-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    border-bottom: 1px solid #E2E2E2;
    padding: 0 0 18px;
}

#quickcart-panel .quickcart-item__media {
    padding-top: 4px;
}

#quickcart-panel .quickcart-image {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

#quickcart-panel .quickcart-item__details {
    min-width: 0;
}

#quickcart-panel .quickcart-item__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

#quickcart-panel .quickcart-name {
    display: block;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: #000000;
}

#quickcart-panel .quickcart-remove {
    width: 20px;
    height: 22px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #000000;
    cursor: pointer;
}

#quickcart-panel .quickcart-remove svg {
    display: block;
    width: 17px;
    height: 18px;
    fill: currentColor;
}

#quickcart-panel .quickcart-packaging {
    width: 100%;
    height: 32px;
    border: 1px solid #E2E2E2;
    background: #ffffff;
    color: #000000;
    font-size: 11px;
    line-height: 16px;
    margin: 0 0 12px;
    padding: 0 28px 0 8px;
}

#quickcart-panel .quickcart-item__controls {
    display: grid;
    grid-template-columns: 96px 86px auto;
    gap: 10px;
    align-items: end;
}

#quickcart-panel .quickcart-control__label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 15px;
    color: #000000;
}

#quickcart-panel .quickcart-weight-selector {
    width: 86px;
}

#quickcart-panel .quickcart-weight-value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 41px;
    font-size: 11px;
    line-height: 15px;
    color: #000000;
    white-space: nowrap;
}

#quickcart-panel .quickcart-weight-select {
    display: none;
}

#quickcart-panel .quickcart-unit-price {
    align-self: center;
    font-size: 12px;
    line-height: 16px;
    color: #000000;
    white-space: nowrap;
}

#quickcart-panel .quickcart-line-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 16px;
    color: #000000;
}

#quickcart-panel .quickcart-line-total b {
    color: #3d802b;
}

#quickcart-panel .quickcart-summary .quickcart-totals {
    margin-bottom: 14px;
}

#quickcart-panel .quickcart-summary .quickcart-totals div {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
}

#quickcart-panel .quickcart-summary .quickcart-totals div:last-child {
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    color: #3d802b !important;
}

#quickcart-panel .quickcart-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#quickcart-panel .quickcart-actions a {
    justify-content: center;
    height: 42px;
    padding-left: 0;
    border-color: #000000;
    background: #000000;
    color: #ffffff !important;
    font-size: 13px;
    line-height: 42px;
    letter-spacing: 0;
}

#quickcart-panel .quickcart-actions a:last-child {
    border-color: #3d802b;
    background: #3d802b;
}

@media (max-width: 480px) {
    #quickcart-panel .quickcart-item {
        grid-template-columns: 64px 1fr;
    }

    #quickcart-panel .quickcart-image {
        width: 60px;
        height: 60px;
    }

    #quickcart-panel .quickcart-item__controls {
        grid-template-columns: 96px 86px;
    }

    #quickcart-panel .quickcart-unit-price {
        grid-column: 1 / -1;
    }
}

/* KOLTUV quickcart layout */
#quickcart-panel {
    right: -306px;
    width: 306px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.08);
}

#quickcart-panel.open {
    right: 0;
}

#quickcart-panel,
#quickcart-panel * {
    box-sizing: border-box;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0;
}

#quickcart-panel .content-scrol {
    padding: 12px 12px 108px 6px;
}

#quickcart-panel .quickcart-header {
    margin-bottom: 14px;
}

#quickcart-panel .quickcart-header h3 {
    margin: 0;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    letter-spacing: 0;
}

#quickcart-panel #quickcart-content {
    gap: 0;
}

#quickcart-panel .quickcart-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 6px;
    grid-template-rows: auto auto auto auto;
    padding: 0 0 19px;
    border-bottom: 1px solid #E2E2E2;
}

#quickcart-panel .quickcart-item + .quickcart-item {
    padding-top: 19px;
}

#quickcart-panel .quickcart-item:last-child {
    border-bottom: 0;
}

#quickcart-panel .quickcart-item__media {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 2px;
}

#quickcart-panel .quickcart-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

#quickcart-panel .quickcart-item__details {
    display: contents;
}

#quickcart-panel .quickcart-item__header {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    margin: 0 0 7px;
}

#quickcart-panel .quickcart-name {
    padding-top: 2px;
    color: #000000;
    font-size: 14px;
    line-height: 21px;
    font-weight: 700;
    text-decoration: none;
}

#quickcart-panel .quickcart-remove {
    flex: 0 0 auto;
    width: 17px;
    height: 18px;
    margin-top: 0;
}

#quickcart-panel .quickcart-packaging-wrap {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
}

#quickcart-panel .quickcart-packaging-icon {
    position: absolute;
    top: 50%;
    left: 8px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

#quickcart-panel .quickcart-packaging-icon img {
    max-width: 20px;
    max-height: 20px;
}

#quickcart-panel .quickcart-packaging-none {
    display: block;
    width: 16px;
    height: 1px;
    background: #707070;
}

#quickcart-panel .quickcart-packaging {
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 0 24px 0 32px;
    border: 1px solid #E2E2E2;
    border-radius: 0;
    background-color: #ffffff;
    color: #000000;
    font-size: 10px;
    line-height: 16px;
}

#quickcart-panel .quickcart-item__controls {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: 78px 21px 86px 21px minmax(0, 1fr);
    justify-self: center;
    width: max-content;
    max-width: 100%;
    gap: 0;
    align-items: end;
    margin-top: 0;
}

#quickcart-panel .quickcart-item__controls--no-weight {
    grid-template-columns: 78px 21px auto;
}

#quickcart-panel .quickcart-control__label {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
}

#quickcart-panel .quickcart-times {
    display: flex;
    align-self: end;
    align-items: center;
    justify-content: center;
    height: 32px;
    color: #000000;
    font-size: 13px;
    line-height: 20px;
}

#quickcart-panel .quantity-selector {
    display: grid;
    grid-template-columns: 20px minmax(36px, 1fr) 20px;
    align-items: center;
    width: 78px;
    height: 32px;
    border: 1px solid #E2E2E2;
    background: #ffffff;
}

#quickcart-panel .quickcart-weight-selector {
    grid-template-columns: 20px minmax(46px, 1fr) 20px;
    width: 86px;
}

#quickcart-panel .qty-btn {
    width: 20px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000000;
    font-size: 13px;
    line-height: 1;
    text-align: center;
}

#quickcart-panel .qty-btn.minus,
#quickcart-panel .qty-btn.plus {
    text-align: center;
}

#quickcart-panel .input-quantity,
#quickcart-panel .quickcart-weight-value {
    display: block;
    width: 100%;
    min-width: 0;
    height: 30px;
    padding: 0 !important;
    border: 0;
    background: transparent;
    color: #000000;
    font-size: 11px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    white-space: nowrap;
}

#quickcart-panel .quickcart-unit-price {
    display: flex;
    align-self: end;
    align-items: center;
    justify-content: flex-start;
    height: 32px;
    padding-bottom: 1px;
    color: #000000;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

#quickcart-panel .quickcart-unit-price b {
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
}

#quickcart-panel .quickcart-line-total {
    grid-column: 1 / -1;
    grid-row: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px;
    color: #000000;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
}

#quickcart-panel .quickcart-line-total b {
    color: #497c2d;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
}

#quickcart-panel #quickcart-summary {
    padding: 0 12px 9px;
    border-top: 1px solid #E2E2E2;
}

#quickcart-panel .quickcart-summary {
    padding-top: 17px;
    border-top: 0;
}

#quickcart-panel .quickcart-summary .quickcart-totals {
    margin-bottom: 10px;
}

#quickcart-panel .quickcart-summary .quickcart-totals div {
    display: flex;
    justify-content: space-between;
    color: #000000 !important;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

#quickcart-panel .quickcart-summary .quickcart-totals div:last-child {
    align-items: baseline;
    margin-top: 1px;
    color: #000000 !important;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

#quickcart-panel .quickcart-summary .quickcart-totals div span {
    float: none;
}

#quickcart-panel .quickcart-summary .quickcart-totals div:last-child span {
    color: #497c2d;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
}

#quickcart-panel .quickcart-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

#quickcart-panel .quickcart-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0;
    border: 0;
    background: #000000;
    color: #ffffff !important;
    font-size: 13px;
    line-height: 20px;
    font-weight: 300;
    text-decoration: none;
}

#quickcart-panel .quickcart-actions a:last-child {
    background: #497c2d;
}

@media (max-width: 480px) {
    #quickcart-panel {
        right: -100%;
        width: 100%;
    }

    #quickcart-panel .quickcart-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}
