/* ═══════════════════════════════════════════════════════
   Landing Page — صفحه عمومی فروشگاه + احراز هویت
   ═══════════════════════════════════════════════════════ */

/* ── Reset داخلی ── */
.lp-wrap *, .lp-wrap *::before, .lp-wrap *::after { box-sizing: border-box; }
.lp-wrap { font-family: 'IRANSans', system-ui, sans-serif; direction: rtl; background: #f1f5f9; min-height: 100vh; display: flex; flex-direction: column; }

/* ══════════════════════════════════════════
   هدر
══════════════════════════════════════════ */
.lp-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 28px;
    height: 60px;
    background: #1e293b;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.lp-header__brand { display: flex; align-items: center; gap: 8px; }
.lp-header__logo  { font-size: 22px; }
.lp-header__name  { font-size: 16px; font-weight: 800; color: #f8fafc; }

.lp-header__nav   { display: flex; gap: 4px; margin-right: 20px; flex: 1; }
.lp-header__link  { color: #94a3b8; font-size: 13px; text-decoration: none; padding: 6px 12px; border-radius: 6px; transition: all .15s; }
.lp-header__link:hover { color: #f8fafc; background: rgba(255,255,255,.08); }

.lp-header__actions { display: flex; gap: 8px; align-items: center; }

.lp-portal-btn {
    padding: 7px 16px;
    background: #6d28d9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background .15s;
    white-space: nowrap;
}
.lp-portal-btn:hover { background: #5b21b6; }
.lp-portal-btn--outline { background: transparent; border: 1.5px solid #6d28d9; color: #a78bfa; }
.lp-portal-btn--outline:hover { background: #6d28d9; color: #fff; }

/* ══════════════════════════════════════════
   محتوای اصلی
══════════════════════════════════════════ */
.lp-main {
    display: flex;
    flex: 1;
    gap: 0;
    position: relative;
}

/* ══════════════════════════════════════════
   پنل Auth (کناری راست)
══════════════════════════════════════════ */
.lp-auth-panel {
    width: 340px;
    flex-shrink: 0;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    padding: 24px 20px;
    overflow-y: auto;
    min-height: calc(100vh - 60px);
}

.lp-auth-card { max-width: 300px; margin: 0 auto; }

.lp-auth-tabs {
    display: flex;
    gap: 2px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 24px;
}

.lp-auth-tab {
    flex: 1;
    padding: 7px 4px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: #64748b;
    cursor: pointer;
    transition: all .15s;
}

.lp-auth-tab.active { background: #fff; color: #6d28d9; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.lp-form { display: flex; flex-direction: column; gap: 14px; }
.lp-form--hidden { display: none !important; }

.lp-form__title { font-size: 16px; font-weight: 800; color: #1e293b; margin-bottom: 4px; }
.lp-form__desc  { font-size: 13px; color: #64748b; line-height: 1.6; margin: 0; }

.lp-field { display: flex; flex-direction: column; gap: 5px; }
.lp-field label { font-size: 12px; font-weight: 600; color: #475569; }
.lp-field input  {
    padding: 9px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    direction: ltr;
    text-align: right;
    transition: border-color .15s;
}
.lp-field input:focus { outline: none; border-color: #6d28d9; background: #fff; }

.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.lp-pass-wrap { position: relative; }
.lp-pass-wrap input { width: 100%; }
.lp-pass-toggle { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 14px; padding: 0; line-height: 1; }

.lp-form__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lp-checkbox  { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; cursor: pointer; }
.lp-checkbox input { width: auto; padding: 0; }

.lp-link { background: none; border: none; color: #6d28d9; font-size: 12px; cursor: pointer; text-decoration: underline; font-family: inherit; padding: 0; }
.lp-req  { color: #dc2626; }

.lp-btn {
    width: 100%;
    padding: 11px;
    background: #6d28d9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s;
}
.lp-btn:hover:not(:disabled) { background: #5b21b6; }
.lp-btn:disabled { opacity: .55; cursor: not-allowed; }

.lp-msg { font-size: 12px; border-radius: 6px; padding: 8px 10px; }
.lp-msg:empty { display: none; }
.lp-msg--error   { background: #fee2e2; color: #991b1b; }
.lp-msg--success { background: #d1fae5; color: #065f46; }

/* ══════════════════════════════════════════
   بخش فروشگاه
══════════════════════════════════════════ */
.lp-shop {
    flex: 1;
    padding: 20px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-shop-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    flex-wrap: nowrap;
}

.lp-shop-search {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 10px;
    flex: 1;
    min-width: 0;
    transition: border-color .15s;
}
.lp-shop-search:focus-within { border-color: #6d28d9; }
.lp-shop-search__icon  { color: #94a3b8; font-size: 14px; margin-left: 6px; }
.lp-shop-search__input { border: none; background: transparent; padding: 8px 0; font-size: 13px; font-family: inherit; width: 100%; direction: rtl; color: #1e293b; }
.lp-shop-search__input:focus { outline: none; }

.lp-shop-select {
    padding: 8px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    color: #334155;
    cursor: pointer;
    flex-shrink: 0;
    max-width: 150px;
}
.lp-shop-select:focus { outline: none; border-color: #6d28d9; }

.lp-shop-count { font-size: 12px; color: #64748b; white-space: nowrap; flex-shrink: 0; }

/* ── Grid محصولات ── */
.lp-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.lp-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 15px;
}

/* ── کارت محصول ── */
.lp-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}

.lp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.lp-card__img-wrap { position: relative; aspect-ratio: 1; background: #f8fafc; overflow: hidden; }
.lp-card__img      { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.lp-card:hover .lp-card__img { transform: scale(1.06); }
.lp-card__img--none { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: #cbd5e1; }

.lp-badge { position: absolute; top: 8px; right: 8px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }

.lp-card__body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lp-card__name  { font-size: 13px; font-weight: 700; color: #1e293b; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.lp-price      { font-size: 14px; font-weight: 800; color: #1e293b; }
.lp-price--sale { color: #dc2626; }
.lp-price--old  { font-size: 12px; color: #94a3b8; margin-right: 4px; }
.lp-price--contact { font-size: 13px; color: #64748b; font-style: italic; }

.lp-card__btn {
    margin-top: auto;
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1.5px solid #6d28d9;
    border-radius: 8px;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .15s;
}
.lp-card:hover .lp-card__btn { background: #6d28d9; color: #fff; }

/* ── Skeleton ── */
.lp-card--skeleton .lp-card__img { background: #e2e8f0; width: 100%; aspect-ratio: 1; }
.lp-sk-line { height: 12px; background: #e2e8f0; border-radius: 6px; margin: 10px 12px 4px; }

.sk-anim {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: sk-shine 1.4s infinite;
}
@keyframes sk-shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Pagination ── */
.lp-pagination { display: flex; justify-content: center; gap: 4px; padding: 16px 0; flex-wrap: wrap; }
.lp-pg-btn {
    min-width: 36px; height: 36px; padding: 0 8px;
    border: 1.5px solid #e2e8f0; border-radius: 8px;
    background: #fff; color: #475569; font-size: 13px;
    cursor: pointer; font-family: inherit; transition: all .15s;
    display: flex; align-items: center; justify-content: center;
}
.lp-pg-btn:hover { border-color: #6d28d9; color: #6d28d9; background: #faf5ff; }
.lp-pg-btn.active { background: #6d28d9; color: #fff; border-color: #6d28d9; font-weight: 700; }
.lp-pg-dots { color: #94a3b8; font-size: 14px; padding: 0 4px; line-height: 36px; }

/* ══════════════════════════════════════════
   فوتر
══════════════════════════════════════════ */
.lp-footer { background: #1e293b; padding: 20px 28px; margin-top: auto; }
.lp-footer__inner { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #64748b; }
.lp-footer__portal { color: #a78bfa; text-decoration: none; font-weight: 600; }
.lp-footer__portal:hover { color: #c4b5fd; }

/* ══════════════════════════════════════════
   Responsive
══════════════════════════════════════════ */
@media (max-width: 900px) {
    .lp-main { flex-direction: column-reverse; }
    .lp-auth-panel { width: 100%; min-height: auto; border-left: none; border-top: 1px solid #e2e8f0; }
    .lp-header__nav { display: none; }
}

@media (max-width: 600px) {
    .lp-header { padding: 0 14px; }
    .lp-shop { padding: 12px; }
    .lp-shop-toolbar { flex-wrap: wrap; }
    .lp-products { grid-template-columns: repeat(2, 1fr); }
    .lp-portal-btn--outline { display: none; }
}

/* ══════════════════════════════════════════
   صفحه اول (Home)
══════════════════════════════════════════ */
.lp-wrap--home .lp-main--home {
    align-items: stretch;
    min-height: calc(100vh - 120px);
}

.lp-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #ede9fe 100%);
}

.lp-hero__content { max-width: 560px; }

.lp-hero__badge {
    display: inline-block;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.lp-hero__title {
    font-size: 32px;
    font-weight: 900;
    color: #1e293b;
    line-height: 1.4;
    margin: 0 0 14px;
}

.lp-hero__desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin: 0 0 28px;
}

.lp-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.lp-hero__actions-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-hero__actions-row--bottom {
    padding-top: 4px;
    border-top: 1px dashed rgba(109, 40, 217, .15);
}

.lp-hero__actions-row--bottom .lp-hero-btn--election {
    min-width: 220px;
}

.lp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .2s;
}

.lp-hero-btn--primary {
    background: #6d28d9;
    color: #fff;
    box-shadow: 0 4px 14px rgba(109,40,217,.35);
}
.lp-hero-btn--primary:hover { background: #5b21b6; transform: translateY(-1px); }

.lp-hero-btn--outline {
    background: #fff;
    color: #6d28d9;
    border: 2px solid #6d28d9;
}
.lp-hero-btn--outline:hover { background: #f5f3ff; }

.lp-hero-btn--melk {
    background: #312e81;
    color: #fff;
    box-shadow: 0 4px 14px rgba(49,46,129,.35);
}
.lp-hero-btn--melk:hover { background: #1e1b4b; transform: translateY(-1px); }

.lp-hero__features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.lp-hero__feat {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.lp-hero__visual {
    position: relative;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
}

.lp-hero__card {
    position: absolute;
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    top: 40px;
    right: 60px;
}

.lp-hero__card--2 { top: 120px; right: 0; font-size: 36px; }
.lp-hero__card--3 { top: 60px; right: 140px; font-size: 32px; }

.lp-portal-btn--shop {
    background: #059669;
}
.lp-portal-btn--shop:hover { background: #047857; }

.lp-portal-btn--melk {
    background: #312e81;
}
.lp-portal-btn--melk:hover { background: #1e1b4b; }

.lp-portal-btn--service {
    background: #0284c7;
}
.lp-portal-btn--service:hover { background: #0369a1; }

.lp-hero-btn--service {
    background: #0284c7;
    color: #fff;
    box-shadow: 0 4px 14px rgba(2,132,199,.35);
}
.lp-hero-btn--service:hover { background: #0369a1; transform: translateY(-1px); }

.lp-portal-btn--wholesale {
    background: #0c4a6e; color: #fff;
}
.lp-portal-btn--wholesale:hover { background: #075985; }

.lp-hero-btn--wholesale {
    background: linear-gradient(135deg, #0c4a6e, #0284c7);
    color: #fff; border: none;
}
.lp-hero-btn--wholesale:hover { background: linear-gradient(135deg, #075985, #0369a1); transform: translateY(-1px); }

.lp-portal-btn--election {
    background: #9a3412; color: #fff;
}
.lp-portal-btn--election:hover { background: #7c2d12; }

.lp-hero-btn--election {
    background: linear-gradient(135deg, #9a3412, #ea580c);
    color: #fff; border: none;
}
.lp-hero-btn--election:hover { background: linear-gradient(135deg, #7c2d12, #c2410c); transform: translateY(-1px); }

.lp-portal-btn--education {
    background: #7c3aed; color: #fff;
}
.lp-portal-btn--education:hover { background: #6d28d9; }

.lp-hero-btn--education {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff; border: none;
}
.lp-hero-btn--education:hover { background: linear-gradient(135deg, #6d28d9, #9333ea); transform: translateY(-1px); }

.lp-hero__card--4 { top: 180px; right: 70px; font-size: 30px; background: linear-gradient(145deg, #fff7ed, #ffedd5); }
.lp-hero__card--5 { top: 60px; right: 20px; font-size: 28px; background: linear-gradient(145deg, #f5f3ff, #ede9fe); }

a.lp-hero__card {
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
a.lp-hero__card:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 28px rgba(12, 74, 110, .25);
}

.lp-header__brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

/* ══════════════════════════════════════════
   صفحه فروشگاه (Shop)
══════════════════════════════════════════ */
.lp-wrap--shop { background: #f8fafc; }

.shop-breadcrumb {
    padding: 12px 28px;
    font-size: 13px;
    color: #64748b;
    display: flex;
    gap: 8px;
    align-items: center;
}
.shop-breadcrumb a { color: #6d28d9; text-decoration: none; }

.shop-layout {
    display: flex;
    gap: 0;
    padding: 0 20px 24px;
    flex: 1;
}

.shop-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-left: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    height: fit-content;
    position: sticky;
    top: 76px;
}

.shop-sidebar__title {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.shop-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }

.shop-cat-item {
    width: 100%;
    text-align: right;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #475569;
    cursor: pointer;
    transition: all .15s;
}
.shop-cat-item:hover { background: #f1f5f9; color: #1e293b; }
.shop-cat-item.active { background: #ede9fe; color: #6d28d9; font-weight: 700; }
.shop-cat-item small { color: #94a3b8; }

.shop-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-header__link--active { color: #f8fafc; background: rgba(255,255,255,.1); }

.lp-cart-btn {
    position: relative;
    padding: 7px 14px;
    background: #fff;
    color: #1e293b;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.lp-cart-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.lp-cart-badge:empty { display: none; }

.lp-card__btn-cart {
    margin-top: 8px;
    width: 100%;
    padding: 8px;
    background: #059669;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.lp-card__btn-cart:hover:not(:disabled) { background: #047857; }
.lp-card__btn-cart:disabled { opacity: .5; cursor: not-allowed; }

/* مودال محصول */
.shop-modal[hidden] { display: none !important; }
.shop-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}
.shop-modal__box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    max-width: 720px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 1;
}
.shop-modal__close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}
.shop-modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shop-modal__img { width: 100%; border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.shop-modal__img--none {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}
.shop-modal__info h2 { margin: 0 0 8px; font-size: 20px; color: #1e293b; }
.shop-modal__cats { font-size: 12px; color: #64748b; margin-bottom: 12px; }
.shop-modal__price { font-size: 18px; margin-bottom: 12px; }
.shop-modal__desc { font-size: 14px; color: #475569; line-height: 1.7; }
.shop-modal__meta { display: flex; gap: 16px; font-size: 12px; color: #64748b; margin: 12px 0; }
.shop-modal__add { margin-top: 16px; }
.shop-modal__loading { text-align: center; padding: 40px; color: #64748b; }

/* سبد خرید */
.shop-cart-panel[hidden] { display: none !important; }
.shop-cart-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    height: 100vh;
    background: #fff;
    box-shadow: 4px 0 24px rgba(0,0,0,.15);
    z-index: 150;
    display: flex;
    flex-direction: column;
}
.shop-cart-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 800;
}
.shop-cart-panel__head button { background: none; border: none; font-size: 18px; cursor: pointer; }
.shop-cart-panel__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.shop-cart-panel__foot { padding: 16px 20px; border-top: 1px solid #e2e8f0; }
.shop-cart-item { padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.shop-cart-item__name { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.shop-cart-item__row { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; }
.shop-cart-remove { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 12px; }
.shop-cart-empty { text-align: center; color: #94a3b8; padding: 40px 0; }
.shop-cart-total { font-size: 15px; margin-bottom: 12px; }

@media (max-width: 900px) {
    .lp-hero { flex-direction: column; padding: 32px 20px; text-align: center; }
    .lp-hero__visual { display: none; }
    .lp-hero__actions { justify-content: center; }
    .shop-layout { flex-direction: column; }
    .shop-sidebar { width: 100%; margin-left: 0; position: static; }
    .shop-modal__grid { grid-template-columns: 1fr; }
}

/* ══ فروشگاه عرقیات ══ */
.arag-wrap { min-height: 100vh; background: #f0fdf4; font-family: 'IRANSans', system-ui, sans-serif; }
.arag-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #14532d; color: #fff; position: sticky; top: 0; z-index: 50; }
.arag-header__left { display: flex; align-items: center; gap: 8px; }
.arag-brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; }
.arag-back { background: rgba(255,255,255,.15); border: none; color: #fff; width: 36px; height: 36px; border-radius: 8px; font-size: 18px; cursor: pointer; }
.arag-cart-btn { background: #fff; border: none; border-radius: 8px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.arag-cart-badge { background: #dc2626; color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.arag-cart-badge:empty { display: none; }
.arag-account-link { color: #fff; text-decoration: none; font-size: 20px; margin-right: 8px; }
.arag-main { padding: 16px; padding-bottom: 90px; max-width: 600px; margin: 0 auto; }
.arag-step-title { font-size: 18px; font-weight: 800; color: #14532d; margin-bottom: 14px; }
.arag-breadcrumb { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.arag-desc { font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 16px; }
.arag-grid { display: grid; gap: 12px; }
.arag-grid--2 { grid-template-columns: repeat(2, 1fr); }
.arag-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; background: #fff; border: none; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.06); cursor: pointer; min-height: 120px; font-family: inherit; text-align: center; }
.arag-card__icon { font-size: 36px; }
.arag-card__name { font-size: 14px; font-weight: 700; color: #1e293b; }
.arag-card__sub { font-size: 11px; color: #64748b; }
.arag-pkg-list { display: flex; flex-direction: column; gap: 10px; }
.arag-pkg { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.arag-pkg__label { font-weight: 700; font-size: 14px; }
.arag-pkg__vol { font-size: 12px; color: #64748b; }
.arag-pkg__price { font-size: 14px; color: #15803d; font-weight: 700; }
.arag-qty { display: flex; align-items: center; gap: 8px; }
.arag-qty__btn { width: 36px; height: 36px; border: none; background: #dcfce7; color: #15803d; border-radius: 8px; font-size: 18px; cursor: pointer; }
.arag-qty__val { min-width: 24px; text-align: center; font-weight: 800; }
.arag-btn { display: block; width: 100%; padding: 14px; border: none; border-radius: 12px; font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer; background: #e2e8f0; }
.arag-btn--primary { background: #15803d; color: #fff; }
.arag-btn--fixed { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 568px; margin: 0 auto; z-index: 40; box-shadow: 0 4px 20px rgba(21,128,61,.35); }
.arag-btn--sm { padding: 8px 14px; font-size: 13px; width: auto; }
.arag-field { margin-bottom: 14px; }
.arag-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; }
.arag-field input, .arag-field textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-family: inherit; font-size: 14px; box-sizing: border-box; }
.arag-section-title { font-size: 15px; font-weight: 800; color: #14532d; margin: 18px 0 10px; }
.arag-radio-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.arag-radio { display: flex; flex-direction: column; gap: 2px; background: #fff; padding: 12px 14px; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.arag-radio:has(input:checked) { border-color: #15803d; background: #f0fdf4; }
.arag-cart-list { background: #fff; border-radius: 12px; margin-bottom: 12px; }
.arag-cart-row { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; }
.arag-cart-total { font-size: 16px; margin: 12px 0; }
.arag-note { font-size: 12px; color: #64748b; }
.arag-empty { text-align: center; padding: 40px; color: #94a3b8; }
.arag-msg { font-size: 13px; padding: 10px; border-radius: 8px; margin-top: 10px; }
.arag-msg--ok { background: #dcfce7; color: #166534; }
.arag-msg--err { background: #fee2e2; color: #991b1b; }
.arag-demo-hint { background: #fef9c3; color: #854d0e; padding: 8px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; text-align: center; }
.wc-account { min-height: 100vh; background: #f8fafc; }
.wc-account__layout { display: flex; flex-direction: column; max-width: 1100px; margin: 0 auto; padding: 20px 16px; }
@media (min-width: 768px) { .wc-account__layout { flex-direction: row; } }
.wc-account__nav { display: flex; flex-wrap: wrap; gap: 4px; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 16px; }
@media (min-width: 768px) { .wc-account__nav { flex-direction: column; width: 220px; margin-left: 16px; margin-bottom: 0; } }
.wc-nav-item { display: block; width: 100%; text-align: right; padding: 10px 14px; border: none; background: transparent; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; text-decoration: none; }
.wc-nav-item:hover, .wc-nav-item.active { background: #f0fdf4; color: #15803d; }
.wc-account__content { flex: 1; background: #fff; border-radius: 12px; padding: 24px 20px; }
.wc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wc-table th, .wc-table td { padding: 10px 8px; border-bottom: 1px solid #e2e8f0; text-align: right; }
.wc-notice { padding: 12px 16px; border-radius: 10px; margin: 12px 16px; font-size: 14px; }
.wc-notice--success { background: #dcfce7; color: #166534; }
.wc-notice--warn { background: #fef9c3; color: #854d0e; }
.wc-notice--err { background: #fee2e2; color: #991b1b; }
