/* ==============================
   GLOBAL STYLES & THEME
============================== */
:root {
    --primary-color: #2d5bff;
    --hover-color: #1f45cc;
    --bg-color: #ffffff;
    --text-color: #222;
    --accent-color: #6c63ff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 45px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg-color);
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    transition: var(--transition);
}

/* --- Background Artistic Styles --- */
body.bg-minimal {
    background: #ffffff;
}

body.bg-soft-gradient {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    background-attachment: fixed;
}

body.bg-artistic {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
                url('https://www.transparenttextures.com/patterns/rice-paper.png');
    background-attachment: fixed;
}


/* ==============================
   NAVBAR / HEADER
============================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8%;
    background: #fff;
    border-bottom: 1px solid #eee
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.explore-grid .art-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.explore-grid img {
    height: 250px;
    object-fit: cover;
}

.navbar {
    display: flex;
    justify-content: center;
    padding: 30px 40px 10px;
    /* Added top padding */
    width: 100%;
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 25px;
    transition: .3s
}

.navbar a:hover {
    background: #2d5bff;
    color: #fff
}

.nav-links {
    display: flex;
    gap: 30px
}

.nav-right {
    margin-left: auto
}

.login-btn {
    padding: 8px 18px;
    background: #2d5bff;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.login-btn:hover {
    background: var(--hover-color);
    color: #fff;
}

button, .btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: var(--transition);
}

button:hover, .btn:hover {
    background-color: var(--hover-color);
    color: #fff !important;
}

/* ==============================
   HOME PAGE (Hero Section)
============================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 8%;
    max-width: 1400px;
    margin: auto;
    background: linear-gradient(to bottom, #f8f9fb, #ffffff);
}


.hero-content {
    flex: 1;
    max-width: 520px;
    text-align: left;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #1a1a1a
}

.hero-content p {
    font-size: 14px;
    color: #666;
    max-width: 480px;
    margin: 0 0 20px;
}

.subtitle {
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2d5bff;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px
}

.hero-image {
    flex: 1.3;
    display: flex;
    justify-content: center;
    align-items: center; 
    min-height: 350px;   
}

.hero-slider {
      width: 100%;
    max-width: 420px;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    transform: translateY(-10px);
}
.hero-slider img {
    display: block;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Hero Upload Grid --- */
.hero-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.upload-box {
    background: #fdfdfd;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.upload-box:hover {
    border-color: #2d5bff;
}

.upload-box .box-preview {
    width: 100%;
    height: 120px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.upload-box .box-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-box .placeholder {
    font-size: 24px;
    color: #ccc;
}

.upload-box input[type="file"] {
    width: 100%;
    font-size: 12px;
}

.upload-box .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 5;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px
}

.hero-buttons a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 13px;
    transition: .3s
}

.btn-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    background: transparent;
}

.btn-primary:hover {
    background: var(--hover-color);
    color: #fff;
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.personal-art {
    padding: 80px 10%;
    max-width: 1400px;
    margin: auto
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px
}

.section-header h2 {
    font-size: 2rem;
    color: #1a1a1a
}

.view-all {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--hover-color);
    padding-left: 5px;
}

/* ==============================
   ART GALLERY FIX
============================== */
/* ==============================
   ART GRID / CARDS
============================== */
.art-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    /* 3 images per row */
    gap: 25px;
    padding: 20px;
}

.art-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.art-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* IMAGE FIX */
.art-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* TITLE FIX */
.art-info {
    padding: 10px;
    text-align: center;
}

.art-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0;
}


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

.art-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15)
}

    .art-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}



.art-info p {
    font-size: 14px;
    color: #777
}

/* ==============================
   MODALS / ERRORS
============================== */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    display: flex;
    background: white;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-left {
    flex: 1.2;
    padding: 30px;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eee;
}

.modal-left img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.modal-left img:hover {
    transform: scale(1.02);
}

#modalBuyBtn {
    margin-top: 25px;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 80%;
}

#modalBuyBtn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 91, 255, 0.3);
}

.modal-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-right h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.modal-right p {
    font-size: 20px;
    font-weight: 600;
    color: #4a5cff;
    margin-bottom: 20px;
}

#modalAttributes {
    margin-top: 15px;
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

#modalAttributes p {
    font-size: 16px;
    margin: 8px 0;
    color: #333;
}

#modalAttributes strong {
    font-weight: 600;
    color: #1a1a1a;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: white; /* Visibility on dark overlay */
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.close:hover {
    color: #ddd;
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
    border-radius: 4px;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-nav.prev {
    left: 10px;
}

.modal-nav.next {
    right: 10px;
}



/* ==============================
   EXPLORE PAGE
============================== */
.storybook {
    padding: 60px 8%
}


.explore-hero {
    padding: 80px 10%;
    text-align: center;
    background: linear-gradient(to right, #f8f9ff, #fff)
}

.explore-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #1a1a1a
}

.explore-hero p {
    max-width: 600px;
    margin: auto;
    font-size: 1.1rem;
    color: #555
}

.explore-nav {
    text-align: center;
    padding: 20px;
    background: #f5f8ff;
    /* light soft blue */
}

.explore-nav ul {
    list-style: none;
}

.explore-nav li {
    display: inline-block;
    margin: 0 20px;
}

.explore-nav a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
    font-size: 16px;
    transition: 0.3s;
}

/* ✨ TEXT HOVER ONLY */
.explore-nav a:hover {
    color: #2d5bff;
}


.explore-section {
    padding: 80px 10%;
    max-width: 1400px;
    margin: auto
}

.explore-section h2 {
    text-align: center;
    margin-bottom: 40px
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.explore-grid img {
    width: 100%;
    border-radius: 10px
}

.book-card,
.print-card {
    text-align: center
}

.prints-grid {
    padding: 40px 8%;
}


.price {
    font-weight: 700;
    margin: 10px 0
}

.buy-btn {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    border: 2px solid #2d5bff;
    background: #fff;
    font-weight: 500;
    color: #2d5bff;
    cursor: pointer;
    transition: .25s
}

.buy-btn:hover {
    background: #2d5bff;
    color: #fff
}

.view-more {
    display: block;
    width: 150px;
    margin: 30px auto;
    text-align: center;
    padding: 10px 20px;
    background: #2d5bff;
    color: #fff;
    text-decoration: none;
    border-radius: 25px
}

/* ==============================
   ABOUT PAGE
============================== */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 10%;
    max-width: 1300px;
    margin: 40px auto;
}

.artist-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
}

.artist-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.about-artist {
    flex: 1;
    text-align: left;
}

#aboutName {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

#aboutBio {
    line-height: 1.7;
    max-width: 600px;
    font-size: 15px;
    /* Matched to testimonial readability */
    color: #444;
    margin-bottom: 30px;
}

.section-heading {
    font-weight: 700;
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bullet styling */
.about-works,
.agencies-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

#publishedWorksList li,
#agenciesList li {
    margin-bottom: 15px;
    font-size: 15px;
}

/* TITLE (clickable faint link) */
.work-title a {
  color: #9a9a9a;
  text-decoration: none;
  border-bottom: 1px solid #cfcfcf;
  transition: all 0.2s ease;
}

.work-title a:hover {
  color: #444;
  border-bottom: 1px solid #888;
}

.work-title a:visited {
  color: #9a9a9a;
}

/* REST TEXT (normal - admin controlled) */
.work-rest {
  color: inherit;
}

.work-meta {
    font-size: 0.9rem;
    color: #777;
    margin-top: 2px;
    display: block;
}

/* ==============================
   TESTIMONIALS SECTION
============================== */
.testimonials {
    padding: 80px 10%;
    background: #f8f9ff;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
}

/* MOBILE */


/* CARD */
.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    max-width: 100%;
    width: 100%;
    max-width: 420px;
    /* prevents stretching */
    margin: auto;

}

/* TEXT FIX (IMPORTANT) */
.testimonial-card p {
    font-size: 15px;
    color: #252424;
    margin-bottom: 15px;

    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

/* NAME */
.testimonial-card h4 {
    color: #6c63ff;
    font-size: 14px;
}

/* ==============================
   SHOP / DIGITAL PRINTS PAGE
============================== */
.shop-hero {
    padding: 80px 10%;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: #fafafa
}

.shop-hero h1 {
    font-size: 3rem;
    margin-bottom: 12px;
    color: #1a1a1a
}

.shop-hero p {
    max-width: 650px;
    margin: auto;
    font-size: 1.05rem;
    color: #555
}

.shop-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 35px 10%;
    flex-wrap: wrap
}

.filter {
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: .25s
}

.filter:hover {
    border-color: #2d5bff;
    color: #2d5bff
}

.filter.active {
    background: #2d5bff;
    color: #fff;
    border-color: #2d5bff
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding: 70px 10%;
    max-width: 1400px;
    margin: auto
}


/* ===== FIX DYNAMIC PRINT CARD STRUCTURE ===== */
.prints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    min-height: 400px;
}


.shop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.shop-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 15px;
}

.shop-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 600;
}

.shop-card p {
    font-size: 1rem;
    color: #2d5bff;
    font-weight: 700;
    margin-bottom: 15px;
}

.shop-card button {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    font-size: 15px;
    border: none;
    background: linear-gradient(135deg, #6c63ff, #2d5bff);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    margin-top: auto;
}

.shop-card button:hover {
    background: linear-gradient(135deg, #574fd6, #1f45cc);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    transform: scale(1.02);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 80px
}

.pagination button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 15px
}

.pagination button:hover {
    border-color: #2d5bff;
    color: #2d5bff
}

.pagination .active {
    background: #2d5bff;
    color: #fff;
    border-color: #2d5bff
}

/* ==============================
   CHECKOUT PAGE
============================== */
.checkout-section {
    padding: 80px 10%;
    display: flex;
    justify-content: center;
}

.checkout-container {
    display: flex;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    width: 100%;
}

.checkout-image img {
    width: 320px;
    border-radius: 18px;
    object-fit: cover;
}

.checkout-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.checkout-details h2 {
    font-size: 24px;
    color: #1a1a1a;
}

.checkout-details select {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: 'Poppins';
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pay-btn {
    background: #4c6fff;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

.pay-btn:hover {
    background: #3a55d9;
}

.pay-btn:hover {
    background: #1f45d6;
}

.payment-processing {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: none;
    /* IMPORTANT */

    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.processing-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

/* ==============================
   FOOTER
============================== */
/* 🔥 Global Footer Dynamic Styles */
.global-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #f0f0f0;
    background: #ffffff;
    margin-top: 60px;
}
 
.global-footer h2 {
    margin-bottom: 15px;
    font-weight: 600;
}
 
.global-footer p {
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    line-height: 1.6;
}

.global-footer .social-icons {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.global-footer .copyright {
    margin-top: 30px;
    font-size: 14px;
    color: #888;
    border-top: 1px solid #f9f9f9;
    padding-top: 20px;
}
 
.footer {
    background: #f8f8f8;
    padding: 70px 8% 30px;
    margin-top: 80px;
}

/* center content */

.footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* artist name */

.footer-about h3 {
    font-size: 22px;
    margin-bottom: 15px;
}


.footer-about p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* ===== SOCIAL ICONS ===== */

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-icons a:hover {
    background: #2d5bff;
    color: #fff;
    transform: translateY(-3px);
}

/* ===== FOOTER BOTTOM ===== */

.footer-bottom {
    border-top: 1px solid #ddd;
    margin-top: 40px;
    padding-top: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;

    font-size: 14px;
    color: #444;
}

/* right links */

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    text-decoration: none;
    color: #333;
    transition: .3s;
}

.footer-bottom a:hover {
    color: #2d5bff;
}



/* ==============================
   LOGIN / AUTH PAGES
============================== */
.login-section {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 10%;
    background: #f8f9ff
}

.login-card {
    background: #fff;
    padding: 40px;
    width: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    text-align: center
}

.login-card h2 {
    margin-bottom: 10px;
    color: #1a1a1a
}

.login-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px
}

.login-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px
}

.login-card input:focus {
    outline: none;
    border-color: #2d5bff
}

.login-card button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #2d5bff;
    color: #fff;
    font-size: 15px;
    border-radius: 25px;
    cursor: pointer
}

.login-card button:hover {
    background: #1f45cc
}

.divider {
    margin: 20px 0;
    font-size: 12px;
    color: #888
}

.register-text {
    font-size: 14px
}

.register-text a {
    color: #2d5bff;
    text-decoration: none;
    font-weight: 500
}

.register-text a:hover {
    text-decoration: underline
}

/* ==============================
   PROFILE PANEL
============================== */
.user-profile {
    display: flex;
    align-items: center;
    font-size: 28px;
    cursor: pointer
}

.profile-panel {
    position: fixed;
    right: -300px;
    top: 80px;
    width: 260px;
    background: white;
    padding: 20px;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 999;
}

.profile-panel.active {
    right: 0;
}

#profileName {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px
}

.profile-panel h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555
}

#profilePrints {
    list-style: none;
    margin: 0 0 15px
}

#profilePrints li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px
}

#totalPrints {
    margin-top: 10px;
    font-weight: 500;
    font-size: 14px
}

.profile-panel button {
    margin-top: auto;
    padding: 10px;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer
}

.profile-panel button:hover {
    background: #333
}

#profileIcon {
    background: #f1f3ff;
    padding: 10px;
    border-radius: 50%;
    transition: 0.25s ease;
}

#profileIcon:hover {
    background: #2d5bff;
    color: white;
    transform: scale(1.1);
}

/* 🔥 ENHANCED PROFILE SYSTEM */
.profile-panel {
    position: fixed;
    right: -320px;
    top: 80px;
    width: 280px;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-panel.active {
    right: 20px;
    /* Slide in with gap */
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #BF335D;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(191, 51, 93, 0.3);
}

#profileGreeting {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
}

#totalPrints {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

#profilePrints {
    list-style: none;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 0;
}

#profilePrints li {
    padding: 12px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
    transition: 0.2s;
}

#profilePrints li:hover {
    background: #fdfdfd;
}

#profilePrints strong {
    color: #222;
}

#profilePrints small {
    color: #999;
}

.status {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.status.paid {
    background: #e6f4ea;
    color: #1e7e34;
}

.status.pending {
    background: #fff4e5;
    color: #b45d00;
}

.status.failed {
    background: #fce8e6;
    color: #c5221f;
}

.logout-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.logout-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

@media(max-width:900px) {
    .header {
        flex-direction: column;
        gap: 10px;
    }

    .shop-hero h1 {
        font-size: 2.4rem
    }

    .shop-grid {
        gap: 30px;
        padding: 60px 8%
    }
}

@media(max-width:800px) {
    .checkout-container {
        flex-direction: column;
        text-align: center
    }

    .checkout-image img {
        width: 100%;
        max-width: 350px;
        margin: auto
    }
}

@media(max-width:600px) {
    .shop-grid {
        grid-template-columns: 1fr
    }

    .newsletter-box {
        flex-direction: column;
        align-items: center
    }

    .newsletter-box input {
        width: 100%;
        max-width: 320px
    }
}

.error-modal {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: none;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;

}

.error-box {

    background: white;
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    max-width: 350px;

}

.error-box button {

    margin-top: 15px;
    padding: 10px 20px;
    border: none;

    background: #ff4d4d;
    color: white;

    border-radius: 6px;
    cursor: pointer;

}

.payment-methods label {

    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 8px;
    cursor: pointer;

}

.payment-methods input {
    transform: scale(1.1);
}


/* ==============================
   SUCCESS PAGE
============================== */
.success-section {
    display: flex;
    justify-content: center;
    padding: 80px 10%;
}

.success-container {
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.success-icon {
    font-size: 40px;
    color: #28a745;
    margin-bottom: 10px;
}

.success-message {
    color: #555;
    margin-bottom: 20px;
}

.order-details img {
    width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.success-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.download-btn {
    background: #2d5bff;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.download-btn:hover {
    background: #2d5bff;
}

.shop-btn {
    background: #ddd;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.shop-btn:hover {
    background: #ccc;
}

.size-section {
    margin: 20px 0;
    text-align: center;
}

.size-options,
.format-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 20px;
}

.size-btn,
.format-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.size-btn.active,
.format-btn.active {
    background: #2d5bff;
    color: #fff;
    border-color: #2d5bff;
}

/* ==============================
   CONSOLIDATED RESPONSIVE STYLES
============================== */

/* SMALL LAPTOP (1024px) */
@media (max-width: 1024px) {
    .header {
        padding: 20px 5%;
    }
}

/* TABLET (768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .navbar ul {
        gap: 15px;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 10%;
    }

.hero-slider {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

    #heroTitle {
        font-size: 28px !important;
    }

    #heroSubtitle {
        font-size: 14px !important;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 40px 16px;
        gap: 30px;
    }

    .artist-image {
        flex: 0 0 250px;
        max-width: 250px;
        margin: 0 auto;
    }

    .about-artist {
        text-align: center;
    }

    #aboutName {
        font-size: 2.2rem;
    }

    #aboutBio {
        margin: 0 auto 30px;
    }

    .section-heading {
        font-size: 1.1rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        flex-direction: column;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-left {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .prev { left: 10px; }
    .next { right: 10px; }

    .art-grid,
    .explore-grid,
    .shop-grid,
    .prints-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 20px;
    }
}

/* MOBILE (480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .navbar a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    #aboutName {
        font-size: 1.8rem;
    }

    #aboutBio {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .art-grid,
    .shop-grid,
    .explore-grid,
    .prints-grid {
        grid-template-columns: 1fr !important;
        padding: 20px;
    }

    .profile-panel {
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        right: -100% !important;
        border-radius: 0 !important;
    }

    .profile-panel.active {
        right: 0 !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==============================
   PRO HERO SLIDER & ADMIN PREVIEWS
   ============================== */
/* Previews Moved or Integrated */

.preview-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preview-box {
  position: relative;
}

.preview-box img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.preview-box button {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* ==============================
   REFACTORED UTILITY CLASSES
============================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-container {
    display: flex;
    background: #fff;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    overflow: hidden;
    position: relative;
}

.modal-image-styled {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-details-styled {
    padding: 20px;
    width: 50%;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

.modal-buy-btn-fixed {
    display: none;
    position: absolute;
    bottom: 30px;
    background: #3b5bdb;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

.password-group {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.password-input-styled {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
    margin: 0;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.forgot-password-link-container {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password-link {
    font-size: 14px;
    color: #2d5bff;
    text-decoration: none;
}

.shop-header-container {
    text-align: center; 
    padding: 40px 10%; 
    background: #fff;
}

.verification-status-styled {
    font-weight: 600; 
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

/* ==============================
   MOBILE HERO SLIDER VISIBILITY FIX
============================== */
@media (max-width: 768px) {
    .hero-image {
        width: 100%;
        min-height: 400px;
        display: block !important;
        visibility: visible !important;
    }

    .hero-slider {
        width: 100%;
        max-width: 420px;
        height: 400px !important;
        display: block !important;
        visibility: visible !important;
        margin: 0 auto;
    }

    .slide {
        display: block !important;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .slide.active {
        opacity: 1 !important;
    }

    .slide img {
        width: 100%;
        height: 100% !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .hero-image {
        min-height: 300px;
    }

    .hero-slider {
        height: 300px !important;
    }
}

