#wcc-floating-button.wcc-floating {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99998;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#wcc-floating-button.wcc-floating.is-hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

#wcc-floating-button .wcc-open-btn {
    background: var(--wcc-button-bg, #ffffff);
    color: var(--wcc-button-color, #0f172a);
    border: none;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#wcc-floating-button .wcc-open-icon {
    width: 26px;
    height: 26px;
    fill: currentColor;
    display: block;
}

#wcc-floating-button .wcc-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--wcc-badge-bg, var(--wcc-primary, #0ea081));
    color: var(--wcc-badge-text, var(--wcc-primary-contrast, #ffffff));
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#wcc-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99997;
}

#wcc-popup.wcc-popup {
    position: fixed;
    right: 18px;
    top: 8%;
    height: 80%;
    width: 500px;
    overflow: auto;
    background: var(--wcc-popup-bg, #ffffff);
    color: var(--wcc-popup-color, #0f172a);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.16);
    border-radius: 10px;
    z-index: 99999;
    opacity: 0;
    transform: translateY(8px);
    transition: transform 0.2s ease, opacity 0.2s ease;
	overflow: hidden;
    padding: 24px 16px;
}

#wcc-popup.wcc-popup.is-open {
    opacity: 1;
    transform: translateY(0);
}

#wcc-popup.wcc-popup .wcc-cart {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
    height: 100%;
}

#wcc-popup.wcc-popup .wcc-cart-header {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#wcc-popup.wcc-popup .wcc-cart-header .wcc-cart-header-text {
    display: inline-flex;
    align-items: center;
}

#wcc-popup.wcc-popup .wcc-cart-header .wcc-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--wcc-badge-bg, var(--wcc-primary, #0ea081));
    color: var(--wcc-badge-text, var(--wcc-primary-contrast, #ffffff));
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    margin-left: 6px;
}

#wcc-popup.wcc-popup .wcc-empty {
    text-align: center;
    margin: auto;
}

#wcc-popup.wcc-popup .wcc-empty-image {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0 auto 12px;
    display: block;
}

#wcc-popup.wcc-popup .wcc-empty-text {
    margin: 0;
    font-weight: 500;
}

#wcc-popup.wcc-popup .wcc-cart-items {
	overflow-y: scroll;
}

#wcc-popup.wcc-popup .wcc-item {
    display: flex;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

#wcc-popup.wcc-popup .wcc-item:first-child {
    padding: 0 0 24px 0;
}

#wcc-popup.wcc-popup .wcc-thumb {
    width: 125px;
    height: 125px;
}

#wcc-popup.wcc-popup .wcc-thumb img {
    width: 125px;
    height: 125px;
    object-fit: cover;
    border-radius: 6px;
}

#wcc-popup.wcc-popup .wcc-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

#wcc-popup.wcc-popup .wcc-item-title {
    font-weight: 600;
    font-size: 14px;
}

#wcc-popup.wcc-popup .wcc-item-variation {
    color: #94a3b8;
    font-size: 11px;
    margin-top: 4px;
}

#wcc-popup.wcc-popup .wcc-item-price {
    color: #0b8f73;
    margin-top: 6px;
}

#wcc-popup.wcc-popup .wcc-item-meta {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    justify-content: end;
}

#wcc-popup.wcc-popup .wcc-cart-total {
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

#wcc-popup.wcc-popup .wcc-cart-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    flex-direction: row;
}

#wcc-popup.wcc-popup .wcc-btn {
    display: inline-block;
    background: var(--wcc-primary-btn-bg, var(--wcc-primary, #0ea081));
    color: var(--wcc-primary-btn-text, var(--wcc-primary-contrast, #ffffff));
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    border-radius: 99px;
}

#wcc-popup.wcc-popup .wcc-btn-primary {
    flex: 1;
    display: inline-flex;
    justify-content: center;
}

#wcc-popup.wcc-popup .wcc-btn-secondary {
    background: var(--wcc-secondary-btn-bg, #ffffff);
    color: var(--wcc-secondary-btn-text, #0f172a);
    border: 1px solid #e2e8f0;
}

#wcc-popup.wcc-popup .wcc-btn:hover,
#wcc-popup.wcc-popup .wcc-btn:focus-visible,
#wcc-popup.wcc-popup .wcc-btn-secondary:hover,
#wcc-popup.wcc-popup .wcc-btn-secondary:focus-visible {
    background: var(--wcc-hover-bg, var(--wcc-primary, #0ea081));
    color: var(--wcc-hover-text, var(--wcc-primary-contrast, #ffffff));
}

#wcc-popup.wcc-popup .wcc-qty {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 99px;
}

#wcc-popup.wcc-popup .wcc-qty-input {
    width: 56px;
    padding: 4px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
}

#wcc-popup.wcc-popup .wcc-qty-input::-webkit-outer-spin-button,
#wcc-popup.wcc-popup .wcc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#wcc-popup.wcc-popup .wcc-cart .wcc-qty input.wcc-qty-input {
    -moz-appearance: textfield;
    appearance: textfield;
    border: none;
    padding: 0;
    outline: none !important;
    width: 50px;
}

#wcc-popup.wcc-popup .wcc-cart .wcc-qty button.wcc-qty-btn {
    height: 100%;
    border: none;
    cursor: pointer;
    color: var(--wcc-popup-color);
}

#wcc-popup.wcc-popup .wcc-cart .wcc-qty button.wcc-qty-btn:hover,
#wcc-popup.wcc-popup .wcc-cart .wcc-qty button.wcc-qty-btn:focus-visible {
    background: var(--wcc-hover-bg, var(--wcc-primary, #0ea081));
    color: var(--wcc-hover-text, var(--wcc-primary-contrast, #ffffff));
}

#wcc-popup.wcc-popup .wcc-remove-item {
    border: none;
    background: transparent;
    color: #0f172a;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#wcc-popup.wcc-popup .wcc-remove-item:hover,
#wcc-popup.wcc-popup .wcc-remove-item:focus-visible {
    background: var(--wcc-hover-bg, var(--wcc-primary, #0ea081));
    color: var(--wcc-hover-text, var(--wcc-primary-contrast, #ffffff));
    border-radius: 50%;
}

#wcc-popup.wcc-popup .wcc-remove-icon {
    width: 18px;
    height: 18px;
    display: block;
}

#wcc-popup.wcc-popup .wcc-close {
    background: none;
    border: none;
    cursor: pointer !important;
    color: var(--wcc-popup-color);
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#wcc-popup.wcc-popup .wcc-close:hover,
#wcc-popup.wcc-popup .wcc-close:focus-visible {
    background: var(--wcc-hover-bg, var(--wcc-primary, #0ea081));
    color: var(--wcc-hover-text, var(--wcc-primary-contrast, #ffffff));
    border-radius: 50%;
}

#wcc-popup.wcc-popup .wcc-close-icon {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}