:root {
    --k-primary: #ec3237;
    --k-primary-dark: #c41e23;
    --k-secondary: #f6930f;
    --k-accent: #c4d601;
    --k-bg: #fcf9f8;
    --k-footer: #ec3237;
    --k-copyright: #1f1f1f;
    --k-white: #ffffff;
    --k-text: #1a1a1a;
    --red: #ec3237;
    --orange: #f6930f;
    --lime: #c4d601;
    --bg: #fcf9f8;
    --bg-card: #ffffff;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --border: rgba(236,50,55,0.15);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; }
body { background: #fcf9f8; font-family: 'Outfit', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif !important; font-weight: 700 !important; letter-spacing: -0.5px; line-height: 1.2; }
p, span, a, button, div, li { font-family: 'Outfit', sans-serif !important; }
h1 { font-size: 2.5rem; font-weight: 800 !important; letter-spacing: -1px; }
h2 { font-size: 2rem; font-weight: 700 !important; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; font-weight: 700 !important; }
h4 { font-size: 1.25rem; font-weight: 700 !important; }
.material-icons, .material-symbols-outlined { font-family: 'Material Icons' !important; font-weight: normal; font-style: normal; font-size: 24px; display: inline-flex; line-height: 1; text-transform: none; letter-spacing: normal; word-wrap: normal; white-space: nowrap; direction: ltr; vertical-align: middle; }
.text-primary { color: #ec3237 !important; }
.bg-primary { background-color: #ec3237 !important; }
.border-primary { border-color: #ec3237 !important; }
.hover\:text-primary:hover { color: #ec3237 !important; }

/* ============ HEADER ============ */
header { transition: all 0.3s ease; background: rgba(255,255,255,0.98); backdrop-filter: blur(2px); }

/* ============ HERO SLIDER ============ */
.hero-slider-container {
    position: relative;
    width: 100vw !important;
    left: 50%; right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden;
    margin-top: 96px;
    background: #fcf9f8;
}
.hero-slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); width: 100%; will-change: transform; }
.hero-slide { flex: 0 0 100%; width: 100%; min-width: 100%; padding-left: 0px;}
.hero-slide img { width: 100%; height: auto; max-height: 650px; object-fit: cover; display: block; border-radius: 0 !important; box-shadow: none; padding: 0px;}
@media (max-width: 640px) { .hero-slide img { max-height: 400px; } }
.slider-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #ec3237; border: 2px solid #c4d601; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 20; transition: all 0.25s ease; box-shadow: 0 6px 14px rgba(236,50,55,0.35); color: #c4d601; }
.slider-nav-btn:hover { background: #c4d601; color: #ec3237; transform: translateY(-50%) scale(1.08); }
.slider-nav-btn.prev { left: 20px; }
.slider-nav-btn.next { right: 20px; }
.slider-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; z-index: 20; }
.slider-dot { width: 10px; height: 10px; background: rgba(236,50,55,0.5); border-radius: 50%; cursor: pointer; transition: all 0.2s; border: 1px solid white; }
.slider-dot.active { background: #c4d601; transform: scale(1.3); box-shadow: 0 0 0 2px #ec3237; }
.slide-progress-bar { position: absolute; bottom: 0; left: 0; width: 0%; height: 5px; background: linear-gradient(90deg, #ec3237, #f6930f, #c4d601); z-index: 25; transition: width 0.05s linear; }

/* ============ PRODUCTS GRID ============ */
.product-card { border-radius: 24px; overflow: hidden; box-shadow: 0 12px 24px rgba(236,50,55,0.08); transition: all 0.35s; border: 2px solid #ec3237; background: white; }
.product-card:hover { transform: translateY(-8px); border-color: #f6930f; box-shadow: 0 20px 30px rgba(236,50,55,0.2); }
.product-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width:768px){ .product-grid { grid-template-columns: repeat(3,1fr); gap:1.5rem; } }
@media (min-width:1024px){ .product-grid { grid-template-columns: repeat(4,1fr); gap:1.8rem; } }

/* ============ SWIPER PRODUCT CARDS ============ */
.swiper-products-container { position: relative; padding: 0; margin-bottom: 50px; }
.swiper-button-prev-custom, .swiper-button-next-custom { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: #ec3237; border: 2px solid #c4d601; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 20; color: #c4d601; font-size: 18px; transition: all 0.3s; box-shadow: 0 6px 14px rgba(236,50,55,0.35); }
.swiper-button-prev-custom:hover, .swiper-button-next-custom:hover { background: #c4d601; color: #ec3237; transform: translateY(-50%) scale(1.1); }
.swiper-button-prev-custom { left: -60px; }
.swiper-button-next-custom { right: -60px; }
@media (max-width: 1024px) { .swiper-button-prev-custom { left: 10px; } .swiper-button-next-custom { right: 10px; } }
.swiper-pagination-custom { bottom: -50px; display: flex; justify-content: center; gap: 12px; }
.swiper-pagination-custom .swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(236,50,55,0.5); border-radius: 50%; border: 1px solid white; cursor: pointer; transition: all 0.3s; margin: 0; }
.swiper-pagination-custom .swiper-pagination-bullet-active { background: #c4d601; transform: scale(1.3); box-shadow: 0 0 0 2px #ec3237; }

/* ============ PRODUCT CARD (SWIPER) ============ */
.product-card-swiper { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; border: 1.5px solid rgba(236,50,55,0.15); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1), border-color 0.3s; position: relative; box-shadow: 0 2px 16px rgba(0,0,0,0.05); height: 100%; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.product-card-swiper { animation: fadeInUp 0.5s both; }
.product-card-swiper:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.12); border-color: rgba(236,50,55,0.25); }
.card-image-wrap { position: relative; overflow: hidden; background: #f5f0ea; height: 240px; flex-shrink: 0; }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.product-card-swiper:hover .card-image-wrap img { transform: scale(1.07); }
.card-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; background: #ec3237; color: white; font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; border-radius: 99px; box-shadow: 0 2px 8px rgba(236,50,55,0.4); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,18,5,0.7) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; justify-content: center; padding: 20px; }
.product-card-swiper:hover .card-overlay { opacity: 1; }
.overlay-actions { display: flex; gap: 10px; }
.overlay-btn { display: flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 99px; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; transition: all 0.2s; border: none; white-space: nowrap; }
.overlay-btn-primary { background: #ec3237; color: white; box-shadow: 0 4px 16px rgba(236,50,55,0.4); }
.overlay-btn-primary:hover { background: white; color: #ec3237; }
.overlay-btn-secondary { background: rgba(255,255,255,0.2); color: white; border: 1.5px solid rgba(255,255,255,0.5); backdrop-filter: blur(8px); }
.overlay-btn-secondary:hover { background: white; color: #1a1a1a; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.card-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #f6930f; background: rgba(246,147,15,0.1); padding: 3px 8px; border-radius: 4px; border-left: 2px solid #f6930f; }
.card-title { font-family: 'Outfit', sans-serif !important; font-size: 17px; font-weight: 700 !important; color: #1a1a1a; line-height: 1.35; margin-bottom: 8px; }
.card-desc { font-size: 13.5px; color: #6b7280; line-height: 1.6; margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(236,50,55,0.15); }
.card-price { font-family: 'Outfit', sans-serif !important; font-size: 20px; font-weight: 700 !important; color: #1a1a1a; line-height: 1; }
.card-price small { display: block; font-family: 'Outfit', sans-serif !important; font-size: 11px; font-weight: 500; color: #6b7280; margin-top: 2px; }
.cta-icon-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1.5px solid rgba(236,50,55,0.15); background: #fcf9f8; color: #6b7280; cursor: pointer; transition: all 0.2s; font-size: 14px; }
.cta-icon-btn:hover { border-color: #ec3237; color: #ec3237; background: rgba(236,50,55,0.06); }

/* ============ BLOG CARDS ============ */
.katapaiblogc-card { background: white; border-radius: 28px; overflow: hidden; box-shadow: 0 12px 24px rgba(236,50,55,0.08); transition: all 0.3s; border: 1px solid rgba(236,50,55,0.2); }
.katapaiblogc-card:hover { transform: translateY(-2px); }
.katapaiblogc-card img { width: 100%; height: 280px; object-fit: cover; }
.katapaiblogc-badge { background: linear-gradient(135deg,#ec3237,#f6930f); color: white; }
.read-more { color: #f6930f; }
.read-more:hover { color: #ec3237; }

/* ============ FULL BANNER ============ */
.full-banner { background-attachment: fixed; min-height: 380px; position: relative; background-size: cover; }
.full-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: 1; }
.full-banner > div { position: relative; z-index: 2; }
.full-banner button { background: #ec3237; color: white; font-weight: 700; padding: 12px 36px; border-radius: 60px; transition: all 0.3s; box-shadow: 0 8px 20px rgba(236,50,55,0.5); }
.full-banner button:hover { background: #c4d601; color: #1f1f1f; transform: translateY(-3px); }

/* ============ FOOTER ============ */
footer { background: #ec3237 !important; }
.footer-brand-section { background: #f5f5e4; width: 100%; padding: 2.5rem 1rem; }
@media (min-width:768px){ .footer-brand-section { width: 35%; } .footer-content-section { width: 65%; } }
.footer-content-section { background: #ec3237; display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.8rem; }
@media (min-width:768px){ .footer-content-section { grid-template-columns: repeat(2,1fr); } }
.footer-col h4 { color: white; font-weight: 700; letter-spacing: 1px; margin-bottom: 1.2rem; }
.footer-col ul li a, .footer-contact-item p, .footer-contact-item i { color: #ffe0e0; transition: 0.2s; }
.footer-col ul li a:hover { color: white; }
.social-icons a { border: 2px solid white; color: white; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: 0.25s; }
.social-icons a:hover { background: white; color: #ec3237; transform: translateY(-3px); }
.footer-counter-box { background: rgba(255,255,255,0.12); border-radius: 16px; padding: 0.8rem; text-align: center; }
.footer-bottom { background: #1f1f1f !important; color: white; text-align: center; padding: 1rem; font-size: 0.75rem; font-weight: 500; }

/* ============ BLOG NAV BTNS ============ */
.nav-btn-blog { width: 44px; height: 44px; background: white; border: 2px solid #ec3237; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; color: #ec3237; position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; }
.nav-btn-blog:hover { background: #ec3237; color: white; }

/* ============ MOBILE MENU ============ */
#mobile-menu { transition: transform 0.3s ease; transform: translateX(-100%); background: white; font-family: 'Outfit', sans-serif; font-weight: 400; font-size: 16px; line-height: 24px; }
#mobile-menu.open { transform: translateX(0); }

#main-header { transition: box-shadow 0.35s ease; }
#main-header.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }

/* Desktop logo: big by default, shrinks smoothly on scroll */
#main-header .desktop-logo-wrap {
    width: 64px !important;
    height: 64px !important;
    transform-origin: center center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Keep the drawer logo smaller on mobile without changing menu layout */
#mobile-menu .mobile-logo-wrap {
    width: 64px !important;
    height: 64px !important;
}

@media (min-width: 768px) {
    #main-header {
        overflow: visible !important;
    }
    #main-header .desktop-logo-wrap {
        width: 104px !important;
        height: 104px !important;
        transform-origin: center center;
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }
}

/* ============ CONTAINER ============ */
.container-custom { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width:768px){ .container-custom { padding: 0 2rem; } }

section, .hero-slider-container { max-width: 100%; }

.home-products-section { padding: 40px 0; }
.section-title-xl { font-size: 30px !important; }
.product-thumb-auto { height: auto !important; }
.combo-section { padding-bottom: 0; }
.section-title-lg { font-size: 28px; }
.section-subtitle-tight { margin-top: 4px; }
.swiper-products-tight { padding-bottom: 10px; }
.blog-section-topless { padding-top: 0; }
.full-banner-home { background-image: url('https://www.kattapai.in/images/kattapai-non-woven-bags-bg.jpg'); background-size: cover; background-position: center; }
.visitor-count-label { color: #ffe0e0; }
.footer-bottom-custom { text-align: center; padding: 10px; font-size: 14px; background: #111; color: #fff; }
.footer-legal-link { color: #f1c40f; text-decoration: none; margin: 0 5px; }
