
/* =========================================
   ANEKAM ASTRO - SHARED LOGIN POPUP
   Navy Blue & Antique Gold Theme
========================================= */

.anekam-login-modal[hidden] {
    display: none !important;
}

.anekam-login-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.anekam-login-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 18, 39, .78);
    backdrop-filter: blur(5px);
}

.anekam-login-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 38px 35px 30px;
    text-align: center;
    background:
        radial-gradient(ellipse at top, #fffefa, transparent 75%),
        #fffcf5;
    border: 1px solid #c5a15a;
    border-radius: 12px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .3);
    animation: anekamLoginAppear .3s ease;
}

@keyframes anekamLoginAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.anekam-login-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    color: #08234c;
    background: #f2eadb;
    font-size: 23px;
    cursor: pointer;
    transition: .2s;
}

.anekam-login-close:hover {
    color: #ffffff;
    background: #08234c;
}

.anekam-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.anekam-login-logo img {
    display: block;
    width: 100px;
    height: 85px;
    object-fit: contain;
}

.anekam-login-eyebrow {
    margin-bottom: 8px;
    color: #a4864e;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.anekam-login-box h2 {
    margin-bottom: 9px;
    color: #08234c;
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 700;
}

.anekam-login-description {
    margin-bottom: 27px;
    color: #687286;
    font-size: 11px;
    line-height: 1.7;
}

.anekam-login-box label {
    display: block;
    margin-bottom: 8px;
    color: #08234c;
    font-size: 11px;
    font-weight: 600;
    text-align: left;
}

.anekam-phone-input {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 49px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #dfcfad;
    border-radius: 6px;
    transition: border-color .2s;
}

.anekam-phone-input:focus-within {
    border-color: #c5a15a;
}

.anekam-phone-input span {
    color: #08234c;
    font-size: 13px;
    font-weight: 600;
    border-right: 1px solid #e5dac4;
    padding-right: 12px;
}

.anekam-login-box input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #08234c;
    background: #ffffff;
    border: 1px solid #dfcfad;
    border-radius: 6px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

.anekam-phone-input input {
    min-height: 45px;
    padding: 10px 0;
    border: 0;
}

.anekam-login-box input:focus {
    border-color: #c5a15a;
}

.anekam-phone-input input:focus {
    border: 0;
}

.anekam-login-box input::placeholder {
    color: #a0a5ae;
}

#anekamSendOtp,
#anekamVerifyOtp {
    width: 100%;
    min-height: 49px;
    margin-top: 19px;
    padding: 12px 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #10366b, #08234c);
    border: 1px solid #08234c;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(8, 35, 76, .15);
    transition: .25s;
}

#anekamSendOtp:hover,
#anekamVerifyOtp:hover {
    background: #061a38;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(8, 35, 76, .2);
}

#anekamSendOtp:disabled,
#anekamVerifyOtp:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.anekam-change-number {
    margin-top: 15px;
    padding: 5px;
    color: #08234c;
    background: transparent;
    border: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    cursor: pointer;
    text-decoration: underline;
}

.anekam-login-message {
    min-height: 18px;
    margin-top: 15px;
    color: #52713f;
    font-size: 10px;
    line-height: 1.6;
}

.anekam-login-message.error {
    color: #b42318;
}

.anekam-login-footer {
    margin-top: 17px;
    padding-top: 15px;
    color: #89909b;
    border-top: 1px solid #eadfc9;
    font-size: 9px;
}

body.anekam-login-open {
    overflow: hidden;
}

/* Mobile */

@media (max-width: 480px) {
    .anekam-login-modal {
        padding: 15px;
    }

    .anekam-login-box {
        padding: 34px 23px 25px;
    }

    .anekam-login-box h2 {
        font-size: 32px;
    }
}
/* Header login button */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-login-btn {
    min-height: 42px;
    padding: 10px 20px;
    color: #08234c;
    background: transparent;
    border: 1px solid #c5a15a;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.header-login-btn:hover {
    color: #ffffff;
    background: #08234c;
    border-color: #08234c;
}

@media (max-width: 650px) {
    .header-actions {
        gap: 7px;
    }

    .header-login-btn {
        padding: 9px 12px;
        font-size: 10px;
    }
}
.header-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    background: #08234C;
    color: #FFFFFF;
    border: 1px solid #08234C;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.header-cart-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-cart-btn:hover {
    background: #C5A15A;
    border-color: #C5A15A;
    color: #08234C;
}
/* FIX: Homepage Cart Button */
.header-actions a.header-cart-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    height: 42px !important;
    min-width: 85px !important;
    padding: 0 16px !important;

    background: #08234C !important;
    color: #FFFFFF !important;
    border: 1px solid #08234C !important;
    border-radius: 5px !important;

    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.header-actions a.header-cart-btn svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    fill: none !important;
    stroke: #FFFFFF !important;
    stroke-width: 1.8 !important;
}

.header-actions a.header-cart-btn span {
    display: inline-block !important;
    color: #FFFFFF !important;
    line-height: 1 !important;
}

.header-actions a.header-cart-btn:hover {
    background: #C5A15A !important;
    border-color: #C5A15A !important;
    color: #08234C !important;
}

.header-actions a.header-cart-btn:hover svg {
    stroke: #08234C !important;
}

.header-actions a.header-cart-btn:hover span {
    color: #08234C !important;
}
.header-actions .header-cart-btn .cart-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 50%;
    background: #C5A15A;
    color: #08234C !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.header-actions .header-cart-btn .cart-count-badge[hidden] {
    display: none !important;
}
/* Elegant Cart Button with Floating Count Badge */

.header-actions a.header-cart-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    gap: 9px !important;
    height: 42px !important;
    min-width: 100px !important;
    padding: 0 17px !important;
    margin-right: 5px !important;

    background: #08234C !important;
    color: #FFFFFF !important;
    border: 1px solid #08234C !important;
    border-radius: 5px !important;

    text-decoration: none !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.header-actions a.header-cart-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    fill: none !important;
    stroke: #FFFFFF !important;
    stroke-width: 1.8 !important;
}

.header-actions a.header-cart-btn > span:not(.cart-count-badge) {
    color: #FFFFFF !important;
}

.header-actions a.header-cart-btn .cart-count-badge {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 21px !important;
    height: 21px !important;
    padding: 0 5px !important;

    background: #C5A15A !important;
    color: #08234C !important;
    border: 2px solid #FFFCF5 !important;
    border-radius: 50% !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.header-actions a.header-cart-btn .cart-count-badge[hidden] {
    display: none !important;
}

.header-actions a.header-cart-btn:hover {
    background: #C5A15A !important;
    border-color: #C5A15A !important;
}

.header-actions a.header-cart-btn:hover svg {
    stroke: #08234C !important;
}

.header-actions a.header-cart-btn:hover > span:not(.cart-count-badge) {
    color: #08234C !important;
}

/* =========================================
   HEADER MY ORDERS LINK
========================================= */

.header-orders-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #C5A15A;
    border-radius: 5px;
    background: #FFFFFF;
    color: #08234C;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s ease;
}

.header-orders-link:hover {
    background: #08234C;
    border-color: #08234C;
    color: #FFFFFF;
}
/* MY ACCOUNT HEADER LINK */
.header-account-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #C5A15A;
    border-radius: 5px;
    background: #FFFFFF;
    color: #08234C;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s ease;
}

.header-account-link:hover {
    background: #08234C;
    border-color: #08234C;
    color: #FFFFFF;
}
