/**
 * KAZOFI HOME — Estilos específicos para la home construida en Elementor
 * new.kazofi.online · v2.0
 */

/* ══ TOP BAR ══════════════════════════════════════════════════ */
.kzn-topbar {
    background: #00C853;
    width: 100%;
}
.kzn-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 8px 24px;
    max-width: 1240px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.kzn-topbar-item {
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    letter-spacing: .02em;
}
@media (max-width: 640px) {
    .kzn-topbar-inner { gap: 12px; }
    .kzn-topbar-item { font-size: .72rem; }
    .kzn-topbar-item:nth-child(n+3) { display: none; }
}

/* ══ HEADER ═══════════════════════════════════════════════════ */
.kzn-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 24px;
}
@media (max-width: 768px) {
    .kzn-header { grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px 16px; }
}

/* Logo */
.kzn-logo-link { text-decoration: none !important; }
.kzn-logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -.03em;
}
.kzn-logo-text span { color: #00C853; }

/* Search */
.kzn-search-form {
    display: flex;
    align-items: center;
    background: #f4f6f8;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color .2s;
}
.kzn-search-form:focus-within { border-color: #00C853; background: #fff; }
.kzn-search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 20px !important;
    font-size: .92rem !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    color: #1a1a2e !important;
    min-width: 0;
}
.kzn-search-input::placeholder { color: #9ca3af; }
.kzn-search-btn {
    background: #00C853;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    flex-shrink: 0;
    margin: 4px;
    border-radius: 50px;
}
.kzn-search-btn:hover { background: #00962E; }

/* Header icons */
.kzn-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.kzn-header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-size: .68rem;
    font-weight: 600;
    transition: color .2s;
    position: relative;
}
.kzn-header-icon:hover { color: #00962E !important; }
.kzn-cart-icon .kzn-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #00C853;
    color: #fff;
    font-size: .6rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
@media (max-width: 480px) {
    .kzn-header-icon span:not(.kzn-cart-count) { display: none; }
    .kzn-header-icons { gap: 12px; }
}

/* ══ CATEGORY MENU ════════════════════════════════════════════ */
.kzn-catmenu {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.kzn-catmenu-inner {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
}
.kzn-catmenu-inner::-webkit-scrollbar { display: none; }
.kzn-catmenu-item {
    display: inline-block;
    padding: 14px 18px;
    font-size: .85rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none !important;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.kzn-catmenu-item:hover,
.kzn-catmenu-item.active {
    color: #00962E;
    border-bottom-color: #00C853;
}

/* ══ HERO ══════════════════════════════════════════════════════ */
.kzn-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.kzn-hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.kzn-hero-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: clamp(2rem, 5vw, 3.8rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.1 !important;
    letter-spacing: -.02em;
    margin: 0 0 20px !important;
    text-transform: uppercase;
}
.kzn-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    margin: 0 0 36px;
}
.kzn-hero-sub strong { color: #00C853; font-weight: 800; }
.kzn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00C853, #00962E);
    color: #fff !important;
    text-decoration: none !important;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 8px 28px rgba(0,200,83,.5);
    transition: all .25s ease;
    margin-bottom: 28px;
}
.kzn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,200,83,.65);
}
.kzn-hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    font-weight: 600;
}
@media (max-width: 480px) {
    .kzn-hero-cta { padding: 16px 32px; width: 100%; }
    .kzn-hero-badges { gap: 10px; font-size: .72rem; }
}

/* ══ SOCIAL PROOF STRIP ═══════════════════════════════════════ */
.kzn-social-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.kzn-social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.kzn-social-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.kzn-social-text { font-size: .88rem; color: #4b5563; }
.kzn-social-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #00962E;
    font-family: 'Manrope', sans-serif;
}
.kzn-social-label {
    font-size: .8rem;
    color: #6b7280;
    font-weight: 600;
}
.kzn-social-sep {
    color: #e5e7eb;
    font-size: 1.5rem;
    font-weight: 300;
}
@media (max-width: 640px) {
    .kzn-social-sep { display: none; }
    .kzn-social-strip { gap: 16px; padding: 16px 20px; }
}

/* ══ SECTION HEADERS ══════════════════════════════════════════ */
.kzn-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px;
}
.kzn-section-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kzn-section-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    color: #00962E;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.kzn-section-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
.kzn-section-link {
    font-size: .88rem;
    font-weight: 700;
    color: #00962E;
    text-decoration: none !important;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 1.5px solid transparent;
    transition: border-color .2s;
}
.kzn-section-link:hover { border-bottom-color: #00C853; }

/* ══ CATEGORY GRID ════════════════════════════════════════════ */
.kzn-catgrid-wrap { width: 100%; }
.kzn-catgrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 1024px) { .kzn-catgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .kzn-catgrid { grid-template-columns: repeat(2, 1fr); } }

.kzn-catcard {
    aspect-ratio: 1 / 1.1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 16px;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    position: relative;
}
.kzn-catcard:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 32px rgba(0,0,0,.25);
}
.kzn-catcard-name {
    font-family: 'Manrope', sans-serif;
    font-size: .92rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    line-height: 1.2;
}
.kzn-catcard-count {
    font-size: .7rem;
    color: rgba(255,255,255,.8);
    font-weight: 600;
    margin-top: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ══ WC PRODUCTS OVERRIDES (home) ═════════════════════════════ */
/* Applied to both ofertas and recommended sections */
.elementor-widget-shortcode .woocommerce ul.products,
.elementor-widget-woocommerce-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 900px) {
    .elementor-widget-shortcode .woocommerce ul.products,
    .elementor-widget-woocommerce-products ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .elementor-widget-shortcode .woocommerce ul.products,
    .elementor-widget-woocommerce-products ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
}

/* ══ AUTHORITY BLOCK ══════════════════════════════════════════ */
.kzn-authority-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 768px) {
    .kzn-authority-wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}
.kzn-authority-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    line-height: 1.2 !important;
    margin: 0 0 20px !important;
}
.kzn-authority-title span { color: #00C853; }
.kzn-authority-sub {
    font-size: .95rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    margin: 0 0 32px;
}
.kzn-authority-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #00C853, #00962E);
    color: #fff !important;
    text-decoration: none !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .04em;
    transition: all .25s ease;
    box-shadow: 0 6px 20px rgba(0,200,83,.4);
}
.kzn-authority-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,200,83,.6);
}
.kzn-authority-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.kzn-stat {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    transition: background .2s;
}
.kzn-stat:hover { background: rgba(255,255,255,.12); }
.kzn-stat-num {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #00C853;
    line-height: 1;
}
.kzn-stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ══ BENEFITS ══════════════════════════════════════════════════ */
.kzn-benefit-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1.5px solid #f0f0f0;
    transition: all .25s ease;
    height: 100%;
}
.kzn-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,.12);
    border-color: #00C853;
}
.kzn-benefit-icon-lg {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}
.kzn-benefit-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    margin: 0 0 12px !important;
}
.kzn-benefit-desc {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ══ BIG CTA BUTTON ════════════════════════════════════════════ */
.kzn-cta-big-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00C853, #00962E);
    color: #fff !important;
    text-decoration: none !important;
    padding: 18px 52px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 6px 24px rgba(0,200,83,.4);
    transition: all .25s ease;
}
.kzn-cta-big-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,200,83,.6);
}

/* ══ FOOTER STRIP ══════════════════════════════════════════════ */
.kzn-footer-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    gap: 24px;
    flex-wrap: wrap;
}
.kzn-footer-strip-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.kzn-footer-strip-item strong {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}
.kzn-footer-strip-item span {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}
.kzn-footer-strip-item a {
    font-size: .85rem;
    color: rgba(255,255,255,.7) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color .2s;
}
.kzn-footer-strip-item a:hover { color: #00C853 !important; }
.kzn-footer-strip-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.12);
    flex-shrink: 0;
}
.kzn-footer-strip-payments { display: flex; align-items: center; gap: 8px; }
@media (max-width: 768px) {
    .kzn-footer-strip { justify-content: center; }
    .kzn-footer-strip-divider { display: none; }
}

/* ══ MOBILE RESPONSIVE GLOBAL ═════════════════════════════════ */
@media (max-width: 768px) {
    .kzn-authority-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .kzn-section-header { flex-direction: column; align-items: flex-start; }
}
