/* ========== BASE ========== */
body {
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent; /* Mobile pe tap karne pe blue box nahi aayega */
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* ========== GLOBAL CONTAINER PADDING ========== */
/* Mobile aur tablet pe normal 16px padding (Tailwind default) */

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    .container {
        padding-left: 4rem !important;   /* 64px */
        padding-right: 4rem !important;
        max-width: 1300px !important;
    }
}

/* Large Desktop - 1280px+ */
@media (min-width: 1280px) {
    .container {
        padding-left: 6rem !important;   /* 96px */
        padding-right: 6rem !important;
        max-width: 1400px !important;
    }
}

/* Extra Large - 1536px+ */
@media (min-width: 1536px) {
    .container {
        padding-left: 8rem !important;   /* 128px */
        padding-right: 8rem !important;
        max-width: 1500px !important;
    }
}

/* ========== MOBILE APP FEEL ========== */
/* iPhone Safe Area (Notch ke liye) */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hide Scrollbar for App Feel */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Firefox scrollbar hide */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ========== UTILITIES ========== */
/* Line clamp for product names */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Image zoom on hover (product cards) */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-down {
    animation: slideDown 0.3s ease-out;
}

/* ========== FLASH SALE PULSE ========== */
@keyframes pulse-red {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse-red {
    animation: pulse-red 1.5s ease-in-out infinite;
}

/* ========== STICKY SIDEBAR SCROLL ========== */
.filter-scroll {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* ========== BUTTON HOVER EFFECT ========== */
.btn-lift {
    transition: all 0.3s ease;
}

.btn-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ========== TEXT SELECTION ========== */
::selection {
    background-color: #000;
    color: #fff;
}

/* ========== SMOOTH FOCUS ========== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}