/* ============================================
   ACCOUNT/CART MENU - DIOR STYLE
   Slide-in modal with Compte/Panier tabs
   ============================================ */
/* Cart Items */
.cart-items-container {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.cart-item-subtitle {
    font-size: 12px;
    color: #666;
    margin: 0 0 5px 0;
}

.cart-item-options {
    font-size: 11px;
    color: #999;
    margin: 0 0 8px 0;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 0 8px;
    color: #333;
}

.qty-value {
    min-width: 20px;
    text-align: center;
    font-size: 13px;
}

.remove-item-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 5px;
}

.remove-item-btn:hover {
    color: #d32f2f;
}

/* Cart Summary */
.cart-summary {
    padding: 20px 0;
    border-top: 2px solid #000;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.cart-total-row {
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #333;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d32f2f;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}
.account-cart-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 550px;
    height: 100vh;
    background: white;
    z-index: 1100;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0);
}

.account-cart-menu.active {
    right: 0;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
}

/* Overlay */
.account-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    z-index: 1099;
    pointer-events: none;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.account-overlay.active {
    background: rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

/* ============================================
   HEADER
   ============================================ */

.account-menu-header {
    padding: 30px 40px 0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.account-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.account-close-btn:hover {
    opacity: 0.6;
}

/* Tabs Navigation */
.account-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 20px;
}

.account-tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 400;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.account-tab.active {
    color: #000;
    border-bottom-color: #000;
}

.account-tab:hover {
    color: #000;
}

.wishlist-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1px; /* Menos espaço - mais junto */
}

.wishlist-header-icon:hover {
    transform: scale(1.1);
}

.wishlist-header-icon svg {
    stroke: #000000;
    fill: none;
    transition: all 0.3s ease;
}

/* Rosa e pulsando no hover */
.wishlist-header-icon:hover svg {
    stroke: #FF69B4; /* Rosa */
    fill: #FF69B4; /* Preenchido rosa */
    animation: heartPulse 0.6s ease infinite;
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* ============================================
   TAB CONTENT
   ============================================ */

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

/* ============================================
   COMPTE TAB (Login)
   ============================================ */

.compte-content {
    text-align: center;
}

.create-account-btn {
    display: inline-block;
    padding: 15px 50px;
    background: #2D2D2D;
    color: white;
    border: none;
    font-size: 14px;
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 50px;
    border-radius: 4px;
}

.create-account-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-section-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #000;
}

.login-section-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

/* Login Form */
.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
}

.form-label::before {
    content: '*';
    color: #000;
    margin-right: 2px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #000;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background: transparent;
}

.form-input:focus {
    border-bottom-color: #666;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    color: #666;
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 13px;
    color: #000;
    text-decoration: underline;
    margin-top: 10px;
    cursor: pointer;
}

.forgot-password:hover {
    opacity: 0.7;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-me label {
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid #666;
    border-radius: 50%;
    font-size: 11px;
    color: #666;
    margin-left: 5px;
    cursor: help;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    color: #ccc;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    cursor: not-allowed;
    margin-top: 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.login-btn.enabled {
    background: #2D2D2D;
    color: white;
    border-color: #2D2D2D;
    cursor: pointer;
}

.login-btn.enabled:hover {
    background: #000;
}

.account-footer-link {
    display: block;
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #000;
}

.account-footer-link a {
    color: #000;
    text-decoration: underline;
}

.account-footer-link a:hover {
    opacity: 0.7;
}

/* ============================================
   PANIER TAB (Cart - Empty State)
   ============================================ */

.panier-content {
    text-align: center;
}

.empty-cart-message {
    font-size: 16px;
    color: #000;
    margin-bottom: 40px;
    padding: 40px 0;
}

.return-shop-btn {
    display: inline-block;
    padding: 15px 50px;
    background: #2D2D2D;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 60px;
    border-radius: 4px;
    text-decoration: none;
}

.return-shop-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* You Might Like Section */
.you-might-like {
    margin-top: 40px;
}

.you-might-like-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #000;
    font-family: 'Playfair Display', serif;
}

.recommendations-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.recommendations-carousel::-webkit-scrollbar {
    display: none;
}

.recommendation-item {
    flex: 0 0 45%;
    scroll-snap-align: start;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

.recommendation-image {
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommendation-item:hover .recommendation-image img {
    transform: scale(1.05);
}

.recommendation-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.recommendation-subtitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.recommendation-price {
    font-size: 14px;
    color: #000;
    font-weight: 400;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #000;
}

.cart-footer-link {
    display: block;
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #000;
}

.cart-footer-link a {
    color: #000;
    text-decoration: underline;
}

.cart-footer-link a:hover {
    opacity: 0.7;
}

/* Wishlist Icon in Header */
.wishlist-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wishlist-header-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    transition: stroke 0.3s ease;
}

.wishlist-header-icon:hover svg {
    stroke: #C9A86A;
    transform: scale(1.1);
}

/* ============================================
   SCROLLBAR
   ============================================ */

.account-cart-menu::-webkit-scrollbar {
    width: 6px;
}

.account-cart-menu::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.account-cart-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.account-cart-menu::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .account-cart-menu {
        max-width: 100%;
    }

    .account-menu-header,
    .tab-content {
        padding: 20px;
    }

    .account-close-btn {
        top: 20px;
        right: 20px;
    }

    .recommendation-item {
        flex: 0 0 70%;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.account-tab:focus,
.account-close-btn:focus,
.create-account-btn:focus,
.login-btn:focus,
.return-shop-btn:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}