/* Karapacking v25.1 — Clean Unified Global UX, Numerals, Journey, Campaign, Modals & Mobile Polish */

/* 1. Local-first Persian tabular numerals on all prices & KPIs */
.price-tag,
#stickyPrice,
#stickyUnit,
#cartPayableDisplay,
.kpi-val,
.pf-table td,
.price-num {
    font-family: 'IRANYekanWeb', 'KPRoboto', 'KPNumLocal', Tahoma, sans-serif !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    letter-spacing: 0 !important;
    white-space: nowrap;
}

/* 2. Header Desktop Nav Spacing */
.desktop-nav { gap: 12px !important; flex-wrap: nowrap; }
.desktop-nav a { font-size: 12.5px; white-space: nowrap; }

/* 3. Campaign 1-Click Coupon Bar (Ultra-Slim 1-Line Mobile & Desktop) */
.kp-campaign-bar {
    background: linear-gradient(90deg, #18181b 0%, #27272a 55%, #ea580c 140%);
    color: #fff; padding: 5px 12px; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    flex-wrap: nowrap; text-align: center; min-height: 32px;
    overflow: hidden; box-sizing: border-box;
}
.kp-camp-text {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    min-width: 0; flex: 0 1 auto; line-height: 1.35;
}
.kp-camp-code-btn {
    background: #fff; color: #c2410c; border: none; border-radius: 999px;
    padding: 2px 10px; font-size: 11px; font-weight: 900; cursor: pointer;
    font-family: 'KPNumLocal', Tahoma, sans-serif;
    display: inline-flex; align-items: center; gap: 4px; transition: transform 0.15s;
    flex-shrink: 0; white-space: nowrap; line-height: 1.4;
}
.kp-camp-code-btn:hover { transform: scale(1.04); }
@media (max-width: 640px) {
    .kp-campaign-bar { padding: 4px 8px; gap: 6px; min-height: 28px; font-size: 10.5px; }
    .kp-camp-code-btn { padding: 2px 7px; font-size: 10px; gap: 3px; }
    .kp-camp-copy-txt { display: none; }
}

/* 4. Dynamic Legal Copyright Strip (Footer) */
.kp-copyright-strip {
    background: #18181b; color: #d4d4d8; text-align: center;
    padding: 13px 16px; font-size: 11.5px; line-height: 1.75;
    border-top: 1px solid #27272a; margin-top: 18px;
}
.kp-copyright-strip strong { color: #fb923c; }

/* 5. Trust & Dispatch Policy Strips (Order Step 3 & Cart) */
.kp-trust-strip {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    background: #f8fafc; border: 1.5px solid var(--border);
    border-radius: 14px; padding: 10px 12px; margin: 14px 0;
}
.kp-trust-item {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 11.5px; font-weight: 700; color: var(--ink-soft);
    text-align: center; line-height: 1.45;
}
.kp-dispatch-box {
    background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 100%);
    border: 1.5px solid #fed7aa; border-radius: 15px; padding: 12px 14px; margin: 12px 0;
}
.kp-dispatch-title { font-size: 13px; font-weight: 900; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.kp-dispatch-list { margin: 0; padding: 0 16px 0 0; font-size: 12px; color: var(--ink-soft); line-height: 1.85; }
.kp-dispatch-note { margin-top: 8px; padding-top: 7px; border-top: 1px dashed #fdba74; font-size: 11px; color: #9a3412; line-height: 1.65; }

/* 6. Internal SVG Captcha Box (Login, Reviews, Custom Quote) */
.kp-captcha-box {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px; padding: 7px 9px;
}
.kp-captcha-img { height: 44px; border-radius: 9px; border: 1px solid var(--border); background: #fff; cursor: pointer; flex-shrink: 0; }
.kp-captcha-refresh {
    border: 1px solid var(--border); background: #fff; border-radius: 9px;
    width: 36px; height: 36px; cursor: pointer; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* 7. Free Shipping Progress Bar & Cart Responsive Cards */
.kp-ship-prog-wrap { margin-top: 8px; background: rgba(255,255,255,0.75); border-radius: 999px; height: 9px; overflow: hidden; border: 1px solid rgba(15,23,42,0.08); }
.kp-ship-prog-fill { height: 100%; background: linear-gradient(90deg, #f97316, #10b981); border-radius: 999px; transition: width 0.4s ease; }
.cart-item-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-item-actions { text-align: left; flex-shrink: 0; }

/* 8. Proof Approval Card (My Orders) */
.kp-proof-box { margin-top: 12px; border: 2px solid #f97316; background: #fff7ed; border-radius: 14px; padding: 12px 14px; }
.kp-proof-box.approved { border-color: #10b981; background: #ecfdf5; }
.kp-proof-box.revision { border-color: #f59e0b; background: #fffbeb; }

/* 9. Prices Page Inline Calculator & Category/Industry Pills */
.kp-calc-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
    border: 1.5px solid #fed7aa; border-radius: 20px; padding: 16px 18px;
    margin-bottom: 14px; box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08);
}
.kp-calc-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr auto; gap: 10px; align-items: end; }
.kp-ind-pills { display: flex; gap: 7px; overflow-x: auto; padding: 4px 2px 6px; -webkit-overflow-scrolling: touch; }
.kp-ind-pill {
    flex: 0 0 auto; border: 1.5px solid var(--border); background: #fff; color: var(--ink-soft);
    border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 800; cursor: pointer;
    white-space: nowrap; font-family: 'KPNumLocal', 'BluSans', sans-serif; transition: 0.16s;
}
.kp-ind-pill.active { border-color: var(--blu); background: var(--blu); color: #fff; }

/* 10. Homepage Visual 4-Step Journey & Quick Strip */
.kp-home-tools-inline { margin: 4px 0 14px; width: 100%; box-sizing: border-box; }
.kp-home-tools-fallback { max-width: 1080px; margin: 14px auto; padding: 0 14px; box-sizing: border-box; }
.kp-journey-wrap {
    background: linear-gradient(180deg, #fffaf5 0%, #fff7ed 100%);
    border: 1.5px solid #fed7aa; border-radius: 18px; padding: 12px 13px 13px;
    margin-bottom: 12px; box-shadow: 0 6px 20px rgba(249, 115, 22, 0.06);
}
.kp-journey-head { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; text-align: center; }
.kp-journey-pill { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 11px; border-radius: 999px; white-space: nowrap; }
.kp-journey-title { font-size: 13.5px; font-weight: 900; color: var(--ink, #18181b); margin: 0; }
.kp-journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.kp-j-card {
    position: relative; background: #fff; border: 1.5px solid #fde6d2; border-radius: 15px;
    padding: 10px 10px 6px; display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.kp-j-card:hover { transform: translateY(-2px); border-color: #fb923c; box-shadow: 0 8px 20px rgba(249, 115, 22, 0.11); }
.kp-j-top { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 4px; }
.kp-j-num {
    width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, #fb923c, #ea580c); color: #fff;
    font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);
    font-family: 'KPNumLocal', 'Vazirmatn', Tahoma, sans-serif;
}
.kp-j-txt { min-width: 0; flex: 1; text-align: right; }
.kp-j-txt strong { display: block; font-size: 12px; font-weight: 900; color: var(--ink, #18181b); line-height: 1.35; }
.kp-j-txt span { display: block; font-size: 10.2px; color: var(--muted, #64748b); line-height: 1.4; margin-top: 1px; }
.kp-j-art-wrap { width: 100%; height: 104px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; background: #fff; }
.kp-j-art { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

@media (min-width: 860px) {
    .kp-j-card:not(:last-child)::after {
        content: '←'; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
        width: 18px; height: 18px; border-radius: 50%; background: #fff;
        border: 1.5px solid #fdba74; color: #ea580c; font-size: 11px; font-weight: 900;
        display: flex; align-items: center; justify-content: center; z-index: 3;
        box-shadow: 0 2px 6px rgba(234, 88, 12, 0.14);
    }
}

.kp-quick-strip {
    background: #fff; border: 1.5px solid var(--border, #e2e8f0); border-radius: 16px;
    padding: 10px 14px; display: flex; align-items: center; justify-content: space-between;
    gap: 10px; flex-wrap: wrap;
}
.kp-quick-strip-lbl { font-size: 12px; font-weight: 800; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.kp-quick-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kp-ind-row { width: 100%; border-top: 1px dashed var(--border); padding-top: 8px; margin-top: 2px; }
.kp-filter-empty { text-align: center; padding: 24px 16px; background: #fff; border: 1.5px dashed var(--border); border-radius: 16px; margin: 12px 0; }
.kp-filter-empty.hidden { display: none !important; }

/* 11. Safe Modal Overlay (Quick Calc & Custom Quote) */
.kp-modal-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.80); z-index: 9980 !important;
    display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(3px);
}
.kp-modal-overlay.hidden { display: none !important; }
.kp-modal-card {
    background: #fff; border-radius: 20px; max-width: 460px; width: 100%; padding: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); max-height: 92vh; overflow-y: auto; text-align: right;
}

/* 12. Responsive Breakpoints */
@media (max-width: 859px) {
    .kp-journey-wrap { padding: 10px 9px; border-radius: 16px; }
    .kp-journey-head { gap: 5px; margin-bottom: 8px; }
    .kp-journey-pill { font-size: 10px; padding: 2px 9px; }
    .kp-journey-title { font-size: 12px; }
    .kp-journey-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
    .kp-j-card { padding: 8px 7px 5px; border-radius: 13px; }
    .kp-j-top { gap: 5px; margin-bottom: 3px; }
    .kp-j-num { width: 20px; height: 20px; font-size: 10.5px; }
    .kp-j-txt strong { font-size: 11px; line-height: 1.3; }
    .kp-j-txt span { font-size: 9.4px; line-height: 1.35; }
    .kp-j-art-wrap { height: 74px; }
    .kp-quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 6px; }
    .kp-quick-actions .btn { width: 100%; justify-content: center; padding: 8px 4px; font-size: 11px; white-space: nowrap; }
}
@media (max-width: 820px) {
    .kp-calc-grid { grid-template-columns: 1fr 1fr; }
    .kp-calc-cta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .kp-trust-strip { grid-template-columns: 1fr; gap: 6px; padding: 10px; }
    .kp-trust-item { justify-content: flex-start; text-align: right; font-size: 12px; }
    .kp-quick-strip { padding: 9px 10px; gap: 8px; }
    .kp-quick-strip-lbl { width: 100%; font-size: 11.5px; }
    .cart-item-card { flex-direction: column; align-items: stretch; gap: 10px; }
    .cart-item-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border); padding-top: 10px; text-align: right; }
    .cart-item-actions form { margin-top: 0 !important; }
    .cart-card-row { flex-direction: column !important; align-items: stretch !important; }
    .cart-card-row button { margin-top: 4px !important; width: 100%; }
    .cart-pay-summary { flex-direction: column !important; align-items: stretch !important; gap: 12px; }
    .cart-pay-summary .flex { flex-direction: column; width: 100%; }
    .cart-pay-summary .flex .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .kp-calc-grid { grid-template-columns: 1fr; }
}


/* ========================================================================= */
/* Karapacking v26 — Modern Dark Header, Right Drawer, Animated Story Hero,  */
/* Circular Category Icons, 10-Year Bio, Benefits Strip & Dark Footer        */
/* ========================================================================= */

/* 1. Sleek Dark Top Header */
.app-header.kp-v26-header {
    background: #0b1120 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: sticky;
    top: 0;
    z-index: 1200;
    padding: 0 !important;
    box-shadow: 0 6px 24px rgba(2, 6, 23, 0.22);
}
.kp-hdr-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}
.kp-hdr-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.kp-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5px;
    cursor: pointer;
    transition: 0.18s;
    flex-shrink: 0;
}
.kp-menu-btn:hover { background: rgba(249, 115, 22, 0.22); border-color: #f97316; }
.kp-menu-btn span {
    display: block;
    width: 19px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}
.kp-hdr-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 900;
    font-size: 16px;
    white-space: nowrap;
}
.kp-hdr-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

/* Center Pill Search Bar */
.kp-hdr-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px 12px 4px 6px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}
.kp-hdr-search input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    color: #0f172a;
    padding: 6px 8px;
    box-shadow: none !important;
}
.kp-hdr-search button {
    border: none;
    background: #f1f5f9;
    color: #334155;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.15s;
    flex-shrink: 0;
}
.kp-hdr-search button:hover { background: #f97316; color: #fff; }

/* Left Action Controls */
.kp-hdr-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.kp-hdr-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.18s;
}
.kp-hdr-pill:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); }
.kp-hdr-pill.primary { background: #f97316; border-color: #f97316; }
.kp-hdr-pill.primary:hover { background: #ea580c; }
.kp-hdr-cart {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
}
.kp-hdr-cart .kp-cart-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0b1120;
}

@media (max-width: 820px) {
    .kp-hdr-inner {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 8px 10px;
    }
    .kp-hdr-right { grid-column: 1 / 2; grid-row: 1; }
    .kp-hdr-left  { grid-column: 3 / 4; grid-row: 1; gap: 6px; }
    .kp-hdr-search { grid-column: 1 / -1; grid-row: 2; max-width: 100%; padding: 3px 10px 3px 5px; }
    .kp-hdr-track-txt { display: none; }
    .kp-hdr-pill { padding: 6px 10px; font-size: 11px; }
    .kp-hdr-brand span { font-size: 14px; }
}

/* 2. Slide-Out Right Drawer (☰) */
.kp-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(3px);
    z-index: 9700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.kp-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.kp-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 84vw;
    background: #fff;
    z-index: 9710;
    transform: translateX(105%);
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 36px rgba(2, 6, 23, 0.28);
}
.kp-drawer-panel.open { transform: translateX(0); }
.kp-drawer-head {
    background: #0b1120;
    color: #fff;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.kp-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.kp-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kp-drawer-sec-lbl {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    padding: 10px 10px 4px;
}
.kp-drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #1e293b !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    border: none;
    width: 100%;
    text-align: right;
    cursor: pointer;
    transition: 0.15s;
}
.kp-drawer-link:hover { background: #fff7ed; color: #ea580c !important; }
.kp-drawer-link.highlight { background: #fff7ed; color: #c2410c !important; border: 1px solid #fed7aa; }

/* 3. Animated Story/GIF-Style Hero Carousel (Order Steps) */
.kp-hero-carousel {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    margin: 6px 0 22px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
    color: #fff;
}
.kp-hero-progress {
    position: absolute;
    top: 10px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    z-index: 6;
}
.kp-hero-pbar {
    height: 3.5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
    cursor: pointer;
}
.kp-hero-pfill {
    height: 100%;
    width: 0%;
    background: #fb923c;
    border-radius: 999px;
}
.kp-hero-pbar.done .kp-hero-pfill { width: 100%; }
.kp-hero-pbar.active .kp-hero-pfill {
    width: 100%;
    transition: width 4.2s linear;
}
.kp-hero-slides {
    position: relative;
    min-height: 245px;
}
.kp-hero-slide {
    position: absolute;
    inset: 0;
    padding: 34px 48px 26px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.kp-hero-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.kp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(251, 146, 60, 0.55);
    color: #fed7aa;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 10px;
}
.kp-hero-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 8px;
    line-height: 1.45;
    color: #fff;
}
.kp-hero-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.75;
    margin: 0 0 14px;
}
.kp-hero-art-box {
    display: flex;
    align-items: center;
    justify-content: center;
}
.kp-hero-art-card {
    background: #fff;
    border-radius: 18px;
    padding: 10px 14px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    animation: kpFloatY 3.4s ease-in-out infinite;
    max-width: 280px;
    width: 100%;
}
.kp-hero-art-card img {
    width: 100%;
    height: 155px;
    object-fit: contain;
    display: block;
}
@keyframes kpFloatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
.kp-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s;
}
.kp-hero-nav:hover { background: #f97316; border-color: #f97316; }
.kp-hero-nav.prev { right: 10px; }
.kp-hero-nav.next { left: 10px; }

@media (max-width: 760px) {
    .kp-hero-slide {
        grid-template-columns: 1fr;
        padding: 28px 18px 20px;
        text-align: center;
        gap: 12px;
    }
    .kp-hero-title { font-size: 16.5px; }
    .kp-hero-desc { font-size: 11.8px; margin-bottom: 10px; }
    .kp-hero-art-card { max-width: 220px; padding: 8px 10px; }
    .kp-hero-art-card img { height: 110px; }
    .kp-hero-nav { width: 28px; height: 28px; font-size: 14px; }
}

/* 4. Circular Category Icons (Toorang-Style) */
.kp-cat-circles-wrap {
    margin: 4px 0 22px;
}
.kp-cat-circles {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
    padding: 6px 4px;
}
.kp-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 104px;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.18s ease;
}
.kp-cat-item:hover { transform: translateY(-4px); }
.kp-cat-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0f294a 0%, #1e3a5f 100%);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 41, 74, 0.18);
    border: 2.5px solid transparent;
    transition: 0.18s;
}
.kp-cat-item.active .kp-cat-circle {
    border-color: #f97316;
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.30);
}
.kp-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
}
.kp-cat-circle-ico {
    font-size: 32px;
    color: #fff;
}
.kp-cat-title {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    line-height: 1.4;
}
.kp-cat-item.active .kp-cat-title { color: #ea580c; }

@media (max-width: 640px) {
    .kp-cat-circles {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .kp-cat-item { flex: 0 0 auto; width: 84px; }
    .kp-cat-circle { width: 68px; height: 68px; }
    .kp-cat-title { font-size: 11px; }
}

/* 5. Bottom About Card (10 Years Experience) + 5-Column Benefits Strip + Dark Navy Footer */
.kp-about-wrap {
    max-width: 1160px;
    margin: 28px auto 18px;
    padding: 0 14px;
}
.kp-about-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.kp-about-card h2 {
    font-size: 16.5px;
    color: #0f294a;
    margin: 0 0 10px;
}
.kp-about-card p {
    font-size: 12.8px;
    color: #475569;
    line-height: 1.95;
    margin: 0 0 10px;
}
.kp-about-card p:last-child { margin-bottom: 0; }

.kp-benefits-wrap {
    max-width: 1160px;
    margin: 18px auto 28px;
    padding: 0 14px;
    text-align: center;
}
.kp-benefits-heading {
    font-size: 16px;
    font-weight: 900;
    color: #0f294a;
    margin: 0 0 14px;
}
.kp-benefits-bar {
    background: linear-gradient(135deg, #f3efe6 0%, #ede6d6 100%);
    border: 1px solid #e2d9c5;
    border-radius: 20px;
    padding: 22px 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.kp-ben-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}
.kp-ben-ico {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.kp-ben-item strong { font-size: 12.5px; color: #0f294a; }
.kp-ben-item span { font-size: 11px; color: #52525b; line-height: 1.55; }

@media (max-width: 860px) {
    .kp-benefits-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px 12px; }
}

.kp-dark-footer {
    background: #13213c;
    color: #e2e8f0;
    margin-top: 24px;
    padding: 32px 16px 18px;
    border-top: 3px solid #f97316;
}
.kp-df-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.kp-df-col h4 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 10px;
}
.kp-df-col p, .kp-df-col div {
    font-size: 12.2px;
    color: #cbd5e1;
    line-height: 1.85;
}
.kp-df-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.kp-df-links a {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 12.2px;
}
.kp-df-links a:hover { color: #fb923c !important; }
.kp-df-bottom {
    max-width: 1160px;
    margin: 14px auto 0;
    text-align: center;
    font-size: 11.5px;
    color: #94a3b8;
}
@media (max-width: 820px) {
    .kp-df-inner { grid-template-columns: 1fr; gap: 18px; }
}


/* ===== v26.1 Mobile 5-Digit Captcha Box Fix (All 5 digits clearly visible!) ===== */
.kp-captcha-box {
    flex-wrap: wrap;
    justify-content: center;
}
.kp-captcha-box input {
    min-width: 130px;
    flex: 1 1 130px;
    letter-spacing: 3px !important;
    font-size: 15px !important;
    padding: 8px 10px !important;
    box-sizing: border-box;
}
@media (max-width: 560px) {
    .kp-captcha-box {
        gap: 8px;
        padding: 9px;
    }
    .kp-captcha-img {
        height: 44px;
        max-width: calc(100% - 48px);
    }
    .kp-captcha-box input {
        flex: 1 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        letter-spacing: 6px !important;
        font-size: 16px !important;
        padding: 10px 12px !important;
    }
}


/* ========================================================================= */
/* Karapacking v26.3 — Promo Banner Slider, Modern Product Grid & Pagination */
/* ========================================================================= */

/* 1. Multi-Slide Promo / Festival Banner Slider (Zero Lockup, Responsive) */
.kp-promo-slider {
    position: relative;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background: #0b1120;
    margin: 0 0 18px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}
.kp-ps-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.kp-ps-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    z-index: 1;
}
.kp-ps-slide.active {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.kp-ps-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.kp-ps-img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}
.kp-ps-slide:not(.active) .kp-ps-img {
    height: 100%;
    object-fit: cover;
}
.kp-ps-slide:not(.active) .kp-ps-img {
    height: 100%;
    object-fit: cover;
}
.kp-ps-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(11, 17, 32, 0.82) 0%, rgba(11, 17, 32, 0.35) 55%, rgba(11, 17, 32, 0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 52px;
    color: #fff;
}
.kp-ps-badge {
    background: #f97316;
    color: #fff;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}
.kp-ps-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.4;
    max-width: 520px;
}
.kp-ps-sub {
    font-size: 13px;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.65;
    max-width: 480px;
}
.kp-ps-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(11, 17, 32, 0.55);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.16s;
}
.kp-ps-arrow:hover { background: #f97316; border-color: #f97316; }
.kp-ps-arrow.prev { right: 12px; }
.kp-ps-arrow.next { left: 12px; }
.kp-ps-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 6;
    background: rgba(11, 17, 32, 0.42);
    padding: 4px 9px;
    border-radius: 999px;
}
.kp-ps-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    padding: 0;
    cursor: pointer;
    transition: width 0.2s, background 0.2s;
}
.kp-ps-dot.active { width: 22px; background: #fb923c; }

@media (max-width: 640px) {
    .kp-promo-slider { border-radius: 0; margin: 0 0 12px; }
    .kp-ps-overlay { padding: 14px 36px; }
    .kp-ps-title { font-size: 14.5px; }
    .kp-ps-sub { font-size: 11px; }
    .kp-ps-arrow { width: 28px; height: 28px; font-size: 16px; }
    .kp-ps-arrow.prev { right: 6px; }
    .kp-ps-arrow.next { left: 6px; }
}

/* 2. Storefront Products Grid (4-col Desktop, 3-col Tablet, 2-col Mobile!) */
.kp-store-container {
    max-width: 1180px !important;
    margin-top: 12px;
}
.kp-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px 0 14px;
}
.kp-sec-title {
    font-size: 16.5px;
    font-weight: 900;
    color: var(--ink);
    margin: 0;
}
.kp-sec-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    margin-right: 4px;
}
.kp-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.kp-prod-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.kp-prod-card:hover {
    transform: translateY(-3px);
    border-color: #fdba74;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}
.kp-prod-img-wrap {
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
    text-decoration: none;
}
.kp-prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.kp-prod-card:hover .kp-prod-img-wrap img { transform: scale(1.04); }
.kp-prod-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}
.kp-prod-cat-pill {
    align-self: flex-start;
    background: #fff7ed;
    color: #c2410c;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 999px;
}
.kp-prod-title {
    font-size: 13.5px;
    font-weight: 800;
    margin: 0;
    line-height: 1.45;
}
.kp-prod-title a { color: var(--ink); text-decoration: none; }
.kp-prod-specs {
    font-size: 11.2px;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}
.kp-prod-price-row {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}
.kp-prod-price-lbl { color: var(--muted); font-size: 11px; }
.kp-prod-price-val { color: #ea580c; font-size: 13.5px; font-weight: 900; }
.kp-prod-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f97316;
    color: #fff !important;
    text-decoration: none;
    border-radius: 12px;
    padding: 9px 10px;
    font-size: 12.2px;
    font-weight: 800;
    margin-top: 4px;
    transition: background 0.16s;
}
.kp-prod-cta:hover { background: #ea580c; }

.kp-empty-cat-card {
    background: #fff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 20px;
    padding: 36px 20px;
    text-align: center;
}

/* 3. Pagination Bar */
.kp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 24px 0 8px;
}
.kp-pg-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s;
}
.kp-pg-btn:hover { border-color: #f97316; color: #ea580c; }
.kp-pg-btn.active { background: #f97316; border-color: #f97316; color: #fff !important; }

@media (max-width: 980px) {
    .kp-prod-grid { grid-template-columns: repeat(3, 1fr); gap: 11px; }
}
@media (max-width: 640px) {
    .kp-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .kp-prod-card { border-radius: 14px; }
    .kp-prod-img-wrap { padding: 8px; }
    .kp-prod-body { padding: 9px; gap: 4px; }
    .kp-prod-title { font-size: 12px; }
    .kp-prod-specs { display: none; }
    .kp-prod-price-row { flex-direction: column; align-items: flex-start; gap: 1px; padding-top: 6px; }
    .kp-prod-price-val { font-size: 12px; }
    .kp-prod-cta { padding: 7px 6px; font-size: 11px; border-radius: 10px; }
}


/* ========================================================================= */
/* Karapacking v26.8 — Toorang Full-Screen Desktop Header (>=1120px),        */
/* Zero-Distortion Responsive Banners, & Elevated Global Modals              */
/* ========================================================================= */

/* Desktop inline nav hidden by default (shows only >= 1120px) */
.kp-hdr-desktop-nav {
    display: none;
    align-items: center;
    gap: 2px;
    margin-right: 12px;
}
.kp-dnav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 10px;
    color: #e2e8f0 !important;
    text-decoration: none;
    font-size: 12.2px;
    font-weight: 700;
    white-space: nowrap;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
}
.kp-dnav-link:hover,
.kp-dnav-link.active {
    background: rgba(255, 255, 255, 0.10);
    color: #fb923c !important;
}

/* Clean container proportions on standard desktop (>= 1024px) */
@media (min-width: 1024px) {
    html { font-size: 14.2px; }
    .kp-store-container,
    .kp-about-wrap,
    .kp-benefits-wrap,
    .kp-df-inner {
        max-width: 1300px !important;
    }
    .kp-cat-item { width: 112px; }
    .kp-cat-circle { width: 78px; height: 78px; }
    .kp-cat-title { font-size: 11.4px; white-space: nowrap; }
}

/* Full-Screen Desktop Header Layout (>= 1380px) — Below 1380px cleanly uses ☰ drawer with ZERO overflow! */
.kp-hdr-inner {
    box-sizing: border-box;
    max-width: 100%;
}
.kp-hdr-right, .kp-hdr-left {
    min-width: 0;
}
@media (min-width: 1380px) {
    .kp-menu-btn { display: none !important; }
    .kp-hdr-desktop-nav { display: flex !important; }
    .kp-hdr-inner {
        max-width: 100%;
        padding: 9px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }
    .kp-hdr-right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 1 auto;
    }
    .kp-dnav-link {
        padding: 6px 9px;
        font-size: 12px;
    }
    .kp-hdr-search {
        margin: 0 auto 0 0;
        max-width: 360px;
        min-width: 190px;
        flex: 1 1 230px;
        padding: 3px 12px 3px 5px;
    }
    .kp-hdr-search input {
        font-size: 12px;
        padding: 5px 6px;
    }
    .kp-hdr-search button {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .kp-hdr-left {
        flex-shrink: 0;
        gap: 8px;
    }
}

@media (min-width: 1520px) {
    .kp-hdr-inner {
        max-width: 1440px;
        margin: 0 auto;
        padding: 9px 28px;
    }
    .kp-hdr-search { max-width: 420px; }
    .kp-dnav-link { padding: 6px 12px; font-size: 12.6px; }
}

/* Universal Zero-Distortion Promo Slider (Aligned with Content Grid across ALL Monitors & Mobile!) */
.kp-promo-slider {
    width: calc(100% - 28px);
    max-width: 1272px;
    border-radius: 18px !important;
    margin: 14px auto 18px !important;
    background: #0b1120;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.13);
}
.kp-ps-track {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden;
    line-height: 0;
}
.kp-ps-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    z-index: 1;
}
.kp-ps-slide.active {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.kp-ps-pic {
    display: block;
    width: 100%;
}
.kp-ps-slide.active .kp-ps-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: initial !important;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}
.kp-ps-slide:not(.active) .kp-ps-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 820px) {
    .kp-promo-slider {
        width: calc(100% - 16px);
        max-width: 100%;
        border-radius: 12px !important;
        margin: 8px auto 12px !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.10);
    }
    .kp-ps-arrow { width: 26px; height: 26px; font-size: 15px; }
    .kp-ps-arrow.prev { right: 6px; }
    .kp-ps-arrow.next { left: 6px; }
    .kp-cat-title { white-space: normal; }
    .kp-ps-dots { bottom: 5px; padding: 2px 6px; gap: 4px; }
    .kp-ps-dot { width: 5px; height: 5px; }
    .kp-ps-dot.active { width: 14px; }
}


/* ========================================================================= */
/* Karapacking v26.13 — Smart Guided Tour + Always-Accessible Floating Help  */
/* ========================================================================= */

/* Floating Single Help Button (bottom-right, opposite orange chat button on bottom-left) */
.kp-tour-fab-wrap {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 9550;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.kp-tour-fab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #0f172a;
    color: #ffffff !important;
    border: 2px solid #f97316;
    border-radius: 999px;
    padding: 9px 15px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.34);
    transition: transform 0.16s ease, background 0.16s ease;
}
.kp-tour-fab-btn:hover {
    background: #ea580c;
    border-color: #fb923c;
    transform: translateY(-2px);
}
.kp-tfb-ico { font-size: 15px; line-height: 1; }

.kp-tour-fab-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 245px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.28);
    text-align: right;
}
.kp-tour-fab-menu.open { display: flex; }
.kp-tfm-head {
    font-size: 12px;
    font-weight: 900;
    color: #0f172a;
    padding: 2px 4px 7px;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 2px;
}
.kp-tfm-item {
    width: 100%;
    text-align: right;
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 11.8px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.15s;
}
.kp-tfm-item:hover { background: #fff7ed; border-color: #fdba74; color: #c2410c; }
.kp-tfm-item.primary {
    background: #f97316;
    border-color: #f97316;
    color: #ffffff;
}
.kp-tfm-item.primary:hover { background: #ea580c; color: #ffffff; }
.kp-tfm-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    padding: 7px 6px 2px;
    border-top: 1px dashed #e2e8f0;
    font-size: 11.3px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}
.kp-tfm-toggle input { width: 15px; height: 15px; accent-color: #f97316; margin: 0; }

/* Tour Overlay & Spotlight */
.kp-tour-root {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: none;
    pointer-events: none;
}
.kp-tour-root.open {
    display: block;
    pointer-events: auto;
}
.kp-tour-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.72);
    backdrop-filter: blur(2px);
    z-index: 9991;
}
.kp-tour-spotlight {
    position: fixed;
    border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(11, 17, 32, 0.70), 0 0 0 3px #f97316, 0 0 24px rgba(249, 115, 22, 0.55);
    z-index: 9992;
    pointer-events: none;
}
.kp-tour-card {
    position: fixed;
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #fdba74;
    border-radius: 18px;
    padding: 14px 16px 12px;
    z-index: 9995;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.44);
    text-align: right;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
}
.kp-tour-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.kp-tour-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.kp-tour-ico {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.kp-tour-badge {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 10.8px;
    font-weight: 800;
}
.kp-tour-close {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.kp-tour-close:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; }
.kp-tour-progress-bar {
    height: 4px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}
.kp-tour-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #10b981);
    border-radius: 999px;
    transition: width 0.22s ease;
}
.kp-tour-title {
    font-size: 14.2px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 5px;
    line-height: 1.4;
}
.kp-tour-desc {
    font-size: 12.2px;
    color: #334155;
    margin: 0 0 8px;
    line-height: 1.65;
}
.kp-tour-bullets {
    margin: 0 0 10px;
    padding: 8px 22px 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    font-size: 11.4px;
    font-weight: 700;
    color: #334155;
    line-height: 1.75;
}
.kp-tour-bullets li { margin-bottom: 2px; }
.kp-tour-bullets li:last-child { margin-bottom: 0; }
.kp-tour-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}
.kp-tour-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    background: #cbd5e1;
    padding: 0;
    cursor: pointer;
    transition: width 0.18s, background 0.18s;
}
.kp-tour-dot.done { background: #10b981; }
.kp-tour-dot.active { width: 20px; background: #f97316; }

.kp-tour-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}
.kp-tour-btn {
    border-radius: 11px;
    padding: 9px 12px;
    font-size: 12.2px;
    font-weight: 800;
    cursor: pointer;
    border: 1.5px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s;
}
.kp-tour-btn.prev {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
    flex: 0 0 auto;
}
.kp-tour-btn.prev:hover { background: #e2e8f0; }
.kp-tour-btn.next {
    background: linear-gradient(90deg, #f97316, #ea580c);
    color: #fff;
    flex: 1 1 auto;
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.28);
}
.kp-tour-btn.next:hover { filter: brightness(1.06); }
.kp-tour-foot-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}
.kp-tour-mute-lbl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}
.kp-tour-mute-lbl input { width: 14px; height: 14px; accent-color: #f97316; margin: 0; }
.kp-tour-skip {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 11.2px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 4px;
}
.kp-tour-skip:hover { color: #dc2626; }

/* Accent Themes per Section */
.kp-tour-card.theme-studio { border-color: #93c5fd; }
.kp-tour-card.theme-studio .kp-tour-ico { background: #eff6ff; border-color: #bfdbfe; }
.kp-tour-card.theme-studio .kp-tour-badge { background: #eff6ff; color: #1d4ed8; border-color: #93c5fd; }
.kp-tour-card.theme-studio .kp-tour-btn.next { background: linear-gradient(90deg, #2563eb, #1d4ed8); box-shadow: 0 6px 14px rgba(37, 99, 235, 0.28); }
.kp-tour-card.theme-studio .kp-tour-dot.active { background: #2563eb; }

.kp-tour-card.theme-checkout { border-color: #6ee7b7; }
.kp-tour-card.theme-checkout .kp-tour-ico { background: #ecfdf5; border-color: #a7f3d0; }
.kp-tour-card.theme-checkout .kp-tour-badge { background: #ecfdf5; color: #047857; border-color: #6ee7b7; }
.kp-tour-card.theme-checkout .kp-tour-btn.next { background: linear-gradient(90deg, #10b981, #059669); box-shadow: 0 6px 14px rgba(5, 150, 105, 0.28); }
.kp-tour-card.theme-checkout .kp-tour-dot.active { background: #10b981; }

@media (max-width: 640px) {
    .kp-tour-fab-wrap { right: 12px; bottom: 14px; }
    .kp-tour-fab-btn { padding: 8px 13px; font-size: 11.8px; }
    .kp-tour-fab-menu { width: 228px; }
    .kp-tour-card { padding: 12px 13px 10px; border-radius: 15px; }
    .kp-tour-title { font-size: 13.2px; }
    .kp-tour-desc { font-size: 11.5px; }
    .kp-tour-bullets { font-size: 10.8px; padding: 7px 19px 7px 8px; }
    .kp-tour-btn { padding: 8px 10px; font-size: 11.5px; }
}



/* ========================================================================= */
/* Karapacking v26.15 — Executive Navy Footer, 5 Brand Social Icons & Trust  */
/* ========================================================================= */
.kp-dark-footer {
    background: linear-gradient(180deg, #152442 0%, #0f1b33 100%) !important;
    color: #e2e8f0;
    margin-top: 32px;
    padding: 38px 20px 22px;
    border-top: 3px solid #f97316;
}
.kp-df-inner {
    max-width: 1260px !important;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.72fr 1.18fr;
    gap: 34px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    align-items: start;
}
.kp-df-col h4 {
    color: #ffffff;
    font-size: 14.8px;
    font-weight: 900;
    margin: 0 0 14px;
    position: relative;
    padding-bottom: 8px;
}
.kp-df-col h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 2.5px;
    border-radius: 999px;
    background: #f97316;
}
.kp-df-addr {
    font-size: 12.6px;
    color: #cbd5e1;
    line-height: 1.95;
    margin-bottom: 10px;
}
.kp-df-hours {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.8px;
    color: #94a3b8;
    margin-bottom: 14px;
}
.kp-df-hours svg { color: #fb923c; flex-shrink: 0; }

.kp-df-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}
.kp-df-phone-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    padding: 9px 13px;
    text-decoration: none;
    color: #ffffff !important;
    transition: background 0.18s, border-color 0.18s, transform 0.16s;
}
.kp-df-phone-card:hover {
    background: rgba(249, 115, 22, 0.16);
    border-color: rgba(251, 146, 60, 0.65);
    transform: translateY(-2px);
}
.kp-df-phone-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.18);
    color: #fb923c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.kp-df-phone-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.kp-df-phone-meta small {
    font-size: 10.6px;
    color: #94a3b8;
    font-weight: 700;
}
.kp-df-phone-meta strong {
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.4px;
}

/* Clean Quick Links (zero cluttered emojis) */
.kp-df-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.kp-df-links a {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 12.6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.16s, transform 0.16s;
}
.kp-df-links a::before {
    content: "‹";
    color: #f97316;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}
.kp-df-links a:hover {
    color: #fb923c !important;
    transform: translateX(-3px);
}

/* Framed Brand Logo Box + About + 5 Circular Social Icons */
.kp-df-logo-box {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 8px 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    margin-bottom: 12px;
    transition: border-color 0.18s, background 0.18s;
}
.kp-df-logo-box:hover {
    border-color: rgba(251, 146, 60, 0.65);
    background: rgba(255, 255, 255, 0.09);
}
.kp-df-logo-box img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: block;
}
.kp-df-logo-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.kp-df-logo-txt strong {
    font-size: 16.5px;
    font-weight: 900;
    color: #ffffff;
}
.kp-df-logo-txt small {
    font-size: 9.8px;
    letter-spacing: 1.8px;
    color: #fdba74;
    font-weight: 700;
}
.kp-df-about {
    font-size: 12.4px !important;
    color: #cbd5e1 !important;
    line-height: 1.9 !important;
    margin: 0 0 14px;
}

/* 5 Circular Vector Social & Messenger Badges */
.kp-df-socials {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}
.kp-soc-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #13213c !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.kp-soc-btn:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}
.kp-soc-btn.soc-tg:hover     { background: #229ED9; }
.kp-soc-btn.soc-bale:hover   { background: #00B894; }
.kp-soc-btn.soc-rubika:hover { background: #8B5CF6; }
.kp-soc-btn.soc-eitaa:hover  { background: #F97316; }
.kp-soc-btn.soc-ig:hover     { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }

/* Centered Trust Badges Row (Rendered ONLY when admin adds eNamad/Gateway/Samandehi HTML) */
.kp-df-trust {
    max-width: 1260px;
    margin: 22px auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.kp-df-trust a,
.kp-df-trust > div,
.kp-df-trust > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 8px 10px;
    min-width: 82px;
    min-height: 82px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    transition: transform 0.16s ease;
}
.kp-df-trust a:hover { transform: translateY(-2px); }
.kp-df-trust img {
    max-height: 76px;
    max-width: 110px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Safe Copyright Row (never collides with floating chat or help buttons) */
.kp-df-bottom {
    max-width: 1260px !important;
    margin: 18px auto 0 !important;
    padding: 0 72px;
    text-align: center;
    font-size: 11.6px;
    color: #94a3b8;
    line-height: 1.8;
}

.kp-df-admin-hint {
    font-size: 11.5px;
    color: #fcd34d;
    background: rgba(251, 191, 36, 0.10);
    border: 1px dashed rgba(251, 191, 36, 0.4);
    border-radius: 10px;
    padding: 7px 10px;
    display: inline-block;
}
.kp-df-admin-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.18);
    border: 1px solid rgba(251, 146, 60, 0.5);
    color: #fed7aa !important;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 800;
    transition: 0.16s;
}
.kp-df-admin-edit-btn:hover {
    background: #f97316;
    color: #ffffff !important;
}

@media (max-width: 960px) {
    .kp-df-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .kp-df-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .kp-dark-footer { padding: 28px 14px 20px; }
    .kp-df-inner { grid-template-columns: 1fr; gap: 22px; padding-bottom: 20px; }
    .kp-df-phone-card { flex: 1 1 140px; }
    .kp-df-bottom { padding: 0 12px 54px; font-size: 11px; }
}



/* ========================================================================= */
/* Karapacking v26.17 — 10/10 Checkout & Order UX Polish                     */
/* ========================================================================= */

/* Keep Floating Help Button cleanly above Mobile Bottom Navigation */
@media (max-width: 768px) {
    .kp-tour-fab-wrap {
        bottom: 78px !important;
        right: 12px !important;
    }
}

/* Gentle Hint Pill & Pulse on Step 1 (Non-Intrusive Guidance) */
.kp-tour-fab-hint {
    background: #0f172a;
    color: #fff;
    font-size: 11.2px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 10px;
    border: 1px solid rgba(251, 146, 60, 0.55);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}
.kp-tour-fab-hint.show {
    opacity: 1;
    transform: translateY(0);
}
.kp-tour-fab-btn.pulse {
    animation: kpHelpPulse 1.6s ease-in-out infinite;
}
@keyframes kpHelpPulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(15, 23, 42, 0.34), 0 0 0 0 rgba(249, 115, 22, 0.55); }
    50%      { box-shadow: 0 8px 22px rgba(15, 23, 42, 0.34), 0 0 0 10px rgba(249, 115, 22, 0); }
}

/* Step 3 Reassuring Saved-Design Banner */
.kp-step3-saved-banner {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: #ecfdf5;
    border: 1.5px solid #6ee7b7;
    border-radius: 15px;
    padding: 12px 14px;
    margin: 14px 0 16px;
    color: #065f46;
    font-size: 13px;
    line-height: 1.7;
}
.kp-s3sb-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #10b981;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 3-Step Checkout Progress Bar (cart.php) */
.kp-checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 11px 16px;
}
.kp-cs-step {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.2px;
    font-weight: 800;
    color: var(--muted);
    white-space: nowrap;
}
.kp-cs-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 11.5px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.kp-cs-step.done { color: #059669; }
.kp-cs-step.done .kp-cs-num { background: #10b981; color: #fff; }
.kp-cs-step.active { color: #c2410c; }
.kp-cs-step.active .kp-cs-num { background: #f97316; color: #fff; box-shadow: 0 3px 10px rgba(249, 115, 22, 0.35); }
.kp-cs-line {
    flex: 1 1 32px;
    max-width: 74px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 999px;
}
.kp-cs-line.done { background: #10b981; }

/* Cart Guest Login CTA & Collapsible Optional Shipping Box */
.kp-cart-login-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border: 1.5px solid #fdba74;
    border-radius: 16px;
    padding: 16px 18px;
}
.kp-opt-ship-box {
    background: var(--bg);
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 10px 14px;
}
.kp-opt-ship-box summary {
    cursor: pointer;
    font-size: 12.2px;
    font-weight: 800;
    color: var(--ink-soft);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.kp-opt-ship-box summary::after {
    content: "+";
    font-size: 16px;
    font-weight: 900;
    color: #f97316;
}
.kp-opt-ship-box[open] summary::after { content: "−"; }

@media (max-width: 640px) {
    .kp-checkout-steps { padding: 9px 10px; gap: 5px; }
    .kp-cs-step { font-size: 10.8px; gap: 5px; }
    .kp-cs-num { width: 20px; height: 20px; font-size: 10.5px; }
}



/* ========================================================================= */
/* Karapacking v26.18 — Unified Payment Method Selector & Group Invoice UI   */
/* ========================================================================= */
.kp-pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.kp-pay-methods.single-opt {
    grid-template-columns: 1fr;
}
.kp-pay-opt {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.16s, background 0.16s, box-shadow 0.16s;
}
.kp-pay-opt input[type="radio"] {
    margin: 3px 0 0;
    width: 16px;
    height: 16px;
    accent-color: #f97316;
    flex-shrink: 0;
}
.kp-pay-opt.active {
    border-color: #f97316;
    background: #fffaf5;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.12);
}
.kp-po-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.kp-po-body strong {
    font-size: 13.2px;
    color: var(--ink);
}
.kp-po-body small {
    font-size: 11.3px;
    color: var(--muted);
    line-height: 1.55;
}
.kp-card-details-box {
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    border-radius: 14px;
    padding: 14px;
}
.kp-grp-box {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 14px;
}
@media (max-width: 640px) {
    .kp-pay-methods { grid-template-columns: 1fr; }
}
