* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --gray: #94a3b8;
    --dark: #1e293b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    color: var(--dark);
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

nav li {
    height: 70px;
}

nav a, .cart {
    height: 100%;
    padding: 0 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}
.menu-btn button {
    height: 100%;
    fill:var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

nav a:hover, .cart:hover {
    color: var(--primary);
    background: var(--gray-light);
}

.menu-btn button:hover{
    fill: var(--primary);
    background: var(--gray-light);
}
.menu-btn button {
    background: none;
    border: none;
    font-size: 1.5rem;
}

nav li:first-child {
    margin-right: auto;
}

.cart {
    position: relative;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.cart svg {
    fill: var(--dark);
}

.cart .quantity {
    position: absolute;
    top: 5px;
    left: 35px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hideOnMob {
    display: block;
}

.menu-btn {
    display: none;
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1001;
    padding: 0;
}

.menu li {
    width: 100%;
    height: auto;
}

.menu a {
    padding: 1rem 2rem;
    width: 100%;
    border-bottom: 1px solid var(--gray-light);
}

.menu .menu-btn button {
    justify-content: flex-end;
    padding: 1rem;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero {
    height: 95vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.hero h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-size: 1.5rem;
}

.slider-arrow:hover {
    background: var(--primary);
}

.prev { left: 20px; }
.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    padding: 3rem 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.section-subtitle {
    color: var(--gray);
    margin-top: 1rem;
}

/* ========================================
   PROMO BANNERS SECTION
   ======================================== */
.promo-section {
    margin: 2rem 0;
}

.promo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.promo-card {
    flex: 1;
    min-width: 280px;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.promo-card--blue {
    background-image: url(../images/5.jfif);
}

.promo-card--teal {
    background-image: url(../images/50.jfif);
}

.promo-card--cyan {
    background-image: url(../images/6.jfif);
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    transition: all 0.3s ease;
    z-index: 1;
}

.promo-card:hover .promo-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
}

.promo-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.promo-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.promo-btn {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}

.promo-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.05);
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.list, .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.item, .product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
}

.item:hover, .product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.item img, .product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f8fafc;
    transition: transform 0.3s ease;
}

.item:hover img, .product-card:hover img {
    transform: scale(1.05);
}

.item .title, .product-card h3 {
    padding: 1rem 1rem 0.5rem;
}

.item .title h4, .product-card h3 {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prg {
    display: block;
    padding: 0 1rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.prg:hover {
    color: var(--primary);
}

.price {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.last1 {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.btn2, .details-btn {
    margin: 0.5rem 1rem 1.5rem;
    width: calc(100% - 2rem);
    padding: 0.75rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: block;
    text-decoration: none;
}

.btn2:hover, .details-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--danger);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.badge.bestseller {
    background: var(--warning);
    color: var(--dark);
}

/* ========================================
   CART SIDEBAR 
   ======================================== */
.carttap {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    display: none;
    grid-template-rows: auto 1fr auto;
    animation: slideIn 0.3s ease;
    overflow-x: hidden;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.carttap h2 {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    color: var(--dark);
    font-size: 1.3rem;
}

.listcards{
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem;
    min-height: 0;
}

.listcards li {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 70px 90px;
    gap: 0.6rem;
    align-items: center;
}
.listcards li strong {
    font-size: 0.85rem;
}

.listcards li small {
    font-size: 0.72rem;
     white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.listcards li img {
    width: 100%;
    height: 70px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8fafc;
}

.listcards li div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.listcards li button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.listcards li button:hover {
    background: var(--primary);
    color: var(--white);
}

.carttap .btn{
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
}

.carttap .btn .close,
.carttap .btn .check{
    border: none;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carttap .btn .close{
    background: #fee2e2;
    color: #dc2626;
}

.carttap .btn .close:hover{
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

.carttap .btn .check{
    background: var(--primary);
    color: white;
}

.carttap .btn .check:hover{
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.carttap .btn div{
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0 0.8rem;
    color: var(--primary);
    border: 1px solid #bfdbfe;
}

.total{
    color: #1d4ed8;
    font-size: 1.1rem;
    font-weight: 800;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 4rem 2rem;
    margin-top: 3rem;
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials .section-header h2:after {
    background: var(--white);
}

.testimonials .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.testimonial-card .title {
    color: var(--gray);
    font-size: 0.8rem;
}

/* ========================================
   LOGIN
   ======================================== */
.contact, .about, .login {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container,
.about-container,
.contact-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
}

.login-container h2,
.about-container h2,
.contact-container h2 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 2rem;
}

.subtitle {
    color: var(--gray);
    text-align: center;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-group textarea {
    resize: vertical;
}

.login-btn,
.action-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: block;
}

.login-btn:hover,
.action-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.extra-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.extra-links a,
.back-link {
    color: var(--primary);
    text-decoration: none;
}

.extra-links a:hover,
.back-link:hover {
    text-decoration: underline;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

/* About Page */
.about-content p {
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary);
}

.stat p {
    color: var(--gray);
}

/* Contact Page */
.contact-container {
    max-width: 600px;
}

/* ========================================
   PRODUCT DETAILS PAGE
   ======================================== */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: #f8fafc;
}

.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-info .price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0;
}

.product-info ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.product-info li {
    margin: 0.5rem 0;
    color: var(--dark);
}

/* ========================================
   PRODUCTS PAGE - FILTERS
   ======================================== */
.page-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.search-filter {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.search-filter input,
.search-filter select {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */
.checkout-page {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-form input,
.checkout-form select {
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.checkout-form input:focus,
.checkout-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.checkout-page .btn {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
}

.checkout-page .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER STYLES
   ======================================== */
footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #cbd5e1;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 180px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact p {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link img {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-link:hover img {
    transform: scale(1.1);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.app-btn {
    display: inline-block;
    transition: all 0.3s ease;
}

.app-btn img {
    width: 140px;
    height: auto;
    border-radius: 8px;
}

.app-btn:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ========================================
   PERFORMANCE & LAZY LOADING
   ======================================== */
img {
    width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

* {
    -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        margin: 2rem;
        gap: 2rem;
    }
    
    .main-image img {
        height: 350px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        min-width: 200px;
    }
    .listcards li {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 70px 90px;
    gap: 0.6rem;
    align-items: center;
    }
    .listcards li strong {
        font-size: 0.85rem;
    }

    .listcards li small {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

}

@media (max-width: 768px) {
    .hideOnMob {
        display: none !important;
    }
    
    .menu-btn {
        display: block !important;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .promo-grid {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .promo-card {
        min-width: auto;
        height: 280px;
    }
    
    .promo-content h3 {
        font-size: 1.5rem;
    }
    
    .promo-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .list, .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 1rem;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header {
        padding: 2rem 1rem 0.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .carttap {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
    
    .carttap h2 {
        font-size: 1.3rem;
        padding: 1rem;
    }
    
    .listcards li img {
        width: 50px;
        height: 50px;
    }
    
    .listcards li button {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .carttap .btn .close,
    .carttap .btn .check {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .carttap .btn div {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .total {
        font-size: 1.1rem;
    }
    
    footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul li a:hover {
        transform: translateX(0);
    }
    
    .social-links {
        align-items: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .app-buttons {
        align-items: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .search-filter {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .search-filter input,
    .search-filter select {
        width: 100%;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.6s ease-out;
}
