/* ========================================================================
   NECOYOAD REMASTER — Design System CSS
   Modern, clean and lightweight. Zero bloat, zero jQuery UI legacy.
   ======================================================================== */

:root {
    --ny-accent:      #ff6b35;
    --ny-dark:        #0f172a;
    --ny-dark-mid:    #1e293b;
    --ny-mid:         #334155;
    --ny-subtle:      #64748b;
    --ny-light:       #f1f5f9;
    --ny-white:       #ffffff;
    --ny-font:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ny-radius:      12px;
    --ny-radius-lg:   20px;
    --ny-shadow:      0 4px 24px rgba(0,0,0,0.08);
    --ny-shadow-lg:   0 12px 48px rgba(0,0,0,0.15);
    --ny-transition:  all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --ny-container:   1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.ny-body {
    font-family: var(--ny-font);
    background: var(--ny-white);
    color: var(--ny-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── CONTAINER ──────────────────────────────────────────────────────────── */
.ny-container {
    width: 100%;
    max-width: var(--ny-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── ZONES / POSITIONS ──────────────────────────────────────────────────── */
.ny-zone { width: 100%; }

.ny-zone-header { 
    background: var(--ny-dark);
    position: sticky; 
    top: 0; 
    z-index: 100; 
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.ny-zone-featured-content { padding: 0; }
.ny-zone-featured-footer  { background: var(--ny-light); padding: 64px 0; }
.ny-zone-footer           { background: var(--ny-dark); color: var(--ny-white); padding: 48px 0 24px; }

/* Middle 3-column grid */
.ny-zone-middle { padding: 48px 0; }
.ny-middle-grid { 
    display: grid; 
    gap: 32px;
    grid-template-columns: 1fr; 
}
.ny-middle-grid:has(.ny-column-left, .ny-column-right) {
    grid-template-columns: 280px 1fr;
}
.ny-middle-grid:has(.ny-column-left):has(.ny-column-right) {
    grid-template-columns: 240px 1fr 240px;
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.ny-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px;
    border-radius: var(--ny-radius);
    font-family: var(--ny-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--ny-transition);
    white-space: nowrap;
}
.ny-btn-primary    { background: var(--ny-accent); color: var(--ny-white); }
.ny-btn-accent     { background: var(--ny-accent); color: var(--ny-white); }
.ny-btn-accent:hover { background: #e85c28; transform: translateY(-1px); }
.ny-btn-glass      { background: rgba(255,255,255,0.12); color: var(--ny-white); border-color: rgba(255,255,255,0.2); }
.ny-btn-glass:hover { background: rgba(255,255,255,0.2); }
.ny-btn-outline-white { border-color: rgba(255,255,255,0.4); color: var(--ny-white); }
.ny-btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.ny-btn-full       { width: 100%; }

/* ── BADGES ─────────────────────────────────────────────────────────────── */
.ny-badge           { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.ny-badge-hot       { background: var(--ny-accent); color: var(--ny-white); }

/* ── NAVBAR ─────────────────────────────────────────────────────────────── */
.ny-navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 24px;
}
.ny-brand {
    display: flex; align-items: center; gap: 10px;
    font-size: 20px; font-weight: 800; color: var(--ny-white);
    text-decoration: none; letter-spacing: -0.5px;
}
.ny-brand-badge {
    background: var(--ny-accent); color: var(--ny-white);
    font-size: 9px; font-weight: 700; padding: 2px 6px;
    border-radius: 4px; letter-spacing: 1px;
}
.ny-nav-links { display: flex; align-items: center; gap: 4px; }
.ny-nav-item {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 8px;
    color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500;
    text-decoration: none; transition: var(--ny-transition);
}
.ny-nav-item:hover { color: var(--ny-white); background: rgba(255,255,255,0.08); }

.ny-nav-actions { display: flex; align-items: center; gap: 16px; }
.ny-phone-contact { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.7); font-size: 13px; }

.ny-cart-btn { position: relative; padding: 10px 20px; }
.ny-cart-count {
    position: absolute; top: -8px; right: -8px;
    background: var(--ny-accent); color: var(--ny-white);
    font-size: 10px; font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ── HERO BANNER ────────────────────────────────────────────────────────── */
.ny-hero-banner {
    position: relative;
    padding: 96px 48px;
    overflow: hidden;
    min-height: 520px;
    display: flex; align-items: center;
}
.ny-hero-content { max-width: 600px; position: relative; z-index: 2; }
.ny-hero-tag {
    display: inline-block;
    background: rgba(255, 107, 53, 0.15); 
    color: var(--ny-accent);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 6px 16px; border-radius: 100px;
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 20px;
}
.ny-hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800; line-height: 1.1;
    color: var(--ny-white);
    letter-spacing: -1.5px; margin-bottom: 20px;
}
.ny-hero-subtitle {
    font-size: 18px; color: rgba(255,255,255,0.7);
    max-width: 480px; margin-bottom: 36px; line-height: 1.7;
}
.ny-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.ny-hero-badge-float {
    position: absolute; bottom: 40px; right: 80px; z-index: 2;
}
.ny-float-card {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px; padding: 16px 20px;
    color: var(--ny-white);
}
.ny-float-icon { font-size: 28px; }
.ny-float-card strong { display: block; font-size: 14px; font-weight: 700; }
.ny-float-card small  { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ── TRUST SECTION ──────────────────────────────────────────────────────── */
.ny-trust-section { padding: 24px 0; background: var(--ny-white); border-bottom: 1px solid var(--ny-light); }
.ny-trust-grid {
    max-width: var(--ny-container); margin: 0 auto; padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
}
.ny-trust-card {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 24px;
    border-right: 1px solid var(--ny-light);
}
.ny-trust-card:last-child { border-right: none; }
.ny-trust-icon { font-size: 28px; flex-shrink: 0; }
.ny-trust-title { font-size: 14px; font-weight: 700; color: var(--ny-dark); margin-bottom: 2px; }
.ny-trust-subtitle { font-size: 12px; color: var(--ny-subtle); }

/* ── DEALS SECTION ──────────────────────────────────────────────────────── */
.ny-deals-section { background: var(--ny-dark); padding: 64px 0; }

.ny-deals-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; flex-wrap: wrap; gap: 20px;
}
.ny-deals-badge {
    display: inline-block;
    background: var(--accent, #ff6b35);
    color: white; font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 100px; margin-bottom: 8px;
}
.ny-deals-title { font-size: 28px; font-weight: 800; color: var(--ny-white); letter-spacing: -0.5px; }

.ny-countdown { display: flex; align-items: center; gap: 16px; }
.ny-countdown-label { color: rgba(255,255,255,0.6); font-size: 13px; }
.ny-timer-blocks { display: flex; align-items: center; gap: 6px; }
.ny-timer-block {
    display: flex; flex-direction: column; align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px; padding: 10px 14px; min-width: 54px;
    color: var(--ny-white);
}
.ny-timer-block span { font-size: 24px; font-weight: 800; line-height: 1; }
.ny-timer-block small { font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.ny-timer-sep { color: var(--ny-accent); font-size: 24px; font-weight: 800; }

.ny-deals-card {
    display: grid; grid-template-columns: 1fr 1fr;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ny-radius-lg);
    overflow: hidden;
}
.ny-deal-image {
    position: relative;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex; align-items: center; justify-content: center;
    min-height: 380px; padding: 32px;
}
.ny-deal-image img { width: 100%; max-height: 360px; object-fit: contain; }
.ny-deal-image-placeholder { font-size: 120px; }
.ny-deal-discount-badge {
    position: absolute; top: 20px; right: 20px;
    background: var(--ny-accent); color: white;
    font-size: 14px; font-weight: 800; padding: 8px 14px; border-radius: 10px;
}
.ny-deal-info { padding: 48px 40px; display: flex; flex-direction: column; gap: 20px; }
.ny-deal-category { color: var(--ny-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.ny-deal-product-title { font-size: 24px; font-weight: 800; color: var(--ny-white); line-height: 1.3; }
.ny-deal-rating { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 14px; }
.ny-stars { color: #fbbf24; }
.ny-rating-score { color: var(--ny-white); font-weight: 700; }
.ny-deal-pricing { display: flex; align-items: center; gap: 16px; }
.ny-price-old  { font-size: 18px; color: rgba(255,255,255,0.4); text-decoration: line-through; }
.ny-price-new  { font-size: 36px; font-weight: 800; }
.ny-stock-bar  { background: rgba(255,255,255,0.1); height: 6px; border-radius: 3px; margin-bottom: 8px; }
.ny-stock-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
.ny-stock-label { font-size: 13px; color: rgba(255,255,255,0.6); }
.ny-stock-label strong { color: var(--accent, #ff6b35); }

/* ── CTA SECTION ────────────────────────────────────────────────────────── */
.ny-cta-section {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    padding: 80px 0;
}
.ny-cta-inner {
    position: relative; text-align: center; overflow: hidden;
    border-radius: var(--ny-radius-lg);
    padding: 64px 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.ny-cta-glow {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.2), transparent 70%);
    pointer-events: none;
}
.ny-cta-content { position: relative; z-index: 1; }
.ny-cta-headline { font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: var(--ny-white); letter-spacing: -1px; margin-bottom: 16px; }
.ny-cta-subheadline { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 36px; }
.ny-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.ny-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 32px; padding-top: 24px;
    text-align: center; font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ── LAYOUT GRID CLASSES ────────────────────────────────────────────────── */
.ny-grid-row { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.ny-col { flex: 1 1 auto; min-width: 0; }
.ny-col-1  { flex: 0 0 8.333%; }
.ny-col-2  { flex: 0 0 16.666%; }
.ny-col-3  { flex: 0 0 25%; }
.ny-col-4  { flex: 0 0 33.333%; }
.ny-col-5  { flex: 0 0 41.666%; }
.ny-col-6  { flex: 0 0 50%; }
.ny-col-7  { flex: 0 0 58.333%; }
.ny-col-8  { flex: 0 0 66.666%; }
.ny-col-9  { flex: 0 0 75%; }
.ny-col-10 { flex: 0 0 83.333%; }
.ny-col-11 { flex: 0 0 91.666%; }
.ny-col-12 { flex: 0 0 100%; }

/* ── WIDGET WRAPPER ─────────────────────────────────────────────────────── */
.ny-widget-wrapper { width: 100%; }

/* ── ERRORS ─────────────────────────────────────────────────────────────── */
body.ny-body-error {
    font-family: var(--ny-font); 
    background: var(--ny-dark); color: var(--ny-white);
    display: flex; align-items: center; justify-content: center; min-height: 100vh;
}
.ny-error-card { text-align: center; padding: 48px; }
.ny-error-code { font-size: 96px; font-weight: 800; color: var(--ny-accent); line-height: 1; }
.ny-error-message { font-size: 20px; color: rgba(255,255,255,0.7); margin: 16px 0 32px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ny-deals-card { grid-template-columns: 1fr; }
    .ny-deal-image { min-height: 280px; }
}

@media (max-width: 768px) {
    .ny-nav-links { display: none; }
    .ny-hero-banner { padding: 64px 24px; }
    .ny-hero-badge-float { display: none; }
    .ny-trust-grid { grid-template-columns: 1fr 1fr; }
    .ny-trust-card { border-right: none; border-bottom: 1px solid var(--ny-light); }
    .ny-trust-card:nth-child(even) { }
    .ny-deals-header { flex-direction: column; align-items: flex-start; }
    .ny-deal-info { padding: 32px 24px; }
    .ny-middle-grid { grid-template-columns: 1fr !important; }
}

/* ── DEVICE VISIBILITY UTILITIES ────────────────────────────────────────── */
@media (min-width: 1025px) {
    .ny-hide-desktop { display: none !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .ny-hide-tablet { display: none !important; }
}
@media (max-width: 768px) {
    .ny-hide-mobile { display: none !important; }
}

/* ── ROW & CONTAINER WIDTHS ─────────────────────────────────────────────── */
.ny-row-fluid { width: 100% !important; max-width: 100% !important; }
.ny-row-fixed { max-width: 1280px; margin-left: auto; margin-right: auto; width: 100%; }

/* ── RESPONSIVE GRID EXTENSIONS ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ny-col-md-1  { flex: 0 0 8.333% !important; }
    .ny-col-md-2  { flex: 0 0 16.666% !important; }
    .ny-col-md-3  { flex: 0 0 25% !important; }
    .ny-col-md-4  { flex: 0 0 33.333% !important; }
    .ny-col-md-5  { flex: 0 0 41.666% !important; }
    .ny-col-md-6  { flex: 0 0 50% !important; }
    .ny-col-md-7  { flex: 0 0 58.333% !important; }
    .ny-col-md-8  { flex: 0 0 66.666% !important; }
    .ny-col-md-9  { flex: 0 0 75% !important; }
    .ny-col-md-10 { flex: 0 0 83.333% !important; }
    .ny-col-md-11 { flex: 0 0 91.666% !important; }
    .ny-col-md-12 { flex: 0 0 100% !important; }
}
@media (max-width: 768px) {
    .ny-col-sm-1  { flex: 0 0 8.333% !important; }
    .ny-col-sm-2  { flex: 0 0 16.666% !important; }
    .ny-col-sm-3  { flex: 0 0 25% !important; }
    .ny-col-sm-4  { flex: 0 0 33.333% !important; }
    .ny-col-sm-5  { flex: 0 0 41.666% !important; }
    .ny-col-sm-6  { flex: 0 0 50% !important; }
    .ny-col-sm-7  { flex: 0 0 58.333% !important; }
    .ny-col-sm-8  { flex: 0 0 66.666% !important; }
    .ny-col-sm-9  { flex: 0 0 75% !important; }
    .ny-col-sm-10 { flex: 0 0 83.333% !important; }
    .ny-col-sm-11 { flex: 0 0 91.666% !important; }
    .ny-col-sm-12 { flex: 0 0 100% !important; }

    .ny-order-sm-1 { order: 1 !important; }
    .ny-order-sm-2 { order: 2 !important; }
    .ny-order-sm-3 { order: 3 !important; }
    .ny-order-sm-4 { order: 4 !important; }
}

/* ── HOVER MICROINTERACTIONS ────────────────────────────────────────────── */
.ny-hover-scale { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.ny-hover-scale:hover { transform: scale(1.03); }

.ny-hover-lift { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease; }
.ny-hover-lift:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }

.ny-hover-glow { transition: box-shadow 0.3s ease, transform 0.3s ease; }
.ny-hover-glow:hover { box-shadow: 0 0 25px rgba(255,102,0,0.45); }

/* ── STICKY POSITIONING ─────────────────────────────────────────────────── */
.ny-sticky { position: sticky; z-index: 100; }

