* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #faf8f5;
    color: #222;
}


/* NAVBAR */

.navbar {
    height: 75px;
    background: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 22px;
    font-weight: bold;
}

.logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}


/* HERO */

.hero {
    min-height: 500px;

    display: flex;
    align-items: center;

    padding: 60px 10%;

    background:
        linear-gradient(
            rgba(255,255,255,.75),
            rgba(255,255,255,.75)
        ),
        url("../images/artwork1.jpg");

    background-size: cover;
    background-position: center;
}

.small-title {
    letter-spacing: 4px;
    font-size: 13px;
}

.hero h1 {
    font-size: 60px;
    margin: 20px 0;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;

    padding: 14px 25px;

    background: #111;
    color: white;

    text-decoration: none;

    border-radius: 5px;
}


/* PRODUCTS */

.products-section {
    padding: 70px 8%;
}

.products-section h2 {
    text-align: center;
    font-size: 35px;
}

.section-description {
    text-align: center;
    margin: 10px 0 40px;
    color: #777;
}

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 25px;
}

.product-card {
    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(0,0,0,.08);
}

.product-card img {
    width: 100%;
    height: 280px;

    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    min-height: 45px;
}

.price {
    font-size: 22px;
    font-weight: bold;

    margin: 10px 0 15px;
}

.product-buttons {
    display: flex;
    gap: 10px;
}

.product-buttons button {
    flex: 1;

    padding: 12px;

    border: none;

    border-radius: 5px;

    cursor: pointer;
}

.cart-btn {
    background: #eee;
}

.buy-btn {
    background: #111;
    color: white;
}


/* AUTH */

.auth-container {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 420px;

    background: white;

    padding: 35px;

    border-radius: 12px;

    box-shadow: 0 5px 30px rgba(0,0,0,.1);
}

.auth-box h1 {
    text-align: center;

    margin-bottom: 25px;
}

.input {
    width: 100%;

    padding: 14px;

    margin-bottom: 15px;

    border: 1px solid #ddd;

    border-radius: 6px;
}

.primary-btn {
    width: 100%;

    padding: 14px;

    background: #111;

    color: white;

    border: none;

    border-radius: 6px;

    cursor: pointer;
}


/* FOOTER */

footer {
    background: #111;
    color: white;

    text-align: center;

    padding: 40px;
}


@media(max-width:700px) {

    .navbar {
        height: auto;
        padding: 15px;

        flex-direction: column;

        gap: 15px;
    }

    nav {
        gap: 12px;

        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 42px;
    }

}

.category {
    display: inline-block;

    font-size: 13px;

    color: #777;

    margin-bottom: 8px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.size-select {
    width: 100%;

    padding: 12px;

    margin: 10px 0;

    border: 1px solid #ddd;

    border-radius: 6px;

    background: white;

    font-size: 15px;
}

/* =========================================
   LOGIN PAGE
========================================= */

.login-logo {
    text-align: center;
    margin-bottom: 15px;
}

.login-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.auth-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 25px;
}

.auth-box label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.auth-message {
    text-align: center;
    margin-top: 15px;
    min-height: 20px;
}


/* GOOGLE LOGIN */

.google-btn {
    width: 100%;

    padding: 13px 15px;

    background: white;

    border: 1px solid #d9d9d9;

    border-radius: 6px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-size: 15px;

    font-weight: 500;

    transition: 0.2s;
}

.google-btn:hover {
    background: #f7f7f7;

    border-color: #aaa;
}

.google-icon {
    width: 24px;
    height: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: bold;

    font-size: 20px;

    color: #4285f4;
}


/* OR DIVIDER */

.divider {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 25px 0;
}

.divider span {
    flex: 1;

    height: 1px;

    background: #ddd;
}

.divider p {
    margin: 0;

    color: #888;

    font-size: 13px;
}


/* REGISTER */

.register-text {
    text-align: center;

    margin-top: 25px;
}

.register-text a {
    color: #111;

    font-weight: 600;

    text-decoration: none;
}

.register-text a:hover {
    text-decoration: underline;
}


/* HOME */

.home-link {
    text-align: center;

    margin-top: 15px;
}

.home-link a {
    color: #666;

    text-decoration: none;

    font-size: 14px;
}

/* =====================================================
   PAYMENT PAGE
===================================================== */

.payment-page {
    min-height: 100vh;

    padding: 50px 20px;

    background: #faf8f5;
}

.payment-box {
    width: 100%;
    max-width: 650px;

    margin: auto;

    background: white;

    padding: 35px;

    border-radius: 15px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);
}


/* HEADER */

.payment-header {
    text-align: center;

    margin-bottom: 35px;
}

.payment-logo {
    width: 65px;
    height: 65px;

    object-fit: contain;

    margin-bottom: 10px;
}

.payment-header h1 {
    font-size: 30px;

    margin-bottom: 8px;
}

.payment-header p {
    color: #777;
}


/* SECTIONS */

.checkout-section {
    margin-bottom: 30px;
}

.checkout-section h2 {
    font-size: 20px;

    margin-bottom: 18px;
}


/* ORDER ITEMS */

.payment-item {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 12px 0;

    border-bottom: 1px solid #eee;
}

.payment-item img {
    width: 65px;
    height: 65px;

    object-fit: cover;

    border-radius: 7px;
}

.payment-item-info {
    flex: 1;
}

.payment-item-info h4 {
    margin-bottom: 5px;
}

.payment-item-info p {
    color: #777;

    font-size: 14px;
}


/* TOTAL */

.payment-total {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 20px;

    padding-top: 20px;

    border-top: 2px solid #111;

    font-size: 20px;
}

.payment-total strong {
    font-size: 25px;
}


/* PAYMENT METHODS */

.payment-methods {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 8px;
}

.payment-method {
    border: 1px solid #ddd;

    background: white;

    border-radius: 8px;

    padding: 12px 5px;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

    font-size: 12px;
}

.payment-method:hover {
    border-color: #111;
}

.payment-method.active {
    border: 2px solid #111;

    background: #fafafa;
}

.payment-icon {
    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eee;

    font-weight: bold;
}

.phonepe-icon {
    background: #6739b7;

    color: white;
}

.gpay-icon {
    color: #4285f4;

    background: #f1f5ff;
}


/* PAYMENT PANELS */

.payment-panel {
    padding: 25px;

    border: 1px solid #eee;

    border-radius: 10px;

    margin-bottom: 30px;

    text-align: center;
}

.payment-panel h2 {
    margin-bottom: 10px;
}

.payment-panel > p {
    color: #666;

    line-height: 1.6;

    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}


/* QR */

.qr-container {
    display: flex;

    justify-content: center;

    margin: 20px 0;
}

.qr-code {
    width: 220px;
    height: 220px;

    object-fit: contain;

    border: 1px solid #ddd;

    padding: 10px;

    border-radius: 10px;
}


/* UPI ID */

.upi-id-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 13px;

    background: #f6f6f6;

    border-radius: 7px;

    margin-bottom: 15px;
}

.upi-id-box span {
    color: #777;
}

.upi-id-box strong {
    font-size: 15px;
}

.upi-id-box button {
    border: none;

    background: #111;

    color: white;

    padding: 7px 12px;

    border-radius: 5px;

    cursor: pointer;
}


/* PAYMENT BUTTON */

.payment-button {
    display: block;

    width: 100%;

    text-align: center;

    text-decoration: none;

    margin-top: 10px;
}

.small-note {
    font-size: 12px !important;

    margin-top: 12px;
}


/* APP PAYMENT */

.app-payment-card {
    padding: 18px;

    background: #f8f8f8;

    border-radius: 8px;

    margin-bottom: 15px;
}

.app-payment-card strong {
    font-size: 18px;
}

.app-payment-card p {
    margin-top: 8px;

    color: #666;
}


/* CARD */

.card-notice {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    background: #f8f8f8;

    border-radius: 8px;

    margin-bottom: 15px;

    text-align: left;

    font-size: 25px;
}

.card-notice strong {
    font-size: 16px;
}

.card-notice p {
    font-size: 13px;

    color: #777;

    margin-top: 5px;
}


/* CONFIRMATION */

.confirmation-section {
    padding-top: 10px;

    border-top: 1px solid #eee;
}

.confirmation-section p {
    color: #666;

    line-height: 1.6;

    margin-bottom: 15px;
}


/* SECURITY */

.payment-security {
    text-align: center;

    color: #777;

    font-size: 13px;

    padding-top: 15px;
}


/* MOBILE */

@media (max-width: 600px) {

    .payment-page {
        padding: 20px 10px;
    }

    .payment-box {
        padding: 20px;
    }

    .payment-header h1 {
        font-size: 24px;
    }

    .payment-methods {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .payment-method {
        padding: 10px 3px;
    }

    .upi-id-box {
        flex-direction: column;
    }

    .payment-item {
        align-items: flex-start;
    }

}

/* =====================================================
   UDAY ART OFFICIAL - WEBSITE FOOTER
   ===================================================== */

.site-footer {
    background: #111;
    color: #fff;
    margin-top: 60px;
    padding-top: 50px;
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;

    padding: 0 25px 40px;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1.2fr
        1fr;

    gap: 40px;
}


.footer-column {
    display: flex;
    flex-direction: column;
}


.footer-brand {
    align-items: flex-start;
}


.footer-logo {
    width: 75px;
    height: 75px;

    object-fit: contain;

    margin-bottom: 12px;
}


.footer-column h2 {
    margin: 0 0 8px;

    font-size: 24px;
}


.footer-column h3 {
    margin: 0 0 20px;

    font-size: 19px;
}


.footer-column p {
    margin: 5px 0;

    color: #ccc;
}


.footer-description {
    max-width: 280px;

    line-height: 1.6;

    font-size: 14px;
}


.footer-column a {
    color: #ddd;

    text-decoration: none;

    margin-bottom: 14px;

    font-size: 15px;

    transition: 0.3s;
}


.footer-column a:hover {
    color: #fff;

    transform: translateX(4px);
}


.footer-column a span {
    display: block;

    margin-left: 25px;

    margin-top: 3px;

    font-size: 13px;

    color: #999;
}


.footer-bottom {
    border-top: 1px solid #333;

    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}


.footer-bottom p {
    margin: 0;

    color: #aaa;

    font-size: 13px;
}


/* =====================================================
   MOBILE FOOTER
   ===================================================== */

@media (max-width: 768px) {

    .footer-container {

        grid-template-columns: 1fr 1fr;

        gap: 30px;

    }


    .footer-bottom {

        flex-direction: column;

        text-align: center;

    }

}


@media (max-width: 500px) {

    .footer-container {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .footer-brand {

        align-items: center;

    }


    .footer-description {

        margin-left: auto;

        margin-right: auto;

    }


    .footer-column a:hover {

        transform: none;

    }

}

/* =====================================================
   GOOGLE LOGIN IMAGE
   ===================================================== */

.google-btn {
    width: 100%;

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    background: #fff;

    border: 1px solid #ddd;

    border-radius: 8px;

    cursor: pointer;

    font-size: 16px;

    color: #222;

    transition: 0.2s;
}


.google-btn:hover {
    background: #f7f7f7;
}


.google-login-image {
    width: 22px;

    height: 22px;

    object-fit: contain;
}


.google-btn:disabled {
    opacity: 0.6;

    cursor: not-allowed;
}

/* =====================================================
   CONTACT & SOCIAL MEDIA LOGOS
   ===================================================== */

.social-link {
    display: flex !important;

    align-items: center;

    gap: 12px;

    color: #ddd;

    text-decoration: none;

    margin-bottom: 16px;

    transition: 0.2s;
}


.social-link:hover {
    color: #fff;

    transform: translateX(4px);
}


.social-link img {
    width: 32px;

    height: 32px;

    object-fit: contain;

    flex-shrink: 0;
}


.social-link span {
    display: block;

    margin: 0 !important;

    color: inherit;

    font-size: 14px;
}


.email-icon {
    width: 32px;

    height: 32px;

    display: flex !important;

    align-items: center;

    justify-content: center;

    font-size: 24px !important;

    color: #fff !important;

    background: transparent;
}


@media (max-width: 500px) {

    .social-link {
        justify-content: center;
    }

    .social-link:hover {
        transform: none;
    }

}

/* PROFILE MENU */

.nav-profile {
    position: relative;
    display: inline-block;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 15px;
    padding: 8px 10px;
}

.profile-icon {
    font-size: 22px;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 230px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 8px 0;
    display: none;
    z-index: 9999;
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown a,
.profile-dropdown button {
    width: 100%;
    display: block;
    padding: 12px 16px;
    text-align: left;
    text-decoration: none;
    color: #222;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    box-sizing: border-box;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
    background: #f5f5f5;
}

.profile-user-info {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

.profile-user-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.profile-user-info small {
    display: block;
    color: #777;
    font-size: 12px;
    word-break: break-word;
}

/* Mobile */

@media (max-width: 768px) {
    .profile-dropdown {
        right: 0;
        width: 210px;
    }

    .profile-button {
        padding: 7px;
    }
}

/* =====================================================
   WELCOME TOAST
   ===================================================== */

.welcome-toast {
    position: fixed;
    top: 90px;
    right: 25px;
    width: 340px;
    max-width: calc(100% - 30px);
    background: #ffffff;
    color: #222;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    border-left: 4px solid #111;
    z-index: 10000;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s ease;
}

.welcome-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.welcome-toast-icon {
    font-size: 25px;
    line-height: 1;
}

.welcome-toast-content {
    flex: 1;
}

.welcome-toast-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.welcome-toast-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.welcome-toast-close {
    border: none;
    background: transparent;
    color: #777;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.welcome-toast-close:hover {
    color: #111;
}

@media (max-width: 600px) {
    .welcome-toast {
        top: 75px;
        right: 15px;
        width: auto;
        left: 15px;
        max-width: none;
    }
}