/* Font style & aesthetic variables matching Atelier Terres Claires */
:root {
    --etc-cream-bg: #f4ebd0;
    --etc-dark: #000000;
    --etc-gold: #ddc590;
    --etc-font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    --etc-sans-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* Custom Astra Header Cart Button Styling */
.astra-custom-header-cart-btn-be7c2162 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 12px;
    transition: all 0.2s ease-in-out;
}

.astra-custom-header-cart-btn-be7c2162:hover {
    transform: scale(1.05);
    background-color: black;
}

.astra-custom-cart-badge-be7c2162 {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--etc-dark, #000000);
    color: #ffffff;
    font-size: 10px;
    font-family: var(--etc-sans-family);
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Floating Action Trigger Button */
.elegant-cart-trigger-be7c2162 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    background-color: var(--etc-gold, #ddc590);
    color: var(--etc-dark, #000000);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.elegant-cart-trigger-be7c2162:hover {
    transform: scale(1.08);
    background-color: #d1b883;
}

.elegant-cart-count-badge-be7c2162 {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--etc-dark, #000000);
    color: #ffffff;
    font-size: 11px;
    font-family: var(--etc-sans-family);
    font-weight: bold;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
}

/* Floating Card Panel Container */
.elegant-cart-modal-be7c2162 {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 60px);
    background: var(--etc-cream-bg, #f4ebd0);
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    z-index: 99998;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 600px;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Modal Open State */
.elegant-cart-modal-be7c2162.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Modal Header */
.elegant-cart-header-be7c2162 {
    padding: 24px 28px 15px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
}

.elegant-cart-header-be7c2162 h3 {
    margin: 0;
    font-family: var(--etc-font-family);
    font-size: 24px;
    font-weight: 700;
    color: var(--etc-dark, #000000);
}

.elegant-cart-close-be7c2162 {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--etc-dark);
    opacity: 0.5;
    transition: opacity 0.2s;
    line-height: 1;
}

.elegant-cart-close-be7c2162:hover {
    opacity: 1;
}

/* Modal Body / Scrollable Area */
.elegant-cart-body-be7c2162 {
    flex: 1;
    overflow-y: auto;
    padding: 0 28px;
    max-height: 280px;
}

/* Scrollbar */
.elegant-cart-body-be7c2162::-webkit-scrollbar {
    width: 6px;
}
.elegant-cart-body-be7c2162::-webkit-scrollbar-track {
    background: transparent;
}
.elegant-cart-body-be7c2162::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Cart Items Container */
.elegant-cart-items-container-be7c2162 {
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
}

.elegant-cart-empty-msg-be7c2162 {
    font-family: var(--etc-sans-family);
    color: #666;
    text-align: center;
    padding: 30px 0;
    margin: 0;
}

/* Individual Cart Item with absolute delimiters */
.elegant-cart-item-be7c2162 {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.08) !important;
}

.elegant-cart-item-be7c2162:last-child {
    border-bottom: none !important;
}

/* Absolute Square Images */
.elegant-cart-item-img-be7c2162 img {
	aspect-ratio: 4/6 !important;
	border-radius: 25% !important;
    object-fit: cover !important;
    border-radius: 12px;
    display: block;
}

.elegant-cart-item-details-be7c2162 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.elegant-cart-item-title-be7c2162 {
    font-family: var(--etc-font-family);
    font-size: 16px;
    font-weight: 700;
    color: var(--etc-dark);
}

.elegant-cart-item-desc-be7c2162 {
    font-family: var(--etc-sans-family);
    font-size: 11px;
    color: #6c6a67;
}

/* Qty styling */
.elegant-qty-selector-be7c2162 {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 30px;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.4);
    width: fit-content;
    margin-top: 2px;
}

.qty-btn-be7c2162 {
    background: none;
    border: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--etc-dark);
}

.qty-input-be7c2162 {
    border: none;
    background: transparent;
    width: 32px;
    text-align: center;
    font-family: var(--etc-sans-family);
    font-size: 12px;
    font-weight: bold;
    pointer-events: none;
    margin: 0;
    padding: 0;
    -moz-appearance: textfield;
}

.qty-input-be7c2162::-webkit-outer-spin-button,
.qty-input-be7c2162::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.elegant-cart-item-price-be7c2162 {
    font-family: var(--etc-font-family);
    font-size: 16px;
    font-weight: bold;
    color: var(--etc-dark);
    white-space: nowrap;
}

/* Modal Footer */
.elegant-cart-footer-be7c2162 {
    padding: 20px 28px 28px 28px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.elegant-cart-summary-be7c2162 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label-be7c2162 {
    font-family: var(--etc-sans-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--etc-dark);
}

.summary-count-be7c2162 {
    font-family: var(--etc-font-family);
    font-size: 16px;
    font-weight: bold;
    color: var(--etc-dark);
}

/* Elegant Pay Action Button */
.elegant-cart-checkout-btn-be7c2162 {
    display: block;
    width: 100%;
    background-color: var(--etc-gold, #ddc590);
    color: var(--etc-dark, #000000);
    text-align: center;
    text-decoration: none;
    font-family: var(--etc-font-family);
    font-size: 22px;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 14px;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.elegant-cart-checkout-btn-be7c2162:hover {
    background-color: #d1b883;
    color: var(--etc-dark, #000000);
    transform: translateY(-2px);
}
