:root {
    --primary: rgb(245, 158, 29);
    --primary-hover: rgb(230, 140, 20);
    --dark: rgb(15, 23, 39);
    --muted: #64748b;
    --border: #eaeaea;
    --bg-soft: #f7f7f7;
    --radius-lg: 14px;
    --radius-md: 10px;
}

/* Typography */
body { 
    font-size: 14px; 
    line-height: 1.6;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

/* Override Bootstrap's fluid h3 that conflicts with component-specific sizes */
h3, .h3 { font-size: 1.5rem; }
@media (max-width: 768px) { h3, .h3 { font-size: 1.25rem; } }

/* =======================
   HERO SLIDER REFINED
======================= */
.hero-slider {
    width: 100%;
    height: 520px;
    background: var(--dark);
}

.slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 100px;
    background-size: cover;
    background-position: center;
}

.slide:has(.content.center) {
    justify-content: center;
    padding: 0 20px;
}

.slide:has(.content.right) {
    justify-content: flex-end;
}

.content.center {
    text-align: center;
}

.content.right {
    text-align: right;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 39, 0.8) 0%, rgba(15, 23, 39, 0.4) 50%, rgba(15, 23, 39, 0) 100%);
    z-index: 1;
}

.content {
    position: relative;
    max-width: 580px;
    z-index: 10;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

.content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.05;
}

.content p {
    font-size: 17px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border: 2px solid var(--primary);
}

.hero-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-btn i {
    font-size: 18px;
    transition: transform 0.3s;
}

.hero-btn:hover i {
    transform: translateX(5px);
}

/* =======================
   FEATURES GRID
======================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-item i {
    font-size: 28px;
    color: var(--primary);
}

.feature-text h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.feature-text p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    font-family: 'Montserrat', sans-serif;
}

/* =======================
   PROMO DEAL SECTION
======================= */
.promo-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 80px 40px;
    color: white;
    margin: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-tag {
    background: rgba(245, 158, 29, 0.15);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 99px;
    font-weight: 800;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 24px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
}

.promo-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.promo-content p {
    font-size: 19px;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
}

.deal-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--dark);
    padding: 16px 40px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 14px;
}

.deal-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

/* =======================
   PRODUCT CARD
======================= */
.korejo-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 50px 24px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
}

.kp-wrap01 {
    margin-bottom: 80px;
}

.kp-head01 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.kp-grid01 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kp-card01 {
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: none;
    border-radius: 0;
}

.kp-card01:hover {
    /* No card hover effects — only title color changes */
}

/* 1. Image Frame */
.kp-img-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kp-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. Floating Minimalist Sidebar Icons */
.kp-side-actions {
    position: absolute;
    top: 20px;
    right: 15px; /* Always visible */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.kp-side-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* Sharp technical look */
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: 0.2s;
}

.kp-side-btn:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.kp-side-btn.primary-action:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* 3. Refined Labels */
.kp-badge-wrap {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kp-tag-discount {
    background: #fff;
    color: #ef4444;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 800;
    border: 1.5px solid #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kp-tag-free-shipping {
    background: #fff;
    color: #10b981;
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 800;
    border: 1.5px solid #10b981;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Deal badge — icon + text with type-colored background */
.kp-tag-deal {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    border-radius: 4px;
    margin-top: 3px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kp-tag-deal i {
    font-size: 8px;
    flex-shrink: 0;
}

.kp-tag-deal.kp-dtype-percentage { background: #ef4444; }
.kp-tag-deal.kp-dtype-fixed { background: #8b5cf6; }
.kp-tag-deal.kp-dtype-bogo { background: #10b981; }
.kp-tag-deal.kp-dtype-free_shipping { background: #3b82f6; }
.kp-tag-deal.kp-dtype-free_gift { background: #f59e0b; }
.kp-tag-deal.kp-dtype-tiered_spend { background: #ec4899; }
.kp-tag-deal.kp-dtype-volume_pricing { background: #06b6d4; }
.kp-tag-deal.kp-dtype-flash_sale { background: #f97316; }

/* 4. Elegant Content Area */
.kp-info-content {
    padding: 16px 18px 20px;
}

.kp-cat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #94a3b8;
    margin-bottom: 6px;
    font-weight: 700;
}

.kp-title-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: 'Space Grotesk', sans-serif;
    transition: 0.2s;
}

.kp-title-link:hover {
    color: var(--primary);
}

/* 5. Well-Mannered Price & Discount */
.kp-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.kp-price-now {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Space Grotesk', sans-serif;
}

.kp-price-was {
    font-size: 14px;
    color: #cbd5e1;
    text-decoration: line-through;
    font-weight: 400;
}

/* Interactions */
/* Image hover zoom removed per design — only title color changes on hover */

@media (max-width: 768px) {
    .kp-grid01 { gap: 15px; }
    .kp-img-frame { aspect-ratio: 1 / 1; }
    .kp-side-actions { 
        right: 10px; /* Always visible on mobile */
        top: 10px;
        gap: 6px;
    }
    .kp-side-btn { width: 32px; height: 32px; font-size: 14px; }
    .kp-title-link { font-size: 13px; }
    .kp-price-now { font-size: 16px; }
}

/* =======================
   CATEGORY GRID
======================= */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.cat-item {
    text-align: center;
    text-decoration: none;
    color: var(--dark);
}

.cat-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-icon i {
    font-size: 32px;
    color: var(--primary);
}

.cat-name {
    font-weight: 700;
    font-size: 14px;
}

.cat-item:hover .cat-icon {
    border-color: var(--primary);
    transform: translateY(-8px) rotate(5deg);
}

/* =======================
   TESTIMONIALS
======================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
}

.testimonial-card i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h5 { font-weight: 700; margin-bottom: 5px; }
.testimonial-card span { font-size: 12px; color: var(--primary); font-weight: 600; }

/* =======================
   NEWSLETTER
======================= */
.newsletter-section {
    background: var(--dark);
    padding: 60px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 40px;
}

.newsletter-section h3 {
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.newsletter-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    border: none;
    outline: none;
    font-size: 14px;
}

.newsletter-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 30px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* =======================
   RESPONSIVE
======================= */
.swiper-pagination-bullet { width: 10px; height: 10px; background: #fff !important; opacity: 0.5; }
.swiper-pagination-bullet-active { width: 30px; border-radius: 5px; background: var(--primary) !important; opacity: 1; }

/* Mobile hide for slides */
@media (max-width: 768px) {
    .slide.hide-mobile { display: none !important; }
    .hero-slider { height: 380px; }
    .slide .content { max-width: 100%; padding: 16px 18px; }
    .slide .content h1 { margin-bottom: 6px; }
    .slide .content p { margin-bottom: 16px; }
}

@media (max-width: 1024px) {
    .slide { padding: 0 60px; }
    .content h1 { font-size: 40px; }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-slider { height: 400px; }
    .slide { padding: 0 20px; justify-content: center; }
    .content { padding: 20px; text-align: center; border-radius: 18px; max-width: 100%; }
    .content h1 { font-size: 28px; margin-bottom: 10px; }
    .content p { font-size: 14px; margin-bottom: 20px; }
    .hero-btn { padding: 12px 24px; font-size: 12px; border-radius: 10px; }
    
    .korejo-container { padding: 30px 15px; }
    .section-header { margin-bottom: 25px; }
    .section-header h2 { font-size: 20px; }

    /* Hide Newsletter on mobile */
    .newsletter-section { display: none; }

    /* 4 Categories in a row, 2 rows (8 items) */
    .cat-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px;
        margin-bottom: 40px;
    }
    .cat-icon { width: 55px; height: 55px; margin-bottom: 8px; }
    .cat-icon i { font-size: 20px; }
    .cat-name { font-size: 11px; }

    /* Features 2x2 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px;
        gap: 15px;
        margin-bottom: 40px;
    }
    .feature-item { gap: 10px; }
    .feature-item i { font-size: 20px; }
    .feature-text h4 { font-size: 13px; }
    .feature-text p { font-size: 11px; }

    /* 2 Products per row */
    .kp-grid01 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .kp-card01 { border-radius: 0; }
    .kp-img-frame { aspect-ratio: 1 / 1; }
    .kp-info-content { padding: 10px 4px; }
    .kp-title-link { font-size: 13px; margin-bottom: 6px; }
    .kp-price-now { font-size: 16px; }
    .kp-price-was { font-size: 11px; }
    .kp-side-actions { gap: 6px; }
    .kp-side-btn { width: 32px; height: 32px; font-size: 14px; }
    
    .promo-banner { padding: 40px 20px; margin: 40px 0; border-radius: 18px; }
    .promo-tag { font-size: 10px; padding: 4px 15px; margin-bottom: 15px; }
    .promo-content h2 { font-size: 26px; }
    .promo-content p { font-size: 15px; margin-bottom: 25px; }
    .deal-btn { padding: 12px 24px; font-size: 12px; }

    .kp-wrap01 { margin-bottom: 50px; }
    .kp-head01 { margin-bottom: 20px; }
    .kp-head01 h2 { font-size: 18px; }
    
    .testimonial-grid { grid-template-columns: 1fr; gap: 15px; }
    .testimonial-card { padding: 20px; }
}

@media (max-width: 400px) {
    .cat-grid { gap: 8px; }
    .cat-icon { width: 48px; height: 48px; }
}

.cat-icon img { width: 100%; height: 100%; object-fit: cover; }
