/* ============================================
   WHOLESALE SAREE WALA - COMPLETE STYLESHEET
   Modern E-Commerce Platform - Clean White Version
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #d43f34;
    --primary-dark: #b83227;
    --primary-light: #ff6b5e;
    --secondary: #2c3e50;
    --accent: #ffd966;
    --accent-gold: #d4af37;
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
    --white: #ffffff;
    --black: #000000;
    --success: #27ae60;
    --error: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #f3b33d, #e6a017, #d4af37);
    --gradient-rose: linear-gradient(135deg, #ff6b8b, #ff416c);
    --gradient-dark: linear-gradient(135deg, #667eea, #764ba2);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --shadow-2xl: 0 35px 60px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 30px rgba(212, 63, 52, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 5px var(--primary); }
    50% { box-shadow: 0 0 20px var(--primary); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-rose);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


/* ============================= */
/* HEADER BASE STYLE */
/* ============================= */
.header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    font-family: 'Inter', sans-serif;
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 15px;
}

/* LOGO */
.logo {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.logo span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

/* SEARCH BAR */
.search {
    flex: 1;
    display: flex;
    align-items: center;
}

.search input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search input:focus {
    border-color: #ff5959;
    box-shadow: 0 0 5px rgba(255,89,89,0.4);
}

.search-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 6px 6px 0;
    background: #ff5959;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #e14e4e;
}

/* DELIVERY BUTTON & DROPDOWN */
/* Global box-sizing fix */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Deliver container */
.deliver {
  position: relative;
  font-family: 'Inter', sans-serif;
}

/* Deliver button style */
.deliver-btn {
  background: #ff5959;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
  white-space: nowrap; /* prevent text wrap */
}

.deliver-btn:hover {
  background: #e14e4e;
}

/* Dropdown container */
.deliver-dropdown {
  position: absolute;
  top: 42px;
  right: 0;
  width: 260px;
  max-width: 90vw;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  overflow: hidden; /* prevent inner overflow */
  animation: fadeIn 0.3s ease forwards;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inputs inside dropdown */
.deliver-dropdown input {
  padding: 8px 0px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  font-size: 14px;
  outline: none;
}

.deliver-dropdown input:focus {
  border-color: #ff5959;
  box-shadow: 0 0 5px rgba(255, 89, 89, 0.3);
}

/* Confirm button */
.deliver-dropdown button {
  padding: 10px 0;
  border: none;
  border-radius: 6px;
  background: #ff5959;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.deliver-dropdown button:hover {
  background: #e14e4e;
}

/* Dropdown header */
.deliver-dropdown .dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Close icon */
.deliver-dropdown .close {
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .deliver-dropdown {
    right: 50%;
    transform: translateX(50%);
  }
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .search {
        order: 2;
        width: 100%;
    }
    .deliver {
        order: 3;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 20px;
    }
    .deliver-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
    .search input {
        font-size: 13px;
    }
    .search-btn {
        font-size: 14px;
        padding: 6px 12px;
    }
}




















/* ============================= */
/* CRUSH ON COLOUR - CLEAN UI */
/* ============================= */

.color-section {
    padding: 60px 20px;
    max-width: 1250px;
    margin: auto;
}

/* HEADER */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

.section-header p {
    color: #777;
    font-size: 14px;
}

/* GRID */
.color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ============================= */
/* CARD */
/* ============================= */

.color-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    transition: transform 0.3s ease;
}

/* IMAGE */
.color-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* SOFT OVERLAY */
.color-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* CONTENT */
.color-card-content {
    position: absolute;
    bottom: 18px;
    left: 18px;
    color: #fff;
    z-index: 2;
}

/* Subtitle */
.color-card-content span {
    font-size: 12px;
    opacity: 0.85;
}

/* Title */
.color-card-content h3 {
    font-size: 20px;
    margin: 4px 0;
    font-weight: 600;
}

/* ============================= */
/* HOVER (SIMPLE & CLASSY) */
/* ============================= */

.color-card:hover {
    transform: translateY(-5px);
}

.color-card:hover img {
    transform: scale(1.05);
}

/* BUTTON */
.color-card-btn {
    margin-top: 6px;
    padding: 5px 14px;
    font-size: 12px;
    border: none;
    border-radius: 20px;
    background: #fff;
    color: #000;
    cursor: pointer;

    opacity: 0;
    transition: 0.3s ease;
}

.color-card:hover .color-card-btn {
    opacity: 1;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {
    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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