/* ==========================================
   1. GLOBAL VARIABLES & RESET
   ========================================== */
:root {
  --brand-purple: #4A154B;  /* Main Header & Primary Buttons */
  --brand-magenta: #D81B60; /* Accent/Highlight Buttons */
  --brand-gold: #F59E0B;    /* Dynamic Badges & Icons */
  
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --border-color: #E5E7EB;
  --max-width: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================
   2. HEADER & TOP BAR STYLES
   ========================================== */
.top-bar {
  background-color: var(--brand-purple);
  color: #ffffff;
  font-size: 12px;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a, .top-bar span {
  color: #ffffff;
}

.top-bar-cin {
  color: #FCD34D;
  font-weight: bold;
}

.main-header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-purple);
  line-height: 1.1;
  display: block;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-gray);
  letter-spacing: 0.5px;
}

/* Search Box */
.header-search {
  flex: 1;
  max-width: 450px;
  display: none;
}

.search-form {
  display: flex;
  width: 100%;
}

.search-input {
  width: 100%;
  border: 2px solid var(--border-color);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 8px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--brand-magenta);
}

.search-btn {
  background-color: var(--brand-magenta);
  color: white;
  padding: 8px 20px;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-btn:hover {
  background-color: #be1550;
}

/* Header Links */
.header-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--brand-magenta);
}

.btn-admin {
  background-color: #F3E8FF;
  color: var(--brand-purple);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #D8B4FE;
  display: flex;
  align-items: center;
}

.btn-admin:hover {
  background-color: var(--brand-purple);
  color: white;
}

.cart-icon {
  position: relative;
  background-color: #F3F4F6;
  padding: 8px;
  border-radius: 50%;
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cart-icon:hover {
  background-color: #E5E7EB;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--brand-magenta);
  color: white;
  font-size: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Category Menu */
.category-nav {
  background-color: #F3F4F6;
  border-top: 1px solid var(--border-color);
}

.menu-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
}

.menu-item {
  position: relative;
  padding: 10px 0;
}

.menu-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  display: inline-block;
}

.menu-link:hover {
  color: var(--brand-magenta);
}

/* Submenu Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-top: 1px solid var(--border-color);
  padding: 24px;
  z-index: 50;
  min-width: 600px;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-item:hover .dropdown-menu {
  display: grid;
}

.sub-title {
  font-size: 12px;
  font-weight: bold;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sub-list {
  list-style: none;
}

.sub-list li a {
  font-size: 12px;
  color: var(--text-gray);
  text-decoration: none;
  display: block;
  padding: 3px 0;
}

.sub-list li a:hover {
  color: var(--brand-magenta);
}

/* ==========================================
   3. REUSABLE COMPONENTS & BUTTONS
   ========================================== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-magenta {
  background-color: var(--brand-magenta);
  color: #fff;
}
.btn-magenta:hover {
  background-color: #be1550;
}

.btn-purple {
  background-color: var(--brand-purple);
  color: #fff;
}
.btn-purple:hover {
  background-color: #350f36;
}

/* Responsive Grid System */
.grid-system {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .header-search {
    display: flex;
  }
  .grid-system {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-system {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* =========================================================================
   [INDEX.PHP / HERO SLIDER CSS] - WITH 5PX BORDER
   ========================================================================= */
.hero-wrapper {
  position: relative;
  width: 100%;
  background-color: #f3f4f6;
  border-top: 5px solid var(--brand-purple); /* Upar ki patli line */
  border-bottom: 5px solid var(--brand-purple); /* Niche ki patli line */
  padding: 0;
  overflow: hidden;
}

/* Standard Full-width Slide Logic */
.hero-slide {
  display: none;
  width: 100%;
  position: relative;
}

.hero-slide.active {
  display: block;
  animation: fadeIn 0.8s ease-in-out;
}

.hero-slide a {
  display: block;
  width: 100%;
  text-decoration: none;
}

@keyframes fadeIn {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.banner-full-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover; 
  display: block;
}

/* Slider Dots overlay on image */
.slider-dots, .slider-dots-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  margin: 0;
  z-index: 10;
}

.slider-dots .dot, .slider-dots-overlay .dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots .dot.active, .slider-dots-overlay .dot.active {
  background-color: #ffffff;
  width: 24px;
  border-radius: 5px;
}

/* Mobile specific image heights to maintain UI */
@media (max-width: 768px) {
  .banner-full-img {
    height: 240px; 
  }
  .slider-dots, .slider-dots-overlay {
    bottom: 12px;
  }
}
/* =========================================================================
   [INDEX.PHP / HERO SLIDER CSS] - END
   ========================================================================= */


/* Features Section Styling */
.features-section {
    padding: 50px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.feature-icon {
    font-size: 42px;
    color: #1f2937;
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    max-width: 220px;
}

/* Responsive Grid for Mobile & Tablets */
@media (max-width: 992px) {
    .features-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr); /* 1 ki jagah 2 kar diya gaya hai */
        gap: 15px; /* Mobile ke liye gap thoda kam kar diya taaki 2 card aasaani se fit ho jayein */
    }
    
    /* Mobile par card ki padding aur text thoda chhota karne ke liye (Optional but best for UI) */
    .feature-card {
        padding: 5px;
    }
    .feature-icon {
        font-size: 32px;
        margin-bottom: 10px;
        height: 40px;
    }
    .feature-title {
        font-size: 13px;
    }
    .feature-desc {
        font-size: 11px;
    }
}


/* =========================================================================
   [INDEX.PHP / CATEGORIES & FEATURED PRODUCTS GRID] - START
   ========================================================================= */
/* Dynamic 4 Column Grid for Features & Categories */
.grid-4-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Dynamic 3 Column Grid for Featured Products */
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cat-grid-section {
    padding: 30px 20px;
    background-color: #ffffff;
}

.cat-grid-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

/* Scrollbar styling */
.cat-grid-container::-webkit-scrollbar,
.products-sliding-wrapper::-webkit-scrollbar {
    height: 6px;
}
.cat-grid-container::-webkit-scrollbar-thumb,
.products-sliding-wrapper::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 4px;
}

.cat-grid-card {
    flex: 0 0 calc(14.28% - 14px);
    min-width: 150px;
    text-decoration: none;
    color: #111827;
    text-align: center;
    transition: transform 0.2s ease;
}

.cat-grid-card:hover {
    transform: translateY(-3px);
}

.cat-img-box {
    width: 100%;
    height: 140px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #374151;
}

.cat-grid-card:hover .cat-title {
    color: #d81b60;
}


/* =========================================================================
   [INDEX.PHP / POPULAR CUSTOM PRODUCTS 1-LINE SLIDER] - FIXED
   ========================================================================= */
.products-sliding-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    padding: 10px 5px 15px 5px;
    width: 100%;
    box-sizing: border-box;
}

.ecommerce-product-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.ecommerce-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-img-box {
    width: 100%;
    height: 140px;
    background: #f8fafc;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-box {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand-tag {
    font-size: 10px;
    text-transform: uppercase;
    color: #718096;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-box {
    font-size: 15px;
    font-weight: 800;
    color: #4A154B;
    margin-top: auto;
}

.product-price-box span {
    font-size: 10px;
    color: #a0aec0;
    font-weight: 400;
}

@media (max-width: 600px) {
    .ecommerce-product-card {
        flex: 0 0 170px !important;
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
    }
    .product-img-box {
        height: 120px;
    }
}


/* Layout & Container */
.lines-section {
    padding: 50px 20px;
    background-color: #f8fafc;
}

.lines-container {
    max-width: 1280px;
    margin: 0 auto;
}

.cat-block {
    margin-bottom: 45px;
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

/* Category Title Styling */
.cat-header {
    border-left: 5px solid #d81b60;
    padding-left: 16px;
    margin-bottom: 24px;
}

.cat-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.cat-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Grid Layout for 6 Items */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* Modern Card Styling */
.item-card {
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-card:hover {
    border-color: #d81b60;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(216, 27, 96, 0.12);
}

/* Image Container Styling */
.item-img {
    width: 100%;
    height: 120px;
    background-color: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-card:hover .item-img img {
    transform: scale(1.06);
}

/* Card Heading */
.item-card h3 {
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    margin: 0;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.item-card:hover h3 {
    color: #d81b60;
}

/* Responsive Grid for Tablets and Mobile */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cat-block {
        padding: 18px;
    }
    .item-img {
        height: 100px;
    }
}


/* ==========================================
   FEATURED CATEGORIES SECTION STYLES
   ========================================== */

.featured-categories-section {
    padding: 5px 0;
    background-color: #ffffff;
    width: 100%;
}

/* Header Text Styles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.sub-heading {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333333;
    margin-bottom: 12px;
}

.main-heading {
    font-size: 42px;
    font-family: serif;
    font-weight: 400;
    color: #222222;
    margin-bottom: 25px;
    line-height: 1.2;
}

.btn-shop-all {
    display: inline-block;
    background-color: #222222;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-shop-all:hover {
    background-color: #444444;
}

/* Grid Layout Fix */
.categories-grid, 
.featured-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Individual Card Width Fix */
.category-card, 
.featured-card {
    flex: 1 1 0px;
    width: 33.33%;
    text-align: center;
    background: #ffffff;
    box-sizing: border-box;
}

.card-image, 
.card-image-box {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.card-image img, 
.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .card-image img,
.featured-card:hover .card-image-box img {
    transform: scale(1.03);
}

.card-content {
    padding: 20px 10px 0;
}

.card-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 14px;
    color: #555555;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: #555555;
}

/* ==========================================
   RESPONSIVE LAYOUT (MOBILE & TABLET)
   ========================================== */

/* Tablet Screens */
@media (max-width: 992px) {
    .categories-grid, 
    .featured-grid {
        flex-wrap: wrap !important;
    }
    
    .category-card, 
    .featured-card {
        width: 48%;
        flex: 0 0 48%;
    }
}

/* Mobile Screens */
@media (max-width: 600px) {
    .main-heading {
        font-size: 28px;
    }
    
    .categories-grid, 
    .featured-grid {
        flex-direction: column !important;
    }

    .category-card, 
    .featured-card {
        width: 100%;
        flex: 1 1 100%;
    }

    .card-image, 
    .card-image-box {
        height: 300px;
    }
}


/* =========================================================================
   [FOOTER.PHP / SITE FOOTER CSS] - START
   ========================================================================= */
.site-footer {
  background-color: #111827;
  color: #9CA3AF;
  padding-top: 50px;
  border-top: 4px solid var(--brand-magenta);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}

/* Footer Brand & Logo */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo-circle {
  width: 38px;
  height: 38px;
  background-color: var(--brand-magenta);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.footer-desc {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #9CA3AF;
}

.footer-legal-info p {
  font-size: 12px;
  color: #9CA3AF;
}

.footer-legal-info strong {
  color: #ffffff;
}

/* Footer Columns & Titles */
.footer-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #374151;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-magenta);
}

/* Contact List Styling */
.footer-contact-list {
  list-style: none;
  padding-left: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
}

.footer-contact-list i {
  color: var(--brand-magenta);
  margin-top: 3px;
}

/* Bottom Bar Styling */
.footer-bottom {
  border-top: 1px solid #1F2937;
  padding: 20px 0;
  background-color: #0B0F17;
  font-size: 12px;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (min-width: 640px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  gap: 15px;
}

.footer-legal-links a {
  color: #6B7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* =========================================================================
   MOBILE RESPONSIVE & DROPDOWN (ACCORDION) STYLES
   ========================================================================= */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-col {
    border-bottom: 1px solid #1F2937;
    padding-bottom: 12px;
  }

  .footer-col:last-child {
    border-bottom: none;
  }

  .footer-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  /* Dropdown Arrow Icon */
  .footer-title::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s ease;
  }

  .footer-col.active .footer-title::after {
    transform: rotate(45deg);
  }

  /* Hide content by default on mobile */
  .footer-col .footer-links,
  .footer-col .footer-contact-list,
  .footer-col .footer-legal-info {
    display: none;
    margin-top: 12px;
  }

  /* Show content when active class is added */
  .footer-col.active .footer-links,
  .footer-col.active .footer-contact-list,
  .footer-col.active .footer-legal-info {
    display: block;
  }
}
/* =========================================================================
   [LOGIN.PHP / AUTHENTICATION PAGES CSS] - START
   ========================================================================= */
.auth-wrapper {
  padding: 60px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background-color: var(--bg-light);
}

.auth-card {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 35px 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 24px;
}

/* Error Alert Box */
.alert-error {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

/* Form Controls & Inputs */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(74, 21, 75, 0.1);
}

/* Full Width Button */
.btn-full {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  margin-top: 6px;
}

/* Auth Footer Link Text */
.auth-footer-text {
  font-size: 13px;
  text-align: center;
  color: var(--text-gray);
  margin-top: 20px;
}

.auth-link {
  color: var(--brand-purple);
  font-weight: 700;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

   /* =========================================================================
   [ORDER CONFIRMATION PAGE CSS] - START
   ========================================================================= */
.order-confirmation-wrapper {
  padding: 50px 16px;
  background-color: var(--bg-light);
}

.order-confirmation-wrapper .container {
  max-width: 800px;
}

/* Success Card Styling */
.order-success-card {
  background: #ffffff;
  padding: 40px 20px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  margin-bottom: 30px;
}

.success-icon-box {
  width: 80px;
  height: 80px;
  background-color: #D1FAE5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 16px auto;
}

.success-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
}

.success-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}

.order-ref-badge {
  display: inline-block;
  background-color: #F3E8FF;
  color: var(--brand-purple);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  margin-top: 14px;
}

/* Order Summary Box */
.order-summary-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.order-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.order-items-list {
  display: flex;
  flex-direction: column;
}

.order-item-row {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F3F4F6;
}

.order-item-row:last-child {
  border-bottom: none;
}

.item-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.item-meta {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
}

.item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-purple);
}

/* Order Total Row */
.order-total-row {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 12px;
  text-align: right;
  font-size: 14px;
  color: var(--text-gray);
}

.order-total-row strong {
  font-size: 20px;
  color: var(--brand-purple);
  margin-left: 6px;
}

.order-actions {
  margin-top: 30px;
  text-align: center;
}

/* =========================================================================
   PREMIUM PRODUCT DETAIL PAGE CSS
   ========================================================================= */
.product-detail-wrapper {
  padding: 50px 0;
  background-color: #F8FAFC;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 45% 52%;
  }
}

/* Sticky Left Side Gallery */
.product-gallery-sticky {
  position: sticky;
  top: 30px;
  height: fit-content;
}

.product-image-box {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.main-product-img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-product-img:hover {
  transform: scale(1.03);
}

.product-features-badges {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FFFFFF;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.badge-item {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-item i {
  color: #10B981;
}

/* Right Customization Form Card */
.product-form-card {
  background: #FFFFFF;
  padding: 36px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

.product-category-badge {
  font-size: 11px;
  font-weight: 800;
  color: #4F46E5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-title {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  margin-top: 6px;
  letter-spacing: -0.5px;
}

.product-description {
  font-size: 14px;
  color: #64748B;
  margin-top: 8px;
  line-height: 1.6;
}

.form-section {
  margin-top: 28px;
}

.form-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  display: block;
  margin-bottom: 12px;
}

/* Paper Option Cards */
.custom-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.select-card {
  cursor: pointer;
  position: relative;
}

.paper-radio {
  position: absolute;
  opacity: 0;
}

.select-card-content {
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px;
  transition: all 0.2s ease;
  background: #FFFFFF;
}

.paper-radio:checked + .select-card-content {
  border-color: #4F46E5;
  background: #EEF2FF;
}

.card-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}

.card-subtext {
  display: block;
  font-size: 10px;
  color: #64748B;
  margin-top: 2px;
}

/* Quantity Grid Cards */
.qty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.qty-option {
  cursor: pointer;
}

.qty-radio {
  display: none;
}

.qty-box {
  padding: 12px 8px;
  text-align: center;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.qty-num {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
}

.qty-label {
  font-size: 10px;
  color: #64748B;
}

.qty-radio:checked + .qty-box {
  border-color: #4F46E5;
  background: #4F46E5;
}

.qty-radio:checked + .qty-box .qty-num,
.qty-radio:checked + .qty-box .qty-label {
  color: #FFFFFF;
}

/* Modern File Drag/Drop Box */
.upload-box-wrapper {
  border: 2px dashed #CBD5E1;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  position: relative;
  background: #F8FAFC;
  transition: all 0.2s ease;
  cursor: pointer;
}

.upload-box-wrapper:hover {
  border-color: #4F46E5;
  background: #EEF2FF;
}

.upload-icon {
  font-size: 28px;
  color: #4F46E5;
  margin-bottom: 8px;
  display: block;
}

.upload-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
}

.upload-sub {
  display: block;
  font-size: 11px;
  color: #94A3B8;
  margin-top: 4px;
}

.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Bottom Action Bar */
.price-action-bar {
  background: #0F172A;
  color: #FFFFFF;
  padding: 20px 24px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 15px;
}

.price-label {
  font-size: 11px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-value {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
}

.price-note {
  font-size: 10px;
  color: #64748B;
}

.btn-add-cart {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
}


/* =========================================================================
   CLEAN VISTAPRINT BELOW-THE-FOLD FIXES
   ========================================================================= */

.product-info-tabs-wrapper {
  background: #FFFFFF;
  padding: 50px 0;
  border-top: 1px solid #E2E8F0;
}

.tabs-header {
  display: flex;
  gap: 15px;
  border-bottom: 2px solid #E2E8F0;
  margin-bottom: 25px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.active {
  color: #4F46E5;
  border-bottom-color: #4F46E5;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-heading {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 15px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.feature-card {
  background: #F8FAFC;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.feature-card i {
  font-size: 26px;
  color: #4F46E5;
  margin-bottom: 10px;
  display: block;
}

.feature-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
}

/* Specs Table */
.specs-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}

.specs-table td {
  padding: 12px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 14px;
}

/* Reviews Summary */
.reviews-summary {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.rating-score {
  text-align: center;
  background: #EEF2FF;
  padding: 20px 35px;
  border-radius: 14px;
}

.rating-score h2 {
  font-size: 42px;
  color: #4F46E5;
  font-weight: 800;
}

.stars {
  color: #F59E0B;
  font-size: 16px;
  margin: 4px 0;
}

/* Related Products Grid */
.related-products-wrapper {
  padding: 50px 0;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.related-card {
  text-decoration: none;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.rel-img-box {
  width: 100%;
  height: 180px; 
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rel-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  padding: 10px;
}

.rel-card-info {
  padding: 14px;
}

.rel-card-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rel-price {
  font-size: 13px;
  font-weight: 700;
  color: #4F46E5;
}


   /* =========================================================================
   [PRODUCTS.PHP / CATALOG PAGE CSS] - START
   ========================================================================= */
.products-catalog-wrapper {
  padding: 40px 0;
  background-color: var(--bg-light);
}

/* Header & Filter Bar */
.catalog-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .catalog-header {
    flex-direction: row;
    align-items: center;
  }
}

.catalog-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  border-left: 4px solid var(--brand-magenta);
  padding-left: 12px;
  line-height: 1.2;
}

.catalog-subtitle {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 4px;
}

/* Category Filter Tabs */
.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  background-color: #E5E7EB;
  color: var(--text-dark);
  transition: all 0.2s;
}

.filter-tab:hover {
  background-color: #D1D5DB;
}

.filter-tab.active {
  background-color: var(--brand-purple);
  color: #ffffff;
}

/* Empty State Styling */
.empty-products-box {
  background: #ffffff;
  padding: 50px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.empty-icon {
  font-size: 48px;
  color: #D1D5DB;
  margin-bottom: 12px;
}

.empty-text {
  color: var(--text-gray);
  font-weight: 600;
  font-size: 14px;
}

/* Product Card Custom Layout */
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
}

.product-card-body {
  padding: 20px;
}

.product-cat-badge {
  font-size: 10px;
  color: var(--brand-magenta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  margin-top: 2px;
}

.product-card-desc {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-info {
  margin-top: 14px;
  background: #F9FAFB;
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid var(--border-color);
}

.price-start-label {
  color: var(--text-gray);
  display: block;
}

.price-start-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-purple);
  display: block;
  margin: 2px 0;
}

.price-min-qty {
  color: #9CA3AF;
  font-size: 11px;
}

.product-card-footer {
  padding: 12px;
  background: #F9FAFB;
  border-top: 1px solid var(--border-color);
}

.btn-full-width {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 12px;
}


/* =========================================================================
   [PROFILE.PHP / USER DASHBOARD PAGE CSS] - START
   ========================================================================= */
.profile-page-wrapper {
  padding: 40px 0;
  background-color: var(--bg-light);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: 0.8fr 2.2fr;
  }
}

/* Sidebar Profile Card */
.profile-sidebar-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  height: fit-content;
}

.profile-avatar-circle {
  width: 64px;
  height: 64px;
  background-color: var(--brand-purple);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.profile-user-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

.profile-user-email {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

/* Sidebar Links */
.profile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s;
}

.profile-menu-item.active {
  background-color: #F3F4F6;
  border-left: 4px solid var(--brand-purple);
}

.profile-menu-item.logout {
  color: #DC2626;
}

.profile-menu-item.logout:hover {
  background-color: #FEE2E2;
}

/* Main Content Area */
.profile-main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  border-left: 4px solid var(--brand-magenta);
  padding-left: 12px;
  line-height: 1.2;
}

/* Empty Orders Styling */
.empty-orders-card {
  background: #ffffff;
  padding: 50px 20px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-color);
}

/* Orders Table Styling */
.orders-table-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  overflow-x: auto;
}

.custom-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.custom-data-table th {
  background-color: #F9FAFB;
  color: var(--text-gray);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.custom-data-table td {
  padding: 16px;
  border-bottom: 1px solid #F3F4F6;
}

.custom-data-table tr:last-child td {
  border-bottom: none;
}

.custom-data-table tr:hover {
  background-color: #F9FAFB;
}

.order-id-cell {
  font-weight: 700;
  color: var(--text-dark);
}

.order-date-cell {
  color: var(--text-gray);
}

.order-amount-cell {
  font-weight: 800;
  color: var(--brand-purple);
}

/* Order Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.status-completed {
  background-color: #D1FAE5;
  color: #047857;
}

.status-pending {
  background-color: #DBEAFE;
  color: #1D4ED8;
}


   /* =========================================================================
   [QUOTE.PHP / B2B REQUEST FORM CSS] - START
   ========================================================================= */
.quote-page-wrapper {
  padding: 50px 0;
  background-color: var(--bg-light);
}

.quote-container {
  max-width: 800px;
}

.quote-form-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.quote-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  border-left: 4px solid var(--brand-magenta);
  padding-left: 12px;
  line-height: 1.2;
}

.quote-subtitle {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 6px;
  margin-bottom: 24px;
}

/* Alert Notification Boxes */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}

.alert-success {
  background-color: #D1FAE5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.alert-danger {
  background-color: #FEE2E2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Quote Form Elements */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--brand-magenta);
}

.textarea-control {
  resize: vertical;
  min-height: 100px;
}

.btn-submit-quote {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  margin-top: 8px;
}


   /* =========================================================================
   [REGISTER.PHP & LOGIN.PHP / AUTH PAGES CSS] - START
   ========================================================================= */
.auth-page-wrapper {
  padding: 50px 0;
  background-color: var(--bg-light);
}

.auth-container {
  max-width: 480px;
}

.auth-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 24px;
}

/* Alert Boxes for Auth */
.alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.alert-danger {
  background-color: #FEE2E2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.alert-success {
  background-color: #D1FAE5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

/* Form Styling */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--brand-magenta);
}

.btn-auth-submit {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  margin-top: 8px;
}

.auth-footer-text {
  font-size: 12px;
  text-align: center;
  color: var(--text-gray);
  margin-top: 20px;
}

.auth-link {
  color: var(--brand-magenta);
  font-weight: 700;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}


   /* =========================================================================
   [CHECKOUT.PHP PAGE CSS] - START
   ========================================================================= */
.checkout-page-wrapper {
  padding: 40px 0;
  background-color: var(--bg-light);
}

.checkout-main-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  border-left: 4px solid var(--brand-purple);
  padding-left: 12px;
  margin-bottom: 24px;
}

/* Grid Layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .checkout-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.checkout-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.shipping-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-card {
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--brand-magenta);
}

.textarea-control {
  resize: vertical;
}

/* Payment Summary Box */
.payment-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-gray);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-purple);
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.security-badge {
  background-color: #F3E8FF;
  border: 1px solid #E9D5FF;
  color: var(--brand-purple);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.btn-place-order {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

/* Order Success Card */
.order-success-card {
  background: #ffffff;
  padding: 40px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon-box {
  width: 70px;
  height: 70px;
  background-color: #D1FAE5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px auto;
}

.success-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
}

.success-desc {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 8px;
}

.order-highlight {
  color: var(--brand-purple);
}

.success-subnote {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

.success-action-box {
  margin-top: 24px;
}


   /* =========================================================================
   [CART.PHP PAGE CSS] - START
   ========================================================================= */
.cart-page-wrapper {
  padding: 40px 0;
  background-color: var(--bg-light);
}

.cart-main-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  border-left: 4px solid var(--brand-magenta);
  padding-left: 12px;
  margin-bottom: 24px;
}

/* Empty Cart Layout */
.empty-cart-card {
  background: #ffffff;
  padding: 50px 20px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.empty-cart-icon {
  font-size: 60px;
  color: #D1D5DB;
  margin-bottom: 16px;
}

.empty-cart-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.empty-cart-text {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 4px;
  margin-bottom: 24px;
}

/* Cart Items Grid Layout */
.cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .cart-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

@media (min-width: 576px) {
  .cart-item-card {
    flex-direction: row;
    align-items: center;
  }
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-icon-box {
  width: 60px;
  height: 60px;
  background-color: #F3E8FF;
  color: var(--brand-purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.cart-item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.cart-item-specs {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.artwork-status {
  color: #16A34A;
  font-weight: 700;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

@media (min-width: 576px) {
  .cart-item-actions {
    width: auto;
    justify-content: flex-end;
  }
}

.cart-item-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-purple);
}

.btn-remove-item {
  background: none;
  border: none;
  color: #EF4444;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}

.btn-remove-item:hover {
  color: #B91C1C;
}

/* Order Summary Box */
.cart-summary-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  height: fit-content;
}

.cart-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.cart-summary-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-val {
  font-weight: 700;
  color: var(--text-dark);
}

.free-shipping-text {
  font-weight: 700;
  color: #16A34A;
}

.total-row {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-purple);
}

.btn-checkout {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  margin-top: 24px;
}


   /* =========================================================================
   [ADMIN CATEGORIES PAGE CSS] - START
   ========================================================================= */
.admin-body {
  background-color: #f3f4f6;
  font-family: inherit;
  padding: 24px;
  margin: 0;
}

.admin-container {
  max-width: 1024px;
  margin: 0 auto;
}

.admin-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.border-bottom {
  border-bottom: 1px solid var(--border-color);
}

.admin-title {
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
  margin: 0;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

/* Form Styles */
.admin-form-box {
  background-color: #f9fafb;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.form-title {
  font-size: 15px;
  font-weight: 700;
  color: #374151;
  margin-top: 0;
  margin-bottom: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.badge-root {
  color: var(--brand-purple);
  font-weight: 700;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
}

/* Table Styles */
.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.admin-table th, 
.admin-table td {
  padding: 12px;
  border: 1px solid var(--border-color);
}

.admin-table th {
  background-color: #1f2937;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
  background-color: #f9fafb;
}

/* Action Buttons */
.btn-delete {
  background-color: #fee2e2;
  color: #dc2626;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-delete:hover {
  background-color: #dc2626;
  color: #ffffff;
}

.text-center { text-align: center; }
.text-muted { color: #9ca3af; }
.text-dark { color: #111827; }
.font-bold { font-weight: 700; }


   /* =========================================================================
   [ADMIN leads.PHP PAGE CSS] - START
   ========================================================================= */
.space-y-6 > * + * {
  margin-top: 24px;
}

.admin-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-subtitle {
  font-size: 12px;
  color: var(--text-gray, #6b7280);
  margin-top: 4px;
}

.contact-cell {
  font-size: 12px;
}

.contact-cell p {
  margin: 0;
}

.text-purple {
  color: var(--brand-purple, #6b21a8);
}

.details-cell {
  font-size: 12px;
  color: #4b5563;
  max-width: 250px;
  word-wrap: break-word;
}


   /* =========================================================================
   [ADMIN ORDERS.PHP PAGE CSS] - START
   ========================================================================= */
.text-indigo {
  color: #4f46e5;
}

.table-card {
  padding: 0;
  overflow: hidden;
}

.btn-blue {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-blue:hover {
  background-color: #1d4ed8;
}

.btn-indigo {
  background-color: #4f46e5;
  color: #ffffff;
}

.btn-indigo:hover {
  background-color: #4338ca;
}

.btn-danger {
  background-color: #dc2626;
  color: #ffffff;
}

.btn-danger:hover {
  background-color: #b91c1c;
}

.order-item-spec {
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.order-item-spec:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.spec-text {
  font-size: 11px;
  color: #6b7280;
  margin: 2px 0 0 0;
}

.price-amount {
  font-size: 15px;
  color: #111827;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 4px;
  transition: background-color 0.2s;
}

.btn-download:hover {
  background-color: #dbeafe;
}

.no-artwork-text {
  font-size: 10px;
  display: block;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
}

.badge-success {
  background-color: #d1fae5;
  color: #065f46;
}


   /* =========================================================================
   [ADMIN PRODUCTS-MANAGE.PHP PAGE CSS] - START
   ========================================================================= */
.full-width {
  grid-column: 1 / -1;
}

.text-blue {
  color: #2563eb;
}

.mt-4 {
  margin-top: 16px;
}

.mb-4 {
  margin-bottom: 16px;
}

.pb-2 {
  padding-bottom: 8px;
}


   /* =========================================================================
   [ADMIN SETTINGS.PHP PAGE CSS] - START
   ========================================================================= */
.form-grid-single {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-purple, #6b21a8);
}

.btn-submit {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 14px;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
}