/* 
   NJ BOUTIQUE LUXURY CONSOLIDATED STYLESHEET 
   Version: 3.0 - High Precision Alignment & Slider Integration
*/

:root {
    --pink-white: #fff5f7;      /* Soft Pinkish-White */
    --blue-white: #f0f7ff;      /* Light Bluish-White */
    --luxury-pink: #db2777;     /* Branding Pink */
    --text-main: #1e293b;
    --soft-pink: #fce7f3;
}

* {
    box-sizing: border-box; /* CRITICAL: Prevents layout offsets globally */
}

body { 
    margin: 0; 
    background-color: #fafafa; 
    font-family: 'Inter', 'Segoe UI', sans-serif; 
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- LOGIN PAGE THEME (High-Precision Alignment) --- */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--pink-white) 0%, var(--blue-white) 100%);
}

.login-container {
    max-width: 380px;
    width: 90%;
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(219, 39, 119, 0.1);
    border: 1px solid var(--soft-pink);
    text-align: center;
}

.login-logo {
    width: 140px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05));
}

.login-group {
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
}

.login-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.login-container input {
    width: 100%;
    height: 50px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 15px;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.login-container input:focus {
    border-color: var(--luxury-pink);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.1);
}

.login-submit-btn {
    width: 100%;
    height: 50px;
    background: var(--luxury-pink);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(219, 39, 119, 0.3);
}

.login-submit-btn:hover {
    background: #be185d;
    transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
.nav-belt { 
    background: var(--pink-white); 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 10px 4%; 
    gap: 15px;
    border-bottom: 1px solid var(--soft-pink);
    position: sticky; top: 0; z-index: 1000;
}

.nav-logo { flex-shrink: 0; }
.nav-logo a { color: var(--text-main); text-decoration: none; font-weight: 800; font-size: 22px; }
.nav-logo span { color: var(--luxury-pink); font-size: 13px; }

.nav-search { 
    flex: 1; display: flex; max-width: 500px; height: 40px; 
    background: white; border-radius: 20px; border: 1px solid var(--soft-pink); 
    position: relative; margin: 0 10px; min-width: 150px; padding-left: 15px; align-items: center;
}
.search-icon-inside { color: var(--luxury-pink); font-size: 14px; margin-right: 10px; pointer-events: none; }
.search-input { flex: 1; border: none; outline: none; font-size: 14px; background: transparent; }

.nav-tools { display: flex; align-items: center; gap: 15px; flex-shrink: 0; white-space: nowrap; }
.nav-tools a { text-decoration: none; color: var(--text-main); display: flex; flex-direction: column; }
.nav-tools .line-1 { font-size: 11px; color: #64748b; }
.nav-tools .line-2 { font-size: 13px; font-weight: bold; color: var(--luxury-pink); }

.cart-link { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.cart-icon-wrap { position: relative; font-size: 22px; color: var(--luxury-pink); }
.cart-count { 
    position: absolute; top: -8px; right: -10px; background: var(--luxury-pink); 
    color: white; font-size: 10px; padding: 2px 6px; border-radius: 50%; font-weight: bold;
}

/* --- PRODUCT DISPLAY & SLIDER --- */
.main-content { padding: 20px 4%; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; }

.amazon-card { 
    background: white; border-radius: 12px; padding: 12px; border: 1px solid #f1f5f9; 
    transition: 0.3s; display: flex; flex-direction: column;
}

.img-wrap { width: 100%; height: 250px; overflow: hidden; position: relative; border-radius: 10px; }
.slider-wrapper { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); height: 100%; width: 100%; }
.slider-wrapper img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }

.dots-container { display: flex; justify-content: center; gap: 6px; margin: 10px 0; }
.dot { width: 8px; height: 8px; background: #e2e8f0; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--luxury-pink); width: 16px; border-radius: 10px; }

/* --- BUTTONS & ALERTS --- */
.amazon-btn { 
    background: var(--luxury-pink); border: none; padding: 10px; 
    border-radius: 20px; cursor: pointer; font-weight: bold; color: white; margin-top: auto;
}

.error-alert { 
    background: #fee2e2; color: #b91c1c; padding: 12px; border-radius: 10px; 
    font-size: 13px; margin-bottom: 20px; border: 1px solid #fecaca; display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* --- UTILITIES --- */
.hidden-card { display: none !important; }
.p-title { font-size: 15px; font-weight: 600; margin: 5px 0; }
.p-price { font-size: 18px; font-weight: 800; color: var(--luxury-pink); margin-bottom: 12px; }

.nav-main { background: var(--blue-white); padding: 8px 4%; display: flex; gap: 20px; font-size: 13px; border-bottom: 1px solid #e0e7ff; }
.nav-main a { color: #475569; text-decoration: none; font-weight: 500; }



/* --- CUSTOMER ALERT STYLES --- */
.success-alert {
    background: #dcfce7;
    color: #15803d;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #bbf7d0;
    text-align: center;
}

.info-alert {
    background: #e0f2fe;
    color: #0369a1;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #bae6fd;
    text-align: center;
}

/* Ensure the login groups handle spacing correctly */
.login-group {
    text-align: left;
    margin-bottom: 18px;
}

.login-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}