*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:   #FF6B6B;
    --secondary: #4ECDC4;
    --accent:    #FFE66D;
    --bg:        #FAFAFA;
    --text:      #2D3436;
    --text-muted:#636E72;
    --border:    #E9ECEF;
    --radius:    16px;
    --shadow:    0 2px 12px rgba(0,0,0,.08);
}

body {
    font-family: 'Vazirmatn', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 72px; /* فضا برای bottom-nav */
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ─── Header ──────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.logo { flex: 1; }
.header-search,
.header-cart {
    position: relative;
    color: var(--text);
    padding: 4px;
}
.cart-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

/* ─── Bottom Nav ───────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    transition: color .2s;
}
.bottom-nav__item.active,
.bottom-nav__item:hover { color: var(--primary); }

/* ─── Hero ─────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #fff9f0 100%);
    padding: 40px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }

/* ─── Buttons ──────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { opacity: .9; }
.btn--outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }

/* ─── Gender Nav ───────────────────────────── */
.gender-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 16px;
    max-width: 480px;
    margin: 0 auto;
}
.gender-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 16px;
    transition: transform .15s;
}
.gender-card:active { transform: scale(.97); }
.gender-card__icon { font-size: 36px; }
.gender-card--girl { background: #fff0f6; color: #e91e8c; }
.gender-card--boy  { background: #f0f8ff; color: #1e6fe9; }

/* ─── Sections ─────────────────────────────── */
.section {
    padding: 8px 16px 24px;
    max-width: 480px;
    margin: 0 auto;
}
.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.section__header h2 { font-size: 17px; font-weight: 700; }
.see-all { font-size: 13px; color: var(--primary); }

/* ─── Product Grid ─────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .15s;
}
.product-card:active { transform: scale(.98); }
.product-card__img {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
    background: #f0f0f0;
}
.product-card__body { padding: 10px 12px 12px; }
.product-card__name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}
.product-card__price-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 4px;
}

/* ─── Empty State ──────────────────────────── */
.empty-state {
    grid-column: 1/-1;
    text-align: center;
    color: var(--text-muted);
    padding: 32px;
    font-size: 14px;
}

/* ─── Utilities ────────────────────────────── */
@media (min-width: 480px) {
    .site-header .header-inner,
    .gender-nav,
    .section { max-width: 480px; }
}

/* ─── Hero ─────────────────────────────────── */
.hero { background: linear-gradient(135deg,#fff5f5,#fff9f0); padding:36px 20px; }
.hero__tag { font-size:12px; color:var(--primary); font-weight:700; letter-spacing:.05em; margin-bottom:8px; }
.hero h1 { font-size:28px; font-weight:900; line-height:1.3; margin-bottom:20px; }
.hero h1 span { color:var(--primary); }
.hero__btns { display:flex; gap:10px; }

/* ─── Scroll Row ────────────────────────────── */
.product-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-width: none;
}
.product-scroll::-webkit-scrollbar { display:none; }
.product-card--scroll { flex-shrink:0; width:160px; }
.product-card--scroll .product-card__img { height:200px; aspect-ratio:unset; }

/* ─── Mid Banner ────────────────────────────── */
.mid-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg,#e8f8f7,#f0fff9);
    margin: 0 16px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 13px;
}
.mid-banner__icon { font-size:24px; }

/* ─── Category Page ────────────────────────── */
.cat-page { max-width: 480px; margin: 0 auto; }

.cat-hero {
    padding: 20px 16px 12px;
    border-bottom: 1px solid var(--border);
}
.cat-hero__breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.cat-hero__breadcrumb a { color: var(--primary); }
.cat-hero h1 { font-size: 22px; font-weight: 900; display: inline; }
.cat-hero__count { font-size: 13px; color: var(--text-muted); margin-right: 8px; }

/* chips زیردسته */
.cat-chips {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid var(--border);
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
    display: inline-flex !important;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    text-decoration: none;
    background: #fff;
    transition: all .2s;
}
.cat-chip:hover { border-color: var(--primary); color: var(--primary); }
.cat-chip.active { background: var(--primary) !important; color: #fff !important; border-color: var(--primary); }
.cat-chip__count {
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 20px;
    background: #f0f0f0;
    color: var(--text-muted);
}
.cat-chip.active .cat-chip__count { background: rgba(255,255,255,.25); color: #fff; }
.product-card__img--placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

/* ─── Product Page ─────────────────────────── */
.product-page { max-width: 480px; margin: 0 auto; }

.product-gallery { background: #fff; }
.gallery-main img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.gallery-main--empty {
    width: 100%;
    aspect-ratio: 3/4;
    background: #f0f0f0;
}
.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    opacity: .7;
    transition: all .2s;
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--primary); opacity: 1; }

.product-info { padding: 16px; }
.product-info__breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.product-info__name { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.product-info__price { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
.product-info__price span { font-size: 14px; font-weight: 500; color: var(--text-muted); }

/* انتخاب سایز */
.size-selector { margin-bottom: 20px; }
.size-selector__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
}
.size-guide-btn {
    background: none;
    border: none;
    color: var(--secondary);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}
.size-selector__options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: 2px solid var(--border);
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.size-btn small { font-size: 10px; font-weight: 500; }
.size-btn--in  { border-color: var(--border); color: var(--text); }
.size-btn--low { border-color: #ff9f43; color: #ff9f43; }
.size-btn--out { border-color: #dfe6e9; color: #b2bec3; background: #f8f9fa;
                 text-decoration: line-through; cursor: not-allowed; }
.size-btn.selected,
.size-btn--in:hover { border-color: var(--primary); background: #fff5f5; color: var(--primary); }
.size-selector__msg { font-size: 13px; color: var(--primary); margin-top: 8px; min-height: 20px; }

/* دکمه‌های خرید */
.product-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.btn--full { width: 100%; padding: 14px; font-size: 16px; }

/* notify */
.notify-form {
    background: #f8f9fa;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}
.notify-form p { font-size: 13px; margin-bottom: 10px; color: var(--text-muted); }
.notify-form__row { display: flex; gap: 8px; }
.notify-form__row input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    direction: ltr;
}
.notify-form__row button {
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* مشخصات */
.product-details { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 4px; }
.product-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.product-detail-row span:first-child { color: var(--text-muted); }

/* مودال راهنمای سایز */
.size-guide-modal {
    border: none;
    border-radius: var(--radius);
    padding: 24px;
    width: min(90vw, 400px);
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.size-guide-modal::backdrop { background: rgba(0,0,0,.5); }
.size-guide-modal h3 { margin-bottom: 16px; font-size: 16px; }
.modal-close {
    position: absolute;
    top: 12px; left: 12px;
    background: none; border: none;
    font-size: 18px; cursor: pointer;
    color: var(--text-muted);
}
.size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-table th,
.size-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: center; }
.size-table th { background: #f8f9fa; font-weight: 700; }

/* ─── Cart ──────────────────────────────────── */
.empty-cart { text-align:center; padding:60px 20px; color:var(--text-muted); }
.empty-cart__icon { font-size:64px; margin-bottom:12px; }
.cart-items { display:flex; flex-direction:column; gap:12px; margin-bottom:16px; }
.cart-item { display:flex; gap:12px; background:#fff; border-radius:var(--radius); padding:12px; box-shadow:var(--shadow); }
.cart-item__img { width:72px; height:90px; object-fit:cover; border-radius:10px; flex-shrink:0; background:#f0f0f0; }
.cart-item__img--empty { width:72px; height:90px; border-radius:10px; flex-shrink:0; background:#f0f0f0; }
.cart-item__info { flex:1; display:flex; flex-direction:column; gap:4px; }
.cart-item__name { font-size:14px; font-weight:600; }
.cart-item__size { font-size:12px; color:var(--text-muted); }
.cart-item__price { font-size:14px; font-weight:700; color:var(--primary); }
.cart-item__actions { display:flex; flex-direction:column; align-items:center; gap:6px; }
.qty-form { display:flex; align-items:center; gap:6px; }
.qty-btn { width:28px; height:28px; border-radius:8px; border:1.5px solid var(--border); background:#fff; font-size:16px; cursor:pointer; }
.qty-num { font-size:15px; font-weight:700; min-width:20px; text-align:center; }
.remove-btn { background:none; border:none; font-size:20px; cursor:pointer; padding:4px; }
.cart-summary { background:#fff; border-radius:var(--radius); padding:16px; box-shadow:var(--shadow); }
.cart-summary__row { display:flex; justify-content:space-between; padding:8px 0; font-size:14px; border-bottom:1px solid var(--border); }
.cart-summary__row:last-of-type { border-bottom:none; }
.cart-summary__row--total { font-size:16px; font-weight:700; }
.text-muted { color:var(--text-muted); }

/* ─── Checkout ───────────────────────────────── */
.shipping-options { display:flex; flex-direction:column; gap:8px; }
.shipping-opt input { display:none; }
.shipping-opt__body { display:flex; justify-content:space-between; align-items:center; padding:12px 14px; border-radius:12px; border:1.5px solid var(--border); cursor:pointer; transition:all .2s; }
.shipping-opt input:checked + .shipping-opt__body { border-color:var(--primary); background:#fff5f5; }
.order-summary-row { display:flex; justify-content:space-between; font-size:13px; padding:6px 0; border-bottom:1px solid var(--border); }

/* ─── Payment ────────────────────────────────── */
.bank-card { background:linear-gradient(135deg,#2D3436,#636e72); color:#fff; border-radius:20px; padding:24px 20px; margin-bottom:16px; text-align:center; }
.bank-card__label { font-size:12px; opacity:.7; margin-bottom:6px; }
.bank-card__amount { font-size:28px; font-weight:900; margin-bottom:16px; }
.bank-card__amount small { font-size:14px; font-weight:400; opacity:.7; }
.bank-card__divider { height:1px; background:rgba(255,255,255,.2); margin:12px 0; }
.bank-card__number { font-size:22px; font-weight:700; letter-spacing:.15em; margin:8px 0; direction:ltr; }
.bank-card__copy { background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.3); color:#fff; padding:8px 16px; border-radius:20px; font-size:13px; cursor:pointer; margin-top:8px; font-family:inherit; }
.bank-card__holder { font-size:12px; opacity:.6; margin-top:8px; }
.pay-steps { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.pay-step { display:flex; align-items:center; gap:12px; font-size:14px; background:#fff; padding:12px 14px; border-radius:12px; box-shadow:var(--shadow); }
.pay-step__num { width:28px; height:28px; border-radius:50%; background:var(--primary); color:#fff; display:grid; place-items:center; font-size:13px; font-weight:700; flex-shrink:0; }

/* ─── Tracking ───────────────────────────────── */
.tracking-header { text-align:center; padding:24px 16px; background:#fff; border-radius:var(--radius); margin-bottom:12px; box-shadow:var(--shadow); border-top:4px solid var(--status-color,var(--primary)); }
.tracking-header__icon { font-size:48px; margin-bottom:8px; }
.tracking-header h1 { font-size:20px; font-weight:900; margin-bottom:4px; }
.tracking-header p { font-size:13px; color:var(--text-muted); }
.order-item-row { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--border); }
.order-item-row:last-of-type { border-bottom:none; }
.order-item-row__img { width:48px; height:60px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.order-item-row__info { flex:1; }
.order-item-row__info strong { display:block; font-size:14px; }
.order-item-row__info small { font-size:12px; color:var(--text-muted); }
.order-item-row__price { font-size:14px; font-weight:700; color:var(--primary); white-space:nowrap; }
.detail-row { display:flex; justify-content:space-between; font-size:14px; padding:8px 0; }

/* ─── Auth Pages ───────────────────────────── */
.auth-page { min-height:80vh; display:flex; align-items:center; justify-content:center; padding:20px; }
.auth-card { background:#fff; border-radius:24px; padding:32px 24px; width:100%; max-width:400px; box-shadow:0 4px 24px rgba(0,0,0,.08); text-align:center; }
.auth-card__icon { font-size:48px; margin-bottom:12px; }
.auth-card h1 { font-size:22px; font-weight:900; margin-bottom:8px; }
.auth-card__sub { font-size:14px; color:var(--text-muted); margin-bottom:24px; line-height:1.6; }
.auth-form { text-align:right; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.label-optional { font-weight:400; color:var(--text-muted); }
.form-group input,
.form-group textarea {
    width:100%; padding:12px 14px; border:1.5px solid var(--border);
    border-radius:12px; font-family:inherit; font-size:15px;
    transition:border-color .2s; background:#fff;
}
.form-group input:focus,
.form-group textarea:focus { border-color:var(--primary); outline:none; }
.form-group textarea { resize:vertical; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.form-note { font-size:12px; color:var(--text-muted); margin-bottom:16px; }
.skip-link { display:block; margin-top:16px; font-size:13px; color:var(--text-muted); }
.alert { padding:10px 14px; border-radius:10px; margin-bottom:16px; font-size:13px; }
.alert--error { background:#fff5f5; color:#e74c3c; border:1px solid #fcc; }
/* method list */
.method-list { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.method-card { display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:14px; border:1.5px solid var(--border); background:#fff; text-align:right; transition:all .2s; cursor:pointer; text-decoration:none; color:var(--text); }
.method-card:hover:not(.method-card--disabled) { border-color:var(--primary); background:#fff5f5; }
.method-card--disabled { opacity:.5; cursor:not-allowed; background:#f8f9fa; }
.method-card__icon { font-size:26px; flex-shrink:0; }
.method-card > div { flex:1; }
.method-card > div strong { display:block; font-size:15px; margin-bottom:2px; }
.method-card > div small { font-size:12px; color:var(--text-muted); }
.method-card__arrow { color:var(--primary); font-size:18px; }
.badge-soon { font-size:11px; background:#f0f0f0; color:var(--text-muted); padding:3px 8px; border-radius:20px; white-space:nowrap; }
.alert--info { background:#e8f8f7; color:#00b894; border:1px solid #b2dfdb; }

/* password input */
.input-password { position:relative; }
.input-password input { padding-left:44px; }
.toggle-pass { position:absolute; left:12px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; font-size:18px; padding:0; }

.gender-toggle { display:flex; gap:10px; }
.gender-opt { flex:1; }
.gender-opt input { display:none; }
.gender-opt span {
    display:flex; align-items:center; justify-content:center; gap:6px;
    padding:10px; border-radius:12px; border:1.5px solid var(--border);
    cursor:pointer; font-size:14px; font-weight:600; transition:all .2s;
}
.gender-opt input:checked + span { border-color:var(--primary); background:#fff5f5; color:var(--primary); }

/* ─── Account Page ──────────────────────────── */
.account-page { padding-top:16px; }
.account-header { display:flex; align-items:center; gap:14px; margin-bottom:24px; }
.account-avatar { width:56px; height:56px; border-radius:50%; background:var(--primary); color:#fff; display:grid; place-items:center; font-size:24px; font-weight:700; flex-shrink:0; }
.account-header h1 { font-size:18px; font-weight:700; margin-bottom:2px; }
.account-phone { font-size:13px; color:var(--text-muted); direction:ltr; }
.account-section { background:#fff; border-radius:var(--radius); padding:16px; margin-bottom:12px; box-shadow:var(--shadow); }
.account-section__header { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.account-section h2 { font-size:15px; font-weight:700; }
.add-btn { font-size:13px; color:var(--primary); font-weight:600; }
.empty-children { text-align:center; padding:16px 0; color:var(--text-muted); font-size:14px; }
.children-list { display:flex; flex-direction:column; gap:10px; }
.child-card { display:flex; align-items:center; gap:10px; padding:10px; background:#f8f9fa; border-radius:12px; }
.child-card__icon { font-size:28px; }
.child-card > div { flex:1; }
.child-card > div strong { display:block; font-size:14px; }
.child-card > div small { font-size:12px; color:var(--text-muted); }
.child-card__shop { font-size:12px; color:var(--primary); font-weight:600; white-space:nowrap; }
.order-row { display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--border); }
.order-row:last-child { border-bottom:none; }
.order-row > div:first-child { flex:1; }
.order-row > div strong { display:block; font-size:14px; }
.order-row > div small { font-size:12px; color:var(--text-muted); }
.order-row__status { font-size:12px; padding:3px 8px; border-radius:20px; background:#f0f0f0; }
.order-row__status--shipped { background:#e8f8f7; color:#00b894; }
.order-row__status--new { background:#fff9e6; color:#f39c12; }
.order-row__status--cancelled { background:#fff5f5; color:#e74c3c; }

/* child actions */
.child-card__actions { display:flex; align-items:center; gap:6px; }
.child-action { font-size:18px; text-decoration:none; padding:2px; line-height:1; }
.child-action--alert { animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* size history */
.size-alert { background:#fff9e6; border:1px solid #ffeaa7; color:#856404; padding:12px 14px; border-radius:12px; font-size:13px; margin-bottom:12px; }
.size-alert--info { background:#e8f8f7; border-color:#b2dfdb; color:#00695c; }
.size-history-row { padding:10px 0; border-bottom:1px solid var(--border); }
.size-history-row:last-child { border-bottom:none; }
.size-history-row--latest .size-history-row__date { color:var(--primary); font-weight:700; }
.size-history-row__date { font-size:13px; margin-bottom:6px; display:flex; align-items:center; gap:8px; }
.badge-latest { font-size:10px; background:var(--primary); color:#fff; padding:2px 7px; border-radius:20px; }
.size-history-row__data { display:flex; gap:10px; flex-wrap:wrap; }
.size-history-row__data span { font-size:13px; background:#f8f9fa; padding:3px 10px; border-radius:20px; }

/* Toast */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: #2D3436;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 999;
    animation: fadeInUp .3s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
