/* ========================================================================
   NABL SHOP — Frontend Theme (Mayosis-style)
   ========================================================================
   Color palette (cloned dari nabl2.aplikasikeren.com):
   --primary:   #3239e5  (indigo/blue)
   --primary-d: #2b32a9  (dark indigo, gradient end)
   --heading:   #222B4F  (dark navy)
   --accent:    #ff9800  (orange "Buy Now")
   --bg-soft:   #EFF4F7  (footer bg)
   --body-text: #222B4FDE (with alpha)
   --muted:     #222B4FA1 (with alpha)
   ======================================================================== */

:root {
    --primary: #3239e5;
    --primary-d: #2b32a9;
    --primary-l: #6e7cff;
    --heading: #222B4F;
    --accent: #ff9800;
    --bg-soft: #EFF4F7;
    --body-text: #222B4FDE;
    --muted: #222B4FA1;
    --border: #e6e8f0;
    --white: #ffffff;

    --font-heading: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Jost', system-ui, -apple-system, sans-serif;
    --container-max: 1200px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 8px rgba(34, 43, 79, 0.06);
    --shadow-md: 0 5px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 50px rgba(50, 57, 229, 0.12);
}

/* ===== Global ===== */
* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--body-text);
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-d); }
img { max-width: 100%; height: auto; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 .5em;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

@media (max-width: 767px) {
    h1, h2 { font-size: 32px; }
    h3 { font-size: 20px; }
}

.nabl-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Section helpers ===== */
.nabl-section { padding: 60px 0; }
.nabl-section--soft { background: var(--bg-soft); }
.nabl-section--gradient {
    background: linear-gradient(135deg, #2b32a9 0%, #3239e5 100%);
    color: #fff;
}
.nabl-section--gradient h1,
.nabl-section--gradient h2,
.nabl-section--gradient h3,
.nabl-section--gradient p { color: #fff; }

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 8px;
}
.section-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--muted);
    margin: 0 0 30px;
}
.title-blue-span { color: var(--primary); }

@media (max-width: 767px) {
    .section-title { font-size: 32px; }
}

/* ===== Buttons ===== */
.nabl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition: all .2s;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.nabl-btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.nabl-btn--primary:hover {
    background: var(--primary-d);
    border-color: var(--primary-d);
    color: #fff;
    transform: translateY(-1px);
}
.nabl-btn--ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.nabl-btn--ghost:hover {
    background: var(--primary);
    color: #fff;
}
.nabl-btn--white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.nabl-btn--white:hover { background: #f0f0f0; }
.nabl-btn--accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.nabl-btn--accent:hover { background: #e68900; border-color: #e68900; color: #fff; }
.nabl-btn--lg { padding: 15px 32px; font-size: 16px; }
.nabl-btn--sm { padding: 8px 16px; font-size: 13px; }
.nabl-btn--block { display: flex; width: 100%; justify-content: center; }

/* ===== Topbar (header top) ===== */
.nabl-topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}
.nabl-topbar__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nabl-logo img { max-height: 38px; }
.nabl-logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--heading);
    margin-left: 8px;
}

/* Side-menu trigger (burger) */
.nabl-burger {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: background .2s;
}
.nabl-burger:hover { background: var(--primary-d); }

/* Search form */
.nabl-search {
    flex: 1;
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 50px;
    overflow: hidden;
    max-width: 600px;
}
.nabl-search__select {
    border: 0;
    background: #fff;
    padding: 0 14px;
    border-right: 1px solid var(--border);
    font-size: 14px;
    color: var(--heading);
    max-width: 160px;
    cursor: pointer;
}
.nabl-search__input {
    flex: 1;
    border: 0;
    padding: 10px 16px;
    font-size: 14px;
    outline: 0;
    min-width: 0;
}
.nabl-search__btn {
    background: var(--primary);
    color: #fff;
    border: 0;
    padding: 0 22px;
    font-size: 14px;
}
.nabl-search__btn:hover { background: var(--primary-d); }

/* Topbar right (cart + auth) */
.nabl-topbar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nabl-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 16px;
    transition: all .2s;
}
.nabl-icon-btn:hover { background: var(--bg-soft); }
.nabl-icon-btn__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}
.nabl-lang-btn {
    width: auto;
    height: 40px;
    padding: 0 12px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--heading);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}
.nabl-lang-btn:hover { background: var(--bg-soft); }
.nabl-lang-btn img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; }

/* ===== Offcanvas side menu ===== */
.nabl-sidemenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: 4px 0 30px rgba(0, 0, 0, .1);
    z-index: 1060;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.nabl-sidemenu.is-open { transform: translateX(0); }
.nabl-sidemenu__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1055;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.nabl-sidemenu__backdrop.is-open { opacity: 1; pointer-events: auto; }
.nabl-sidemenu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}
.nabl-sidemenu__header img { max-height: 32px; }
.nabl-sidemenu__close {
    background: transparent;
    border: 0;
    font-size: 20px;
    color: var(--heading);
}
.nabl-sidemenu__nav {
    flex: 1;
    padding: 12px 0;
    list-style: none;
    margin: 0;
}
.nabl-sidemenu__nav li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    color: var(--heading);
    font-weight: 500;
    font-size: 15px;
    border-left: 3px solid transparent;
    transition: all .2s;
}
.nabl-sidemenu__nav li a:hover,
.nabl-sidemenu__nav li.active a {
    background: var(--bg-soft);
    color: var(--primary);
    border-left-color: var(--primary);
}
.nabl-sidemenu__nav li a i { width: 18px; text-align: center; }
.nabl-sidemenu__divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}
.nabl-sidemenu__footer {
    padding: 18px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
}
.nabl-sidemenu__footer .nabl-btn { flex: 1; justify-content: center; }

/* ===== Hero / Slider ===== */
.nabl-hero {
    background: linear-gradient(135deg, #2b32a9 0%, #3239e5 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}
.nabl-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, .1), transparent 60%);
    pointer-events: none;
}
.nabl-hero__title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 18px;
}
.nabl-hero__title span { color: var(--primary-l); }
.nabl-hero__desc {
    color: rgba(255, 255, 255, .85);
    font-size: 18px;
    max-width: 520px;
    margin: 0 0 28px;
}
.nabl-hero__pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 16px;
}
.nabl-hero__image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.swiper-hero { padding: 0 0 30px; }
.swiper-hero .swiper-pagination-bullet { background: rgba(255, 255, 255, .5); }
.swiper-hero .swiper-pagination-bullet-active { background: #fff; width: 30px; border-radius: 5px; }

/* ===== Product Card ===== */
.nabl-product {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.nabl-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Thumbnail / image area */
.nabl-product__thumb {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bg-soft);
}
.nabl-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f8fafc;
    padding: 8px;
}

.nabl-product__deal-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Hover overlay (figcaption) */
.nabl-product__caption {
    position: absolute;
    inset: 0;
    background: rgba(34, 43, 79, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    z-index: 2;
}
.nabl-product:hover .nabl-product__caption { opacity: 1; }

.nabl-product__overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px;
}

.nabl-product__overlay-btn {
    display: block;
    text-align: center;
    padding: 9px 20px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    background: #fff;
    color: var(--heading);
    transition: background .2s, color .2s;
    min-width: 140px;
}
.nabl-product__overlay-btn:hover {
    background: #eef0f5;
    color: var(--heading);
}
.nabl-product__overlay-btn--accent {
    background: var(--accent);
    color: #fff;
}
.nabl-product__overlay-btn--accent:hover {
    background: #e68900;
    color: #fff;
}

.nabl-product__overlay-sales {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
}
.nabl-product__overlay-sales i { margin-right: 4px; }

/* Body below image */
.nabl-product__body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nabl-product__meta {
    flex: 1;
}

.nabl-product__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 4px;
    line-height: 1.35;
}
.nabl-product__title a { color: inherit; text-decoration: none; }
.nabl-product__title a:hover { color: var(--primary); }

.nabl-product__cats {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 6px;
}
.nabl-product__cats .opacitydown75 { opacity: .75; }
.nabl-product__cats a { color: var(--muted); text-decoration: none; }
.nabl-product__cats a:hover { color: var(--primary); }

.nabl-product__rating {
    display: flex;
    gap: 2px;
    margin-bottom: 6px;
}
.nabl-product__rating i {
    font-size: 12px;
    color: #d3ced2;
}
.nabl-product__rating i.filled { color: #f5b50a; }

.nabl-product__price {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
    margin-top: auto;
    padding-top: 6px;
}

.nabl-product__old-price {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 8px;
}

.nabl-product__sales {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nabl-product__sales i { font-size: 11px; }

/* ===== Product grid ===== */
.nabl-grid {
    display: grid;
    gap: 24px;
}
.nabl-grid--4 { grid-template-columns: repeat(4, 1fr); }
.nabl-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) {
    .nabl-grid--4 { grid-template-columns: repeat(3, 1fr); }
    .nabl-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .nabl-grid--4,
    .nabl-grid--3 { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== Stats counter ===== */
.nabl-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.nabl-stat {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid transparent;
    transition: all .3s;
}
.nabl-stat:hover {
    border-bottom-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.nabl-stat__number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--heading);
    line-height: 1;
    margin-bottom: 10px;
}
.nabl-stat__label {
    font-size: 15px;
    color: var(--muted);
    text-transform: capitalize;
}
@media (max-width: 767px) {
    .nabl-stats { grid-template-columns: 1fr 1fr; }
}

/* ===== Subscribe CTA banner ===== */
.nabl-subscribe {
    background: linear-gradient(135deg, #2b32a9 0%, #3239e5 100%);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.nabl-subscribe::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -90px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    pointer-events: none;
}
.nabl-subscribe h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 14px;
}
.nabl-subscribe p {
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    margin: 0;
}
.nabl-subscribe__form {
    margin-top: 28px;
    display: flex;
    max-width: 500px;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .15);
}
.nabl-subscribe__form input {
    flex: 1;
    border: 0;
    padding: 14px 22px;
    font-size: 15px;
    color: var(--heading);
    outline: 0;
    min-width: 0;
}
.nabl-subscribe__form button {
    background: var(--primary);
    color: #fff;
    border: 0;
    width: 50px;
    font-size: 18px;
}
.nabl-subscribe__form button:hover { background: var(--primary-d); }
@media (max-width: 767px) {
    .nabl-subscribe { padding: 40px 24px; }
    .nabl-subscribe h2 { font-size: 32px; }
}

/* ===== Footer ===== */
.nabl-footer {
    background: var(--bg-soft);
    padding: 60px 0 30px;
    color: var(--heading);
    margin-top: 60px;
}
.nabl-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 991px) {
    .nabl-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .nabl-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
.nabl-footer__about {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-text);
    margin: 14px 0 0;
    max-width: 360px;
}
.nabl-footer__logo img { max-height: 38px; }
.nabl-footer h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 16px;
}
.nabl-footer ul { list-style: none; padding: 0; margin: 0; }
.nabl-footer ul li { margin-bottom: 8px; }
.nabl-footer ul li a {
    color: var(--body-text);
    font-size: 15px;
    transition: color .2s;
}
.nabl-footer ul li a:hover { color: var(--primary); }
.nabl-footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

/* ===== Back to top ===== */
.nabl-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(50, 57, 229, .3);
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
}
.nabl-back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.nabl-back-top:hover { background: var(--primary-d); transform: translateY(-2px); }

/* ===== Mobile sticky bar ===== */
.nabl-mobbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    z-index: 1020;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .05);
}
.nabl-mobbar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.nabl-mobbar__link {
    padding: 10px 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
}
.nabl-mobbar__link i { display: block; font-size: 18px; margin-bottom: 2px; }
.nabl-mobbar__link.is-active,
.nabl-mobbar__link:hover { color: var(--primary); }

@media (max-width: 575px) {
    .nabl-mobbar { display: block; }
    body { padding-bottom: 60px; }
}

/* ===== Cart offcanvas ===== */
.nabl-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 30px rgba(0, 0, 0, .1);
    z-index: 1060;
    transform: translateX(100%);
    transition: transform .3s;
    display: flex;
    flex-direction: column;
}
.nabl-cart-drawer.is-open { transform: translateX(0); }
.nabl-cart-drawer__header {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nabl-cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 22px;
}
.nabl-cart-drawer__footer {
    padding: 18px 22px;
    border-top: 1px solid var(--border);
}

/* ===== Forms (auth) ===== */
.nabl-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2b32a9 0%, #3239e5 100%);
    padding: 30px 16px;
}
.nabl-auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    padding: 40px 36px;
    width: 100%;
    max-width: 440px;
}
.nabl-auth-card__logo {
    text-align: center;
    margin-bottom: 24px;
}
.nabl-auth-card__logo img { max-height: 44px; }
.nabl-auth-card h1 {
    text-align: center;
    font-size: 28px;
    margin: 0 0 6px;
}
.nabl-auth-card__sub {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 28px;
}
.nabl-form-group {
    margin-bottom: 18px;
}
.nabl-form-group label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: var(--heading);
    margin-bottom: 6px;
}
.nabl-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--heading);
    background: #fff;
    transition: all .2s;
    font-family: inherit;
}
.nabl-input:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(50, 57, 229, .12);
}
.nabl-input-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all .2s;
}
.nabl-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(50, 57, 229, .12);
}
.nabl-input-group__prefix {
    background: var(--bg-soft);
    color: var(--heading);
    font-weight: 600;
    padding: 12px 14px;
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    font-size: 15px;
}
.nabl-input-group input {
    flex: 1;
    border: 0;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--heading);
    background: transparent;
    outline: 0;
    min-width: 0;
    font-family: inherit;
}

.nabl-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25D366;
    color: #fff;
    border: 0;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all .2s;
}
.nabl-wa-btn:hover {
    background: #1ebe5a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, .3);
}
.nabl-wa-btn i { font-size: 20px; }

.nabl-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--muted);
    font-size: 13px;
}
.nabl-divider::before,
.nabl-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
.nabl-divider span { padding: 0 12px; }

.nabl-link {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin-top: 20px;
}
.nabl-link a { font-weight: 500; }

/* Waiting page */
.nabl-waiting {
    text-align: center;
    padding: 30px 0;
}
.nabl-waiting__spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    border: 4px solid var(--bg-soft);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: nabl-spin 1s linear infinite;
}
@keyframes nabl-spin { to { transform: rotate(360deg); } }
.nabl-waiting__step {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 10px 0;
    color: var(--muted);
    font-size: 14px;
}
.nabl-waiting__step.is-done { color: var(--primary); }
.nabl-waiting__step.is-active { color: var(--heading); font-weight: 600; }
.nabl-waiting__step .dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.nabl-waiting__step.is-done .dot { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Alerts ===== */
.nabl-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nabl-alert--danger { background: #fee; color: #c33; border: 1px solid #fcc; }
.nabl-alert--success { background: #efe; color: #2a7; border: 1px solid #cec; }
.nabl-alert--info { background: #eef4ff; color: #2351c5; border: 1px solid #cfdcfb; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.d-none { display: none !important; }

/* Mobile helpers */
@media (max-width: 767px) {
    .nabl-search { display: none; }
    .nabl-topbar__right .nabl-btn { display: none; }
}
@media (max-width: 575px) {
    .nabl-topbar__right .nabl-lang-btn { display: none; }
}

/* ===== Shop Page ===== */
.nabl-breadcrumb {
    background: var(--bg-soft);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.nabl-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    font-size: 14px;
}
.nabl-breadcrumb ol li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--muted);
}
.nabl-breadcrumb ol li a { color: var(--muted); }
.nabl-breadcrumb ol li a:hover { color: var(--primary); }
.nabl-breadcrumb ol li[aria-current] { color: var(--heading); font-weight: 500; }

.nabl-page-header {
    padding: 30px 0 10px;
}
.nabl-page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--heading);
}
.nabl-page-header p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.nabl-shop-section {
    padding: 24px 0 60px;
}

.nabl-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

@media (max-width: 991px) {
    .nabl-shop-layout { grid-template-columns: 1fr; }
}

/* Sidebar */
.nabl-shop-sidebar { min-width: 0; }

.nabl-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}
.nabl-widget__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.nabl-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nabl-cat-list li { margin-bottom: 2px; }
.nabl-cat-list li a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--body-text);
    font-size: 14px;
    transition: all .2s;
}
.nabl-cat-list li a:hover,
.nabl-cat-list li a.is-active {
    background: rgba(50, 57, 229, .06);
    color: var(--primary);
    font-weight: 500;
}

/* Toolbar */
.nabl-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}
.nabl-shop-toolbar__count {
    font-size: 14px;
    color: var(--muted);
}
.nabl-shop-sort { display: flex; align-items: center; gap: 8px; }
.nabl-shop-sort__select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--heading);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23222B4FA1' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    cursor: pointer;
    font-family: var(--font-body);
}
.nabl-shop-sort__select:focus {
    outline: 0;
    border-color: var(--primary);
}

/* Empty state */
.nabl-shop-empty {
    text-align: center;
    padding: 60px 20px;
}
.nabl-shop-empty i {
    font-size: 56px;
    color: #d0d5e0;
    margin-bottom: 16px;
    display: block;
}
.nabl-shop-empty h3 {
    font-size: 22px;
    margin: 0 0 8px;
}
.nabl-shop-empty p {
    color: var(--muted);
    margin: 0 0 20px;
}

/* Pagination */
.nabl-shop-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.nabl-shop-pagination .pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nabl-shop-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--heading);
    background: #fff;
    text-decoration: none;
    transition: all .2s;
}
.nabl-shop-pagination .page-item .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.nabl-shop-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.nabl-shop-pagination .page-item.disabled .page-link {
    opacity: .4;
    pointer-events: none;
}

/* Fix nabl.css .nabl-product__thumb for landscape */
.nabl-shop-main .nabl-product__thumb {
    aspect-ratio: 4 / 3;
}
.nabl-shop-main .nabl-product__thumb img {
    object-fit: contain;
    padding: 12px;
    background: #f8fafc;
}

/* Price filter */
.nabl-price-filter { display:flex; flex-direction:column; gap:12px; }
.nabl-price-filter__inputs { display:flex; align-items:center; gap:8px; }
.nabl-price-filter__input { flex:1; padding:8px 10px; border:1px solid var(--border); border-radius:var(--radius-sm); font-size:14px; width:0; min-width:0; font-family:var(--font-body); }
.nabl-price-filter__input:focus { outline:0; border-color:var(--primary); }
.nabl-price-filter__sep { color:var(--muted); font-size:14px; }
.nabl-price-filter__btn { width:100%; justify-content:center; }

/* ===== Nabl Main min-height ===== */
.nabl-main { min-height: 60vh; }
