/* =============================================================
   Trendy Looms — Design System
   Structured: Tokens → Base → Utilities → Layout → Components → Pages → Responsive → Legacy
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* =========================
   1. DESIGN TOKENS
   ========================= */
:root {
    --tl-primary:      #5a4ff3;
    --tl-primary-2:    #7b71ff;
    --tl-primary-dark: #4338ca;
    --tl-primary-soft: rgba(90, 79, 243, 0.10);
    --tl-ink:          #14141b;
    --tl-ink-2:        #23232f;
    --tl-text:         #34343f;
    --tl-muted:        #767688;
    --tl-line:         #ececf3;
    --tl-bg:           #f6f7fb;
    --tl-card:         #ffffff;
    --tl-success:      #16a34a;
    --tl-danger:       #e5484d;
    --tl-radius:       16px;
    --tl-radius-sm:    12px;
    --tl-radius-pill:  999px;
    --tl-shadow-sm:    0 2px 12px rgba(20, 20, 40, 0.06);
    --tl-shadow:       0 16px 40px rgba(20, 20, 40, 0.10);
    --tl-shadow-lg:    0 30px 70px rgba(20, 20, 40, 0.18);
    --tl-ease:         0.28s cubic-bezier(0.22, 1, 0.36, 1);
    --tl-maxw:         1340px;
    --tl-font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --tl-font-display: 'Plus Jakarta Sans', sans-serif;
}

/* =========================
   2. BASE / RESET
   ========================= */
body {
    font-family: var(--tl-font) !important;
    color: var(--tl-text);
    background: var(--tl-bg) !important;
    -webkit-font-smoothing: antialiased;
}
.tl-scope, .tl-scope * { box-sizing: border-box; }
::selection { background: var(--tl-primary); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cfcfe0; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--tl-primary); }

/* =========================
   3. UTILITIES
   ========================= */

/* --- Typography --- */
.tl-heading {
    font-family: var(--tl-font-display);
    font-weight: 800;
    color: var(--tl-ink);
    letter-spacing: -0.6px;
    margin: 0;
}
.tl-heading--xl  { font-size: clamp(30px, 4vw, 46px); letter-spacing: -1px; }
.tl-heading--lg  { font-size: clamp(26px, 3.4vw, 38px); }
.tl-heading--md  { font-size: clamp(22px, 3vw, 32px); }
.tl-heading--sm  { font-size: 23px; }
.tl-heading--xs  { font-size: 19px; }
.tl-text-white   { color: #fff; }
.tl-text-muted   { color: var(--tl-muted); }
.tl-text-ink     { color: var(--tl-ink); }
.tl-text-primary { color: var(--tl-primary); }
.tl-text-success { color: var(--tl-success); }
.tl-text-danger  { color: var(--tl-danger); }
.tl-text-sm      { font-size: 14px; }
.tl-text-xs      { font-size: 12.5px; }
.tl-text-body    { font-size: 16px; line-height: 1.8; color: var(--tl-muted); }
.tl-font-bold    { font-weight: 700; }
.tl-font-semi    { font-weight: 600; }
.tl-uppercase    { text-transform: uppercase; letter-spacing: 0.3px; }
.tl-text-center  { text-align: center; }

/* --- Spacing --- */
.tl-mb-0   { margin-bottom: 0; }
.tl-mb-xs  { margin-bottom: 6px; }
.tl-mb-sm  { margin-bottom: 12px; }
.tl-mb-md  { margin-bottom: 22px; }
.tl-mb-lg  { margin-bottom: 26px; }
.tl-mb-xl  { margin-bottom: 34px; }
.tl-mt-sm  { margin-top: 12px; }
.tl-mt-md  { margin-top: 22px; }
.tl-mt-lg  { margin-top: 26px; }
.tl-p-card { padding: 32px; }
.tl-p-card-lg { padding: 38px; }

/* --- Layout --- */
.tl-flex       { display: flex; }
.tl-flex-wrap  { flex-wrap: wrap; }
.tl-flex-col   { flex-direction: column; }
.tl-items-center { align-items: center; }
.tl-items-start  { align-items: start; }
.tl-justify-between { justify-content: space-between; }
.tl-justify-center { justify-content: center; }
.tl-gap-xs  { gap: 8px; }
.tl-gap-sm  { gap: 14px; }
.tl-gap-md  { gap: 24px; }
.tl-gap-lg  { gap: 32px; }
.tl-gap-xl  { gap: 44px; }
.tl-ml-auto { margin-left: auto; }
.tl-full-span { grid-column: 1 / -1; }
.tl-sticky   { position: sticky; top: 24px; }
.tl-sticky-90 { position: sticky; top: 90px; }

/* --- Grid helpers --- */
.tl-grid-2   { display: grid; grid-template-columns: repeat(2, 1fr); }
.tl-grid-2-1 { display: grid; grid-template-columns: 1fr 1fr; }
.tl-grid-sidebar { display: grid; grid-template-columns: 1.4fr 1fr; }
.tl-grid-cart { display: grid; grid-template-columns: 1.65fr 1fr; gap: 30px; align-items: start; }

/* --- Divider --- */
.tl-divider { border: none; border-top: 1px solid var(--tl-line); margin: 18px 0; }

/* --- Color dot (inline swatch) --- */
.tl-color-dot {
    display: inline-block;
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    vertical-align: middle;
    margin-right: 5px;
}

/* =========================
   4. LAYOUT
   ========================= */
.tl-container {
    width: 100%;
    max-width: var(--tl-maxw);
    margin: 0 auto;
    padding: 0 22px;
}
.tl-container--wide { max-width: 1600px; }

/* =========================
   5. COMPONENTS
   ========================= */

/* --- Buttons --- */
.tl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--tl-font);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    padding: 13px 24px;
    border-radius: var(--tl-radius-pill);
    text-decoration: none;
    transition: transform var(--tl-ease), box-shadow var(--tl-ease), background var(--tl-ease), color var(--tl-ease);
    white-space: nowrap;
}
.tl-btn:hover { transform: translateY(-2px); text-decoration: none; }
.tl-btn--primary {
    background: linear-gradient(135deg, var(--tl-primary), var(--tl-primary-2));
    color: #fff;
    box-shadow: 0 12px 26px rgba(90, 79, 243, 0.34);
}
.tl-btn--primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(90, 79, 243, 0.46); }
.tl-btn--light { background: #fff; color: var(--tl-ink); box-shadow: var(--tl-shadow-sm); }
.tl-btn--light:hover { color: var(--tl-primary); }
.tl-btn--ghost { background: transparent; color: var(--tl-ink); border: 1.5px solid var(--tl-line); }
.tl-btn--ghost:hover { border-color: var(--tl-primary); color: var(--tl-primary); }
.tl-btn--dark { background: var(--tl-ink); color: #fff; }
.tl-btn--dark:hover { background: #000; color: #fff; }
.tl-btn--lg { padding: 16px 32px; font-size: 16px; }
.tl-btn--block { width: 100%; }
.tl-btn--unstyled {
    background: none; border: none; cursor: pointer; padding: 0;
    font-size: inherit; color: inherit; font-weight: inherit;
}

/* --- Eyebrow label --- */
.tl-eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--tl-primary);
    margin-bottom: 10px;
}

/* --- Breadcrumb --- */
.tl-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tl-muted); margin-bottom: 0; }
.tl-breadcrumb a { color: var(--tl-muted); text-decoration: none; }
.tl-breadcrumb a:hover { color: var(--tl-primary); }
.tl-breadcrumb__current { color: var(--tl-ink); font-weight: 600; }

/* --- Page header --- */
.tl-pagehead { background: #fff; border-bottom: 1px solid var(--tl-line); padding: 30px 0; }
.tl-pagehead h1 { font-family: var(--tl-font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.6px; color: var(--tl-ink); margin: 0 0 8px; }

/* --- Sections --- */
.tl-section { padding: 36px 0; }
.tl-section--tight { padding: 24px 0; }
.tl-section + .tl-section { padding-top: 0; }
.tl-section__head { text-align: center; max-width: 600px; margin: 0 auto 22px; }
.tl-section__head--left { text-align: left; margin-left: 0; max-width: none; }
.tl-section__title {
    font-family: var(--tl-font-display);
    font-weight: 800;
    font-size: clamp(22px, 3vw, 32px);
    letter-spacing: -0.6px;
    color: var(--tl-ink);
    margin: 0 0 8px;
}
.tl-section__sub { color: var(--tl-muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* --- Card --- */
.tl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--tl-card);
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius);
    overflow: hidden;
    box-shadow: var(--tl-shadow-sm);
    transition: transform var(--tl-ease), box-shadow var(--tl-ease);
}
.tl-card:hover { transform: translateY(-6px); box-shadow: var(--tl-shadow); }
.tl-card--static:hover { transform: none; box-shadow: var(--tl-shadow-sm); }
.tl-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #f0f0f7; }
.tl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--tl-ease); }
.tl-card:hover .tl-card__media img { transform: scale(1.07); }
.tl-card__fav {
    position: absolute; top: 12px; right: 12px;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--tl-ink);
    box-shadow: var(--tl-shadow-sm);
    transition: all var(--tl-ease);
    text-decoration: none;
}
.tl-card__fav:hover { background: var(--tl-primary); color: #fff; }
.tl-card__quick {
    position: absolute; left: 14px; right: 14px; bottom: 14px;
    transform: translateY(14px); opacity: 0;
    transition: all var(--tl-ease);
}
.tl-card:hover .tl-card__quick { transform: translateY(0); opacity: 1; }
.tl-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tl-card__name {
    font-weight: 600; font-size: 15.5px; color: var(--tl-ink); text-decoration: none;
    line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tl-card__name:hover { color: var(--tl-primary); }

/* --- Price --- */
.tl-price { display: flex; align-items: baseline; gap: 9px; }
.tl-price__now { font-family: var(--tl-font-display); font-weight: 800; font-size: 18px; color: var(--tl-ink); }
.tl-price__now--lg { font-size: 28px; }
.tl-price__old { font-size: 14px; color: var(--tl-muted); text-decoration: line-through; }
.tl-price__old--lg { font-size: 18px; }
.tl-price__off { font-size: 12px; font-weight: 700; color: var(--tl-success); background: #e7f8ee; padding: 2px 8px; border-radius: var(--tl-radius-pill); }

/* --- Size chips (read-only on product list) --- */
.tl-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tl-size {
    min-width: 36px; height: 30px; padding: 0 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--tl-line); border-radius: 8px;
    font-size: 12px; font-weight: 700; color: var(--tl-text);
    text-transform: uppercase; letter-spacing: 0.3px;
    background: #fff;
    transition: all var(--tl-ease); cursor: default;
}
.tl-size:hover { border-color: var(--tl-primary); color: var(--tl-primary); }

/* --- Size picker (radio buttons) --- */
.tl-size-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-size-picker input[type="radio"] { display: none; }
.tl-size-picker label {
    min-width: 40px; height: 34px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid var(--tl-line); border-radius: 10px;
    font-size: 13px; font-weight: 700; color: var(--tl-text);
    text-transform: uppercase; letter-spacing: 0.5px;
    background: #fff; cursor: pointer;
    transition: all var(--tl-ease);
}
.tl-size-picker label:hover { border-color: var(--tl-primary); color: var(--tl-primary); }
.tl-size-picker input[type="radio"]:checked + label {
    border-color: var(--tl-primary); background: var(--tl-primary); color: #fff;
    box-shadow: 0 6px 16px rgba(90, 79, 243, 0.3);
}

/* --- Color picker (radio swatches) --- */
.tl-color-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-color-picker input[type="radio"] { display: none; }
.tl-color-picker label {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid var(--tl-line); border-radius: 50%;
    cursor: pointer; position: relative;
    transition: all var(--tl-ease);
    box-shadow: inset 0 0 0 1.5px #fff;
}
.tl-color-picker label:hover { border-color: var(--tl-primary); transform: scale(1.1); }
.tl-color-picker input[type="radio"]:checked + label {
    border-color: var(--tl-primary); transform: scale(1.1);
    box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 2px var(--tl-primary);
}
.tl-color-picker input[type="radio"]:checked + label::after {
    content: '\2713'; font-size: 12px; font-weight: 700; color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.tl-color-picker label[data-color="White"]::after,
.tl-color-picker label[data-color="Beige"]::after { color: #555 !important; text-shadow: none !important; }

/* --- Filter chips --- */
.tl-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-chip {
    display: inline-flex; align-items: center;
    padding: 9px 18px;
    border-radius: var(--tl-radius-pill);
    border: 1.5px solid var(--tl-line);
    background: #fff;
    color: var(--tl-text);
    font-weight: 600; font-size: 14px;
    text-decoration: none;
    transition: all var(--tl-ease);
}
.tl-chip:hover, .tl-chip.is-active {
    border-color: var(--tl-primary); background: var(--tl-primary); color: #fff; text-decoration: none;
}

/* --- Tags (cart meta) --- */
.tl-tag {
    font-size: 12px; font-weight: 700;
    color: var(--tl-text); background: #fff;
    border: 1.5px solid var(--tl-line); border-radius: 8px;
    padding: 5px 12px;
    text-transform: uppercase; letter-spacing: 0.3px;
}

/* --- Form fields --- */
.tl-form-group { margin-bottom: 18px; }
.tl-form-group--lg { margin-bottom: 22px; }
.tl-label {
    display: block;
    font-weight: 700;
    color: var(--tl-ink);
    margin-bottom: 10px;
    font-size: 14px;
}
.tl-label--lg { font-size: 15px; margin-bottom: 12px; }
.tl-input {
    width: 100%; height: 52px;
    padding: 0 16px;
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius-sm);
    font-size: 15px;
    font-family: var(--tl-font);
    background: #fff;
    transition: border-color var(--tl-ease), box-shadow var(--tl-ease);
}
.tl-input:focus { border-color: var(--tl-primary); box-shadow: 0 0 0 4px var(--tl-primary-soft); outline: none; }
.tl-input--qty { width: 110px; }
.tl-input--file {
    height: auto; padding: 12px;
    border-style: dashed;
    font-size: 14px;
    background: var(--tl-bg);
}
.tl-textarea {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius-sm);
    font-size: 15px;
    font-family: var(--tl-font);
    resize: vertical;
}
.tl-textarea:focus { border-color: var(--tl-primary); box-shadow: 0 0 0 4px var(--tl-primary-soft); outline: none; }

/* --- Category tiles --- */
.tl-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tl-cat {
    position: relative; display: block;
    border-radius: var(--tl-radius-sm);
    overflow: hidden; aspect-ratio: 3 / 4;
    background: #e9e9f4;
    box-shadow: var(--tl-shadow-sm);
    text-decoration: none;
}
.tl-cat--wide { aspect-ratio: 16 / 9; }
.tl-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--tl-ease); }
.tl-cat:hover img { transform: scale(1.06); }
.tl-cat__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,18,0.80) 0%, rgba(10,10,18,0.02) 55%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 14px 16px;
}
.tl-cat__name { color: #fff; font-family: var(--tl-font-display); font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.tl-cat__link { color: rgba(255,255,255,0.85); font-size: 11.5px; font-weight: 600; margin-top: 3px; }
.tl-cat:hover .tl-cat__link { color: #fff; }

/* --- Feature strip --- */
.tl-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tl-features--2col { grid-template-columns: 1fr 1fr; }
.tl-feature {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius-sm); padding: 14px 16px;
    box-shadow: var(--tl-shadow-sm);
}
.tl-feature--plain { box-shadow: none; border: none; padding: 0; background: transparent; }
.tl-feature__icon {
    width: 40px; height: 40px; flex: none;
    display: grid; place-items: center; border-radius: 10px;
    background: var(--tl-primary-soft); color: var(--tl-primary); font-size: 18px;
}
.tl-feature b { display: block; font-size: 14px; color: var(--tl-ink); }
.tl-feature span { font-size: 12px; color: var(--tl-muted); }

/* --- Product detail layout --- */
.tl-pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.tl-pdp__gallery {
    border-radius: var(--tl-radius); overflow: hidden;
    box-shadow: var(--tl-shadow); background: #f0f0f7;
    position: sticky; top: 90px;
}
.tl-pdp__gallery img { width: 100%; display: block; }

/* --- Product grid --- */
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* --- Cart --- */
.tl-cartpanel { background: #fff; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: 10px 22px; box-shadow: var(--tl-shadow-sm); }
.tl-cartitem {
    display: flex; gap: 18px; align-items: center;
    padding: 20px 0; border-bottom: 1px solid var(--tl-line);
    transition: all var(--tl-ease);
}
.tl-cartitem:last-child { border-bottom: none; }
.tl-cartitem img { width: 96px; height: 118px; object-fit: cover; border-radius: 12px; border: 1px solid var(--tl-line); flex: none; }
.tl-cartitem__ph {
    width: 96px; height: 118px; border-radius: 12px;
    border: 1px solid var(--tl-line); background: #f0f0f7;
    display: flex; align-items: center; justify-content: center;
    color: var(--tl-muted); font-size: 26px; flex: none;
}
.tl-cartitem h6 { font-family: var(--tl-font-display); font-weight: 700; font-size: 16.5px; color: var(--tl-ink); margin: 0 0 6px; }
.tl-cartmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tl-cartitem__right { margin-left: auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tl-cartprice { font-family: var(--tl-font-display); font-weight: 800; font-size: 17px; color: var(--tl-ink); }
.tl-cartunit { font-size: 12.5px; color: var(--tl-muted); }
.tl-qty { display: inline-flex; align-items: center; gap: 8px; color: var(--tl-muted); font-size: 13.5px; }
.tl-qty input { width: 54px; height: 34px; text-align: center; border: 1px solid var(--tl-line); border-radius: 9px; background: var(--tl-bg); font-weight: 700; color: var(--tl-ink); }
.tl-remove { font-size: 12.5px; color: var(--tl-danger); text-decoration: none; font-weight: 600; }
.tl-remove:hover { text-decoration: underline; }

/* --- Order summary --- */
.tl-summary { background: #fff; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: 28px; box-shadow: var(--tl-shadow-sm); position: sticky; top: 24px; }
.tl-summary h5 { font-family: var(--tl-font-display); font-weight: 800; font-size: 19px; color: var(--tl-ink); margin: 0 0 22px; }
.tl-srow { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--tl-text); font-size: 15px; }
.tl-srow span:last-child { font-weight: 600; color: var(--tl-ink); }
.tl-stotal { font-family: var(--tl-font-display); font-weight: 800; font-size: 20px; color: var(--tl-ink); }
.tl-promo { display: flex; gap: 10px; margin: 18px 0 6px; }
.tl-promo input { flex: 1; height: 46px; padding: 0 14px; border: 1px solid var(--tl-line); border-radius: var(--tl-radius-sm); font-size: 14px; }
.tl-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.tl-trust__i { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--tl-muted); }
.tl-trust__i i { color: var(--tl-primary); font-size: 17px; }

/* --- Cart header bar --- */
.tl-cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0 6px; border-bottom: 1px solid var(--tl-line);
}

/* --- Empty state --- */
.tl-empty { text-align: center; padding: 50px 20px; color: var(--tl-muted); }
.tl-empty i { font-size: 40px; color: #c7c7da; margin-bottom: 12px; display: block; }
.tl-empty--card {
    background: #fff; border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius); padding: 60px 24px;
}

/* --- Navbar --- */
.tl-nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--tl-line);
}
.tl-nav__bar { display: flex; align-items: center; gap: 26px; height: 72px; }
.tl-nav__logo {
    display: flex; align-items: center; gap: 9px;
    font-family: var(--tl-font-display); font-weight: 800; font-size: 22px;
    letter-spacing: -0.4px; color: var(--tl-ink); text-decoration: none;
}
.tl-nav__logo:hover { color: var(--tl-ink); text-decoration: none; }
.tl-nav__logo .tl-dot { color: var(--tl-primary); }
.tl-nav__mark {
    width: 34px; height: 34px; display: grid; place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tl-primary), var(--tl-primary-2));
    color: #fff; font-weight: 800; font-size: 17px;
}
.tl-nav__links { display: flex; align-items: center; gap: 4px; margin: 0 auto 0 12px; padding: 0; list-style: none; }
.tl-nav__links > li { position: relative; }
.tl-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: 10px;
    font-weight: 600; font-size: 15px; color: var(--tl-text);
    text-decoration: none; background: transparent; border: none; cursor: pointer;
    transition: color var(--tl-ease), background var(--tl-ease);
}
.tl-nav__link:hover, .tl-nav__link.is-active { color: var(--tl-primary); background: var(--tl-primary-soft); text-decoration: none; }
.tl-nav__drop {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 210px; background: #fff; border: 1px solid var(--tl-line);
    border-radius: 14px; box-shadow: var(--tl-shadow); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--tl-ease);
}
.tl-nav__links > li:hover .tl-nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.tl-nav__drop a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--tl-text); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.tl-nav__drop a:hover { background: var(--tl-primary-soft); color: var(--tl-primary); }
.tl-nav__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.tl-icon-btn {
    position: relative; width: 44px; height: 44px;
    display: grid; place-items: center; border-radius: 12px;
    color: var(--tl-ink); background: #fff; border: 1px solid var(--tl-line);
    font-size: 19px; text-decoration: none;
    transition: all var(--tl-ease);
}
.tl-icon-btn:hover { color: var(--tl-primary); border-color: var(--tl-primary); transform: translateY(-2px); }
.tl-badge {
    position: absolute; top: -7px; right: -7px;
    min-width: 20px; height: 20px; padding: 0 5px;
    display: grid; place-items: center;
    border-radius: var(--tl-radius-pill);
    background: var(--tl-primary); color: #fff;
    font-size: 11px; font-weight: 700;
    box-shadow: 0 4px 10px rgba(90, 79, 243, 0.5);
}
.tl-user {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px 8px 8px; border-radius: var(--tl-radius-pill);
    background: #fff; border: 1px solid var(--tl-line);
    font-weight: 600; font-size: 14px; color: var(--tl-ink);
    text-decoration: none; transition: all var(--tl-ease);
}
.tl-user:hover { border-color: var(--tl-primary); color: var(--tl-ink); }
.tl-user__avatar {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--tl-primary), var(--tl-primary-2));
    color: #fff; font-weight: 700; font-size: 13px;
}
.tl-nav__toggle { display: none; }

/* --- Topbar --- */
.tl-topbar { background: var(--tl-ink); color: rgba(255,255,255,0.82); font-size: 13px; }
.tl-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.tl-topbar a { color: rgba(255,255,255,0.82); text-decoration: none; margin-left: 20px; }
.tl-topbar a:hover { color: #fff; }

/* --- Mobile menu & Drawer --- */
.tl-mobile { display: none; border-top: 1px solid var(--tl-line); background: #fff; padding: 10px 0 16px; }
.tl-mobile.is-open { display: block; }
.tl-mobile a, .tl-mobile .tl-nav__link { display: block; width: 100%; }

/* --- Mobile Drawer Navigation --- */
.tl-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tl-drawer-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}
.tl-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: #ffffff;
    z-index: 1999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.tl-drawer.is-open {
    transform: translateX(0);
}
.tl-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--tl-line);
    background: #fafaff;
}
.tl-drawer__close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--tl-line);
    background: #fff;
    color: var(--tl-ink);
    font-size: 18px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all var(--tl-ease);
}
.tl-drawer__close:hover {
    background: var(--tl-danger);
    color: #fff;
    border-color: var(--tl-danger);
}
.tl-drawer__user {
    padding: 16px 20px;
    border-bottom: 1px solid var(--tl-line);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(90, 79, 243, 0.06), rgba(123, 113, 255, 0.03));
}
.tl-drawer__user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tl-primary), var(--tl-primary-2));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 17px;
    flex-shrink: 0;
}
.tl-drawer__user-name { font-weight: 700; color: var(--tl-ink); font-size: 15px; }
.tl-drawer__user-sub { font-size: 12px; color: var(--tl-muted); }
.tl-drawer__body {
    padding: 12px 14px;
    flex: 1;
    overflow-y: auto;
}
.tl-drawer__nav-item {
    margin-bottom: 4px;
}
.tl-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--tl-radius-sm);
    color: var(--tl-ink);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all var(--tl-ease);
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.tl-drawer__link:hover, .tl-drawer__link.is-active {
    background: var(--tl-primary-soft);
    color: var(--tl-primary);
    text-decoration: none;
}
.tl-drawer__link i.chevron {
    transition: transform 0.25s ease;
    font-size: 13px;
    color: var(--tl-muted);
}
.tl-drawer__nav-item.is-expanded .tl-drawer__link i.chevron {
    transform: rotate(180deg);
}
.tl-drawer__submenu {
    display: none;
    padding: 4px 0 8px 12px;
}
.tl-drawer__nav-item.is-expanded .tl-drawer__submenu {
    display: block;
}
.tl-drawer__sublink {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--tl-text);
    text-decoration: none;
    transition: all var(--tl-ease);
}
.tl-drawer__sublink:hover {
    color: var(--tl-primary);
    background: var(--tl-primary-soft);
    text-decoration: none;
}
.tl-drawer__footer {
    padding: 16px 20px;
    border-top: 1px solid var(--tl-line);
    background: #fafaff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- Mobile Bottom App Bar --- */
.tl-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--tl-line);
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom);
}
.tl-bottom-nav__inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-around;
    max-width: 600px;
    margin: 0 auto;
}
.tl-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    color: var(--tl-muted);
    font-size: 11px;
    font-weight: 600;
    gap: 3px;
    position: relative;
    transition: color var(--tl-ease);
}
.tl-bottom-nav__item i {
    font-size: 18px;
    transition: transform var(--tl-ease);
}
.tl-bottom-nav__item:hover, .tl-bottom-nav__item.is-active {
    color: var(--tl-primary);
    text-decoration: none;
}
.tl-bottom-nav__item.is-active i {
    transform: translateY(-2px);
}
.tl-bottom-nav__badge {
    position: absolute;
    top: 5px;
    right: calc(50% - 15px);
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: var(--tl-radius-pill);
    background: var(--tl-primary);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 6px rgba(90, 79, 243, 0.5);
}

/* --- Floating Quick Action Buttons --- */
.tl-float-actions {
    position: fixed;
    right: 16px;
    bottom: 74px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1040;
}
.tl-float-wa {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform var(--tl-ease), box-shadow var(--tl-ease);
}
.tl-float-wa:hover {
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}
.tl-back-to-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--tl-line);
    color: var(--tl-ink);
    display: grid;
    place-items: center;
    font-size: 15px;
    box-shadow: var(--tl-shadow-sm);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--tl-ease);
}
.tl-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}
.tl-back-to-top:hover {
    background: var(--tl-primary);
    color: #fff;
    border-color: var(--tl-primary);
}

/* --- Stepper & Quantity Controls --- */
.tl-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--tl-line);
    border-radius: var(--tl-radius-pill);
    background: #fff;
    overflow: hidden;
    height: 44px;
}
.tl-qty-stepper__btn {
    width: 38px;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--tl-ink);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--tl-ease), color var(--tl-ease);
}
.tl-qty-stepper__btn:hover { background: var(--tl-primary-soft); color: var(--tl-primary); }
.tl-qty-stepper__input {
    width: 48px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--tl-ink);
    background: transparent;
    -moz-appearance: textfield;
}
.tl-qty-stepper__input::-webkit-outer-spin-button,
.tl-qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Sticky PDP Action Bar --- */
.tl-sticky-pdp-bar {
    display: none;
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--tl-line);
    padding: 10px 18px;
    z-index: 1045;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(120%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.tl-sticky-pdp-bar.is-visible {
    transform: translateY(0);
}
.tl-sticky-pdp-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
}
.tl-sticky-pdp-bar__price {
    font-family: var(--tl-font-display);
    font-weight: 800;
    font-size: 19px;
    color: var(--tl-ink);
}
.tl-sticky-pdp-bar__btn {
    flex: 1;
    max-width: 220px;
}

/* --- Scrolling Filter Pills --- */
.tl-filter--scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tl-filter--scroll::-webkit-scrollbar { display: none; }
.tl-filter--scroll .tl-chip { flex-shrink: 0; }

/* --- Hero --- */
.tl-hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 500px at 85% -10%, rgba(123,113,255,0.25), transparent 60%),
                linear-gradient(135deg, #14141b, #2a2440 70%);
    color: #fff;
}
.tl-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; padding: 0; min-height: 520px; }
.tl-hero__text { padding: 52px 0; }
.tl-hero__text--padded { padding-left: max(22px, calc((100vw - 1340px)/2 + 22px)); }
.tl-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: var(--tl-radius-pill);
    background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16);
    font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
    margin-bottom: 22px;
}
.tl-hero__title {
    font-family: var(--tl-font-display); font-weight: 800;
    font-size: clamp(32px, 4.8vw, 54px); line-height: 1.06;
    letter-spacing: -1.4px; margin: 0 0 16px; color: #fff;
}
.tl-hero__title .tl-grad {
    background: linear-gradient(120deg, #b3aaff, #7b71ff);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tl-hero__sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 480px; margin: 0 0 26px; }
.tl-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.tl-hero__stats { display: flex; gap: 32px; margin-top: 36px; }
.tl-hero__stat b { display: block; font-family: var(--tl-font-display); font-size: 24px; font-weight: 800; }
.tl-hero__stat span { font-size: 13px; color: rgba(255,255,255,0.6); }
.tl-hero__art { position: relative; align-self: stretch; border-radius: 0; background: transparent; border: none; overflow: hidden; box-shadow: none; }
.tl-hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 520px; }

/* --- Dark banner (custom page hero, CTA, newsletter) --- */
.tl-dark-banner {
    background: radial-gradient(900px 360px at 85% -20%, rgba(123,113,255,0.30), transparent 60%),
                linear-gradient(135deg, #14141b, #2a2440);
    color: #fff; padding: 64px 0;
}
.tl-dark-banner--rounded {
    border-radius: 18px; padding: 34px 32px; position: relative; overflow: hidden;
}
.tl-dark-banner--rounded::before {
    content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(123,113,255,0.35), transparent 65%);
    top: -120px; right: -60px;
}
.tl-dark-banner__sub { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto; }

/* --- About page --- */
.tl-about-row { display: grid; gap: 40px; align-items: center; margin-bottom: 48px; }
.tl-about-row:last-child { margin-bottom: 0; }
.tl-about-row--story { grid-template-columns: 1.3fr 1fr; }
.tl-about-row--mission { grid-template-columns: 1fr 1.3fr; }
.tl-about-img {
    border-radius: var(--tl-radius); overflow: hidden;
    box-shadow: var(--tl-shadow);
}
.tl-about-img img { width: 100%; display: block; }
.tl-blockquote {
    border-left: 4px solid var(--tl-primary);
    background: var(--tl-bg); padding: 20px 24px;
    border-radius: 10px; margin-top: 24px;
}
.tl-blockquote p { margin: 0 0 8px; color: var(--tl-text); font-style: italic; line-height: 1.6; }
.tl-blockquote cite { font-weight: 700; color: var(--tl-ink); font-style: normal; }

/* --- Contact page --- */
.tl-contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.tl-map { overflow: hidden; height: 340px; width: 100%; border-radius: 0; }

/* --- Stat cards (about page) --- */
.tl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tl-stat-card {
    background: #fff; border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius-sm); padding: 28px 20px;
    text-align: center; box-shadow: var(--tl-shadow-sm);
    transition: transform var(--tl-ease), box-shadow var(--tl-ease);
}
.tl-stat-card:hover { transform: translateY(-4px); box-shadow: var(--tl-shadow); }
.tl-stat-card__num {
    font-family: var(--tl-font-display); font-weight: 800;
    font-size: 32px; color: var(--tl-primary); margin-bottom: 4px;
}
.tl-stat-card__label { font-size: 14px; color: var(--tl-muted); font-weight: 500; }

/* --- CTA banner (inline) --- */
.tl-cta-banner {
    background: radial-gradient(700px 280px at 85% -15%, rgba(123,113,255,0.28), transparent 60%),
                linear-gradient(135deg, #14141b, #2a2440);
    border-radius: 18px; padding: 34px 32px; color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 18px;
}
.tl-cta-banner__text { max-width: 500px; }
.tl-cta-banner__text h3 { font-family: var(--tl-font-display); font-weight: 800; font-size: clamp(18px,2.2vw,24px); margin: 0 0 6px; color: #fff; }
.tl-cta-banner__text p { color: rgba(255,255,255,0.72); font-size: 14px; margin: 0; line-height: 1.5; }

/* --- Newsletter --- */
.tl-news__form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; position: relative; flex-wrap: wrap; justify-content: center; }
.tl-news__form input { flex: 1; min-width: 200px; height: 46px; padding: 0 16px; border: none; border-radius: var(--tl-radius-sm); font-size: 14px; }

/* --- Footer --- */
.tl-footer {
    background: linear-gradient(180deg, #14141b 0%, #0a0a12 100%);
    color: rgba(255,255,255,0.60);
    padding: 0;
    position: relative;
}
.tl-footer__top {
    background: linear-gradient(135deg, var(--tl-primary), var(--tl-primary-2));
    padding: 32px 0;
}
.tl-footer__top-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 18px;
}
.tl-footer__top-text { color: #fff; font-family: var(--tl-font-display); font-weight: 700; font-size: 18px; }
.tl-footer__top-text span { display: block; font-weight: 400; font-size: 13.5px; opacity: 0.85; margin-top: 2px; font-family: var(--tl-font); }
.tl-footer__top-form { display: flex; gap: 10px; }
.tl-footer__top-form input {
    height: 46px; min-width: 260px; padding: 0 18px;
    border: none; border-radius: var(--tl-radius-pill);
    font-size: 14px; background: rgba(255,255,255,0.92);
}
.tl-footer__top-form input:focus { outline: 2px solid #fff; }
.tl-footer__top-form button {
    height: 46px; padding: 0 24px; border: 2px solid #fff; border-radius: var(--tl-radius-pill);
    background: transparent; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
    transition: all var(--tl-ease);
}
.tl-footer__top-form button:hover { background: #fff; color: var(--tl-primary); }

.tl-footer__main { padding: 48px 0 28px; }
.tl-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.tl-footer__brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--tl-font-display); font-weight: 800; font-size: 24px;
    color: #fff; margin-bottom: 16px; text-decoration: none;
}
.tl-footer__brand .tl-nav__mark { width: 36px; height: 36px; font-size: 18px; }
.tl-footer p { line-height: 1.75; font-size: 14px; margin: 0 0 18px; }
.tl-footer h5 {
    color: #fff; font-family: var(--tl-font-display); font-weight: 700;
    font-size: 15px; margin: 0 0 18px; letter-spacing: 0.3px;
    text-transform: uppercase; position: relative; padding-bottom: 10px;
}
.tl-footer h5::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 28px; height: 2.5px; border-radius: 2px;
    background: var(--tl-primary);
}
.tl-footer ul { list-style: none; padding: 0; margin: 0; }
.tl-footer ul li { margin-bottom: 12px; }
.tl-footer ul a {
    color: rgba(255,255,255,0.60); text-decoration: none; font-size: 14px;
    transition: color var(--tl-ease), padding-left var(--tl-ease);
    display: inline-block;
}
.tl-footer ul a:hover { color: #fff; padding-left: 4px; }
.tl-footer__contact-item {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px; font-size: 14px;
}
.tl-footer__contact-icon {
    width: 34px; height: 34px; flex: none; display: grid; place-items: center;
    border-radius: 8px; background: rgba(255,255,255,0.06); color: var(--tl-primary-2); font-size: 14px;
}
.tl-footer__socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.tl-footer__socials a, .tl-social-btn {
    width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); font-size: 18px;
    transition: all var(--tl-ease); text-decoration: none; border: 1px solid rgba(255,255,255,0.12);
}
.tl-footer__socials a:hover, .tl-social-btn:hover { background: var(--tl-primary); color: #fff; transform: translateY(-3px); }

/* On light surfaces (like cards, pages) */
.tl-card .tl-footer__socials a,
.tl-socials .tl-social-btn {
    background: #f1f2f8 !important;
    color: #1b1b29 !important;
    border: 1px solid #e2e4ef !important;
}
.tl-card .tl-footer__socials a:hover,
.tl-socials .tl-social-btn:hover {
    color: #fff !important;
    transform: translateY(-3px);
}
.tl-social-btn--wa:hover, .tl-card .tl-footer__socials a[aria-label="WhatsApp"]:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
}
.tl-social-btn--ig:hover, .tl-card .tl-footer__socials a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    border-color: #dc2743 !important;
}
.tl-social-btn--fb:hover, .tl-card .tl-footer__socials a[aria-label="Facebook"]:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
}
.tl-social-btn--tw:hover, .tl-card .tl-footer__socials a[aria-label="Twitter"]:hover {
    background: #1da1f2 !important;
    border-color: #1da1f2 !important;
}
.tl-footer__bottom {
    padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255,255,255,0.4);
}
.tl-footer__bottom a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--tl-ease); }
.tl-footer__bottom a:hover { color: #fff; }
.tl-footer__payments { display: flex; gap: 8px; align-items: center; }
.tl-footer__pay-icon {
    width: 42px; height: 28px; border-radius: 5px;
    background: rgba(255,255,255,0.08); display: grid; place-items: center;
    font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.55); letter-spacing: 0.3px;
}

/* --- Reveal animation --- */
@keyframes tl-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.tl-reveal { animation: tl-fade-up 0.6s var(--tl-ease) both; }

/* =========================
   6. PAGE-SPECIFIC (index.html <style> block moved here)
   ========================= */

/* Hero decorations */
.tl-hero__glow {
    position: absolute; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(123,113,255,0.35), transparent 65%);
    filter: blur(20px); top: -100px; left: -80px; pointer-events: none;
}
.tl-float {
    position: absolute; background: rgba(255,255,255,0.96); border-radius: 14px;
    box-shadow: 0 14px 30px rgba(10,10,30,0.22); padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    backdrop-filter: blur(6px); animation: tlFloat 4.5s ease-in-out infinite;
}
.tl-float--offer { bottom: 20px; left: -20px; }
.tl-float__ic {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
    background: linear-gradient(135deg, #7b71ff, #5a4ff3); flex: none;
}
.tl-float__t { font-family: var(--tl-font-display); font-weight: 800; font-size: 13.5px; color: var(--tl-ink); line-height: 1.1; }
.tl-float__s { font-size: 11px; color: #7b7b8a; }
@keyframes tlFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 1024px) { .tl-float { display: none; } }

/* Marquee strip */
.tl-marquee { background: var(--tl-ink); color: #fff; overflow: hidden; padding: 10px 0; }
.tl-marquee__row { display: flex; gap: 50px; white-space: nowrap; width: max-content; animation: tlMarquee 22s linear infinite; }
.tl-marquee span { font-family: var(--tl-font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.4px; opacity: 0.85; display: inline-flex; align-items: center; gap: 10px; }
.tl-marquee span i { color: #b3aaff; }
@keyframes tlMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Testimonials */
.tl-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tl-quote {
    background: #fff; border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius-sm); padding: 20px;
    box-shadow: var(--tl-shadow-sm);
    transition: all var(--tl-ease);
}
.tl-quote:hover { transform: translateY(-3px); box-shadow: var(--tl-shadow); }
.tl-quote__stars { color: #f5a524; margin-bottom: 8px; font-size: 13px; }
.tl-quote__text { color: var(--tl-text); line-height: 1.6; font-size: 14px; margin: 0 0 14px; }
.tl-quote__who { display: flex; align-items: center; gap: 10px; }
.tl-quote__av {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #7b71ff, #5a4ff3);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; font-family: var(--tl-font-display);
}
.tl-quote__name { font-weight: 700; color: var(--tl-ink); font-size: 13.5px; }
.tl-quote__role { font-size: 11.5px; color: var(--tl-muted); }

/* =========================
   7. RESPONSIVE
   ========================= */
@media (max-width: 992px) {
    .tl-hero__inner { grid-template-columns: 1fr; padding: 0; min-height: auto; }
    .tl-hero__text { padding: 36px 0; }
    .tl-hero__art { max-height: 320px; }
    .tl-hero__art img { min-height: 320px; }
    .tl-pdp { grid-template-columns: 1fr; gap: 28px; }
    .tl-pdp__gallery { position: static; max-width: 520px; margin: 0 auto; }
    .tl-grid-sidebar { grid-template-columns: 1fr; }
    .tl-about-row--story, .tl-about-row--mission { grid-template-columns: 1fr; }
    .tl-about-row--mission .tl-about-img { order: -1; }
    .tl-contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .tl-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .tl-footer__top-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 868px) {
    .tl-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .tl-grid-cart { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
    body { padding-bottom: 66px !important; }
    .tl-bottom-nav { display: block; }
    .tl-sticky-pdp-bar { display: block; }
    .tl-nav__links, .tl-topbar { display: none; }
    
    .tl-nav__bar { height: 62px; gap: 14px; }
    .tl-nav__logo { font-size: 19px; }
    .tl-nav__mark { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
    .tl-nav__actions { gap: 10px; }
    
    .tl-nav__toggle {
        display: grid; place-items: center;
        width: 40px; height: 40px; border-radius: 10px;
        background: #fff; border: 1px solid var(--tl-line); color: var(--tl-ink);
        font-size: 18px; cursor: pointer;
        transition: all var(--tl-ease);
    }
    .tl-nav__toggle:hover {
        background: var(--tl-primary-soft);
        color: var(--tl-primary);
    }
    
    .tl-user { padding: 6px 10px 6px 6px; font-size: 13px; }
    .tl-user__avatar { width: 26px; height: 26px; font-size: 12px; }
    .tl-icon-btn { width: 40px; height: 40px; font-size: 18px; border-radius: 10px; }

    .tl-container { padding: 0 16px; }
    .tl-section { padding: 26px 0; }
    .tl-section--tight { padding: 18px 0; }
    
    /* Product Grid: 2 columns on mobile */
    .tl-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tl-card { border-radius: var(--tl-radius-sm); }
    .tl-card__body { padding: 12px 10px 14px; gap: 6px; }
    .tl-card__name { font-size: 14px; }
    .tl-card__fav { width: 32px; height: 32px; font-size: 13px; top: 8px; right: 8px; }
    .tl-card__quick { display: none; }
    .tl-price__now { font-size: 16px; }
    .tl-price__old { font-size: 12.5px; }
    .tl-price__off { font-size: 11px; padding: 1px 6px; }
    .tl-size { min-width: 30px; height: 26px; font-size: 11px; padding: 0 6px; border-radius: 6px; }

    /* Category Grid: 2 columns */
    .tl-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tl-cat__overlay { padding: 10px 12px; }
    .tl-cat__name { font-size: 13px; }
    .tl-cat__link { font-size: 11px; }

    .tl-grid-2-1 { grid-template-columns: 1fr; }
    .tl-grid-2 { grid-template-columns: 1fr; gap: 14px; }
    
    /* Hero section on mobile */
    .tl-hero__title { font-size: clamp(26px, 6.8vw, 36px); line-height: 1.12; }
    .tl-hero__sub { font-size: 14.5px; margin-bottom: 22px; }
    .tl-hero__cta { display: flex; flex-direction: column; width: 100%; gap: 10px; }
    .tl-hero__cta .tl-btn { width: 100%; }
    .tl-hero__text { padding: 28px 0; }
    .tl-hero__text--padded { padding-left: 0; padding-right: 0; }
    .tl-hero__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 24px;
    }
    .tl-hero__stat {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--tl-radius-sm);
        padding: 10px 6px;
        text-align: center;
    }
    .tl-hero__stat b { font-size: 18px; }
    .tl-hero__stat span { font-size: 11px; }

    /* Features 2x2 grid */
    .tl-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tl-feature { padding: 12px; gap: 10px; }
    .tl-feature__icon { width: 34px; height: 34px; font-size: 15px; border-radius: 8px; }
    .tl-feature b { font-size: 13px; }
    .tl-feature span { font-size: 11px; }

    /* Touch targets */
    .tl-color-picker label { width: 36px; height: 36px; }
    .tl-size-picker label { min-width: 44px; height: 38px; font-size: 14px; }
    
    /* PDP page */
    .tl-pdp__gallery { border-radius: var(--tl-radius-sm); }
    .tl-heading--lg { font-size: 22px; }
    .tl-price__now--lg { font-size: 24px; }
    .tl-price__old--lg { font-size: 16px; }

    /* Cart */
    .tl-cartpanel { padding: 8px 14px; border-radius: var(--tl-radius-sm); }
    .tl-cartitem {
        display: grid;
        grid-template-columns: 78px 1fr;
        gap: 12px;
        align-items: start;
        padding: 14px 0;
    }
    .tl-cartitem img, .tl-cartitem__ph { width: 78px; height: 96px; border-radius: 10px; }
    .tl-cartitem h6 { font-size: 14.5px; margin-bottom: 4px; }
    .tl-cartmeta { gap: 4px; margin-bottom: 8px; }
    .tl-tag { font-size: 10.5px; padding: 3px 8px; }
    .tl-cartitem__right {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px dashed var(--tl-line);
    }
    .tl-cartprice { font-size: 16px; }
    .tl-summary { padding: 20px 16px; border-radius: var(--tl-radius-sm); position: static; }
    .tl-trust { grid-template-columns: 1fr; gap: 8px; }

    /* Forms iOS Auto-zoom Prevention */
    .tl-input, .tl-textarea, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select {
        font-size: 16px !important;
    }
    .tl-p-card { padding: 20px 16px; }
    .tl-p-card-lg { padding: 22px 18px; }

    /* Auth */
    .tl-auth-page { padding: 14px; }
    .tl-auth { grid-template-columns: 1fr !important; border-radius: var(--tl-radius-sm); }
    .tl-auth__brand { order: -1; padding: 30px 20px; text-align: center; }
    .tl-auth__brand h1 { font-size: 24px; }
    .tl-auth__form { padding: 30px 20px; }
    .tl-auth__form h3 { font-size: 22px; }

    /* Legal & Standalone */
    .tl-legal { margin: 20px auto; padding: 0 14px; }
    .tl-legal__card { padding: 28px 18px; }
    .tl-legal__title { font-size: 24px; }
    .tl-standalone__card { padding: 32px 18px; border-radius: var(--tl-radius-sm); }
    .tl-standalone__icon { width: 72px; height: 72px; font-size: 34px; }
    .tl-standalone__icon--error { font-size: 72px; }
    .tl-standalone__title { font-size: 20px; }

    /* Footer */
    .tl-footer__top-inner { flex-direction: column; gap: 14px; text-align: center; }
    .tl-footer__top-form { flex-direction: column; width: 100%; }
    .tl-footer__top-form input { width: 100%; min-width: 0; }
    .tl-footer__top-form button { width: 100%; border-radius: var(--tl-radius-pill); }
    .tl-footer__grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .tl-footer h5::after { left: 50%; transform: translateX(-50%); }
    .tl-footer__contact-item { justify-content: center; }
    .tl-footer__socials { justify-content: center; }
    .tl-footer__brand { justify-content: center; }
    .tl-footer__bottom { justify-content: center; text-align: center; flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .tl-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tl-stat-card { padding: 18px 12px; }
    .tl-stat-card__num { font-size: 26px; }
    .tl-stat-card__label { font-size: 12px; }
    .tl-btn--lg { padding: 14px 22px; font-size: 15px; }
}

/* =========================
   8. STANDALONE PAGES (auth, success, 404, legal)
   ========================= */

/* --- Auth (login / signup) --- */
.tl-auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tl-auth {
    width: 100%; max-width: 980px; display: grid;
    background: #fff; border-radius: var(--tl-radius); overflow: hidden; box-shadow: var(--tl-shadow-lg);
}
.tl-auth--login  { grid-template-columns: 1.1fr 0.9fr; }
.tl-auth--signup { grid-template-columns: 0.9fr 1.1fr; }
.tl-auth__form { padding: 60px 48px; }
.tl-auth__form h3 { font-family: var(--tl-font-display); font-weight: 800; font-size: 28px; color: var(--tl-ink); margin: 0 0 6px; }
.tl-auth__form .sub { color: var(--tl-muted); margin: 0 0 30px; }
.tl-auth__brand {
    background: radial-gradient(600px 300px at 80% 0%, rgba(123,113,255,0.4), transparent 60%),
                linear-gradient(160deg, #14141b, #2a2440);
    color: #fff; padding: 60px 46px; display: flex; flex-direction: column; justify-content: center;
}
.tl-auth__brand h1 { font-family: var(--tl-font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.5px; margin: 0 0 14px; }
.tl-auth__brand p { color: rgba(255,255,255,0.78); line-height: 1.7; margin: 0; }
.tl-auth__alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--tl-muted); }
.tl-auth__alt a { color: var(--tl-primary); font-weight: 600; text-decoration: none; }
.tl-field { margin-bottom: 18px; }
.tl-field--lg { margin-bottom: 24px; }
.tl-field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--tl-ink); margin-bottom: 7px; }

/* --- Standalone card page (success, 404) --- */
.tl-standalone {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    color: var(--tl-ink);
}
.tl-standalone--success { background: linear-gradient(135deg, #ecfdf5, #f8fafc); }
.tl-standalone--error   { background: linear-gradient(135deg, #eef2ff, #f8fafc); }
.tl-standalone--legal   { background: linear-gradient(135deg, #eef2ff, #f8fafc); }
.tl-standalone__card {
    background: #fff; border-radius: var(--tl-radius); box-shadow: var(--tl-shadow-lg);
    max-width: 480px; width: 100%; padding: 48px 36px; text-align: center;
    animation: tl-fade-up 0.6s ease;
}
.tl-standalone__icon {
    width: 90px; height: 90px; margin: 0 auto 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px; font-weight: 900;
}
.tl-standalone__icon--success { background: #dcfce7; color: var(--tl-success); }
.tl-standalone__icon--error {
    font-size: 96px; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--tl-primary), var(--tl-primary-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    width: auto; height: auto; border-radius: 0; margin: 0 auto 16px;
}
.tl-standalone__title { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.tl-standalone__title--success { color: var(--tl-success); }
.tl-standalone__title--error { color: var(--tl-ink); font-size: 24px; }
.tl-standalone__text { color: var(--tl-muted); font-size: 15px; line-height: 1.6; margin-bottom: 32px; }
.tl-standalone__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tl-btn--secondary {
    padding: 14px 28px; border-radius: var(--tl-radius-pill);
    background: #e5e7eb; color: var(--tl-ink); font-weight: 600; font-size: 15px;
    text-decoration: none; transition: all 0.3s ease;
}
.tl-btn--secondary:hover { background: #d1d5db; }
.tl-standalone__img { max-width: 220px; margin: 0 auto 28px; }
.tl-standalone__img img { width: 100%; height: auto; }

/* --- Legal pages (terms, privacy) --- */
.tl-legal { max-width: 900px; margin: 60px auto; padding: 0 20px; }
.tl-legal__card {
    background: #fff; border-radius: var(--tl-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); padding: 48px 42px;
    animation: tl-fade-up 0.6s ease;
}
.tl-legal__title { font-size: 36px; font-weight: 900; color: var(--tl-primary); margin-bottom: 12px; }
.tl-legal__subtitle { color: var(--tl-muted); font-size: 15px; margin-bottom: 40px; }
.tl-legal__section { margin-bottom: 36px; }
.tl-legal__section h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--tl-ink); }
.tl-legal__section p { font-size: 15px; color: var(--tl-text); margin-bottom: 12px; }
.tl-legal__section ul { padding-left: 20px; margin-top: 10px; }
.tl-legal__section ul li { margin-bottom: 8px; font-size: 15px; }
.tl-legal__footer {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px; margin-top: 40px;
}
.tl-legal__date { font-size: 14px; color: var(--tl-muted); }

/* --- Mini cart (standalone) --- */
.tl-minicart { padding: 48px 0; }

/* =========================
   9. LEGACY OVERRIDES
   ========================= */
.cl1 { color: var(--tl-primary) !important; }
.hov-cl1:hover, a.hov-cl1:hover { color: var(--tl-primary) !important; }
.bg1 { background-color: var(--tl-primary) !important; }
.bg3 { background-color: var(--tl-ink) !important; }
.btn-primary { background: linear-gradient(135deg, var(--tl-primary), var(--tl-primary-2)) !important; border: none !important; }
.btn-success { background: linear-gradient(135deg, #16a34a, #22c55e) !important; border: none !important; }
.block2 { border-radius: var(--tl-radius-sm); overflow: hidden; box-shadow: var(--tl-shadow-sm); transition: transform var(--tl-ease), box-shadow var(--tl-ease); background: #fff; }
.block2:hover { transform: translateY(-5px); box-shadow: var(--tl-shadow); }
.bo-rad-23, .how-shadow2 { border-radius: var(--tl-radius) !important; box-shadow: var(--tl-shadow) !important; }
.form-control:focus { border-color: var(--tl-primary) !important; box-shadow: 0 0 0 4px var(--tl-primary-soft) !important; }

/* ==========================================================================
   10. PREMIUM AUTHENTICATION SYSTEM (LOGIN & SIGNUP)
   ========================================================================== */
.tl-auth-page {
    background: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.tl-auth-page::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(90, 79, 243, 0.25) 0%, rgba(90, 79, 243, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.tl-auth-page::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, rgba(236, 72, 153, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.tl-auth {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    max-width: 960px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: tl-auth-fade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tl-auth-fade {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.tl-auth--signup {
    grid-template-columns: 1fr 1.2fr;
}

.tl-auth__brand {
    background: linear-gradient(145deg, #181829 0%, #0f101d 100%);
    color: #ffffff;
    padding: 56px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.tl-auth__brand::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at top right, rgba(90, 79, 243, 0.35), transparent 60%),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.25), transparent 60%);
    pointer-events: none;
}

.tl-auth__brand-content {
    position: relative;
    z-index: 1;
}

.tl-auth__brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
}

.tl-auth__brand-logo .tl-nav__mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #5a4ff3, #ec4899);
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
}

.tl-auth__brand-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #ffffff;
}

.tl-auth__brand-title span {
    background: linear-gradient(135deg, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tl-auth__brand-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.tl-auth__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tl-auth__feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

.tl-auth__feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(90, 79, 243, 0.25);
    color: #a78bfa;
    display: grid;
    place-items: center;
    font-size: 12px;
    flex-shrink: 0;
}

.tl-auth__brand-footer {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: #64748b;
    margin-top: 30px;
}

/* Form Container */
.tl-auth__form {
    padding: 48px 44px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tl-auth__form-header {
    margin-bottom: 28px;
}

.tl-auth__form-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.tl-auth__form-sub {
    color: #64748b;
    font-size: 14.5px;
    margin: 0;
}

/* Inline Alerts (Errors / Success) */
.tl-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.45;
    animation: tl-shake 0.35s ease;
}

@keyframes tl-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.tl-auth-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.tl-auth-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #10b981;
    color: #166534;
}

.tl-auth-alert__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.tl-auth-alert__content {
    flex: 1;
}

.tl-auth-alert__title {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 2px;
}

.tl-auth-alert__list {
    margin: 4px 0 0;
    padding-left: 18px;
}

.tl-auth-alert__list li {
    margin-bottom: 2px;
}

/* Fields & Inputs */
.tl-auth-group {
    margin-bottom: 20px;
}

.tl-auth-group:last-of-type {
    margin-bottom: 26px;
}

.tl-auth-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
}

.tl-auth-label-hint {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.tl-auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.tl-auth-input-icon {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.tl-auth-input {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 44px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14.5px;
    color: #0f172a;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.tl-auth-input::placeholder {
    color: #94a3b8;
}

.tl-auth-input:focus {
    background: #ffffff;
    border-color: #5a4ff3;
    box-shadow: 0 0 0 4px rgba(90, 79, 243, 0.12);
}

.tl-auth-input:focus + .tl-auth-input-icon,
.tl-auth-input-wrap:focus-within .tl-auth-input-icon {
    color: #5a4ff3;
}

.tl-auth-input--has-error {
    border-color: #ef4444 !important;
    background: #fff8f8 !important;
}

.tl-auth-input--has-error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

.tl-auth-toggle-pass {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 6px;
    cursor: pointer;
    display: grid;
    place-items: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tl-auth-toggle-pass:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.tl-auth-toggle-pass svg {
    width: 18px;
    height: 18px;
}

/* Submit Button */
.tl-auth-submit {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #5a4ff3 0%, #7b71ff 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px -4px rgba(90, 79, 243, 0.45);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tl-auth-submit:hover {
    background: linear-gradient(135deg, #4c40ed 0%, #6c60ff 100%);
    box-shadow: 0 10px 28px -4px rgba(90, 79, 243, 0.6);
    transform: translateY(-1px);
}

.tl-auth-submit:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(90, 79, 243, 0.3);
}

.tl-auth-footer-links {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.tl-auth-footer-links a {
    color: #5a4ff3;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tl-auth-footer-links a:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Password Match Indicator */
.tl-pass-match {
    font-size: 12.5px;
    margin-top: 6px;
    font-weight: 500;
    display: none;
}
.tl-pass-match.is-match {
    display: block;
    color: #16a34a;
}
.tl-pass-match.is-mismatch {
    display: block;
    color: #dc2626;
}

/* Responsive */
@media (max-width: 860px) {
    .tl-auth {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .tl-auth__brand {
        padding: 36px 28px 30px;
    }
    .tl-auth__brand-title {
        font-size: 24px;
    }
    .tl-auth__features {
        display: none;
    }
    .tl-auth__form {
        padding: 36px 28px;
    }
}

