/* Adapter Styles for Lattafa Home */

/* Injected Add to Cart Button */
.btn-lattafa-add {
    display: block;
    width: 100%;
    background-color: #000;
    color: #D4AF37;
    /* Gold */
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #D4AF37;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: sans-serif;
    font-size: 0.9rem;
    z-index: 10;
    position: relative;
}

.btn-lattafa-add:hover {
    background-color: #D4AF37;
    color: #000;
}

/* Cart Sidebar (Reusing my logic) */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    /* Hidden initially */
    width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    /* Top of everything */
    padding: 20px;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cart-header h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.close-cart {
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 15px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.item-details h4 {
    margin: 0 0 5px;
    font-size: 0.9rem;
}

.item-price {
    font-size: 0.85rem;
    color: #888;
}

.cart-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.total-price {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

/* Floating Cart Icon (if needed) */
.floating-cart-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.floating-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #D4AF37;
    color: #000;
    font-size: 0.8rem;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* Hide User Account Elements */
a[href*="/account"],
a[href*="/login"],
.icon-user,
.fa-user,
.header__icon--account,
.localization-form__currency {
    display: none !important;
}
