/*
 * Aegon Tools mobile app experience
 *
 * This file intentionally contains no desktop styling. Every visual change is
 * inside the mobile media query so desktop remains governed by style.css.
 * The document itself remains the only vertical scroll container.
 */

.pd-mobile-summary,
.packs-mobile-controls,
.pm-pack-card,
.mo-orders {
  display: none;

  /* Mobile App Redesign for Account Dashboard */

  body[data-page="account"] .ud-bg {
    display: none !important;
    /* Hide desktop background */
  }

  body[data-page="account"] .ud-v3-hero {
    display: flex !important;
    flex-direction: column;
    padding: 16px var(--mobile-gutter) 24px;
    background: transparent;
  }

  body[data-page="account"] .ud-v3-hero .ud-v3-copy {
    display: none;
    /* Hide desktop copy and rail, keep it simple */
  }

  body[data-page="account"] .ud-v3-identity {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    position: relative;
    z-index: 2;
  }

  body[data-page="account"] .ud-v3-identity .dash-av {
    width: 80px;
    height: 80px;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
  }

  body[data-page="account"] .ud-v3-identity .ud-v3-person {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body[data-page="account"] .ud-v3-identity .ud-v3-person span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mo-muted);
  }

  body[data-page="account"] .ud-v3-identity .ud-v3-person strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--mo-ink);
  }

  body[data-page="account"] .ud-v3-identity .ud-v3-person small {
    font-size: 13px;
    color: var(--mo-muted);
  }

  body[data-page="account"] .ud-v3-dock-wrap {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-dock-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--mo-line);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
  }

  body[data-theme="dark"][data-page="account"] .ud-v3-dock-wrap {
    background: rgba(20, 23, 43, 0.85);
  }

  body[data-page="account"] .ud-v3-dock.tab-bar {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    border: none;
    padding: 0;
    background: transparent;
  }

  body[data-page="account"] .ud-v3-dock-acts,
  body[data-page="account"] .ud-v3-dock.tab-bar button[data-tab="packs"] {
    display: none !important;
    /* Hide logout and packs from dock */
  }

  body[data-page="account"] .ud-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    color: var(--mo-muted);
    font-size: 10px;
    font-weight: 600;
    background: transparent;
    border: none;
    position: relative;
    transition: all 0.25s ease;
  }

  body[data-page="account"] .ud-nav-btn .ud-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
    transition: all 0.25s ease;
  }

  body[data-page="account"] .ud-nav-btn.on {
    color: var(--mo-violet);
  }

  body[data-page="account"] .ud-nav-btn.on .ud-icon svg {
    transform: scale(1.15);
    stroke-width: 2.5px;
  }

  body[data-page="account"] .ud-nav-count {
    position: absolute;
    top: -2px;
    right: 25%;
    background: var(--mo-violet);
    color: #fff;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 10px;
    border: 2px solid #fff;
    font-weight: bold;
  }

  body[data-page="account"] .ud-shell {
    display: block !important;
    padding: 0 var(--mobile-gutter) calc(var(--mobile-dock-height) + 40px);
  }

  body[data-page="account"] .ud-v3-bento {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-page="account"] .ud-v3-value-card,
  body[data-page="account"] .ud-v3-progress-card,
  body[data-page="account"] .ud-v3-mini-card,
  body[data-page="account"] .ud-v3-security-card,
  body[data-page="account"] .ud-v3-discover-card {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--mo-line);
    padding: 20px;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  body[data-theme="dark"][data-page="account"] .ud-v3-value-card,
  body[data-theme="dark"][data-page="account"] .ud-v3-progress-card,
  body[data-theme="dark"][data-page="account"] .ud-v3-mini-card,
  body[data-theme="dark"][data-page="account"] .ud-v3-security-card,
  body[data-theme="dark"][data-page="account"] .ud-v3-discover-card {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .ud-v3-value-card strong {
    font-size: 32px;
    margin: 8px 0;
  }

  body[data-page="account"] .ud-wishlist-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body[data-page="account"] .ud-wishlist-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--mo-line);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    position: relative;
  }

  body[data-page="account"] .ud-wishlist-info h3 {
    font-size: 15px;
    margin: 4px 0;
  }

  body[data-page="account"] .ud-wishlist-card .wishlist-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 0, 0.08);
    color: red;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
  }

  body[data-page="account"] .tab-pane[data-pane="orders"]>.ud-header,
  body[data-page="account"] .tab-pane[data-pane="orders"]>.empty-state,
  body[data-page="account"] .tab-pane[data-pane="orders"]>.table-wrap {
    display: none !important;
  }

  body[data-page="account"] .panel {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--mo-line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  }

  body[data-theme="dark"][data-page="account"] .panel,
  body[data-theme="dark"][data-page="account"] .ud-wishlist-card {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .panel .field input {
    height: 54px;
    border-radius: 14px;
    background: #f7f7fc;
    border: 1px solid transparent;
    padding: 0 16px;
    font-size: 15px;
    transition: all 0.3s;
  }

  body[data-page="account"] .panel .field input:focus {
    background: #fff;
    border-color: var(--mo-violet);
    box-shadow: 0 0 0 4px rgba(81, 64, 162, 0.1);
  }

  body[data-page="account"] .ud-avatar-picker {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body[data-page="account"] .ud-avatar-picker::-webkit-scrollbar {
    display: none;
  }

  body[data-page="account"] .ud-avatar-option {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    font-size: 18px;
    border-radius: 50%;
  }

  body[data-page="account"] .panel .btn-navy {
    height: 54px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
  }

  /* Make sure tab pane animations look smooth */
  body[data-page="account"] .tab-pane.on {
    animation: mo-card-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }


  body[data-page="account"] .ud-v3-hero-rail {
    display: none !important;
  }

  body[data-page="account"] .ud-v3-hero-rail::-webkit-scrollbar {
    display: none;
  }

  body[data-page="account"] .ud-v3-hero-rail div {
    flex: 0 0 calc(33.333% - 6px);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--mo-line);
    backdrop-filter: blur(10px);
  }

  body[data-theme="dark"][data-page="account"] .ud-v3-hero-rail div {
    background: rgba(25, 26, 44, 0.6);
  }

  body[data-page="account"] .ud-v3-hero-rail span {
    color: var(--mo-violet);
  }

  body[data-page="account"] .ud-v3-hero-rail small {
    font-size: 10px;
    color: var(--mo-muted);
    font-weight: 600;
  }

  body[data-page="account"] .ud-v3-hero-rail strong {
    font-size: 13px;
    color: var(--mo-ink);
  }

  body[data-page="account"] .ud-v3-section-head,
  body[data-page="account"] .ud-header {
    margin-bottom: 20px;
  }

  body[data-page="account"] .ud-v3-section-head h2,
  body[data-page="account"] .ud-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 4px 0;
  }

  body[data-page="account"] .ud-v3-section-head p,
  body[data-page="account"] .ud-header p {
    font-size: 13px;
    color: var(--mo-muted);
  }

  body[data-page="account"] .ud-v3-section-head span {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--mo-violet);
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  /* Mobile App Redesign for FAQ Page */

  body[data-page="faq"] .faq-hero {
    display: flex;
    flex-direction: column;
    padding: 24px var(--mobile-gutter) 16px;
    gap: 24px;
    position: relative;
    z-index: 2;
  }

  body[data-page="faq"] .faq-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  body[data-page="faq"] .faq-hero-copy h1 {
    font-size: 32px;
    line-height: 1.1;
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
  }

  body[data-page="faq"] .faq-hero-copy p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 24px;
  }

  body[data-page="faq"] .faq-search {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    position: relative;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-search {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.05);
  }

  body[data-page="faq"] .faq-search input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 16px;
    outline: none;
    color: inherit;
  }

  body[data-page="faq"] .faq-search kbd {
    display: none;
    /* Hide shortcut on mobile */
  }

  body[data-page="faq"] .faq-hero-art {
    display: none;
    /* Hide desktop decorative art for a cleaner mobile layout */
  }

  body[data-page="faq"] .faq-shell {
    display: flex;
    flex-direction: column;
    padding: 0 var(--mobile-gutter) 40px;
    gap: 24px;
  }

  body[data-page="faq"] .faq-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-page="faq"] .faq-side-head {
    display: none;
    /* Hide "Browse by topic" header to save space */
  }

  body[data-page="faq"] .faq-categories {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(var(--mobile-gutter) * -1);
    /* Full bleed */
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  body[data-page="faq"] .faq-categories::-webkit-scrollbar {
    display: none;
  }

  body[data-page="faq"] .faq-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 99px;
    background: #fff;
    border: 1px solid var(--mo-line, rgba(0, 0, 0, 0.06));
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink, #1d1b3f);
    transition: all 0.3s ease;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-category {
    background: #1a1a2e;
    color: #fff;
  }

  body[data-page="faq"] .faq-category.is-active {
    background: var(--purple, #5b4ce2);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(91, 76, 226, 0.3);
  }

  body[data-page="faq"] .faq-category small {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
  }

  body[data-page="faq"] .faq-category.is-active small {
    background: rgba(255, 255, 255, 0.2);
  }

  body[data-page="faq"] .faq-side-help {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(91, 76, 226, 0.05);
    border: 1px solid rgba(91, 76, 226, 0.1);
    padding: 16px;
    border-radius: 16px;
  }

  body[data-page="faq"] .faq-side-help .faq-help-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--purple, #5b4ce2);
    color: #fff;
    display: grid;
    place-items: center;
  }

  body[data-page="faq"] .faq-side-help a {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--purple, #5b4ce2);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  body[data-page="faq"] .faq-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-page="faq"] .faq-content-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  body[data-page="faq"] .faq-section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple, #5b4ce2);
    font-weight: 700;
  }

  body[data-page="faq"] .faq-content-head h2 {
    font-size: 24px;
    margin: 4px 0 0;
  }

  body[data-page="faq"] .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body[data-page="faq"] .faq-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-item {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.04);
  }

  body[data-page="faq"] .faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: transparent;
    border: none;
    text-align: left;
    color: inherit;
    font-family: inherit;
  }

  body[data-page="faq"] .faq-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--mo-muted, #706d8c);
    padding-top: 3px;
  }

  body[data-page="faq"] .faq-question-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body[data-page="faq"] .faq-question-copy small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--purple, #5b4ce2);
    font-weight: 700;
  }

  body[data-page="faq"] .faq-question-copy b {
    font-size: 15px;
    line-height: 1.4;
  }

  body[data-page="faq"] .faq-plus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  [data-theme="dark"] body[data-page="faq"] .faq-plus {
    background: rgba(255, 255, 255, 0.1);
  }

  body[data-page="faq"] .faq-plus i {
    position: absolute;
    background: currentColor;
    border-radius: 2px;
  }

  body[data-page="faq"] .faq-plus i:nth-child(1) {
    width: 10px;
    height: 2px;
  }

  body[data-page="faq"] .faq-plus i:nth-child(2) {
    width: 2px;
    height: 10px;
  }

  body[data-page="faq"] .faq-question[aria-expanded="true"] .faq-plus,
  body[data-page="faq"] .faq-item.open .faq-plus {
    transform: rotate(135deg);
    background: var(--purple, #5b4ce2);
    color: #fff;
  }

  body[data-page="faq"] .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body[data-page="faq"] .faq-question[aria-expanded="true"]+.faq-answer,
  body[data-page="faq"] .faq-item.open .faq-answer {
    grid-template-rows: 1fr;
  }

  body[data-page="faq"] .faq-answer>div {
    overflow: hidden;
  }

  body[data-page="faq"] .faq-answer p {
    padding: 0 16px 20px 42px;
    /* aligns with question copy */
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--mo-muted, #706d8c);
  }

  body[data-page="faq"] .faq-cta-wrap {
    padding: 0 var(--mobile-gutter) 40px;
  }

  body[data-page="faq"] .faq-cta {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    background: linear-gradient(135deg, #2b2353, #151030);
    border-radius: 24px;
    color: #fff;
    text-align: center;
    gap: 24px;
    box-shadow: 0 12px 40px rgba(21, 16, 48, 0.2);
  }

  body[data-page="faq"] .faq-cta h2 {
    font-size: 26px;
    margin: 12px 0 8px;
  }

  body[data-page="faq"] .faq-cta p {
    font-size: 14px;
    opacity: 0.8;
  }

  body[data-page="faq"] .faq-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body[data-page="faq"] .faq-cta-actions .btn {
    width: 100%;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
  }


  body[data-page="faq"] .faq-sidebar {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  body[data-page="faq"] .faq-side-help div b {
    color: var(--ink, #1d1b3f) !important;
  }

  body[data-page="faq"] .faq-side-help div small {
    color: var(--mo-muted, #706d8c) !important;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-side-help div b {
    color: #fff !important;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-side-help div small {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  /* Mobile App Redesign for Legal Pages (Privacy / Terms) */

  body[data-page="legal"] .page-hero {
    padding: 32px var(--mobile-gutter) 24px;
    text-align: left;
    background: linear-gradient(135deg, #2b2353, #151030);
    color: #fff;
  }

  body[data-page="legal"] .legal-hero-inner h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin: 8px 0 12px;
    letter-spacing: -0.02em;
  }

  body[data-page="legal"] .legal-hero-inner p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.5;
  }

  body[data-page="legal"] .legal-nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(var(--mobile-gutter) * -1);
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  body[data-page="legal"] .legal-nav::-webkit-scrollbar {
    display: none;
  }

  body[data-page="legal"] .legal-nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
  }

  body[data-page="legal"] .legal-nav a.on {
    background: #fff;
    color: #151030;
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  body[data-page="legal"] .section {
    padding: 24px var(--mobile-gutter) 40px;
  }

  body[data-page="legal"] .legal-wrap {
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
  }

  [data-theme="dark"] body[data-page="legal"] .legal-wrap {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.05);
  }

  body[data-page="legal"] .legal-wrap h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--ink, #1d1b3f);
    line-height: 1.3;
  }

  [data-theme="dark"] body[data-page="legal"] .legal-wrap h2 {
    color: #fff;
  }

  body[data-page="legal"] .legal-wrap h2:first-child {
    margin-top: 0;
  }

  body[data-page="legal"] .legal-wrap p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--mo-muted, #706d8c);
    margin-bottom: 16px;
  }

  [data-theme="dark"] body[data-page="legal"] .legal-wrap p {
    color: rgba(255, 255, 255, 0.7);
  }


  body[data-page="account"] .tab-pane>.ud-header {
    display: none !important;
  }

  body[data-page="account"] .ud-v3-shell {
    padding-top: 20px;
  }

  /* Mobile App Redesign for Orders Tab */

  body[data-page="account"] .mo-orders {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
  }

  body[data-page="account"] .mo-orders-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  body[data-page="account"] .mo-orders-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mo-violet, #7c5cff);
    font-weight: 700;
    margin-bottom: 6px;
  }

  body[data-page="account"] .mo-orders-head h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--mo-ink);
  }

  body[data-page="account"] .mo-orders-head p {
    font-size: 13px;
    color: var(--mo-muted);
    margin: 0;
  }

  body[data-page="account"] .mo-logout {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: grid;
    place-items: center;
    color: var(--mo-ink);
  }

  body[data-page="account"] .mo-order-summary {
    display: flex;
    gap: 12px;
  }

  body[data-page="account"] .mo-order-summary span {
    flex: 1;
    background: #fff;
    border: 1px solid var(--mo-line);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  }

  body[data-theme="dark"][data-page="account"] .mo-order-summary span {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .mo-order-summary b {
    font-size: 24px;
    font-weight: 800;
    color: var(--mo-ink);
    line-height: 1;
    margin-bottom: 4px;
  }

  body[data-page="account"] .mo-order-summary small {
    font-size: 11px;
    color: var(--mo-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  body[data-page="account"] .mo-order-switch {
    display: flex;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 4px;
    gap: 4px;
  }

  body[data-theme="dark"][data-page="account"] .mo-order-switch {
    background: rgba(255, 255, 255, 0.05);
  }

  body[data-page="account"] .mo-order-switch button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--mo-muted);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
  }

  body[data-page="account"] .mo-order-switch button b {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
  }

  body[data-theme="dark"][data-page="account"] .mo-order-switch button b {
    background: rgba(255, 255, 255, 0.1);
  }

  body[data-page="account"] .mo-order-switch button.is-active {
    background: #fff;
    color: var(--mo-ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  body[data-theme="dark"][data-page="account"] .mo-order-switch button.is-active {
    background: var(--mo-panel);
    color: #fff;
  }

  body[data-page="account"] .mo-order-panel {
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: mo-card-in 0.3s ease forwards;
  }

  body[data-page="account"] .mo-order-panel.is-active {
    display: flex;
  }

  body[data-page="account"] .mo-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
  }

  body[data-page="account"] .mo-panel-heading span {
    font-size: 12px;
    color: var(--mo-violet);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  body[data-page="account"] .mo-panel-heading h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 4px 0 0;
  }

  body[data-page="account"] .mo-panel-heading a {
    font-size: 13px;
    color: var(--mo-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  body[data-page="account"] .mo-order-card {
    background: #fff;
    border: 1px solid var(--mo-line);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-theme="dark"][data-page="account"] .mo-order-card {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .mo-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  body[data-page="account"] .mo-order-top>span:first-child {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mo-muted);
    font-weight: 700;
  }

  body[data-page="account"] .mo-order-top .status {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }

  body[data-page="account"] .mo-order-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--mo-ink);
    line-height: 1.3;
  }

  body[data-page="account"] .mo-order-card p {
    font-size: 13px;
    color: var(--mo-muted);
    margin: 0;
  }

  body[data-page="account"] .mo-order-meta {
    display: flex;
    gap: 16px;
    margin-top: 4px;
  }

  body[data-page="account"] .mo-order-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--mo-muted);
    font-weight: 500;
  }

  body[data-page="account"] .mo-order-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px dashed var(--mo-line);
  }

  body[data-page="account"] .mo-order-foot strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--mo-ink);
  }

  body[data-page="account"] .mo-order-foot a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mo-violet);
    background: rgba(124, 92, 255, 0.1);
    padding: 8px 16px;
    border-radius: 99px;
  }

  body[data-page="account"] .mo-order-secondary {
    display: flex;
    gap: 8px;
    margin-top: -4px;
  }

  body[data-page="account"] .mo-order-secondary>* {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    background: #f7f7fc;
    color: var(--mo-ink);
    font-size: 13px;
    font-weight: 600;
    border: none;
    text-decoration: none;
  }

  body[data-theme="dark"][data-page="account"] .mo-order-secondary>* {
    background: rgba(255, 255, 255, 0.05);
  }

  body[data-page="account"] .mo-order-secondary button {
    cursor: pointer;
  }

  body[data-page="account"] .mo-order-art {
    display: none;
    /* Hide art for cleaner layout on mobile */
  }

  body[data-page="account"] .mo-order-empty {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px dashed var(--mo-line);
  }

  body[data-theme="dark"][data-page="account"] .mo-order-empty {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .mo-order-empty span {
    display: inline-flex;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(124, 92, 255, 0.1);
    color: var(--mo-violet);
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  body[data-page="account"] .mo-order-empty h3 {
    font-size: 18px;
    margin: 0 0 8px;
  }

  body[data-page="account"] .mo-order-empty p {
    font-size: 14px;
    color: var(--mo-muted);
    margin: 0 0 20px;
  }

  body[data-page="account"] .mo-order-empty a {
    display: inline-block;
    padding: 12px 24px;
    background: var(--mo-ink);
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
  }


  /* Mobile App Redesign for User Dashboard (Overview, Wishlist, Profile, Security) */

  @media (max-width: 1024px) {

    /* --- 1. OVERVIEW TAB --- */

    /* Hide the desktop section head on overview */
    body[data-page="account"] .ud-v3-section-head {
      display: none !important;
    }

    /* Hide Orders and Packs from the Overview on mobile as requested */
    body[data-page="account"] .ud-v3-progress-card,
    body[data-page="account"] .ud-v3-packs {
      display: none !important;
    }

    body[data-page="account"] .ud-v3-bento {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding-top: 10px;
    }

    /* Value Card Redesign (Premium Gradient) */
    body[data-page="account"] .ud-v3-value-card {
      background: linear-gradient(135deg, #7c5cff, #5140a2) !important;
      color: #fff !important;
      border: none !important;
      border-radius: 24px !important;
      padding: 24px !important;
      box-shadow: 0 12px 30px rgba(124, 92, 255, 0.25) !important;
    }

    body[data-page="account"] .ud-v3-value-card small {
      color: rgba(255, 255, 255, 0.8) !important;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-size: 11px;
      font-weight: 700;
    }

    body[data-page="account"] .ud-v3-value-card strong {
      color: #fff !important;
      font-size: 40px !important;
      font-weight: 800;
      margin: 4px 0 16px !important;
    }

    body[data-page="account"] .ud-v3-value-card p {
      color: rgba(255, 255, 255, 0.9) !important;
      font-size: 13px !important;
      margin: 0 !important;
    }

    body[data-page="account"] .ud-v3-card-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    body[data-page="account"] .ud-v3-card-icon {
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: #fff;
    }

    body[data-page="account"] .ud-v3-live {
      display: flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.2);
      padding: 6px 12px;
      border-radius: 99px;
      font-size: 11px;
      font-weight: 700;
    }

    /* Wishlist Mini Card on Overview */
    body[data-page="account"] .ud-v3-wish {
      background: #fff !important;
      border-radius: 24px !important;
      padding: 20px !important;
      border: 1px solid var(--mo-line) !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
      gap: 16px !important;
      text-align: left !important;
    }

    body[data-theme="dark"][data-page="account"] .ud-v3-wish {
      background: rgba(25, 26, 44, .94) !important;
    }

    body[data-page="account"] .ud-v3-wish span {
      width: 48px !important;
      height: 48px !important;
      background: rgba(124, 92, 255, 0.1) !important;
      color: var(--mo-violet) !important;
      border-radius: 16px !important;
      display: grid !important;
      place-items: center !important;
      margin: 0 !important;
    }

    body[data-page="account"] .ud-v3-wish small {
      font-size: 15px !important;
      font-weight: 700 !important;
      color: var(--mo-ink) !important;
    }

    body[data-page="account"] .ud-v3-wish strong {
      background: var(--mo-ink) !important;
      color: #fff !important;
      padding: 2px 10px !important;
      border-radius: 10px !important;
      font-size: 12px !important;
      margin-left: auto !important;
    }

    body[data-page="account"] .ud-v3-wish em {
      display: none !important;
      /* Hide extra text */
    }

    /* Security & Discover Cards */
    body[data-page="account"] .ud-v3-security-card,
    body[data-page="account"] .ud-v3-discover-card {
      border-radius: 24px !important;
      padding: 24px !important;
    }


    /* --- 2. PROFILE & SECURITY TABS (Native Settings Style) --- */

    body[data-page="account"] .tab-pane[data-pane="profile"] .panel,
    body[data-page="account"] .tab-pane[data-pane="security"] .panel {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      padding: 10px 0 0 !important;
    }

    body[data-page="account"] .tab-pane[data-pane="profile"] form,
    body[data-page="account"] .tab-pane[data-pane="security"] form {
      background: #fff;
      border-radius: 24px;
      padding: 8px 16px;
      margin-bottom: 20px;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
      border: 1px solid var(--mo-line);
    }

    body[data-theme="dark"][data-page="account"] .tab-pane[data-pane="profile"] form,
    body[data-theme="dark"][data-page="account"] .tab-pane[data-pane="security"] form {
      background: rgba(25, 26, 44, .94);
    }

    body[data-page="account"] .panel .field {
      border-bottom: 1px solid var(--mo-line);
      padding: 12px 0;
      margin: 0;
    }

    body[data-page="account"] .panel .field:last-of-type {
      border-bottom: none;
    }

    body[data-page="account"] .panel .field label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--mo-muted);
      font-weight: 700;
      margin-bottom: 8px;
      display: block;
    }

    body[data-page="account"] .panel .field input {
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
      height: 40px !important;
      font-size: 16px !important;
      color: var(--mo-ink) !important;
      box-shadow: none !important;
    }

    body[data-page="account"] .panel .field input:focus {
      box-shadow: none !important;
      background: transparent !important;
    }

    body[data-page="account"] .panel .btn-navy,
    body[data-page="account"] .panel .btn-outline {
      height: 54px !important;
      border-radius: 16px !important;
      font-size: 16px !important;
      margin-top: 8px !important;
      margin-bottom: 8px !important;
    }

    body[data-page="account"] .ud-security-card {
      background: rgba(0, 0, 0, 0.03) !important;
      border-radius: 20px !important;
      padding: 20px !important;
      border: none !important;
      margin-bottom: 20px !important;
    }

    body[data-theme="dark"][data-page="account"] .ud-security-card {
      background: rgba(255, 255, 255, 0.05) !important;
    }

    /* --- 3. WISHLIST TAB --- */

    body[data-page="account"] .ud-wishlist-grid {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding-top: 10px;
    }

    body[data-page="account"] .ud-wishlist-card {
      border-radius: 20px !important;
      padding: 20px !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
      border: 1px solid var(--mo-line) !important;
    }

    body[data-page="account"] .ud-wishlist-card .img {
      width: 64px !important;
      height: 64px !important;
      border-radius: 14px !important;
    }

    body[data-page="account"] .ud-wishlist-info h3 {
      font-size: 16px !important;
      font-weight: 800 !important;
    }

    body[data-page="account"] .wishlist-toggle {
      width: 44px !important;
      height: 44px !important;
      background: rgba(255, 0, 0, 0.08) !important;
    }
  }

}

@media (min-width: 1025px) {

  .mobile-drawer-scrim,
  .mobile-cart-drawer,
  .mobile-pages-modal {
    display: none !important;
  }

  .hero-whatsapp-btn {
    order: 1;
  }

  .hero-browse-btn {
    order: 2;
  }

  #appBottomNav,
  .app-nav-scrim,
  .app-nav-active-bg,
  .hero-search-form,
  .hero-sub-proof,
  .mobile-trust-strip,
  .hero-service-note,
  .hero-mobile-only {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --mobile-gutter: clamp(14px, 4vw, 22px);
    --mobile-dock-height: 72px;
    --mobile-purple: #5b4ce2;
    --mobile-navy: #2c255e;
    --mobile-line: rgba(91, 76, 226, .13);
    --mobile-surface: rgba(255, 255, 255, .94);
  }

  [data-theme="dark"] {
    --mobile-surface: rgba(20, 23, 43, .95);
    --mobile-line: rgba(167, 139, 250, .18);
  }

  /* Native browser scrolling: do not set body position, height, or overflow-y. */
  html {
    overflow-x: hidden !important;
    scroll-behavior: smooth;
  }

  body {
    --mobile-header-clearance: 60px;
    min-width: 320px;
    margin: 0;
    overflow-x: hidden !important;
    padding-top: 0 !important;
    padding-bottom: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px) + 22px) !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Decorative layers never participate in touch hit testing. */
  body::before,
  .app-nav-scrim,
  .particles,
  #cur-dot,
  #cur-ring,
  .cur-trail {
    pointer-events: none !important;
  }

  .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;
  }

  .site-main {
    min-height: 72vh;
    padding-top: var(--mobile-header-clearance) !important;
  }

  /* Compact app header. */
  .announcement-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9992 !important;
    min-height: 32px;
    box-shadow: 0 5px 14px rgba(49, 35, 132, .16);
  }

  .announcement-inner {
    min-height: 32px;
    gap: 6px;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 10px;
    white-space: nowrap;
  }

  .announcement-badge,
  .announcement-spark,
  .footer-reveal-head,
  .site-floating-actions,
  .site-header .nav-links,
  .site-header .support-header-btn,
  .site-header .cur-wrap,
  .site-header .pill-navy,
  .site-header .dropdown,
  .site-header .btn-sm {
    display: none !important;
  }

  .site-header .nav-toggle,
  .site-header .nav-actions>a[aria-label="Cart"] {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border: 1px solid rgba(91, 76, 226, .2) !important;
    border-radius: 12px !important;
    background: var(--mobile-surface) !important;
    color: var(--ink-strong) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 4px 12px rgba(35, 30, 84, .06) !important;
    padding: 0 !important;
    overflow: visible;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .24s ease, border-color .24s ease, color .24s ease, box-shadow .24s ease !important;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header .nav-toggle:active,
  .site-header .nav-actions>a[aria-label="Cart"]:active {
    transform: scale(.92);
  }

  .site-header .nav-toggle.is-active,
  .site-header .nav-actions>a[aria-label="Cart"].is-active {
    border-color: rgba(91, 76, 226, .42) !important;
    background: var(--mobile-purple) !important;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(91, 76, 226, .25) !important;
  }

  .site-header .nav-actions>a[aria-label="Cart"]>svg {
    width: 19px !important;
    height: 19px !important;
    stroke-width: 1.75 !important;
    transition: transform .36s cubic-bezier(.22, 1, .36, 1) !important;
  }

  .site-header .nav-actions>a[aria-label="Cart"].is-active>svg {
    transform: translateY(-1px) rotate(-7deg) scale(1.07);
  }

  .site-header .nav-toggle {
    gap: 0 !important;
  }

  .site-header .nav-toggle span {
    position: absolute;
    left: 9px;
    width: 18px;
    height: 1.7px;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, width .28s ease;
  }

  .site-header .nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .site-header .nav-toggle span:nth-child(2) {
    width: 14px;
    transform: translateX(4px);
  }

  .site-header .nav-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .site-header .nav-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg);
  }

  .site-header .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .site-header .nav-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .announcement-message {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.has-announcement {
    --mobile-header-clearance: 96px;
  }

  .site-header {
    position: fixed !important;
    top: 4px !important;
    left: var(--mobile-gutter) !important;
    right: var(--mobile-gutter) !important;
    z-index: 9990 !important;
    width: auto !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.has-announcement .site-header {
    top: 36px !important;
  }

  .site-header>.container,
  .header-inner {
    height: 58px !important;
  }

  .header-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 9px 0 13px !important;
    border: 1px solid var(--mobile-line) !important;
    border-radius: 20px !important;
    background: var(--mobile-surface) !important;
    box-shadow: 0 10px 28px rgba(30, 26, 75, .12) !important;
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
  }

  .site-header .brand {
    min-width: 0;
    gap: 8px;
    font-size: 15px;
  }

  .site-header .brand img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
  }

  .site-header .brand-text {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 5px !important;
  }

  @media (prefers-reduced-motion: reduce) {

    .site-header .nav-toggle,
    .site-header .nav-toggle span,
    .site-header .nav-actions>a[aria-label="Cart"],
    .site-header .nav-actions>a[aria-label="Cart"]>svg {
      transition-duration: .01ms !important;
    }
  }

  .site-header #themeToggle {
    display: grid !important;
    width: 39px !important;
    height: 39px !important;
    min-width: 39px !important;
    border-radius: 13px !important;
    background: rgba(91, 76, 226, .09) !important;
    border-color: var(--mobile-line) !important;
  }

  /* Floating bottom app dock. The scrim cannot intercept scrolling. */
  .app-nav-scrim {
    display: block;
    position: fixed;
    z-index: 99990;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(94px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, transparent, var(--bg) 64%);
  }

  #appBottomNav {
    --app-nav-index: 0;
    --app-nav-count: 5;
    --app-nav-accent: #5b4ce2;
    position: fixed !important;
    z-index: 99999 !important;
    left: var(--mobile-gutter) !important;
    right: var(--mobile-gutter) !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-around !important;
    width: auto !important;
    height: var(--mobile-dock-height) !important;
    padding: 5px !important;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--mobile-line) !important;
    border-radius: 24px !important;
    background: color-mix(in srgb, var(--mobile-surface) 92%, #fff 8%) !important;
    box-shadow: 0 18px 45px rgba(28, 24, 70, .23), inset 0 1px 0 rgba(255, 255, 255, .6) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
  }

  .app-nav-active-bg {
    position: absolute !important;
    z-index: 0 !important;
    top: 5px !important;
    bottom: 5px !important;
    left: 5px !important;
    display: block !important;
    width: calc((100% - 10px) / var(--app-nav-count)) !important;
    border: 1px solid color-mix(in srgb, var(--app-nav-accent) 25%, transparent) !important;
    border-radius: 17px !important;
    background: color-mix(in srgb, var(--app-nav-accent) 14%, transparent) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 7px 18px color-mix(in srgb, var(--app-nav-accent) 18%, transparent) !important;
    opacity: 0;
    transform: translateX(calc(var(--app-nav-index) * 100%));
    transition: none;
    pointer-events: none;
  }

  #appBottomNav.app-nav-ready .app-nav-active-bg {
    opacity: 1;
    transition: transform .38s cubic-bezier(.22, 1, .36, 1), background .2s ease, border-color .2s ease, opacity .15s ease;
  }

  .app-nav-active-bg::after {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 24px;
    height: 3px;
    border-radius: 99px;
    background: var(--app-nav-accent);
    box-shadow: 0 0 14px color-mix(in srgb, var(--app-nav-accent) 65%, transparent);
    content: "";
    transform: translateX(-50%);
  }

  .app-nav-item {
    position: relative !important;
    z-index: 1;
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0;
    height: 62px !important;
    gap: 3px !important;
    padding: 5px 2px 3px !important;
    border-radius: 17px;
    color: var(--muted, #64748b) !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: color .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
    -webkit-tap-highlight-color: transparent;
  }

  .app-nav-item.active {
    color: var(--app-nav-accent) !important;
    font-weight: 850 !important;
    transform: translateY(-1px);
  }

  .app-nav-item:active {
    transform: translateY(1px) scale(.94);
  }

  .app-nav-icon-wrap {
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 35px !important;
    border-radius: 13px !important;
    transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
  }

  .app-nav-item:not(.active) .app-nav-icon-wrap {
    background: color-mix(in srgb, currentColor 7%, transparent);
  }

  .app-nav-item.active .app-nav-icon-wrap {
    background: color-mix(in srgb, var(--app-nav-accent) 12%, transparent);
    transform: translateY(-1px) scale(1.08);
  }

  .app-nav-icon-wrap svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.1 !important;
    transition: stroke-width .2s ease, filter .25s ease;
  }

  .app-nav-item.active .app-nav-icon-wrap svg {
    stroke-width: 2.45 !important;
    filter: drop-shadow(0 3px 6px color-mix(in srgb, var(--app-nav-accent) 35%, transparent));
  }

  .app-nav-item:nth-of-type(2) {
    --app-nav-accent: #2878d7;
  }

  .app-nav-item:nth-of-type(3) {
    --app-nav-accent: #db8a16;
  }

  .app-nav-item:nth-of-type(4) {
    --app-nav-accent: #08a879;
  }

  .app-nav-item:nth-of-type(5) {
    --app-nav-accent: #e0527d;
  }

  #appBottomNav:has(.app-nav-item.active:nth-of-type(2)) {
    --app-nav-accent: #2878d7;
  }

  #appBottomNav:has(.app-nav-item.active:nth-of-type(3)) {
    --app-nav-accent: #db8a16;
  }

  #appBottomNav:has(.app-nav-item.active:nth-of-type(4)) {
    --app-nav-accent: #08a879;
  }

  #appBottomNav:has(.app-nav-item.active:nth-of-type(5)) {
    --app-nav-accent: #e0527d;
  }

  .app-nav-badge {
    position: absolute !important;
    top: 3px !important;
    right: calc(50% - 23px) !important;
    z-index: 3;
    min-width: 18px !important;
    padding: 3px 6px !important;
    border: 2px solid var(--mobile-surface);
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  @media (prefers-reduced-motion: reduce) {

    .app-nav-active-bg,
    .app-nav-item,
    .app-nav-icon-wrap,
    .app-nav-icon-wrap svg {
      transition: none !important;
    }

    .app-nav-item.active .app-nav-icon-wrap,
    .app-nav-item:active {
      transform: none !important;
    }
  }

  /* Mobile footer. */
  .footer-reveal-ready .site-main,
  .site-main {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .site-footer,
  .footer-reveal-ready .site-footer {
    position: relative !important;
    inset: auto !important;
    min-height: 0 !important;
    margin: 18px var(--mobile-gutter) 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: linear-gradient(155deg, #171b38 0%, #222752 58%, #12152d 100%);
    box-shadow: 0 18px 42px rgba(20, 18, 48, .22);
  }

  .site-footer::after {
    width: 220px;
    height: 220px;
    right: -120px;
    bottom: -120px;
    opacity: .55;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 16px !important;
    padding-top: 24px !important;
    padding-bottom: 22px !important;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    text-align: left;
  }

  .footer-brand .brand {
    justify-content: flex-start;
    margin: 0;
  }

  .footer-brand p {
    max-width: 290px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    line-height: 1.55;
  }

  .socials {
    justify-content: flex-start;
    gap: 7px;
    margin: 14px 0 0;
  }

  .socials a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
  }

  .socials a svg {
    width: 15px;
    height: 15px;
  }

  .footer-col {
    display: block !important;
    min-width: 0;
  }

  .footer-col h4 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 13px;
  }

  .footer-col a {
    width: 100%;
    padding: 5px 0;
    overflow-wrap: anywhere;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
  }

  .footer-col:nth-child(4) {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .footer-col:nth-child(4) h4 {
    grid-column: 1 / -1;
  }

  .contact-item {
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    font-size: 10px;
  }

  .contact-item:last-child {
    grid-column: 1 / -1;
  }

  .contact-item .ci {
    color: #a89bff;
  }

  .contact-item b {
    overflow-wrap: anywhere;
    font-size: 10px;
  }

  .footer-bottom {
    padding: 15px 0 calc(15px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 9, 24, .22);
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 9px;
  }

  .footer-bottom .legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 14px;
  }

  .footer-bottom .legal a {
    color: rgba(255, 255, 255, .68);
  }

  /* Compact footer on every mobile page except Home and Account. */
  body:not([data-page="index"]):not([data-page="account"]) .site-footer,
  body:not([data-page="index"]):not([data-page="account"]).footer-reveal-ready .site-footer {
    margin: 16px var(--mobile-gutter) 4px;
    border-radius: 18px;
    background: #171a3b;
    box-shadow: 0 12px 28px rgba(20, 18, 48, .18);
  }

  body:not([data-page="index"]):not([data-page="account"]) .site-footer::after,
  body:not([data-page="index"]):not([data-page="account"]) .footer-reveal-head,
  body:not([data-page="index"]):not([data-page="account"]) .footer-grid {
    display: none !important;
  }

  body:not([data-page="index"]):not([data-page="account"]) .footer-bottom {
    border-top: 0;
    padding: 14px 10px;
    background: transparent;
  }

  body:not([data-page="index"]):not([data-page="account"]) .footer-bottom .container {
    gap: 9px;
    padding-inline: 4px;
    color: rgba(255, 255, 255, .62);
    font-size: 8px;
    line-height: 1.35;
  }

  body:not([data-page="index"]):not([data-page="account"]) .footer-bottom .legal {
    gap: 5px 13px;
  }

  body:not([data-page="index"]):not([data-page="account"]) .footer-bottom .legal a {
    padding: 2px 0;
    color: rgba(255, 255, 255, .74);
    font-size: 8px;
    line-height: 1.2;
  }

  /* Page backgrounds begin at the viewport edge behind the floating header;
     only content flow receives the required navbar clearance. */
  .site-main {
    padding-top: var(--mobile-header-clearance) !important;
    margin-top: 0 !important;
  }

  .hero2,
  .tl-hero,
  .page-hero,
  .hero-lite {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
    margin-top: 0 !important;
  }

  .hero2>.container,
  .tl-hero>.container,
  .page-hero>.container,
  .hero-lite>.container {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body[data-page="index"] .hero2 {
    padding: 0 0 12px !important;
    margin-top: 0 !important;
    text-align: left !important;
    overflow: hidden;
  }

  body[data-page="index"] .hero2-grid {
    display: block !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body[data-page="index"] .hero2-stage {
    display: none !important;
  }

  body[data-page="index"] .hero2-copy {
    position: relative;
    margin-top: 14px !important;
    padding: 20px 18px 18px !important;
    border: 1px solid rgba(91, 76, 226, .14);
    border-radius: 24px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 248, 255, .94));
    box-shadow: 0 22px 52px rgba(44, 37, 94, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
  }

  .stats-band {
    display: none !important;
  }

  [data-theme="dark"] body[data-page="index"] .hero2-copy,
  body[data-theme="dark"][data-page="index"] .hero2-copy {
    background: linear-gradient(145deg, rgba(29, 27, 52, .98), rgba(20, 19, 39, .96));
    box-shadow: 0 22px 52px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .05);
  }

  body[data-page="index"] .hero2-copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 72px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #5b4ce2, #12a88a);
    pointer-events: none;
  }

  body[data-page="index"] .hero-mobile-only {
    display: inline !important;
  }

  body[data-page="index"] .hero-desktop-only {
    display: none !important;
  }

  body[data-page="index"] .glow-badge {
    gap: 7px !important;
    margin-bottom: 16px !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(18, 168, 138, .18) !important;
    background: rgba(18, 168, 138, .08) !important;
    color: #087f6a !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
  }

  body[data-page="index"] .glow-badge .dot {
    background: #12a88a !important;
    box-shadow: 0 0 0 4px rgba(18, 168, 138, .12) !important;
  }

  body[data-page="index"] .hero2-title {
    width: 100%;
    max-width: none;
    margin-bottom: 13px !important;
    font-size: 38px !important;
    line-height: 1.01 !important;
    letter-spacing: 0 !important;
  }

  body[data-page="index"] .hero-title-mobile,
  body[data-page="index"] .hero2-title .hl {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  body[data-page="index"] .hero2-title .grad-anim {
    background: linear-gradient(90deg, #5b4ce2 0%, #7b4fcb 48%, #0f9f86 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
  }

  body[data-page="index"] .hero2-sub {
    max-width: 34rem;
    min-height: 0;
    margin-bottom: 19px !important;
    padding: 0 !important;
    color: var(--muted, #64748b) !important;
    font-size: 12.5px !important;
    line-height: 1.62 !important;
  }

  .hero-search-form {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 14px !important;
    display: block !important;
  }

  .hero-search-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    color: #5b4ce2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
  }

  .hero-search-input {
    width: 100% !important;
    height: 52px !important;
    padding: 0 54px 0 42px !important;
    border: 1px solid rgba(91, 76, 226, .22) !important;
    border-radius: 18px !important;
    background: var(--mobile-surface) !important;
    box-shadow: 0 10px 28px rgba(44, 37, 94, .08) !important;
    font-size: 13px !important;
    outline: none !important;
    box-sizing: border-box !important;
  }

  .hero-search-input:focus {
    border-color: rgba(91, 76, 226, .55) !important;
    box-shadow: 0 0 0 4px rgba(91, 76, 226, .1), 0 10px 28px rgba(44, 37, 94, .08) !important;
  }

  .hero-search-btn {
    position: absolute !important;
    right: 5px !important;
    top: 5px !important;
    bottom: 5px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    z-index: 5 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 14px !important;
    background: var(--mobile-navy) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  body[data-page="index"] .hero-cta {
    display: grid !important;
    grid-template-columns: 1.2fr .9fr !important;
    gap: 8px !important;
    margin-bottom: 13px !important;
  }

  body[data-page="index"] .hero-cta .btn {
    min-width: 0;
    min-height: 47px !important;
    gap: 6px !important;
    padding: 8px 9px !important;
    border-radius: 15px !important;
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
  }

  body[data-page="index"] .hero-browse-btn {
    background: var(--mobile-navy) !important;
    border-color: var(--mobile-navy) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(44, 37, 94, .2) !important;
  }

  body[data-page="index"] .hero-whatsapp-btn {
    background: rgba(18, 168, 138, .09) !important;
    border-color: rgba(18, 168, 138, .22) !important;
    color: #087f6a !important;
    box-shadow: none !important;
  }

  body[data-page="index"] .hero-sub-proof {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 0 0 17px !important;
    color: var(--muted, #64748b) !important;
    font-size: 9px !important;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
  }

  body[data-page="index"] .hero-sub-proof>span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  body[data-page="index"] .hero-sub-proof>span+span::before {
    content: "";
    width: 3px;
    height: 3px;
    margin: 0 7px;
    border-radius: 50%;
    background: rgba(100, 116, 139, .55);
  }

  body[data-page="index"] .hero-rating svg {
    color: #e5a300;
  }

  body[data-page="index"] .hero2-proof {
    display: none !important;
  }

  body[data-page="index"] .hero-service-note {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    padding: 11px 12px;
    border: 1px solid rgba(18, 168, 138, .18);
    border-radius: 16px;
    background: rgba(18, 168, 138, .07);
  }

  body[data-page="index"] .hero-service-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(18, 168, 138, .13);
    color: #087f6a;
  }

  body[data-page="index"] .hero-service-note b,
  body[data-page="index"] .hero-service-note small {
    display: block;
    letter-spacing: 0;
  }

  body[data-page="index"] .hero-service-note b {
    color: var(--ink-strong);
    font-size: 11px;
    line-height: 1.25;
  }

  body[data-page="index"] .hero-service-note small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.35;
  }

  body[data-page="index"] .hero-service-check {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #12a88a;
    color: #fff;
  }

  body[data-page="index"] .mobile-trust-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    margin: 0 -var(--mobile-gutter) 16px !important;
    padding: 4px var(--mobile-gutter) 16px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body[data-page="index"] .mobile-trust-strip::-webkit-scrollbar {
    display: none;
  }

  body[data-page="index"] .mobile-trust-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 0 0 160px !important;
    min-width: 160px !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  }

  body[data-page="index"] .mobile-trust-icon {
    display: grid !important;
    flex: 0 0 34px !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
  }

  /* Specific Icon Colors based on design */
  body[data-page="index"] .mobile-trust-item:nth-child(1) .mobile-trust-icon {
    background: #f3e8ff !important;
    color: #9333ea !important;
  }

  body[data-page="index"] .mobile-trust-item:nth-child(2) .mobile-trust-icon {
    background: #fef08a !important;
    color: #ca8a04 !important;
  }

  body[data-page="index"] .mobile-trust-item:nth-child(3) .mobile-trust-icon {
    background: #e0f2fe !important;
    color: #0284c7 !important;
  }

  body[data-page="index"] .mobile-trust-item:nth-child(4) .mobile-trust-icon {
    background: #dcfce3 !important;
    color: #16a34a !important;
  }

  body[data-page="index"] .mobile-trust-item>span:last-child {
    display: block;
    min-width: 0;
  }

  body[data-page="index"] .mobile-trust-item b,
  body[data-page="index"] .mobile-trust-item small {
    display: block;
    letter-spacing: 0;
  }

  body[data-page="index"] .mobile-trust-item b {
    color: var(--text, #1e293b) !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  body[data-page="index"] .mobile-trust-item small {
    margin-top: 2px !important;
    color: var(--muted, #64748b) !important;
    font-size: 9px !important;
    font-weight: 500 !important;
  }

  body[data-page="index"] .marquee-bar {
    margin-top: 14px !important;
    padding: 9px 0;
    border-radius: 14px;
  }

  body[data-page="index"] .stats-band {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin-top: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body[data-page="index"] .stat-cell {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 66px;
    padding: 10px !important;
    text-align: left;
    border: 1px solid var(--mobile-line) !important;
    border-radius: 16px;
    background: var(--mobile-surface);
    box-shadow: 0 7px 20px rgba(44, 37, 94, .06);
  }

  body[data-page="index"] .stat-cell .stat-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  body[data-page="index"] .stat-cell .num {
    font-size: 12px !important;
    line-height: 1.15;
    white-space: nowrap;
  }

  body[data-page="index"] .stat-cell .lbl {
    margin-top: 2px;
    font-size: 8.5px !important;
    line-height: 1.25;
  }

  body[data-page="index"] .block {
    padding: 28px 0 !important;
  }

  body[data-page="index"] .split-head,
  body[data-page="index"] .section-head {
    display: block !important;
    margin-bottom: 14px !important;
    text-align: left !important;
  }

  body[data-page="index"] .sec-divider,
  body[data-page="index"] .split-head .sh-action {
    display: none !important;
  }

  body[data-page="index"] .split-head h2,
  body[data-page="index"] .section-head h2 {
    margin: 8px 0 5px !important;
    font-size: 25px !important;
    line-height: 1.05 !important;
  }

  body[data-page="index"] .split-head p,
  body[data-page="index"] .section-head p {
    font-size: 11px !important;
  }

  body[data-page="index"] .popular-tools-section {
    padding: 34px 0 32px !important;
    background: color-mix(in srgb, var(--bg) 95%, var(--mobile-purple) 5%);
  }

  body[data-page="index"] .popular-tools-head {
    margin-bottom: 12px !important;
    padding-bottom: 14px;
  }

  body[data-page="index"] .popular-tools-head h2 {
    max-width: 330px;
    font-size: 27px !important;
    line-height: 1.08 !important;
    letter-spacing: 0;
  }

  body[data-page="index"] .popular-tools-head p {
    max-width: 340px;
    font-size: 11px !important;
    line-height: 1.55;
  }

  body[data-page="index"] .popular-tools-head-side {
    display: none !important;
  }

  body[data-page="index"] .home-filter {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    margin: 0 calc(var(--mobile-gutter) * -1) 14px !important;
    padding: 2px var(--mobile-gutter) 6px !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body[data-page="index"] .home-filter::-webkit-scrollbar,
  body[data-page="index"] .packs2::-webkit-scrollbar {
    display: none;
  }

  body[data-page="index"] .popular-tools-filter .chip {
    flex: none;
    min-height: 34px;
    padding: 6px 10px !important;
    border-radius: 11px !important;
    font-size: 9.5px !important;
  }

  body[data-page="index"] .popular-tools-grid,
  body[data-page="index"] .tl-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch;
  }

  body[data-page="index"] .popular-tools-grid>.ht-item:nth-child(n+7) {
    display: none !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-card {
    min-width: 0;
    padding: 6px !important;
    overflow: hidden;
    border: 1px solid var(--mobile-line) !important;
    border-radius: 17px !important;
    background: var(--mobile-surface) !important;
    box-shadow: 0 9px 24px rgba(38, 31, 86, .08) !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-card-top {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.34 / 1;
    margin: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 12px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-card-img {
    width: 100%;
    height: 100%;
    border-radius: 12px !important;
    object-fit: cover;
  }

  body[data-page="index"] .popular-tools-grid .tl-card-img.icon-mode {
    width: 48% !important;
    height: 64% !important;
    padding: 6px;
    border-radius: 15px !important;
    object-fit: contain;
  }

  body[data-page="index"] .popular-tools-grid .tl-badges {
    top: 7px;
    left: 7px;
    right: 7px;
    gap: 4px;
  }

  body[data-page="index"] .popular-tools-grid .tl-badge {
    padding: 5px 6px;
    border-radius: 6px;
    font-size: 7px;
    letter-spacing: .02em;
  }

  body[data-page="index"] .popular-tools-grid .tl-card-top>.wishlist-toggle {
    top: auto !important;
    right: 7px !important;
    bottom: 7px !important;
    width: 23px !important;
    height: 23px !important;
    min-height: 23px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border-color: rgba(91, 76, 226, .16);
    background: var(--mobile-surface);
    color: var(--mobile-purple);
    box-shadow: 0 4px 12px rgba(31, 26, 76, .14);
    backdrop-filter: blur(10px);
  }

  body[data-page="index"] .popular-tools-grid .tl-card-top>.wishlist-toggle svg {
    width: 11px !important;
    height: 11px !important;
    stroke-width: 2 !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-card-body {
    padding: 10px 4px 4px !important;
    gap: 5px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-card-kicker {
    min-height: 12px;
  }

  body[data-page="index"] .popular-tools-grid .tl-category-label {
    font-size: 7.5px !important;
    letter-spacing: .06em;
  }

  body[data-page="index"] .popular-tools-grid .tl-rating,
  body[data-page="index"] .popular-tools-grid .tl-desc,
  body[data-page="index"] .popular-tools-grid .tl-verified,
  body[data-page="index"] .popular-tools-grid .tl-title-arrow {
    display: none !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-title-row {
    align-items: flex-start;
  }

  body[data-page="index"] .popular-tools-grid .tl-title-row h3,
  body[data-page="index"] .popular-tools-grid .tl-title a {
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--ink-strong);
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.32;
    letter-spacing: 0;
  }

  body[data-page="index"] .popular-tools-grid .tl-compact-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 18px;
    color: var(--muted);
    font-size: 7.5px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
  }

  body[data-page="index"] .popular-tools-grid .tl-compact-meta span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }

  body[data-page="index"] .popular-tools-grid .tl-compact-meta svg {
    width: 10px;
    height: 10px;
  }

  body[data-page="index"] .popular-tools-grid .tl-meta-rating {
    color: #d88900;
  }

  body[data-page="index"] .popular-tools-grid .tl-meta-access {
    color: #15945a;
  }

  body[data-page="index"] .popular-tools-grid .tl-price-row {
    min-height: 27px;
    gap: 5px;
    margin-top: 0 !important;
    padding-top: 6px;
    border-color: var(--mobile-line);
  }

  body[data-page="index"] .popular-tools-grid .tl-price {
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: 0;
  }

  body[data-page="index"] .popular-tools-grid .tl-price-old {
    font-size: 8px !important;
    line-height: 1;
  }

  body[data-page="index"] .popular-tools-grid .tl-actions {
    gap: 5px !important;
    margin-top: 3px;
  }

  body[data-page="index"] .popular-tools-grid .tl-btn-get {
    min-width: 0;
    height: 35px !important;
    min-height: 35px !important;
    padding: 5px !important;
    border-radius: 10px !important;
    font-size: 8.5px !important;
    box-shadow: 0 5px 13px rgba(91, 76, 226, .2);
  }

  body[data-page="index"] .popular-tools-grid .tl-btn-cart {
    width: 35px !important;
    min-width: 35px !important;
    height: 35px !important;
    min-height: 35px !important;
    border-radius: 10px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-btn-cart svg {
    width: 14px;
    height: 14px;
  }

  body[data-page="index"] .popular-tools-footer {
    display: block;
    margin-top: 16px;
    padding-top: 15px;
    text-align: center;
  }

  body[data-page="index"] .popular-tools-footer>span {
    display: none;
  }

  body[data-page="index"] .popular-tools-footer .btn {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    font-size: 11px;
  }

  body[data-page="index"] .packs2 {
    display: flex !important;
    gap: 11px !important;
    margin-right: calc(var(--mobile-gutter) * -1);
    padding: 2px var(--mobile-gutter) 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body[data-page="index"] .pk2-card {
    flex: 0 0 82%;
    border-radius: 20px;
  }

  body[data-page="index"] .pk2-media {
    height: 170px;
    margin: 7px 7px 0;
    border-radius: 14px;
  }

  body[data-page="index"] .pk2-body {
    padding: 12px;
  }

  body[data-page="index"] .pk2-body h3 {
    font-size: 17px;
  }

  body[data-page="index"] .pk2-body p {
    font-size: 10px;
  }

  body[data-page="index"] .packs2-stats,
  body[data-page="index"] .testi-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  body[data-page="index"] .trust6 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body[data-page="index"] .trust-card {
    min-height: 156px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  body[data-page="index"] .trust-card h3 {
    font-size: 12px !important;
  }

  body[data-page="index"] .trust-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 9px !important;
  }

  body[data-page="index"] .testi-card {
    display: none !important;
  }

  body[data-page="index"] .testi-slide.on {
    display: grid !important;
    min-height: 0;
    padding: 16px !important;
    border-radius: 20px;
  }

  body[data-page="index"] .testi-meta {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 10px;
    padding: 0 0 12px !important;
    border: 0 !important;
    text-align: left;
  }

  body[data-page="index"] .testi-avatar {
    grid-row: 1 / 4;
    width: 46px;
    height: 46px;
    margin: 0;
  }

  body[data-page="index"] .testi-quote .qmark {
    display: none;
  }

  body[data-page="index"] .testi-quote p {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 374px) {
  :root {
    --mobile-gutter: 10px;
  }

  .site-header .brand-text {
    max-width: 45vw;
    font-size: 13px;
  }

  body[data-page="index"] .hero2-copy {
    padding: 21px 14px 15px;
  }

  body[data-page="index"] .hero2-title {
    font-size: 30px !important;
  }

  body[data-page="index"] .hero-cta {
    grid-template-columns: 1.15fr .85fr !important;
    gap: 6px !important;
  }

  body[data-page="index"] .hero-cta .btn {
    gap: 4px !important;
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 9px !important;
  }

  body[data-page="index"] .mobile-trust-item {
    gap: 7px !important;
    padding: 7px !important;
  }

  body[data-page="index"] .popular-tools-grid {
    gap: 7px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-card {
    padding: 5px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-card-top {
    border-radius: 11px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-badge.off {
    display: none !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-title-row h3,
  body[data-page="index"] .popular-tools-grid .tl-title a {
    font-size: 17px !important;
    line-height: 1.25 !important;
    min-height: 22px !important;
    /* reduced min height to avoid extra empty space */
  }

  body[data-page="index"] .popular-tools-grid .tl-compact-meta {
    gap: 6px;
    font-size: 10.5px;
    margin-bottom: 8px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-compact-meta svg {
    width: 12px !important;
    height: 12px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-category-label {
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-price {
    font-size: 14px !important;
  }

  body[data-page="index"] .popular-tools-grid .tl-btn-get {
    font-size: 8px !important;
  }
}

@media (max-width: 1024px) {
  body.mobile-overlay-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* ------------------------------------------------------------------------
   * 6. SLIDE-OVER CART DRAWER & SLIDE-UP PAGES MODAL
   * ------------------------------------------------------------------------ */
  .mobile-drawer-scrim {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999990 !important;
    background: rgba(10, 14, 30, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }

  .mobile-drawer-scrim.is-open {
    opacity: 1 !important;
    pointer-events: all !important;
  }

  /* Slide-Over Cart Drawer */
  .mobile-cart-drawer {
    visibility: hidden;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 340px !important;
    max-width: 88vw !important;
    z-index: 999995 !important;
    background: var(--card, #ffffff) !important;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  [data-theme="dark"] .mobile-cart-drawer {
    background: #111827 !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6) !important;
  }

  .mobile-cart-drawer.is-open {
    visibility: visible;
    transform: translateX(0) !important;
  }

  .mcd-header {
    padding: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.08)) !important;
  }

  .mcd-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: var(--ink-strong) !important;
  }

  .mcd-count-badge {
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
  }

  .mcd-close-btn,
  .mpm-close-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: rgba(0, 0, 0, 0.06) !important;
    color: var(--ink-strong) !important;
    font-size: 1.2rem !important;
    display: grid !important;
    place-items: center !important;
    cursor: pointer !important;
  }

  .mcd-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 1.2rem !important;
  }

  .mcd-empty {
    text-align: center !important;
    padding: 2.5rem 0 !important;
  }

  .mcd-empty-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: rgba(79, 70, 229, 0.1) !important;
    color: #4f46e5 !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 auto 1rem !important;
  }

  .mcd-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .mcd-item-card {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
    background: rgba(79, 70, 229, 0.04) !important;
    border: 1px solid rgba(79, 70, 229, 0.12) !important;
  }

  .mcd-item-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: #4f46e5 !important;
    color: #fff !important;
    display: grid !important;
    place-items: center !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
  }

  .mcd-item-info {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .mcd-item-name {
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    color: var(--ink-strong) !important;
  }

  .mcd-item-meta {
    font-size: 0.76rem !important;
    color: var(--muted) !important;
  }

  .mcd-item-price {
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    color: #4f46e5 !important;
  }

  .mcd-remove-btn {
    background: none !important;
    border: 0 !important;
    color: #ef4444 !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    padding: 4px !important;
  }

  .mcd-footer {
    padding: 1.2rem !important;
    border-top: 1px solid var(--line, rgba(0, 0, 0, 0.08)) !important;
    background: rgba(255, 255, 255, 0.5) !important;
  }

  .mcd-subtotal-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    font-size: 1rem !important;
  }

  .mcd-checkout-btn {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 16px !important;
    text-align: center !important;
    justify-content: center !important;
    margin-bottom: 0.6rem !important;
  }

  .mcd-view-full-link {
    display: block !important;
    text-align: center !important;
    font-size: 0.82rem !important;
    color: var(--muted) !important;
    text-decoration: underline !important;
  }

  /* Slide-Up Pages Modal */
  .mobile-pages-modal {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999995 !important;
    max-height: min(78vh, 620px);
    overflow-y: auto;
    background: var(--card, #ffffff) !important;
    border-radius: 28px 28px 0 0 !important;
    padding: 1.2rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -15px 40px rgba(15, 23, 42, 0.2) !important;
    transform: translateY(105%) !important;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear .35s !important;
  }

  [data-theme="dark"] .mobile-pages-modal {
    background: #111827 !important;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6) !important;
  }

  .mobile-pages-modal.is-open {
    transform: translateY(0) !important;
    visibility: visible;
    transition-delay: 0s !important;
  }

  .mpm-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1rem !important;
  }

  .mpm-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
  }

  .mpm-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .mpm-card {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0;
    padding: 12px !important;
    border-radius: 16px !important;
    background: rgba(79, 70, 229, 0.05) !important;
    border: 1px solid rgba(79, 70, 229, 0.12) !important;
    color: var(--ink-strong) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  .mpm-icon {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(79, 70, 229, .1);
    color: #5b4ce2;
  }

  .mpm-card>span:last-child,
  .mpm-card b,
  .mpm-card small {
    display: block;
    min-width: 0;
    letter-spacing: 0;
  }

  .mpm-card small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Homepage reviews: swipeable, single-card mobile carousel. */
  body[data-page="index"] #reviews .section-head {
    margin-bottom: 18px;
  }

  body[data-page="index"] #reviews .testi-wrap {
    width: 100%;
    max-width: none;
    padding: 0 12px;
    touch-action: pan-y;
  }

  body[data-page="index"] #reviews .testi-card {
    display: none !important;
  }

  body[data-page="index"] #reviews .testi-slide.on {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100%, 330px);
    min-height: 300px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(31, 26, 76, .1);
    animation: mobileTestiSlide .42s cubic-bezier(.22, .72, .18, 1);
  }

  body[data-page="index"] #reviews .testi-meta {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    column-gap: 11px;
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body[data-page="index"] #reviews .testi-avatar {
    grid-row: 1 / 4;
    width: 52px;
    height: 52px;
    margin: 0;
    font-size: 1.2rem;
    box-shadow: 0 8px 22px rgba(91, 76, 226, .24);
  }

  body[data-page="index"] #reviews .testi-meta .tname {
    min-width: 0;
    gap: 5px;
    font-size: .92rem;
  }

  body[data-page="index"] #reviews .vbadge {
    padding: 3px 6px;
    font-size: 8px;
  }

  body[data-page="index"] #reviews .testi-meta .trole {
    margin: 1px 0 4px;
    font-size: .7rem;
  }

  body[data-page="index"] #reviews .tool-chip {
    width: fit-content;
    padding: 3px 7px;
    font-size: .62rem;
  }

  body[data-page="index"] #reviews .testi-quote .stars {
    font-size: .78rem;
  }

  body[data-page="index"] #reviews .testi-quote .score {
    font-size: .68rem;
  }

  body[data-page="index"] #reviews .testi-quote .qmark {
    margin: 9px 0 0;
    font-size: 2rem;
  }

  body[data-page="index"] #reviews .testi-quote p {
    margin-top: 3px;
    font-size: .92rem;
    line-height: 1.55;
  }

  body[data-page="index"] #reviews .testi-nav {
    top: 132px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--card);
    box-shadow: 0 7px 18px rgba(31, 26, 76, .12);
  }

  body[data-page="index"] #reviews .testi-nav.prev {
    left: 0;
  }

  body[data-page="index"] #reviews .testi-nav.next {
    right: 0;
  }

  body[data-page="index"] #reviews .testi-dots {
    gap: 5px;
    margin-top: 14px;
  }

  body[data-page="index"] #reviews .testi-dots button {
    width: 7px;
    height: 7px;
  }

  body[data-page="index"] #reviews .testi-dots button.on {
    width: 22px;
  }

  body[data-page="index"] #reviews .testi-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 20px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  body[data-page="index"] #reviews .testi-stats .cell {
    position: relative;
    min-height: 88px;
    padding: 15px 10px 13px;
    overflow: hidden;
    border: 1px solid var(--mobile-line);
    border-radius: 8px;
    background: var(--mobile-surface);
    box-shadow: 0 8px 22px rgba(31, 26, 76, .06);
    text-align: left;
  }

  body[data-page="index"] #reviews .testi-stats .cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 3px;
    border-radius: 0 0 4px 0;
    background: var(--mobile-purple);
  }

  body[data-page="index"] #reviews .testi-stats .cell:nth-child(2)::before {
    background: #e6a700;
  }

  body[data-page="index"] #reviews .testi-stats .cell:nth-child(3)::before {
    background: #19a974;
  }

  body[data-page="index"] #reviews .testi-stats .cell:nth-child(4)::before {
    background: #e05284;
  }

  body[data-page="index"] #reviews .testi-stats .n {
    font-size: 1.25rem;
    line-height: 1.1;
  }

  body[data-page="index"] #reviews .testi-stats .l {
    margin-top: 5px;
    font-size: .67rem;
    line-height: 1.3;
  }

  @keyframes mobileTestiSlide {
    from {
      opacity: 0;
      transform: translateX(18px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Homepage Free Resources: compact mobile coverflow. */
  body[data-page="index"] .home-resources-section {
    overflow: hidden;
  }

  body[data-page="index"] .home-resources-head {
    margin-bottom: 14px;
  }

  body[data-page="index"] .home-resources-head .sh-action {
    display: none !important;
  }

  body[data-page="index"] .resource-carousel {
    width: calc(100% + (var(--mobile-gutter) * 2));
    max-width: none;
    margin-left: calc(var(--mobile-gutter) * -1);
    padding: 8px 30px 4px;
  }

  body[data-page="index"] .resource-carousel-stage {
    height: 410px;
    overflow: hidden;
    border-radius: 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  }

  body[data-page="index"] .resource-slide {
    top: 20px;
    width: min(78vw, 292px);
  }

  body[data-page="index"] .resource-slide.is-prev {
    transform: translateX(-50%) translate3d(-68%, 40px, -100px) rotateY(7deg) scale(.7);
  }

  body[data-page="index"] .resource-slide.is-next {
    transform: translateX(-50%) translate3d(68%, 40px, -100px) rotateY(-7deg) scale(.7);
  }

  body[data-page="index"] .resource-card {
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(31, 26, 76, .12);
  }

  body[data-page="index"] .resource-slide.is-active .resource-card {
    box-shadow: 0 18px 40px rgba(31, 26, 76, .16);
  }

  body[data-page="index"] .resource-card-media {
    height: 150px;
    margin: 8px 8px 0;
    border-radius: 7px;
  }

  body[data-page="index"] .resource-card-body {
    padding: .8rem .9rem .85rem;
  }

  body[data-page="index"] .resource-card-body h3 {
    margin: .28rem 0 .3rem;
    font-size: 1rem;
  }

  body[data-page="index"] .resource-card-body>p {
    min-height: 2.7em;
    font-size: .7rem;
    line-height: 1.35;
  }

  body[data-page="index"] .resource-meta {
    gap: 5px 9px;
    margin-top: .6rem;
    font-size: .65rem;
  }

  body[data-page="index"] .resource-card-foot {
    margin-top: .65rem;
    padding-top: .65rem;
  }

  body[data-page="index"] .resource-card-foot strong {
    font-size: .9rem;
  }

  body[data-page="index"] .resource-arrow {
    top: 174px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  body[data-page="index"] .resource-prev {
    left: 12px;
  }

  body[data-page="index"] .resource-next {
    right: 12px;
  }

  body[data-page="index"] .resource-carousel-footer {
    min-height: 26px;
    margin-top: 2px;
  }

  body[data-page="index"] .resource-mobile-action {
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }

  body[data-page="index"] .resource-mobile-action .btn {
    min-height: 44px;
    padding: 10px 18px;
  }

  /* Products catalog: mobile-only storefront. */
  body[data-page="products"] .tl-hero {
    position: relative;
    padding: 18px 0 22px !important;
    overflow: hidden;
    text-align: left;
    background: linear-gradient(180deg, rgba(246, 247, 255, .98), rgba(255, 255, 255, 0));
  }

  body[data-page="products"] .tl-hero::before {
    display: none;
  }

  body[data-page="products"] .tl-hero-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="products"] .tl-hero-badge {
    align-self: flex-start;
    min-height: 28px;
    margin: 0 0 10px;
    padding: 5px 9px;
    border: 1px solid rgba(91, 76, 226, .14);
    border-radius: 7px;
    background: rgba(255, 255, 255, .88);
    box-shadow: none;
    font-size: 9px;
    line-height: 1.2;
  }

  body[data-page="products"] .tl-hero-badge-spark {
    font-size: 12px;
  }

  body[data-page="products"] .tl-hero-title {
    max-width: 330px;
    margin: 0;
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.04;
    letter-spacing: 0;
    text-align: left;
  }

  body[data-page="products"] .tl-hero-desc {
    max-width: 520px;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
  }

  body[data-page="products"] .tl-search-wrap {
    width: 100%;
    max-width: none;
    margin: 17px 0 0;
  }

  body[data-page="products"] .tl-search-wrap form {
    position: relative;
    width: 100%;
  }

  body[data-page="products"] .tl-search-icon {
    left: 14px;
    z-index: 2;
  }

  body[data-page="products"] .tl-search-icon svg {
    width: 17px;
    height: 17px;
  }

  body[data-page="products"] .tl-search-input {
    height: 52px;
    padding: 0 54px 0 43px;
    border: 1px solid rgba(91, 76, 226, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .97);
    font-size: 16px;
    box-shadow: 0 12px 30px rgba(44, 37, 94, .09);
  }

  body[data-page="products"] .tl-search-input:focus {
    border-color: var(--mobile-purple);
    box-shadow: 0 0 0 3px rgba(91, 76, 226, .11), 0 12px 30px rgba(44, 37, 94, .09);
  }

  body[data-page="products"] .tl-search-submit {
    right: 6px;
    width: 40px;
    height: 40px;
    border-radius: 7px;
    box-shadow: none;
  }

  body[data-page="products"] .tl-search-hint {
    display: none;
  }

  body[data-page="products"] .tl-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 12px 0 0;
  }

  body[data-page="products"] .tl-stat-pill {
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 6px 3px;
    border: 1px solid rgba(91, 76, 226, .1);
    border-radius: 7px;
    background: rgba(255, 255, 255, .72);
    box-shadow: none;
    font-size: 8px;
    line-height: 1.15;
    text-align: center;
  }

  body[data-page="products"] .tl-stat-pill strong {
    display: block;
    margin-bottom: 1px;
    color: var(--ink-strong);
    font-size: 10px;
  }

  body[data-page="products"] .tl-stat-icon-box {
    width: 20px;
    height: 20px;
  }

  body[data-page="products"] .tl-stat-icon-box svg {
    width: 12px;
    height: 12px;
  }

  body[data-page="products"] section.block {
    padding: 4px 0 28px !important;
  }

  body[data-page="products"] .tl-filters {
    width: calc(100% + (var(--mobile-gutter) * 2));
    margin: 0 0 14px calc(var(--mobile-gutter) * -1);
    padding: 4px var(--mobile-gutter) 8px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  body[data-page="products"] .tl-filters::-webkit-scrollbar {
    display: none;
  }

  body[data-page="products"] .tl-chip {
    min-height: 38px;
    flex: 0 0 auto;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--mobile-line);
    border-radius: 7px;
    background: var(--mobile-surface);
    color: var(--muted);
    font-size: 10px;
    box-shadow: 0 5px 15px rgba(44, 37, 94, .04);
    scroll-snap-align: start;
  }

  body[data-page="products"] .tl-chip svg {
    width: 14px;
    height: 14px;
  }

  body[data-page="products"] .tl-chip.active {
    border-color: var(--mobile-purple);
    background: var(--mobile-purple);
    color: #fff;
    box-shadow: 0 7px 16px rgba(91, 76, 226, .22);
  }

  body[data-page="products"] .tl-chip-count {
    min-width: 19px;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 8px;
    text-align: center;
  }

  body[data-page="products"] .tl-controls {
    z-index: 140;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 8px;
    border: 1px solid var(--mobile-line);
    border-radius: 8px;
    background: var(--mobile-surface);
    box-shadow: 0 8px 24px rgba(44, 37, 94, .06);
    backdrop-filter: blur(14px);
  }

  body[data-page="products"] .tl-results-count {
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding-left: 2px;
    font-size: 10px;
    white-space: nowrap;
  }

  body[data-page="products"] .tl-results-count b {
    min-width: 25px;
    height: 23px;
    margin: 0 4px;
    padding: 0 5px;
    border-radius: 6px;
    font-size: 10px;
  }

  body[data-page="products"] .tl-controls-right {
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  body[data-page="products"] .tl-sort {
    width: 124px;
    min-width: 0;
  }

  body[data-page="products"] .tl-sort-trigger {
    height: 40px;
    gap: 6px;
    padding: 4px 25px 4px 5px;
    border-radius: 7px;
    box-shadow: none;
  }

  body[data-page="products"] .tl-sort-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    box-shadow: none;
  }

  body[data-page="products"] .tl-sort-label {
    display: none;
  }

  body[data-page="products"] .tl-sort-value {
    font-size: 9px;
  }

  body[data-page="products"] .tl-sort-chevron {
    right: 7px;
    width: 14px;
    height: 14px;
  }

  body[data-page="products"] .tl-sort-menu {
    position: fixed;
    z-index: 1200;
    top: auto;
    right: var(--mobile-gutter);
    bottom: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px) + 14px);
    left: var(--mobile-gutter);
    width: auto;
    max-height: min(420px, calc(100vh - 150px));
    overflow-y: auto;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(25, 21, 60, .26);
    transform-origin: bottom center;
  }

  body[data-page="products"] .tl-sort-option {
    min-height: 51px;
    border-radius: 7px;
  }

  body[data-page="products"] .tl-view-toggle {
    width: auto;
    height: 40px;
    padding: 3px;
    gap: 2px;
    border-radius: 7px;
  }

  body[data-page="products"] .tl-view-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
  }

  body[data-page="products"] .tl-view-btn svg {
    width: 15px;
    height: 15px;
  }

  body[data-page="products"] .tl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  body[data-page="products"] .tl-card-wrapper {
    min-width: 0;
  }

  body[data-page="products"] .tl-card {
    min-width: 0;
    border: 1px solid rgba(91, 76, 226, .13);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(44, 37, 94, .07);
    transform: none;
  }

  body[data-page="products"] .tl-card:hover {
    transform: none;
    box-shadow: 0 8px 22px rgba(44, 37, 94, .07);
  }

  body[data-page="products"] .tl-card-top {
    width: calc(100% - 10px);
    aspect-ratio: 1.22 / 1;
    margin: 5px 5px 0;
    border-radius: 6px;
  }

  body[data-page="products"] .tl-card-img {
    border-radius: 6px;
  }

  body[data-page="products"] .tl-card-img.icon-mode {
    width: 48%;
    height: 64%;
    padding: 5px;
    border-radius: 12px;
  }

  body[data-page="products"] .tl-initial {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 20px;
  }

  body[data-page="products"] .tl-badges {
    top: 5px;
    right: 5px;
    left: 5px;
    gap: 3px;
  }

  body[data-page="products"] .tl-badge {
    max-width: 58%;
    overflow: hidden;
    padding: 4px 5px;
    border-radius: 4px;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: none;
  }

  body[data-page="products"] .tl-card-top>.wishlist-toggle {
    top: auto;
    right: 5px;
    bottom: 5px;
    width: 29px;
    min-width: 29px;
    height: 29px;
    padding: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 12px rgba(25, 21, 60, .12);
  }

  body[data-page="products"] .tl-card-top>.wishlist-toggle svg {
    width: 13px;
    height: 13px;
  }

  body[data-page="products"] .tl-card-top>.wishlist-toggle .wishlist-label {
    display: none;
  }

  body[data-page="products"] .tl-card-body {
    min-width: 0;
    padding: 8px 8px 9px;
    gap: 6px;
    border-radius: 0 0 8px 8px;
  }

  body[data-page="products"] .tl-category-label {
    font-size: 7px;
    letter-spacing: 0;
  }

  body[data-page="products"] .tl-verified,
  body[data-page="products"] .tl-title-arrow,
  body[data-page="products"] .tl-rating,
  body[data-page="products"] .tl-desc {
    display: none;
  }

  body[data-page="products"] .tl-title-row {
    gap: 4px;
  }

  body[data-page="products"] .tl-title {
    min-height: 2.5em;
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="products"] .tl-compact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  body[data-page="products"] .tl-compact-meta span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--muted);
    font-size: 7px;
    line-height: 1.2;
    white-space: nowrap;
  }

  body[data-page="products"] .tl-compact-meta svg {
    width: 9px;
    height: 9px;
  }

  body[data-page="products"] .tl-meta-rating {
    color: #9a6500 !important;
  }

  body[data-page="products"] .tl-price-row {
    min-width: 0;
    flex-wrap: wrap;
    gap: 3px 5px;
    margin: auto 0 0;
    padding-top: 7px;
  }

  body[data-page="products"] .tl-price {
    max-width: 100%;
    font-size: clamp(14px, 4.2vw, 18px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  body[data-page="products"] .tl-price-old {
    font-size: 8px;
  }

  body[data-page="products"] .tl-actions {
    gap: 5px;
    margin-top: 2px;
  }

  body[data-page="products"] .tl-btn-get {
    min-width: 0;
    min-height: 40px;
    padding: 7px 4px;
    border-radius: 6px;
    font-size: 9px;
    line-height: 1.15;
    box-shadow: none;
  }

  body[data-page="products"] .tl-btn-cart {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  body[data-page="products"] .tl-btn-cart svg {
    width: 15px;
    height: 15px;
  }

  /* Rich list mode keeps one product visible per row. */
  body[data-page="products"] .tl-grid.list-view {
    grid-template-columns: 1fr !important;
    gap: 11px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-card {
    min-height: 184px;
    padding: 6px;
    flex-direction: row;
    align-items: stretch;
    border-radius: 8px;
    background: #fff;
  }

  body[data-page="products"] .tl-grid.list-view .tl-card::before {
    top: 16%;
    bottom: 16%;
    width: 2px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-card-top {
    width: 37%;
    min-width: 112px;
    min-height: 172px;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 6px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-card-img,
  body[data-page="products"] .tl-grid.list-view .tl-card-top::after {
    border-radius: 6px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-card-img.icon-mode {
    width: 62px;
    height: 62px;
    padding: 7px;
    border-radius: 15px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-card-body {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    padding: 8px 7px 7px 10px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-card-kicker {
    justify-content: flex-start;
  }

  body[data-page="products"] .tl-grid.list-view .tl-verified {
    display: inline-flex;
    padding: 2px 5px;
    font-size: 7px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-title {
    min-height: 0;
    font-size: 14px;
    line-height: 1.2;
  }

  body[data-page="products"] .tl-grid.list-view .tl-compact-meta {
    display: none;
  }

  body[data-page="products"] .tl-grid.list-view .tl-rating {
    display: flex;
    gap: 3px;
    font-size: 8px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-stars {
    font-size: 9px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-sold-count {
    display: none;
  }

  body[data-page="products"] .tl-grid.list-view .tl-desc {
    min-height: 0;
    display: -webkit-box !important;
    font-size: 9px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  body[data-page="products"] .tl-grid.list-view .tl-price-row {
    justify-content: flex-start;
    margin-top: auto;
    padding: 6px 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  body[data-page="products"] .tl-grid.list-view .tl-price {
    font-size: 18px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-actions {
    width: 100%;
    margin-top: 1px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-btn-get,
  body[data-page="products"] .tl-grid.list-view .tl-btn-cart {
    min-height: 38px;
    height: 38px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-btn-get {
    font-size: 10px;
  }

  body[data-page="products"] .tl-grid.list-view .tl-btn-cart {
    width: 38px;
    min-width: 38px;
  }

  body[data-page="products"] .tl-empty {
    padding: 38px 18px;
    border: 1px solid var(--mobile-line);
    border-radius: 8px;
    background: var(--mobile-surface);
  }

  body[data-page="products"] .tl-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
  }

  [data-theme="dark"] body[data-page="products"] .tl-hero,
  body[data-theme="dark"][data-page="products"] .tl-hero {
    background: linear-gradient(180deg, rgba(19, 21, 40, .98), rgba(19, 21, 40, 0));
  }

  [data-theme="dark"] body[data-page="products"] .tl-hero-badge,
  [data-theme="dark"] body[data-page="products"] .tl-stat-pill,
  body[data-theme="dark"][data-page="products"] .tl-hero-badge,
  body[data-theme="dark"][data-page="products"] .tl-stat-pill {
    background: rgba(25, 28, 50, .88);
  }

  [data-theme="dark"] body[data-page="products"] .tl-search-input,
  body[data-theme="dark"][data-page="products"] .tl-search-input {
    background: rgba(22, 25, 46, .97);
  }

  [data-theme="dark"] body[data-page="products"] .tl-card,
  [data-theme="dark"] body[data-page="products"] .tl-grid.list-view .tl-card,
  body[data-theme="dark"][data-page="products"] .tl-card,
  body[data-theme="dark"][data-page="products"] .tl-grid.list-view .tl-card {
    border-color: var(--mobile-line);
    background: var(--card);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
  }

  @media (max-width: 370px) {
    body[data-page="products"] .tl-controls {
      grid-template-columns: 1fr;
    }

    body[data-page="products"] .tl-results-count {
      min-height: 24px;
    }

    body[data-page="products"] .tl-controls-right {
      width: 100%;
    }

    body[data-page="products"] .tl-sort {
      flex: 1;
      width: auto;
    }

    body[data-page="products"] .tl-grid {
      gap: 7px;
    }

    body[data-page="products"] .tl-card-body {
      padding: 7px 6px 8px;
    }

    body[data-page="products"] .tl-title {
      font-size: 11px;
    }

    body[data-page="products"] .tl-meta-access {
      display: none !important;
    }

    body[data-page="products"] .tl-btn-get {
      font-size: 8px;
    }

    body[data-page="products"] .tl-grid.list-view .tl-card-top {
      width: 35%;
      min-width: 102px;
    }
  }

  /* --- Exact Mockup Match Mobile App Products Page Redesign --- */

  body[data-page="products"] .tl-hero {
    padding: 55px var(--mobile-gutter) 16px !important;
    text-align: left !important;
    background: transparent !important;
    border: none !important;
    background-image: linear-gradient(var(--mobile-line) 1px, transparent 1px), linear-gradient(90deg, var(--mobile-line) 1px, transparent 1px) !important;
    background-size: 30px 30px !important;
    background-position: center !important;
  }

  [data-theme="dark"] body[data-page="products"] .tl-hero {
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
  }

  body[data-page="products"] .tl-hero-container {
    padding: 0 !important;
  }

  body[data-page="products"] .tl-hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 245, 255, 0.9)) !important;
    padding: 24px 20px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 24px !important;
  }

  [data-theme="dark"] body[data-page="products"] .tl-hero-card {
    background: linear-gradient(135deg, rgba(30, 34, 61, 0.9), rgba(20, 23, 42, 0.95)) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
  }

  body[data-page="products"] .tl-hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    background: rgba(91, 76, 226, 0.1) !important;
    color: #4437a3 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border-radius: 30px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(68, 55, 163, 0.1) !important;
  }

  [data-theme="dark"] body[data-page="products"] .tl-hero-badge {
    background: rgba(91, 76, 226, 0.15) !important;
    color: #a49aff !important;
  }

  body[data-page="products"] .tl-hero-title {
    display: block !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.04em !important;
    color: #2b2569 !important;
  }

  [data-theme="dark"] body[data-page="products"] .tl-hero-title {
    color: #fff !important;
  }

  body[data-page="products"] .tl-hero-desc {
    display: block !important;
    font-size: 13.5px !important;
    color: #64748b !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
  }

  body[data-page="products"] .tl-stats-strip,
  body[data-page="products"] .tl-filters {
    display: none !important;
  }

  body[data-page="products"] .tl-search-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  body[data-page="products"] #searchForm {
    flex: 1 !important;
  }

  body[data-page="products"] .tl-search-input {
    height: 52px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    padding-left: 44px !important;
    background: var(--card) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid var(--mobile-line) !important;
  }

  body[data-page="products"] .tl-search-icon {
    left: 14px !important;
    color: #64748b !important;
    z-index: 2 !important;
  }

  body[data-page="products"] .tl-search-hint {
    display: none !important;
  }

  body[data-page="products"] .tl-mobile-filter-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    background: var(--card) !important;
    border: 1px solid var(--mobile-line) !important;
    border-radius: 16px !important;
    color: var(--ink-strong) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer !important;
  }

  body[data-page="products"] .block {
    padding-top: 0 !important;
  }

  body[data-page="products"] .tl-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
    border: none !important;
    padding: 0 !important;
  }

  body[data-page="products"] .tl-results-count {
    font-size: 14px !important;
    color: var(--muted) !important;
    margin-left: 4px !important;
  }

  body[data-page="products"] .tl-controls-right {
    width: auto !important;
  }

  body[data-page="products"] .tl-sort-trigger,
  body[data-page="products"] .tl-view-toggle {
    display: none !important;
  }

  body[data-page="products"] .tl-sort-menu {
    position: fixed !important;
    top: auto !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90vw !important;
    max-width: 380px !important;
    z-index: 999999 !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(30, 34, 61, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    padding: 12px !important;
  }

  body[data-page="products"] .tl-sort-menu[hidden] {
    display: none !important;
  }

  body[data-page="products"] .tl-sort-menu-head {
    color: #fff !important;
  }

  body[data-page="products"] .tl-sort-option {
    background: transparent !important;
    color: #fff !important;
    border-radius: 12px !important;
  }

  body[data-page="products"] .tl-sort-option.is-selected {
    background: rgba(255, 255, 255, 0.1) !important;
  }

  body[data-page="products"] .tl-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* --- EXACT MOCKUP MATCH FOR PRODUCT CARDS --- */
  body[data-page="products"] .tl-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body[data-page="products"] .tl-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  [data-theme="dark"] body[data-page="products"] .tl-card {
    background: var(--card) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  /* Top Logo Container */
  body[data-page="products"] .tl-card-top {
    aspect-ratio: 1.25 / 1 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    padding: 8px !important;
    margin-bottom: 8px !important;
    border: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
  }

  body[data-page="products"] .tl-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  body[data-page="products"] .tl-card-img.icon-mode {
    width: 65% !important;
    height: 65% !important;
    max-width: none !important;
    margin: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
  }

  body[data-page="products"] .tl-initial {
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
    background: rgba(91, 76, 226, 0.1) !important;
    color: #5b4ce2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    font-weight: 900 !important;
  }

  /* Hide elements not present in mockup */
  .tl-card .wishlist-toggle,
  .tl-card .tl-badge:not(.off),
  .tl-card .tl-title-arrow,
  .tl-card .tl-category-label,
  .tl-card .tl-rating,
  .tl-card .tl-desc,
  .tl-card .tl-meta-rating {
    display: none !important;
  }

  /* Red Discount Pill (Top Right) */
  .tl-card .tl-badge.off {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    left: auto !important;
    background: #ff385c !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 4px 8px !important;
    border-radius: 20px !important;
    border: none !important;
    z-index: 2 !important;
  }

  /* Card Body Flex Wrap Layout */
  .tl-card-body {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    align-items: center !important;
  }

  /* 1. Title Row (First) - Reduced Bottom Margin */
  .tl-title-row {
    width: 100% !important;
    order: 1 !important;
    margin-bottom: 2px !important;
  }

  .tl-title-row h3,
  .tl-title a {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #1e1b4b !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }

  [data-theme="dark"] .tl-title a {
    color: #ffffff !important;
  }

  /* 2. Meta Row (Second: Verified | Instant ON 1 SINGLE LINE) */
  .tl-card-kicker {
    width: auto !important;
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
    background: transparent !important;
    gap: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .tl-verified {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #10b981 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
  }

  .tl-verified::after {
    content: "|" !important;
    margin: 0 4px !important;
    color: #cbd5e1 !important;
    font-weight: 400 !important;
    opacity: 0.7 !important;
  }

  .tl-compact-meta {
    width: auto !important;
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
    background: transparent !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .tl-meta-access {
    color: #4f46e5 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
  }

  /* 3. Price Row (Third) */
  .tl-price-row {
    width: 100% !important;
    order: 4 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
    margin-top: 2px !important;
    border-top: none !important;
    padding-top: 0 !important;
  }

  .tl-price {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #1e1b4b !important;
  }

  [data-theme="dark"] .tl-price {
    color: #ffffff !important;
  }

  .tl-price-old {
    font-size: 11px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
  }

  /* 4. Actions Row (Fourth) */
  .tl-actions {
    width: 100% !important;
    order: 5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  body[data-page="products"] .tl-btn-get {
    flex: 1 !important;
    background: #2b2569 !important;
    color: #ffffff !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
  }

  body[data-page="products"] .tl-btn-cart {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e1b4b !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  [data-theme="dark"] body[data-page="products"] .tl-btn-cart {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
  }

  [data-theme="dark"] body[data-page="products"] .tl-btn-cart {
    color: #fff !important;
  }

  body.mobile-filter-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
  }

  /* Mobile Filter Modal - Centered Popup Style */
  .tl-mobile-filter-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 99999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    touch-action: none !important;
    cursor: pointer;
  }

  .tl-mobile-filter-modal[hidden] {
    display: none !important;
  }

  .tl-mobile-filter-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 17, 32, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 1 !important;
  }

  .tl-mobile-filter-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 380px !important;
    background: var(--card) !important;
    border-radius: 24px !important;
    padding: 20px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--mobile-line) !important;
    touch-action: pan-y !important;
    cursor: default;
  }

  .tl-mobile-filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .tl-mobile-filter-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink-strong);
  }

  .tl-mobile-filter-close {
    background: transparent;
    border: none;
    color: var(--ink-strong);
    padding: 4px;
  }

  .tl-mobile-filter-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .tl-mobile-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }

  .tl-mobile-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: var(--ink-strong);
    border: 1px solid var(--mobile-line);
    text-decoration: none;
  }

  .tl-mobile-chip.active {
    background: #5b4ce2;
    color: #fff;
    border-color: #5b4ce2;
  }

  .tl-mobile-chip .tl-chip-count {
    opacity: 0.7;
    font-size: 11px;
  }

  .tl-mobile-sort-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .tl-mobile-sort-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid var(--mobile-line);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-strong);
    text-align: left;
  }

  .tl-mobile-sort-btn.is-selected {
    border-color: #5b4ce2;
    background: rgba(91, 76, 226, 0.05);
  }

  .tl-sort-check {
    margin-left: auto;
    color: #5b4ce2;
  }


  body[data-page="product"] {
    --pd-accent: #5b4ce2;
    --pd-accent-dark: #4134bc;
    --pd-soft: #f6f5ff;
    --pd-line: rgba(71, 61, 150, .14);
    --pd-shadow: 0 10px 28px rgba(38, 31, 91, .08);
    padding-bottom: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px) + 92px);
  }

  body[data-page="product"]>.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-inline: var(--mobile-gutter);
  }

  body[data-page="product"] .pd-crumb {
    width: calc(100% + (var(--mobile-gutter) * 2));
    margin: 0 0 14px calc(var(--mobile-gutter) * -1);
    padding: 11px var(--mobile-gutter);
    overflow: hidden;
    border-bottom: 1px solid var(--pd-line);
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="product"] .pd-crumb a {
    color: var(--pd-accent-dark);
    font-weight: 700;
  }

  body[data-page="product"] .pd-grid,
  body[data-page="product"] .pd-right-col {
    display: contents;
  }

  body[data-page="product"] .pd-crumb {
    order: 0;
  }

  body[data-page="product"] .pd-left-col {
    position: static;
    min-width: 0;
    order: 1;
    margin-bottom: 17px;
  }

  body[data-page="product"] .pd-badges {
    order: 2;
  }

  body[data-page="product"] .pd-title {
    order: 3;
  }

  body[data-page="product"] .pd-rating {
    order: 4;
  }

  body[data-page="product"] .pd-desc {
    order: 5;
    margin-bottom: 20px;
  }

  body[data-page="product"] .pd-plans-section {
    order: 6;
  }

  body[data-page="product"] .pd-trust-row {
    order: 7;
  }

  body[data-page="product"] .pd-pay-row {
    order: 8;
  }

  body[data-page="product"] .pd-guarantees {
    order: 9;
  }

  body[data-page="product"] .pd-tabs-wrap {
    order: 10;
  }

  body[data-page="product"] .pd-related-head {
    order: 11;
  }

  body[data-page="product"] .pd-related-grid {
    order: 12;
  }

  body[data-page="product"] .pd-imgwrap {
    position: relative;
    padding: 7px;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: var(--mobile-surface);
    box-shadow: var(--pd-shadow);
  }

  body[data-page="product"] .pd-imgwrap .glow {
    display: none;
  }

  body[data-page="product"] .pd-imgcard {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(145deg, #f7f8ff, #eceeff);
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }

  body[data-page="product"] .pd-imgcard:hover {
    transform: none;
    box-shadow: none;
  }

  body[data-page="product"] .pd-imgcard img {
    position: static;
    width: 46%;
    height: 62%;
    max-width: 154px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(28, 25, 69, .13));
    transform: none;
  }

  body[data-page="product"] .pd-imgcard:hover img {
    transform: none;
  }

  body[data-page="product"] .pd-imgcard .initial {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 8px;
    background: var(--pd-accent);
    color: #fff;
    font-size: 38px;
    box-shadow: 0 12px 24px rgba(91, 76, 226, .22);
  }

  body[data-page="product"] .pd-vbadge,
  body[data-page="product"] .pd-stock {
    z-index: 2;
    min-height: 27px;
    border-radius: 6px;
    box-shadow: none;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
  }

  body[data-page="product"] .pd-vbadge {
    top: 9px;
    left: 9px;
    padding: 6px 8px;
    border: 1px solid rgba(91, 76, 226, .16);
    background: rgba(255, 255, 255, .94);
    color: var(--pd-accent-dark);
  }

  body[data-page="product"] .pd-stock {
    right: 9px;
    bottom: 9px;
    left: 9px;
    justify-content: center;
    width: auto;
    padding: 6px 9px;
    border: 1px solid rgba(25, 169, 116, .18);
    background: rgba(243, 255, 250, .95);
    color: #087853;
  }

  body[data-page="product"] .pd-stock .dot {
    width: 6px;
    height: 6px;
  }

  body[data-page="product"] .pd-proof-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 8px 0 0 !important;
    padding: 9px 10px;
    border: 1px solid var(--pd-line);
    border-radius: 7px;
    background: var(--mobile-surface);
    color: var(--muted);
    font-size: 9px;
    box-shadow: none;
  }

  body[data-page="product"] .pd-proof-strip>span:not(.pd-proof-dot) {
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
  }

  body[data-page="product"] .pd-proof-strip svg {
    width: 13px;
    height: 13px;
    color: var(--pd-accent);
  }

  body[data-page="product"] .pd-proof-dot {
    width: 1px;
    height: 20px;
    border-radius: 0;
    background: var(--pd-line);
  }

  body[data-page="product"] .pd-right-col {
    min-width: 0;
    gap: 0;
  }

  body[data-page="product"] .pd-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 11px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body[data-page="product"] .pd-badges::-webkit-scrollbar {
    display: none;
  }

  body[data-page="product"] .pd-badges .cat-chip,
  body[data-page="product"] .pd-badges .tagb,
  body[data-page="product"] .pd-badges .offb {
    min-height: 28px;
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 8px;
    letter-spacing: 0;
    box-shadow: none;
  }

  body[data-page="product"] .wishlist-detail {
    width: 36px;
    min-width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    flex: 0 0 36px;
    justify-content: center;
    border: 1px solid var(--pd-line);
    border-radius: 7px;
    background: var(--mobile-surface);
    box-shadow: none;
  }

  body[data-page="product"] .wishlist-detail .wishlist-label {
    display: none;
  }

  body[data-page="product"] .pd-title {
    max-width: 620px;
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(25px, 7.7vw, 34px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  body[data-page="product"] .pd-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
  }

  body[data-page="product"] .pd-rating .stars {
    font-size: 11px;
    letter-spacing: 0;
  }

  body[data-page="product"] .pd-rating svg {
    width: 13px;
    height: 13px;
  }

  body[data-page="product"] .pd-desc {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
  }

  body[data-page="product"] .pd-trust-row {
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 0;
  }

  body[data-page="product"] .pd-trust-cell {
    min-height: 55px;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid var(--pd-line);
    border-radius: 7px;
    background: var(--mobile-surface);
    box-shadow: none;
    transform: none;
  }

  body[data-page="product"] .pd-trust-cell:hover {
    transform: none;
  }

  body[data-page="product"] .pd-trust-cell>svg {
    width: 30px;
    height: 30px;
    padding: 7px;
    flex: 0 0 30px;
    border-radius: 7px;
    background: var(--pd-soft);
    color: var(--pd-accent);
  }

  body[data-page="product"] .pd-trust-cell strong {
    font-size: 11px;
    line-height: 1.2;
  }

  body[data-page="product"] .pd-trust-cell span {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.3;
  }

  body[data-page="product"] .pd-pay-row {
    gap: 6px;
    margin: 9px 0 0;
    padding: 0 0 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body[data-page="product"] .pd-pay-row::-webkit-scrollbar {
    display: none;
  }

  body[data-page="product"] .pd-pay-chip {
    min-height: 34px;
    flex: 0 0 auto;
    gap: 5px;
    padding: 7px 9px;
    border: 1px solid var(--pd-line);
    border-radius: 7px;
    background: var(--mobile-surface);
    font-size: 9px;
    box-shadow: none;
  }

  body[data-page="product"] .pd-pay-chip img,
  body[data-page="product"] .pd-pay-chip svg {
    width: 14px;
    height: 14px;
    object-fit: contain;
  }

  body[data-page="product"] .pd-plans-section {
    width: calc(100% + (var(--mobile-gutter) * 2));
    max-width: none;
    margin: 0 0 14px calc(var(--mobile-gutter) * -1);
    padding: 20px var(--mobile-gutter) 18px;
    border-block: 1px solid var(--pd-line);
    background: linear-gradient(180deg, rgba(246, 245, 255, .9), rgba(255, 255, 255, .78));
  }

  body[data-page="product"] .pd-plans-title {
    margin: 0 0 15px;
    font-size: 22px;
    line-height: 1.15;
    text-align: left;
    letter-spacing: 0;
  }

  body[data-page="product"] .pd-plans-title::after {
    width: 34px;
    height: 3px;
    margin: 8px 0 0;
    animation: none;
  }

  body[data-page="product"] .pd-plans-title .pt-glow {
    background: none;
    color: var(--pd-accent);
    -webkit-text-fill-color: currentColor;
    animation: none;
  }

  body[data-page="product"] .pd-plans-grid,
  body[data-page="product"] .pd-plans-count-1,
  body[data-page="product"] .pd-plans-count-2,
  body[data-page="product"] .pd-plans-count-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  body[data-page="product"] .pd-plan-card {
    width: 100%;
    min-width: 0;
    padding: 16px 13px 13px;
    overflow: visible;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: var(--mobile-surface);
    box-shadow: 0 8px 24px rgba(38, 31, 91, .07);
    opacity: 1;
    transform: none;
  }

  body[data-page="product"] .pd-plan-card.pd-plan-popular {
    margin-top: 7px;
    border: 2px solid var(--pd-accent);
    box-shadow: 0 12px 30px rgba(91, 76, 226, .13);
  }

  body[data-page="product"] .pd-plan-card:hover,
  body[data-page="product"] .pd-plan-card.pd-visible {
    opacity: 1;
    transform: none;
  }

  body[data-page="product"] .pd-plan-badge {
    top: -10px;
    right: 12px;
    left: auto;
    min-height: 22px;
    padding: 5px 8px;
    border-radius: 5px;
    background: var(--pd-accent);
    font-size: 8px;
    letter-spacing: 0;
    transform: none;
    animation: none;
  }

  body[data-page="product"] .pd-plan-label {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  body[data-page="product"] .pd-plan-price-row {
    min-width: 0;
    flex-wrap: wrap;
    gap: 5px 7px;
  }

  body[data-page="product"] .pd-plan-price {
    max-width: 100%;
    color: var(--ink-strong);
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  body[data-page="product"] .pd-plan-old {
    color: var(--muted);
    font-size: 11px;
  }

  body[data-page="product"] .pd-plan-off {
    padding: 4px 6px;
    border-radius: 5px;
    font-size: 8px;
  }

  body[data-page="product"] .pd-plan-save {
    width: fit-content;
    margin: 9px 0 0;
    padding: 5px 7px;
    border-radius: 5px;
    background: rgba(25, 169, 116, .09);
    color: #087853;
    font-size: 9px;
  }

  body[data-page="product"] .pd-plan-form {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 8px;
    margin-top: 13px;
  }

  body[data-page="product"] .pd-plan-qty {
    width: 106px;
    height: 46px;
    padding: 3px;
    border: 1px solid var(--pd-line);
    border-radius: 7px;
    background: var(--pd-soft);
  }

  body[data-page="product"] .pd-plan-qty .qty-btn {
    width: 31px;
    height: 38px;
    border-radius: 6px;
    font-size: 17px;
  }

  body[data-page="product"] .pd-plan-qty .qty-input {
    min-width: 0;
    width: 36px;
    font-size: 13px;
  }

  body[data-page="product"] .pd-plan-buy,
  body[data-page="product"] .pd-plan-wa {
    min-width: 0;
    min-height: 46px;
    border-radius: 7px;
    font-size: 11px;
    box-shadow: none;
  }

  body[data-page="product"] .pd-plan-buy {
    margin: 0;
  }

  body[data-page="product"] .pd-plan-wa {
    width: 100%;
    margin-top: 8px;
    background: #159a59;
  }

  body[data-page="product"] .pd-guarantees {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 14px 0 15px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="product"] .pd-guarantees>span:not(.pd-g-dot) {
    min-width: 0;
    min-height: 60px;
    padding: 8px 4px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--pd-line);
    border-radius: 7px;
    background: var(--mobile-surface);
    font-size: 8px;
    line-height: 1.25;
    text-align: center;
  }

  body[data-page="product"] .pd-guarantees svg {
    width: 17px;
    height: 17px;
  }

  body[data-page="product"] .pd-g-dot {
    display: none;
  }

  body[data-page="product"] .pd-tabs-wrap {
    width: calc(100% + (var(--mobile-gutter) * 2));
    max-width: none;
    margin: 0 0 25px calc(var(--mobile-gutter) * -1);
    padding: 0 var(--mobile-gutter);
  }

  body[data-page="product"] .pd-tab-bar {
    width: calc(100% + (var(--mobile-gutter) * 2));
    margin-left: calc(var(--mobile-gutter) * -1);
    padding: 5px var(--mobile-gutter) 8px;
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body[data-page="product"] .pd-tab-bar::-webkit-scrollbar {
    display: none;
  }

  body[data-page="product"] .pd-tab-btn {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid var(--pd-line);
    border-radius: 7px;
    background: var(--mobile-surface);
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0;
    scroll-snap-align: start;
  }

  body[data-page="product"] .pd-tab-btn.pd-tab-on {
    border-color: var(--pd-accent);
    background: var(--pd-accent);
    color: #fff;
    box-shadow: 0 6px 15px rgba(91, 76, 226, .2);
  }

  body[data-page="product"] .pd-tab-pane.pd-tab-on {
    display: block;
    padding-top: 4px;
    animation: none;
  }

  body[data-page="product"] .inc-grid,
  body[data-page="product"] .facts-grid-v2,
  body[data-page="product"] .rev-grid-v2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  body[data-page="product"] .inc-item,
  body[data-page="product"] .fact-v2,
  body[data-page="product"] .pd-step,
  body[data-page="product"] .rev-card-v2 {
    min-width: 0;
    border: 1px solid var(--pd-line);
    border-radius: 7px;
    background: var(--mobile-surface);
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  body[data-page="product"] .inc-item,
  body[data-page="product"] .fact-v2 {
    min-height: 54px;
    padding: 11px;
  }

  body[data-page="product"] .inc-item,
  body[data-page="product"] .fact-v2,
  body[data-page="product"] .pd-step-body p,
  body[data-page="product"] .rev-text {
    font-size: 11px;
    line-height: 1.5;
  }

  body[data-page="product"] .inc-check {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 6px;
  }

  body[data-page="product"] .fact-v2 {
    display: grid;
    grid-template-columns: minmax(88px, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 9px;
  }

  body[data-page="product"] .fact-label {
    font-size: 9px;
  }

  body[data-page="product"] .fact-val {
    min-width: 0;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  body[data-page="product"] .pd-steps {
    gap: 8px;
  }

  body[data-page="product"] .pd-step {
    gap: 10px;
    padding: 12px 11px;
  }

  body[data-page="product"] .pd-step-num {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 7px;
    font-size: 12px;
  }

  body[data-page="product"] .pd-step-body h3 {
    margin-bottom: 3px;
    font-size: 12px;
  }

  body[data-page="product"] .rev-card-v2 {
    padding: 12px;
  }

  body[data-page="product"] .rev-top {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  body[data-page="product"] .rev-av {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    font-size: 12px;
  }

  body[data-page="product"] .rev-name {
    font-size: 11px;
  }

  body[data-page="product"] .rev-city,
  body[data-page="product"] .rev-verified {
    font-size: 8px;
  }

  body[data-page="product"] .rev-stars {
    font-size: 9px;
    letter-spacing: 0;
  }

  body[data-page="product"] .faq-list {
    gap: 8px;
  }

  body[data-page="product"] .faq-item {
    border-color: var(--pd-line);
    border-radius: 7px;
    box-shadow: none;
  }

  body[data-page="product"] .faq-q {
    min-height: 52px;
    padding: 12px 42px 12px 12px;
    font-size: 11px;
    line-height: 1.4;
  }

  body[data-page="product"] .faq-q::after {
    right: 11px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  body[data-page="product"] .faq-a {
    padding-inline: 12px;
    font-size: 10px;
    line-height: 1.55;
  }

  body[data-page="product"] .faq-item.open .faq-a {
    padding: 0 12px 13px;
  }

  body[data-page="product"] .pd-related-head {
    margin: 0 0 11px;
  }

  body[data-page="product"] .pd-related-head h2 {
    font-size: 18px;
    letter-spacing: 0;
  }

  body[data-page="product"] .pd-related-all {
    gap: 4px;
    font-size: 9px;
  }

  body[data-page="product"] .pd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
  }

  body[data-page="product"] .pd-rel-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: var(--mobile-surface);
    box-shadow: 0 7px 20px rgba(38, 31, 91, .06);
    transform: none;
  }

  body[data-page="product"] .pd-rel-card:hover {
    transform: none;
  }

  body[data-page="product"] .pd-rel-img {
    aspect-ratio: 1.25 / 1;
    height: auto;
    margin: 5px 5px 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--pd-soft);
  }

  body[data-page="product"] .pd-rel-img img {
    width: 54%;
    height: 64%;
    object-fit: contain;
  }

  body[data-page="product"] .pd-rel-info {
    min-width: 0;
    padding: 8px;
  }

  body[data-page="product"] .pd-rel-name {
    min-height: 2.5em;
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="product"] .pd-rel-price {
    margin-top: 5px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  body[data-page="product"] .pd-rel-off {
    top: 9px;
    right: 9px;
    padding: 4px 5px;
    border-radius: 4px;
    font-size: 7px;
  }

  body[data-page="product"] .pd-mbar {
    z-index: 9500;
    right: var(--mobile-gutter);
    bottom: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px) + 8px);
    left: var(--mobile-gutter);
    width: auto;
    min-height: 64px;
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(91, 76, 226, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 38px rgba(27, 22, 69, .2);
    backdrop-filter: blur(18px);
  }

  body[data-page="product"] .pd-mbar .mprice {
    min-width: 76px;
    max-width: 32%;
    padding-left: 4px;
    color: var(--ink-strong);
    font-size: clamp(14px, 4.4vw, 19px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  body[data-page="product"] .pd-mbar .mprice small {
    margin-top: 3px;
    font-size: 8px;
  }

  body[data-page="product"] .pd-mbar .btn {
    min-width: 0;
    min-height: 48px;
    padding: 9px 11px;
    border-radius: 7px;
    font-size: 10px;
    box-shadow: none;
  }

  body[data-page="product"] .pd-mbar .btn-whatsapp {
    width: 48px;
    min-width: 48px;
    padding: 0;
  }

  body[data-page="product"] .pd-related-grid {
    padding-bottom: 8px;
  }

  [data-theme="dark"] body[data-page="product"],
  body[data-theme="dark"][data-page="product"] {
    --pd-soft: #1b1e37;
    --pd-line: rgba(148, 141, 213, .18);
    --pd-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  }

  [data-theme="dark"] body[data-page="product"] .pd-imgcard,
  body[data-theme="dark"][data-page="product"] .pd-imgcard {
    background: linear-gradient(145deg, #20243e, #181b30);
  }

  [data-theme="dark"] body[data-page="product"] .pd-vbadge,
  [data-theme="dark"] body[data-page="product"] .pd-stock,
  [data-theme="dark"] body[data-page="product"] .pd-mbar,
  body[data-theme="dark"][data-page="product"] .pd-vbadge,
  body[data-theme="dark"][data-page="product"] .pd-stock,
  body[data-theme="dark"][data-page="product"] .pd-mbar {
    background: rgba(24, 27, 48, .96);
  }

  [data-theme="dark"] body[data-page="product"] .pd-stock,
  body[data-theme="dark"][data-page="product"] .pd-stock {
    color: #65d6a9;
  }

  [data-theme="dark"] body[data-page="product"] .pd-plans-section,
  body[data-theme="dark"][data-page="product"] .pd-plans-section {
    background: linear-gradient(180deg, rgba(28, 30, 53, .96), rgba(19, 21, 40, .82));
  }

  @media (max-width: 370px) {
    body[data-page="product"] .pd-imgcard {
      aspect-ratio: 1.3 / 1;
    }

    body[data-page="product"] .pd-proof-strip {
      gap: 5px;
      padding-inline: 5px;
      font-size: 8px;
    }

    body[data-page="product"] .pd-title {
      font-size: 24px;
    }

    body[data-page="product"] .pd-plan-form {
      grid-template-columns: 98px minmax(0, 1fr);
      gap: 6px;
    }

    body[data-page="product"] .pd-plan-qty {
      width: 98px;
    }

    body[data-page="product"] .pd-plan-qty .qty-btn {
      width: 28px;
    }

    body[data-page="product"] .pd-mbar {
      right: 8px;
      left: 8px;
      gap: 5px;
      padding: 6px;
    }

    body[data-page="product"] .pd-mbar .mprice {
      min-width: 64px;
      font-size: 13px;
    }

    body[data-page="product"] .pd-mbar .btn {
      padding-inline: 7px;
      font-size: 9px;
    }

    body[data-page="product"] .pd-mbar .btn-whatsapp {
      width: 44px;
      min-width: 44px;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    body[data-page="product"] .pd-plan-card,
    body[data-page="product"] .inc-item,
    body[data-page="product"] .fact-v2,
    body[data-page="product"] .pd-step,
    body[data-page="product"] .rev-card-v2,
    body[data-page="product"] .pd-tab-pane,
    body[data-page="product"] .pd-plan-badge {
      animation: none !important;
      transition: none !important;
    }
  }

  /* Product detail refresh: a premium, touch-first purchase surface. */
  body[data-page="product"] {
    --pd-accent: #5d43cf;
    --pd-accent-dark: #382685;
    --pd-soft: #f4f2ff;
    --pd-line: rgba(47, 37, 104, .12);
    --pd-shadow: 0 16px 38px rgba(45, 34, 104, .1);
    background: color-mix(in srgb, var(--bg) 96%, #5d43cf 4%);
  }

  body[data-page="product"]>.container {
    gap: 0;
  }

  body[data-page="product"] .pd-crumb {
    margin-bottom: 18px;
    padding-top: 5px;
    padding-bottom: 12px;
    border-bottom: 0;
    font-size: 10px;
  }

  body[data-page="product"] .pd-left-col {
    margin-bottom: 16px;
  }

  body[data-page="product"] .pd-imgwrap {
    padding: 7px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(244, 242, 255, .92));
    box-shadow: var(--pd-shadow), inset 0 1px 0 rgba(255, 255, 255, .9);
  }

  body[data-page="product"] .pd-imgwrap::after {
    position: absolute;
    right: -26px;
    bottom: -46px;
    width: 142px;
    height: 142px;
    border-radius: 50%;
    background: rgba(18, 168, 138, .12);
    content: "";
  }

  body[data-page="product"] .pd-imgcard {
    width: 100%;
    height: clamp(170px, 48vw, 205px);
    aspect-ratio: auto;
    padding: 28px 18px 40px;
    border-radius: 15px;
    background: linear-gradient(135deg, #eeecff, #fafaff 57%, #e7faf5);
  }

  body[data-page="product"] .pd-imgcard img {
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 210px;
    max-height: 132px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 13px 17px rgba(42, 32, 100, .18));
    animation: pd-product-float 4.8s ease-in-out infinite;
  }

  body[data-page="product"] .pd-imgcard .initial {
    z-index: 1;
    border-radius: 22px;
  }

  body[data-page="product"] .pd-vbadge,
  body[data-page="product"] .pd-stock {
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body[data-page="product"] .pd-vbadge {
    padding: 7px 10px;
    background: rgba(255, 255, 255, .8);
  }

  body[data-page="product"] .pd-stock {
    right: 10px;
    bottom: 10px;
    left: auto;
    width: auto;
    padding: 6px 9px;
    background: rgba(242, 255, 250, .88);
  }

  body[data-page="product"] .pd-proof-strip {
    display: none;
  }

  body[data-page="product"] .pd-badges {
    gap: 7px;
    margin-bottom: 13px;
  }

  body[data-page="product"] .pd-badges .cat-chip,
  body[data-page="product"] .pd-badges .tagb,
  body[data-page="product"] .pd-badges .offb {
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
  }

  body[data-page="product"] .wishlist-detail {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 14px;
    box-shadow: 0 7px 18px rgba(48, 37, 108, .08);
    transition: transform .2s ease, color .2s ease, background-color .2s ease;
  }

  body[data-page="product"] .wishlist-detail:active {
    transform: scale(.9);
  }

  body[data-page="product"] .pd-title {
    font-size: clamp(27px, 8vw, 35px);
    line-height: 1.05;
  }

  body[data-page="product"] .pd-rating {
    gap: 5px 7px;
    margin-top: 12px;
    font-size: 10.5px;
  }

  body[data-page="product"] .pd-desc {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 12.5px;
    line-height: 1.65;
  }

  body[data-page="product"] .pd-mobile-summary {
    display: block;
    order: 6;
    margin: 20px 0 22px;
  }

  body[data-page="product"] .pd-mobile-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  body[data-page="product"] .pd-mobile-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  body[data-page="product"] .pd-mobile-payments>span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 29px;
    padding: 6px 10px;
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    background: var(--mobile-surface);
    color: var(--ink-strong);
    font-size: 9px;
    font-weight: 750;
    box-shadow: 0 4px 12px rgba(45, 34, 102, .04);
  }

  body[data-page="product"] .pay-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
  }

  body[data-page="product"] .pay-dot.easypaisa {
    background: #12a88a;
  }

  body[data-page="product"] .pay-dot.jazzcash {
    background: #e94b61;
  }

  body[data-page="product"] .pay-dot.binance {
    background: #e2a915;
  }

  body[data-page="product"] .pay-dot.usdt {
    background: #26a17b;
  }

  body[data-page="product"] .pay-dot.bank {
    background: #5d43cf;
  }

  body[data-page="product"] .pd-mobile-live-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
  }

  body[data-page="product"] .pd-mobile-live-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 59px;
    padding: 10px;
    border: 1px solid var(--pd-line);
    border-radius: 13px;
    background: var(--mobile-surface);
  }

  body[data-page="product"] .pd-mobile-live-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--pd-soft);
    color: var(--pd-accent);
  }

  body[data-page="product"] .pd-mobile-live-card strong,
  body[data-page="product"] .pd-mobile-live-card small {
    display: block;
    min-width: 0;
    letter-spacing: 0;
  }

  body[data-page="product"] .pd-mobile-live-card strong {
    overflow: hidden;
    color: var(--ink-strong);
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="product"] .pd-mobile-live-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 8.5px;
    line-height: 1.25;
  }

  body[data-page="product"] .pd-mobile-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin-top: 14px;
    padding: 13px;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--mobile-surface) 92%, var(--pd-soft) 8%);
  }

  body[data-page="product"] .pd-mobile-facts>span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    color: var(--pd-accent-dark);
  }

  body[data-page="product"] .pd-mobile-facts svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  body[data-page="product"] .pd-mobile-facts b {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--ink-strong);
    font-size: 9.5px;
    font-weight: 650;
    line-height: 1.3;
  }

  body[data-page="product"] .pd-trust-row,
  body[data-page="product"] .pd-pay-row {
    display: none;
  }

  body[data-page="product"] .pd-plans-section {
    order: 7;
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-block: 0;
    background: linear-gradient(135deg, rgba(242, 240, 255, .9), rgba(255, 255, 255, .7));
  }

  body[data-page="product"] .pd-plans-title {
    margin-bottom: 18px;
    font-size: 23px;
  }

  body[data-page="product"] .pd-plans-title::after {
    width: 46px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pd-accent), #12a88a);
  }

  body[data-page="product"] .pd-plans-grid {
    display: flex;
    gap: 12px;
    margin: 0 calc(var(--mobile-gutter) * -1);
    padding: 10px var(--mobile-gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body[data-page="product"] .pd-plans-grid::-webkit-scrollbar {
    display: none;
  }

  body[data-page="product"] .pd-plan-card {
    flex: 0 0 min(86vw, 350px);
    padding: 19px 16px 15px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(47, 36, 105, .09), inset 0 1px 0 rgba(255, 255, 255, .7);
    scroll-snap-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
  }

  body[data-page="product"] .pd-plan-card:active {
    transform: scale(.985);
  }

  body[data-page="product"] .pd-plan-card.pd-plan-popular {
    border-width: 1px;
    box-shadow: 0 16px 34px rgba(93, 67, 207, .2), inset 0 1px 0 rgba(255, 255, 255, .75);
  }

  body[data-page="product"] .pd-plan-badge {
    top: -11px;
    right: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 7px 14px rgba(93, 67, 207, .2);
  }

  body[data-page="product"] .pd-plan-price {
    font-size: clamp(28px, 8vw, 36px);
  }

  body[data-page="product"] .pd-plan-save {
    border-radius: 999px;
  }

  body[data-page="product"] .pd-plan-qty {
    border-radius: 13px;
  }

  body[data-page="product"] .pd-plan-qty .qty-btn {
    border-radius: 10px;
  }

  body[data-page="product"] .pd-plan-buy,
  body[data-page="product"] .pd-plan-wa {
    border-radius: 13px;
    transition: transform .2s ease, box-shadow .2s ease;
  }

  body[data-page="product"] .pd-plan-buy {
    box-shadow: 0 10px 20px rgba(44, 37, 94, .18);
  }

  body[data-page="product"] .pd-plan-buy:active,
  body[data-page="product"] .pd-plan-wa:active {
    transform: scale(.97);
  }

  body[data-page="product"] .pd-trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }

  body[data-page="product"] .pd-trust-cell {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    padding: 12px 10px;
    border-radius: 16px;
    box-shadow: 0 7px 18px rgba(45, 34, 102, .05);
  }

  body[data-page="product"] .pd-trust-cell>svg {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 12px;
  }

  body[data-page="product"] .pd-trust-cell strong {
    font-size: 10px;
  }

  body[data-page="product"] .pd-trust-cell span {
    font-size: 8.5px;
  }

  body[data-page="product"] .pd-pay-row {
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 7px;
  }

  body[data-page="product"] .pd-pay-chip {
    min-height: 37px;
    border-radius: 12px;
    box-shadow: 0 5px 13px rgba(45, 34, 102, .04);
  }

  body[data-page="product"] .pd-guarantees {
    gap: 8px;
    margin-block: 18px 20px;
  }

  body[data-page="product"] .pd-guarantees>span:not(.pd-g-dot) {
    min-height: 70px;
    padding: 9px 5px;
    border-radius: 15px;
    box-shadow: 0 6px 16px rgba(45, 34, 102, .04);
    font-size: 8.5px;
  }

  body[data-page="product"] .pd-tabs-wrap {
    margin-bottom: 28px;
  }

  body[data-page="product"] .pd-tab-bar {
    gap: 8px;
    padding-bottom: 12px;
  }

  body[data-page="product"] .pd-tab-btn {
    min-height: 42px;
    padding-inline: 14px;
    border-radius: 999px;
    font-size: 10.5px;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
  }

  body[data-page="product"] .pd-tab-btn:active {
    transform: scale(.95);
  }

  body[data-page="product"] .pd-tab-btn.pd-tab-on {
    box-shadow: 0 8px 17px rgba(93, 67, 207, .23);
  }

  body[data-page="product"] .pd-tab-pane.pd-tab-on {
    animation: pd-panel-in .32s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="product"] .inc-item,
  body[data-page="product"] .fact-v2,
  body[data-page="product"] .pd-step,
  body[data-page="product"] .rev-card-v2,
  body[data-page="product"] .faq-item {
    border-radius: 15px;
    box-shadow: 0 7px 18px rgba(45, 34, 102, .045);
  }

  body[data-page="product"] .inc-item,
  body[data-page="product"] .fact-v2 {
    min-height: 58px;
    padding: 12px;
  }

  body[data-page="product"] .inc-check,
  body[data-page="product"] .pd-step-num,
  body[data-page="product"] .rev-av {
    border-radius: 11px;
  }

  body[data-page="product"] .faq-q::after {
    border-radius: 10px;
  }

  body[data-page="product"] .pd-related-head h2 {
    font-size: 20px;
  }

  body[data-page="product"] .pd-related-grid {
    gap: 10px;
  }

  body[data-page="product"] .pd-rel-card {
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(45, 34, 102, .07);
  }

  body[data-page="product"] .pd-rel-img {
    margin: 6px 6px 0;
    border-radius: 12px;
  }

  body[data-page="product"] .pd-mbar {
    min-height: 68px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 18px 42px rgba(27, 22, 69, .22), inset 0 1px 0 rgba(255, 255, 255, .78);
  }

  body[data-page="product"] .pd-mbar .btn {
    min-height: 52px;
    border-radius: 15px;
  }

  body[data-page="product"] .pd-mbar .btn-whatsapp {
    border-radius: 15px;
  }

  [data-theme="dark"] body[data-page="product"],
  body[data-theme="dark"][data-page="product"] {
    --pd-soft: #24223c;
    --pd-line: rgba(189, 178, 255, .15);
    background: #151625;
  }

  [data-theme="dark"] body[data-page="product"] .pd-imgwrap,
  body[data-theme="dark"][data-page="product"] .pd-imgwrap {
    background: linear-gradient(145deg, rgba(38, 36, 63, .98), rgba(27, 28, 47, .96));
  }

  [data-theme="dark"] body[data-page="product"] .pd-imgcard,
  body[data-theme="dark"][data-page="product"] .pd-imgcard {
    background: linear-gradient(135deg, #292547, #1d2034 57%, #193a38);
  }

  [data-theme="dark"] body[data-page="product"] .pd-plans-section,
  body[data-theme="dark"][data-page="product"] .pd-plans-section {
    background: linear-gradient(135deg, rgba(35, 33, 59, .92), rgba(22, 24, 40, .8));
  }

  [data-theme="dark"] body[data-page="product"] .pd-mbar,
  body[data-theme="dark"][data-page="product"] .pd-mbar {
    background: rgba(25, 26, 42, .86);
  }

  [data-theme="dark"] body[data-page="product"] .pd-mobile-payments>span,
  [data-theme="dark"] body[data-page="product"] .pd-mobile-live-card,
  [data-theme="dark"] body[data-page="product"] .pd-mobile-facts,
  body[data-theme="dark"][data-page="product"] .pd-mobile-payments>span,
  body[data-theme="dark"][data-page="product"] .pd-mobile-live-card,
  body[data-theme="dark"][data-page="product"] .pd-mobile-facts {
    background: rgba(29, 30, 50, .92);
  }

  /* Final mobile product layout refinements */
  body[data-page="product"] .pd-imgcard {
    padding: 0;
    overflow: hidden;
  }

  body[data-page="product"] .pd-imgcard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
    filter: none;
    animation: none;
  }

  body[data-page="product"] .pd-guarantees {
    display: none !important;
  }

  body[data-page="product"] .pd-tab-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin-left: 0;
    padding: 5px 0 12px;
    gap: 5px;
    overflow: visible;
  }

  body[data-page="product"] .pd-tab-btn {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 3px;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.1;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  body[data-page="product"] .pd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }

  body[data-page="product"] .pd-rel-card {
    min-width: 0;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: var(--card);
    box-shadow: 0 8px 20px rgba(45, 34, 102, .08);
  }

  body[data-page="product"] .pd-rel-card:active {
    transform: scale(.98);
  }

  body[data-page="product"] .pd-rel-img {
    height: auto;
    aspect-ratio: 1.42 / 1;
    margin: 6px 6px 0;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(145deg, #f0efff, #f8fbff 58%, #e9f8f4);
  }

  body[data-page="product"] .pd-rel-img img {
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit !important;
    object-fit: cover;
    object-position: center;
    clip-path: inset(0 round 12px);
  }

  body[data-page="product"] .pd-rel-off {
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 2;
    padding: 4px 6px;
    border-radius: 7px;
    box-shadow: 0 4px 10px rgba(203, 52, 74, .2);
    font-size: 8px;
    line-height: 1;
  }

  body[data-page="product"] .pd-rel-info {
    display: flex;
    min-width: 0;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
    padding: 9px 9px 11px;
  }

  body[data-page="product"] .pd-rel-name {
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="product"] .pd-rel-price {
    display: block;
    margin: 0;
    color: var(--pd-violet);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
  }

  body[data-page="product"] .pd-mbar {
    display: none !important;
  }

  [data-theme="dark"] body[data-page="product"] .pd-rel-img,
  body[data-theme="dark"][data-page="product"] .pd-rel-img {
    background: linear-gradient(145deg, #292841, #202237 58%, #1c3534);
  }

  @keyframes pd-product-float {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-7px);
    }
  }

  @keyframes pd-panel-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 370px) {
    body[data-page="product"] .pd-imgcard {
      height: 164px;
      padding: 0;
    }

    body[data-page="product"] .pd-tab-bar {
      gap: 3px;
    }

    body[data-page="product"] .pd-tab-btn {
      padding-inline: 2px;
      font-size: 8px;
    }

    body[data-page="product"] .pd-mobile-live-card {
      grid-template-columns: 30px minmax(0, 1fr);
      gap: 7px;
      padding: 8px;
    }

    body[data-page="product"] .pd-mobile-live-icon {
      width: 30px;
      height: 30px;
    }

    body[data-page="product"] .pd-trust-cell {
      min-height: 104px;
      padding-inline: 8px;
    }

    body[data-page="product"] .pd-trust-cell strong {
      font-size: 9px;
    }

    body[data-page="product"] .pd-trust-cell span {
      font-size: 8px;
    }

    body[data-page="product"] .pd-plan-card {
      flex-basis: 88vw;
    }
  }

  /* ==========================================================================
     MOBILE APP REDESIGN FOR PACK DETAILS PAGE (html body[data-page="pack"])
     ========================================================================== */
  html body[data-page="pack"] {
    padding-bottom: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden !important;
  }

  html body[data-page="pack"] .pkd-page {
    padding: 10px 0 1rem !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  html body[data-page="pack"] .pkd-container {
    padding-inline: var(--mobile-gutter) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Breadcrumbs */
  html body[data-page="pack"] .pkd-breadcrumb {
    font-size: 11px !important;
    margin: 4px 0 8px !important;
    flex-wrap: wrap !important;
    max-width: 100% !important;
  }

  /* Hero Section Card */
  html body[data-page="pack"] .pkd-hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 0 16px 0 !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(246, 245, 255, 0.85)) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 15px 40px rgba(44, 33, 92, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    animation: pkdMobileRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body[data-page="pack"] .pkd-hero-copy {
    display: contents !important;
  }

  [data-theme="dark"] html body[data-page="pack"] .pkd-hero {
    background: linear-gradient(145deg, rgba(26, 30, 54, 0.95), rgba(18, 21, 38, 0.9)) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
  }

  /* Preview Stage (IMAGE FIRST ON MOBILE WITH ROUNDED CORNERS) */
  html body[data-page="pack"] .pkd-stage-wrap {
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
    margin: 0 !important;
    padding: 10px 10px 0 10px !important;
    box-sizing: border-box !important;
  }

  html body[data-page="pack"] .pkd-stage {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid var(--mobile-line) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
  }

  html body[data-page="pack"] .pkd-main-preview {
    aspect-ratio: 16 / 9 !important;
    border-radius: 14px 14px 0 0 !important;
    min-height: 180px !important;
    width: 100% !important;
  }

  html body[data-page="pack"] .pkd-main-preview img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 14px 14px 0 0 !important;
  }

  html body[data-page="pack"] .pkd-thumbs {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 8px 12px !important;
    scrollbar-width: none;
    background: var(--card) !important;
    border-top: 1px solid var(--mobile-line) !important;
  }

  html body[data-page="pack"] .pkd-thumb {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 10px !important;
  }

  /* Assurance points directly under Image (Smaller size) */
  html body[data-page="pack"] .pkd-assurance {
    order: 2 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    gap: 10px !important;
    padding: 5px 8px !important;
    margin: 6px 8px 0 8px !important;
    border-radius: 8px !important;
    border: 1px solid var(--mobile-line) !important;
    background: rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
  }

  [data-theme="dark"] html body[data-page="pack"] .pkd-assurance {
    background: rgba(255, 255, 255, 0.02) !important;
  }

  html body[data-page="pack"] .pkd-assurance span {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 9.5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
  }

  html body[data-page="pack"] .pkd-assurance span svg {
    width: 11px !important;
    height: 11px !important;
  }

  /* Eyebrows & Badges */
  html body[data-page="pack"] .pkd-eyebrow-row {
    order: 3 !important;
    margin-top: 14px !important;
    padding: 0 14px !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }

  html body[data-page="pack"] .pkd-category,
  html body[data-page="pack"] .pkd-live,
  html body[data-page="pack"] .pkd-featured {
    padding: 4px 10px !important;
    font-size: 10px !important;
    border-radius: 20px !important;
  }

  html body[data-page="pack"] .pkd-category {
    background: var(--pkd-accent-soft) !important;
    color: var(--pkd-accent) !important;
    font-weight: 800 !important;
  }

  /* Hero Title & Lead */
  html body[data-page="pack"] .pkd-hero h1 {
    order: 4 !important;
    padding: 0 14px !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  html body[data-page="pack"] .pkd-lead {
    order: 5 !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: var(--muted) !important;
    margin-bottom: 14px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  /* Signal Row Stats */
  html body[data-page="pack"] .pkd-signal-row {
    order: 6 !important;
    margin: 0 14px 12px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    background: rgba(0, 0, 0, 0.02) !important;
    padding: 8px !important;
    border-radius: 14px !important;
    border: 1px solid var(--mobile-line) !important;
    box-sizing: border-box !important;
  }

  [data-theme="dark"] html body[data-page="pack"] .pkd-signal-row {
    background: rgba(255, 255, 255, 0.03) !important;
  }

  html body[data-page="pack"] .pkd-rating,
  html body[data-page="pack"] .pkd-signal {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2px !important;
    min-height: auto !important;
  }

  html body[data-page="pack"] .pkd-rating strong,
  html body[data-page="pack"] .pkd-signal strong {
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  html body[data-page="pack"] .pkd-rating small,
  html body[data-page="pack"] .pkd-signal small {
    display: block !important;
    font-size: 9px !important;
    color: var(--muted) !important;
  }

  html body[data-page="pack"] .pkd-tags {
    order: 7 !important;
    padding: 0 14px 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  html body[data-page="pack"] .pkd-hero-actions {
    order: 8 !important;
    padding: 0 14px !important;
    display: flex !important;
    gap: 8px !important;
  }

  html body[data-page="pack"] .pkd-hero-actions .pkd-btn {
    height: 40px !important;
    font-size: 12px !important;
    padding: 0 14px !important;
  }

  html body[data-page="pack"] .pkd-hero-actions .pkd-save {
    height: 40px !important;
    font-size: 12px !important;
  }

  /* Content Grid & Panels */
  html body[data-page="pack"] .pkd-content-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body[data-page="pack"] main.pkd-story {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body[data-page="pack"] .pkd-panel {
    padding: 16px 14px !important;
    border-radius: 18px !important;
    background: var(--card) !important;
    border: 1px solid var(--mobile-line) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body[data-page="pack"] .pkd-section-index {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
  }

  html body[data-page="pack"] .pkd-panel-head h2 {
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  html body[data-page="pack"] .pkd-description {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  /* Included Items List */
  html body[data-page="pack"] .pkd-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 12px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body[data-page="pack"] .pkd-item {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid var(--mobile-line) !important;
    font-size: 12.5px !important;
    white-space: normal !important;
    word-break: break-word !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  [data-theme="dark"] html body[data-page="pack"] .pkd-item {
    background: rgba(255, 255, 255, 0.03) !important;
  }

  /* Value Cards Redesign */
  html body[data-page="pack"] .pkd-value-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body[data-page="pack"] .pkd-value-card {
    padding: 12px 14px !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    border-radius: 14px !important;
    border: 1px solid var(--mobile-line) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body[data-page="pack"] .pkd-value-card.pkd-value-accent {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #ffffff !important;
    border: none !important;
  }

  html body[data-page="pack"] .pkd-value-card.pkd-value-accent small,
  html body[data-page="pack"] .pkd-value-card.pkd-value-accent h3,
  html body[data-page="pack"] .pkd-value-card.pkd-value-accent p,
  html body[data-page="pack"] .pkd-value-card.pkd-value-accent svg {
    color: #ffffff !important;
    fill: currentColor !important;
  }

  html body[data-page="pack"] .pkd-value-card.pkd-value-accent p {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  html body[data-page="pack"] .pkd-value-card>svg {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }

  html body[data-page="pack"] .pkd-value-card div {
    flex: 1 !important;
    min-width: 0 !important;
  }

  html body[data-page="pack"] .pkd-value-card small {
    font-size: 9px !important;
    margin-bottom: 2px !important;
    display: block !important;
  }

  html body[data-page="pack"] .pkd-value-card h3 {
    font-size: 13.5px !important;
    margin-bottom: 3px !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
  }

  html body[data-page="pack"] .pkd-value-card p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    color: var(--muted) !important;
    word-break: break-word !important;
  }

  /* Purchase Card Sidebar on Mobile (REMOVED) */
  html body[data-page="pack"] aside.pkd-purchase,
  html body[data-page="pack"] .pkd-purchase,
  html body[data-page="pack"] .pkd-purchase-card {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* Related Packs Section */
  html body[data-page="pack"] section.pkd-related {
    margin-bottom: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Related Packs Horizontal Carousel */
  html body[data-page="pack"] .pkd-related-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding-bottom: 14px !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  html body[data-page="pack"] .pkd-related-card {
    flex: 0 0 135px !important;
    min-width: 135px !important;
    width: 135px !important;
    border-radius: 14px !important;
    flex-direction: column !important;
    padding: 5px !important;
  }

  html body[data-page="pack"] .pkd-related-media {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  html body[data-page="pack"] .pkd-related-media img {
    border-radius: 10px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body[data-page="pack"] .pkd-related-body {
    padding: 8px 4px 4px !important;
  }

  html body[data-page="pack"] .pkd-related-body h3 {
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body[data-page="pack"] .pkd-related-body span {
    display: none !important;
  }

  /* Mobile Sticky Bottom Action Bar (REMOVED) */
  .pkd-mobile-cta-bar {
    display: none !important;
  }

  .pkd-mobile-cta-info small {
    display: block !important;
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase !important;
  }

  .pkd-mobile-cta-info strong {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
  }

  .pkd-mobile-cta-actions .pkd-btn {
    height: 42px !important;
    padding: 0 20px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    background: #5b4ce2 !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
  }

  /* ================================================================
     Packs catalog — premium compact mobile experience
     ================================================================ */
  body[data-page="packs"] {
    --pm-ink: #242052;
    --pm-muted: #68658b;
    --pm-violet: #47378d;
    --pm-green: #0eaa74;
    --pm-line: rgba(66, 52, 132, .13);
    --pm-card: rgba(255, 255, 255, .94);
    background-color: #f8f8ff;
    background-image:
      linear-gradient(rgba(74, 62, 143, .055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(74, 62, 143, .055) 1px, transparent 1px),
      radial-gradient(circle at 84% 16%, rgba(110, 87, 220, .1), transparent 24%);
    background-size: 24px 24px, 24px 24px, auto;
  }

  body[data-page="packs"] .packs-hero {
    margin: 12px var(--mobile-gutter) 18px;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(73, 58, 144, .1);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(244, 242, 252, .95));
    box-shadow: 0 18px 40px rgba(46, 37, 103, .09), inset 0 1px 0 #fff;
    animation: pm-rise .55s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="packs"] .packs-hero::before {
    inset: auto -16px -18px auto;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 79, 203, .16), transparent 68%);
  }

  body[data-page="packs"] .packs-hero::after {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7b67d7;
    box-shadow: -15px 82px 0 rgba(71, 55, 141, .5), 12px 102px 0 rgba(71, 55, 141, .22);
    content: "";
    animation: pm-orbit 4s ease-in-out infinite;
  }

  body[data-page="packs"] .packs-hero>.container {
    padding: 19px 18px 18px !important;
  }

  body[data-page="packs"] .packs-hero-inner {
    display: block;
    padding: 0;
  }

  body[data-page="packs"] .packs-hero-left .sec-pill {
    min-height: 23px;
    padding: 5px 9px !important;
    border: 1px solid rgba(74, 58, 145, .16) !important;
    border-radius: 999px !important;
    background: rgba(72, 57, 141, .08) !important;
    color: #51468a !important;
    font-size: 8px !important;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  body[data-page="packs"] .packs-hero h1 {
    margin: 11px 0 6px;
    color: var(--pm-ink);
    font-size: clamp(22px, 6.5vw, 29px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.045em;
  }

  body[data-page="packs"] .packs-hero h1 .grad-text {
    color: inherit;
    background: none;
    -webkit-text-fill-color: currentColor;
  }

  body[data-page="packs"] .packs-hero p {
    max-width: 310px;
    color: var(--pm-muted);
    font-size: 12.5px;
    line-height: 1.5;
  }

  body[data-page="packs"] .packs-hero-stats,
  body[data-page="packs"] .packs-cat-strip,
  body[data-page="packs"] .side-panel,
  body[data-page="packs"] .showing-row,
  body[data-page="packs"] .pack-card-v2 {
    display: none !important;
  }

  body[data-page="packs"] .block {
    padding-top: 0 !important;
  }

  body[data-page="packs"] .packs-layout {
    display: block;
  }

  body[data-page="packs"] .packs-mobile-controls {
    position: relative;
    z-index: 20;
    display: block;
    margin-bottom: 14px;
    animation: pm-rise .5s .08s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="packs"] .pm-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid var(--pm-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 22px rgba(47, 38, 102, .06), inset 0 1px 0 #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  body[data-page="packs"] .pm-search:focus-within {
    border-color: rgba(77, 59, 164, .48);
    box-shadow: 0 0 0 4px rgba(91, 76, 226, .1), 0 10px 24px rgba(47, 38, 102, .08);
    transform: translateY(-1px);
  }

  body[data-page="packs"] .pm-search-icon {
    display: grid;
    width: 43px;
    flex: 0 0 43px;
    place-items: center;
    color: var(--pm-violet);
  }

  body[data-page="packs"] .pm-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 10px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--pm-ink);
    font: inherit;
    font-size: 13px;
  }

  body[data-page="packs"] .pm-search-clear {
    display: grid;
    width: 30px;
    height: 30px;
    margin-right: 7px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    background: rgba(72, 57, 141, .08);
    color: var(--pm-muted);
    font-size: 19px;
  }

  body[data-page="packs"] .pm-results-row {
    position: relative;
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    color: var(--pm-muted);
    font-size: 12px;
  }

  body[data-page="packs"] .pm-results-row>span strong {
    color: var(--pm-ink);
  }

  body[data-page="packs"] .pm-filter-panel {
    position: static;
  }

  body[data-page="packs"] .pm-filter-panel>summary {
    display: flex;
    min-height: 35px;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--pm-line);
    border-radius: 11px;
    background: var(--pm-card);
    color: var(--pm-ink);
    font-weight: 800;
    list-style: none;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(47, 38, 102, .05);
  }

  body[data-page="packs"] .pm-filter-panel>summary::-webkit-details-marker {
    display: none;
  }

  body[data-page="packs"] .pm-filter-panel>summary b {
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: var(--pm-violet);
    color: #fff;
    font-size: 8px;
  }

  body[data-page="packs"] .pm-filter-form {
    position: absolute;
    top: 94px;
    right: 0;
    left: 0;
    display: grid;
    gap: 14px;
    padding: 15px;
    border: 1px solid var(--pm-line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 48px rgba(38, 29, 91, .18);
    transform-origin: top right;
    animation: pm-filter-open .24s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="packs"] .pm-filter-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body[data-page="packs"] .pm-filter-form legend,
  body[data-page="packs"] .pm-filter-field>span {
    display: block;
    margin-bottom: 7px;
    color: var(--pm-ink);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  body[data-page="packs"] .pm-type-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  body[data-page="packs"] .pm-type-options label {
    display: grid;
    min-height: 38px;
    place-items: center;
    border: 1px solid var(--pm-line);
    border-radius: 10px;
    background: #faf9ff;
    color: var(--pm-muted);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
  }

  body[data-page="packs"] .pm-type-options label:has(input:checked),
  body[data-page="packs"] .pm-type-options label.is-selected {
    border-color: var(--pm-violet);
    background: var(--pm-violet);
    color: #fff;
  }

  body[data-page="packs"] .pm-type-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  body[data-page="packs"] .pm-filter-field select {
    width: 100%;
    height: 42px;
    padding: 0 11px;
    border: 1px solid var(--pm-line);
    border-radius: 10px;
    outline: 0;
    background: #faf9ff;
    color: var(--pm-ink);
    font: inherit;
    font-size: 11px;
  }

  body[data-page="packs"] .pm-filter-actions {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 8px;
  }

  body[data-page="packs"] .pm-filter-actions a,
  body[data-page="packs"] .pm-filter-actions button {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 11px;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
  }

  body[data-page="packs"] .pm-filter-actions a {
    background: rgba(72, 57, 141, .08);
    color: var(--pm-violet);
  }

  body[data-page="packs"] .pm-filter-actions button {
    background: linear-gradient(135deg, #443486, #5b4ce2);
    color: #fff;
    box-shadow: 0 8px 18px rgba(71, 55, 141, .22);
  }

  body[data-page="packs"] .grid.grid-3 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }

  body[data-page="packs"] .pm-pack-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 242px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pm-line);
    border-radius: 18px;
    background: var(--pm-card);
    color: var(--pm-ink);
    box-shadow: 0 10px 25px rgba(45, 35, 98, .075), inset 0 1px 0 rgba(255, 255, 255, .8);
    text-decoration: none;
    animation: pm-card-in .48s cubic-bezier(.22, 1, .36, 1) both;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }

  body[data-page="packs"] .pm-pack-card:nth-of-type(2n) {
    animation-delay: .06s;
  }

  body[data-page="packs"] .pm-pack-card:active {
    transform: scale(.975);
    border-color: color-mix(in srgb, var(--pm-accent) 55%, var(--pm-line));
    box-shadow: 0 5px 14px rgba(45, 35, 98, .08);
  }

  body[data-page="packs"] .pm-pack-media {
    position: relative;
    display: block;
    aspect-ratio: 1.38 / 1;
    margin: 8px 8px 0;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(92, 74, 182, .09), rgba(14, 170, 116, .07));
  }

  body[data-page="packs"] .pm-pack-media>img,
  body[data-page="packs"] .pm-pack-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--pm-accent);
    object-fit: cover;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  }

  body[data-page="packs"] .pm-pack-card:active .pm-pack-media>img {
    transform: scale(1.035);
  }

  body[data-page="packs"] .pm-pack-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    border-radius: 999px;
    color: #fff;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(16, 13, 45, .18);
    backdrop-filter: blur(8px);
  }

  body[data-page="packs"] .pm-pack-badge.is-free {
    background: rgba(9, 169, 111, .94);
  }

  body[data-page="packs"] .pm-pack-badge.is-premium {
    background: rgba(70, 52, 139, .94);
  }

  body[data-page="packs"] .pm-pack-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 10px 10px 11px;
  }

  body[data-page="packs"] .pm-pack-body>small {
    margin-bottom: 5px;
    overflow: hidden;
    color: var(--pm-accent);
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="packs"] .pm-pack-body>strong {
    display: -webkit-box;
    min-height: 2.5em;
    overflow: hidden;
    color: var(--pm-ink);
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.02em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="packs"] .pm-pack-foot {
    display: flex;
    margin-top: auto;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
  }

  body[data-page="packs"] .pm-pack-foot b {
    overflow: hidden;
    color: var(--pm-green);
    font-size: 11.5px;
    font-weight: 950;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="packs"] .pm-pack-foot i {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #443486, #342568);
    color: #fff;
    box-shadow: 0 7px 15px rgba(55, 40, 119, .22);
    transition: transform .2s ease;
  }

  body[data-page="packs"] .pm-pack-card:active .pm-pack-foot i {
    transform: translateX(3px);
  }

  body[data-page="packs"] .empty-state {
    grid-column: 1 / -1;
    border-radius: 20px;
    background: var(--pm-card);
  }

  [data-theme="dark"] body[data-page="packs"],
  body[data-theme="dark"][data-page="packs"] {
    --pm-ink: #f3f0ff;
    --pm-muted: #aaa5c5;
    --pm-line: rgba(180, 165, 255, .16);
    --pm-card: rgba(27, 28, 48, .96);
    background-color: #141522;
    background-image:
      linear-gradient(rgba(176, 161, 255, .035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(176, 161, 255, .035) 1px, transparent 1px),
      radial-gradient(circle at 84% 16%, rgba(110, 87, 220, .14), transparent 24%);
  }

  [data-theme="dark"] body[data-page="packs"] .packs-hero,
  body[data-theme="dark"][data-page="packs"] .packs-hero {
    border-color: var(--pm-line);
    background: linear-gradient(135deg, rgba(36, 35, 61, .98), rgba(25, 26, 44, .97));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .04);
  }

  [data-theme="dark"] body[data-page="packs"] .packs-hero-left .sec-pill,
  body[data-theme="dark"][data-page="packs"] .packs-hero-left .sec-pill {
    border-color: rgba(175, 157, 255, .18) !important;
    background: rgba(143, 121, 240, .1) !important;
    color: #c8bcff !important;
  }

  [data-theme="dark"] body[data-page="packs"] .pm-search,
  [data-theme="dark"] body[data-page="packs"] .pm-filter-form,
  body[data-theme="dark"][data-page="packs"] .pm-search,
  body[data-theme="dark"][data-page="packs"] .pm-filter-form {
    background: rgba(27, 28, 48, .98);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
  }

  [data-theme="dark"] body[data-page="packs"] .pm-type-options label,
  [data-theme="dark"] body[data-page="packs"] .pm-filter-field select,
  body[data-theme="dark"][data-page="packs"] .pm-type-options label,
  body[data-theme="dark"][data-page="packs"] .pm-filter-field select {
    background: #22233a;
    color: var(--pm-ink);
  }

  @media (max-width: 370px) {
    body[data-page="packs"] .grid.grid-3 {
      gap: 8px !important;
    }

    body[data-page="packs"] .pm-pack-card {
      min-height: 222px;
      border-radius: 15px;
    }

    body[data-page="packs"] .pm-pack-media {
      margin: 6px 6px 0;
      border-radius: 11px;
    }

    body[data-page="packs"] .pm-pack-body {
      padding: 8px;
    }

    body[data-page="packs"] .pm-pack-body>strong {
      font-size: 11.5px;
    }

    body[data-page="packs"] .pm-pack-foot i {
      width: 29px;
      height: 29px;
      flex-basis: 29px;
    }
  }

  @keyframes pm-rise {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pm-card-in {
    from {
      opacity: 0;
      transform: translateY(14px) scale(.985);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes pm-filter-open {
    from {
      opacity: 0;
      transform: translateY(-5px) scale(.98);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes pm-orbit {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(7px);
    }
  }

  @media (prefers-reduced-motion: reduce) {

    body[data-page="product"] .pd-imgcard img,
    body[data-page="product"] .pd-tab-pane.pd-tab-on,
    body[data-page="packs"] .packs-hero,
    body[data-page="packs"] .packs-hero::after,
    body[data-page="packs"] .packs-mobile-controls,
    body[data-page="packs"] .pm-pack-card,
    body[data-page="packs"] .pm-filter-form {
      animation: none !important;
      transition: none !important;
    }
  }
}

@media (max-width: 1024px) {

  /* ================================================================
     Account orders - focused mobile purchase center
     ================================================================ */
  body[data-page="account"] {
    --mo-ink: #1d1b3f;
    --mo-muted: #706d8c;
    --mo-line: rgba(65, 51, 130, .13);
    --mo-violet: #5140a2;
    --mo-green: #0c9b6a;
    background: #f7f7fc;
  }

  body[data-page="account"] .ud-wrap {
    min-height: calc(100vh - var(--mobile-header-clearance));
    padding: 12px 0 28px !important;
    background: linear-gradient(180deg, rgba(238, 235, 252, .78), rgba(248, 248, 253, .96) 210px);
  }

  body[data-page="account"] .ud-bg,
  body[data-page="account"] .ud-v3-hero,
  body[data-page="account"] .ud-v3-dock-wrap,
  body[data-page="account"] .ud-shell {
    /* desktop layout is now visible for styling */
  }

  body[data-page="account"] .dash-tabs {
    padding-inline: var(--mobile-gutter) !important;
  }

  body[data-page="account"] .mo-orders {
    display: block;
    color: var(--mo-ink);
    animation: mo-orders-in .45s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="account"] .mo-orders-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 2px 16px;
  }

  body[data-page="account"] .mo-orders-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mo-violet);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  body[data-page="account"] .mo-orders-head h1 {
    margin: 7px 0 4px;
    color: var(--mo-ink);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
  }

  body[data-page="account"] .mo-orders-head p {
    margin: 0;
    color: var(--mo-muted);
    font-size: 11.5px;
    line-height: 1.45;
  }

  body[data-page="account"] .mo-logout {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid var(--mo-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .86);
    color: #a13d5d;
    box-shadow: 0 7px 18px rgba(47, 38, 91, .06);
  }

  body[data-page="account"] .mo-order-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--mo-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 28px rgba(43, 34, 88, .065);
  }

  body[data-page="account"] .mo-order-summary span {
    display: flex;
    min-width: 0;
    min-height: 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    text-align: center;
  }

  body[data-page="account"] .mo-order-summary span+span {
    border-left: 1px solid var(--mo-line);
  }

  body[data-page="account"] .mo-order-summary b {
    color: var(--mo-ink);
    font-size: 18px;
    line-height: 1;
  }

  body[data-page="account"] .mo-order-summary small {
    color: var(--mo-muted);
    font-size: 8.5px;
    font-weight: 700;
    line-height: 1.2;
  }

  body[data-page="account"] .mo-order-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin: 16px 0 18px;
    padding: 5px;
    border: 1px solid var(--mo-line);
    border-radius: 14px;
    background: rgba(232, 229, 247, .72);
  }

  body[data-page="account"] .mo-order-switch button {
    display: flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--mo-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  body[data-page="account"] .mo-order-switch button b {
    display: grid;
    min-width: 19px;
    height: 19px;
    padding-inline: 4px;
    place-items: center;
    border-radius: 6px;
    background: rgba(74, 58, 148, .09);
    font-size: 8px;
  }

  body[data-page="account"] .mo-order-switch button.is-active {
    background: #fff;
    color: var(--mo-violet);
    box-shadow: 0 5px 14px rgba(44, 34, 91, .1);
  }

  body[data-page="account"] .mo-order-switch button:active {
    transform: scale(.97);
  }

  body[data-page="account"] .mo-order-panel[hidden] {
    display: none !important;
  }

  body[data-page="account"] .mo-order-panel.is-active {
    animation: mo-panel-in .3s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="account"] .mo-panel-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
  }

  body[data-page="account"] .mo-panel-heading span {
    display: block;
    margin-bottom: 2px;
    color: var(--mo-muted);
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
  }

  body[data-page="account"] .mo-panel-heading h2 {
    margin: 0;
    color: var(--mo-ink);
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  body[data-page="account"] .mo-panel-heading>a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 2px;
    color: var(--mo-violet);
    font-size: 9.5px;
    font-weight: 850;
  }

  body[data-page="account"] .mo-order-list {
    display: grid;
    gap: 11px;
  }

  body[data-page="account"] .mo-order-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
    min-width: 0;
    padding: 9px;
    overflow: hidden;
    border: 1px solid var(--mo-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 24px rgba(42, 34, 82, .065);
    animation: mo-card-in .38s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="account"] .mo-order-card:nth-child(2n) {
    animation-delay: .05s;
  }

  body[data-page="account"] .mo-order-art {
    display: grid;
    width: 76px;
    min-height: 94px;
    place-items: center;
    align-self: stretch;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(145deg, #ece9ff, #e9f7f3);
    color: var(--mo-violet);
  }

  body[data-page="account"] .mo-pack-order .mo-order-art {
    background: linear-gradient(145deg, #e8efff, #f6eaff);
    color: #4e70c9;
  }

  body[data-page="account"] .mo-order-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body[data-page="account"] .mo-order-main {
    min-width: 0;
  }

  body[data-page="account"] .mo-order-top {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
  }

  body[data-page="account"] .mo-order-top>span:first-child {
    min-width: 0;
    overflow: hidden;
    color: var(--mo-violet);
    font-size: 7.5px;
    font-weight: 850;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body[data-page="account"] .mo-order-top .status {
    flex: 0 0 auto;
    padding: 4px 6px;
    border-radius: 7px;
    font-size: 7px;
    line-height: 1;
  }

  body[data-page="account"] .mo-order-main h3 {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--mo-ink);
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="account"] .mo-order-main>p {
    margin: 2px 0 0;
    color: var(--mo-muted);
    font-size: 8px;
  }

  body[data-page="account"] .mo-order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 7px;
    color: var(--mo-muted);
    font-size: 7.5px;
  }

  body[data-page="account"] .mo-order-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
  }

  body[data-page="account"] .mo-order-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid var(--mo-line);
  }

  body[data-page="account"] .mo-order-foot strong {
    min-width: 0;
    color: var(--mo-ink);
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  body[data-page="account"] .mo-order-foot a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--mo-violet);
    font-size: 8.5px;
    font-weight: 850;
    white-space: nowrap;
  }

  body[data-page="account"] .mo-order-secondary {
    display: flex;
    gap: 6px;
    margin-top: 7px;
  }

  body[data-page="account"] .mo-order-secondary a,
  body[data-page="account"] .mo-order-secondary button {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 8px;
    border: 0;
    border-radius: 8px;
    background: rgba(76, 60, 153, .075);
    color: var(--mo-violet);
    font: inherit;
    font-size: 7.5px;
    font-weight: 800;
  }

  body[data-page="account"] .mo-order-secondary form {
    margin: 0;
  }

  body[data-page="account"] .mo-order-empty {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 20px;
    border: 1px dashed rgba(77, 61, 153, .22);
    border-radius: 17px;
    background: rgba(255, 255, 255, .7);
    text-align: center;
  }

  body[data-page="account"] .mo-order-empty>span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 15px;
    background: rgba(78, 62, 157, .09);
    color: var(--mo-violet);
  }

  body[data-page="account"] .mo-order-empty h3 {
    margin: 13px 0 4px;
    color: var(--mo-ink);
    font-size: 16px;
  }

  body[data-page="account"] .mo-order-empty p {
    margin: 0;
    color: var(--mo-muted);
    font-size: 10.5px;
  }

  body[data-page="account"] .mo-order-empty a {
    margin-top: 14px;
    padding: 9px 14px;
    border-radius: 9px;
    background: var(--mo-violet);
    color: #fff;
    font-size: 9px;
    font-weight: 850;
  }

  [data-theme="dark"] body[data-page="account"],
  body[data-theme="dark"][data-page="account"] {
    --mo-ink: #f2efff;
    --mo-muted: #aaa5c1;
    --mo-line: rgba(177, 160, 255, .14);
    --mo-violet: #b2a5ff;
    background: #151624;
  }

  [data-theme="dark"] body[data-page="account"] .ud-wrap,
  body[data-theme="dark"][data-page="account"] .ud-wrap {
    background: linear-gradient(180deg, #202038, #171824 220px);
  }

  [data-theme="dark"] body[data-page="account"] .mo-logout,
  [data-theme="dark"] body[data-page="account"] .mo-order-summary,
  [data-theme="dark"] body[data-page="account"] .mo-order-switch button.is-active,
  [data-theme="dark"] body[data-page="account"] .mo-order-card,
  [data-theme="dark"] body[data-page="account"] .mo-order-empty,
  body[data-theme="dark"][data-page="account"] .mo-logout,
  body[data-theme="dark"][data-page="account"] .mo-order-summary,
  body[data-theme="dark"][data-page="account"] .mo-order-switch button.is-active,
  body[data-theme="dark"][data-page="account"] .mo-order-card,
  body[data-theme="dark"][data-page="account"] .mo-order-empty {
    background: rgba(25, 26, 44, .94);
  }

  [data-theme="dark"] body[data-page="account"] .mo-order-switch,
  body[data-theme="dark"][data-page="account"] .mo-order-switch {
    background: rgba(12, 13, 26, .44);
  }

  @media (max-width: 370px) {
    body[data-page="account"] .mo-order-card {
      grid-template-columns: 66px minmax(0, 1fr);
      gap: 8px;
      padding: 7px;
    }

    body[data-page="account"] .mo-order-art {
      width: 66px;
    }

    body[data-page="account"] .mo-order-secondary a,
    body[data-page="account"] .mo-order-secondary button {
      padding-inline: 6px;
      font-size: 7px;
    }
  }

  @keyframes mo-orders-in {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes mo-panel-in {
    from {
      opacity: 0;
      transform: translateY(6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes mo-card-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {

    body[data-page="account"] .mo-orders,
    body[data-page="account"] .mo-order-panel.is-active,
    body[data-page="account"] .mo-order-card {
      animation: none !important;
      transition: none !important;
    }
  }

  /* Mobile App Redesign for Account Dashboard */

  body[data-page="account"] .ud-bg {
    display: none !important;
    /* Hide desktop background */
  }

  body[data-page="account"] .ud-v3-hero {
    display: flex !important;
    flex-direction: column;
    padding: 16px var(--mobile-gutter) 24px;
    background: transparent;
  }

  body[data-page="account"] .ud-v3-hero .ud-v3-copy {
    display: none;
    /* Hide desktop copy and rail, keep it simple */
  }

  body[data-page="account"] .ud-v3-identity {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    position: relative;
    z-index: 2;
  }

  body[data-page="account"] .ud-v3-identity .dash-av {
    width: 80px;
    height: 80px;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
  }

  body[data-page="account"] .ud-v3-identity .ud-v3-person {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body[data-page="account"] .ud-v3-identity .ud-v3-person span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mo-muted);
  }

  body[data-page="account"] .ud-v3-identity .ud-v3-person strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--mo-ink);
  }

  body[data-page="account"] .ud-v3-identity .ud-v3-person small {
    font-size: 13px;
    color: var(--mo-muted);
  }

  body[data-page="account"] .ud-v3-dock-wrap {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-dock-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--mo-line);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
  }

  body[data-theme="dark"][data-page="account"] .ud-v3-dock-wrap {
    background: rgba(20, 23, 43, 0.85);
  }

  body[data-page="account"] .ud-v3-dock.tab-bar {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    border: none;
    padding: 0;
    background: transparent;
  }

  body[data-page="account"] .ud-v3-dock-acts,
  body[data-page="account"] .ud-v3-dock.tab-bar button[data-tab="packs"] {
    display: none !important;
    /* Hide logout and packs from dock */
  }

  body[data-page="account"] .ud-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    color: var(--mo-muted);
    font-size: 10px;
    font-weight: 600;
    background: transparent;
    border: none;
    position: relative;
    transition: all 0.25s ease;
  }

  body[data-page="account"] .ud-nav-btn .ud-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
    transition: all 0.25s ease;
  }

  body[data-page="account"] .ud-nav-btn.on {
    color: var(--mo-violet);
  }

  body[data-page="account"] .ud-nav-btn.on .ud-icon svg {
    transform: scale(1.15);
    stroke-width: 2.5px;
  }

  body[data-page="account"] .ud-nav-count {
    position: absolute;
    top: -2px;
    right: 25%;
    background: var(--mo-violet);
    color: #fff;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 10px;
    border: 2px solid #fff;
    font-weight: bold;
  }

  body[data-page="account"] .ud-shell {
    display: block !important;
    padding: 0 var(--mobile-gutter) calc(var(--mobile-dock-height) + 40px);
  }

  body[data-page="account"] .ud-v3-bento {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-page="account"] .ud-v3-value-card,
  body[data-page="account"] .ud-v3-progress-card,
  body[data-page="account"] .ud-v3-mini-card,
  body[data-page="account"] .ud-v3-security-card,
  body[data-page="account"] .ud-v3-discover-card {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--mo-line);
    padding: 20px;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  body[data-theme="dark"][data-page="account"] .ud-v3-value-card,
  body[data-theme="dark"][data-page="account"] .ud-v3-progress-card,
  body[data-theme="dark"][data-page="account"] .ud-v3-mini-card,
  body[data-theme="dark"][data-page="account"] .ud-v3-security-card,
  body[data-theme="dark"][data-page="account"] .ud-v3-discover-card {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .ud-v3-value-card strong {
    font-size: 32px;
    margin: 8px 0;
  }

  body[data-page="account"] .ud-wishlist-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body[data-page="account"] .ud-wishlist-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--mo-line);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    position: relative;
  }

  body[data-page="account"] .ud-wishlist-info h3 {
    font-size: 15px;
    margin: 4px 0;
  }

  body[data-page="account"] .ud-wishlist-card .wishlist-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 0, 0.08);
    color: red;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
  }

  body[data-page="account"] .tab-pane[data-pane="orders"]>.ud-header,
  body[data-page="account"] .tab-pane[data-pane="orders"]>.empty-state,
  body[data-page="account"] .tab-pane[data-pane="orders"]>.table-wrap {
    display: none !important;
  }

  body[data-page="account"] .panel {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--mo-line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  }

  body[data-theme="dark"][data-page="account"] .panel,
  body[data-theme="dark"][data-page="account"] .ud-wishlist-card {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .panel .field input {
    height: 54px;
    border-radius: 14px;
    background: #f7f7fc;
    border: 1px solid transparent;
    padding: 0 16px;
    font-size: 15px;
    transition: all 0.3s;
  }

  body[data-page="account"] .panel .field input:focus {
    background: #fff;
    border-color: var(--mo-violet);
    box-shadow: 0 0 0 4px rgba(81, 64, 162, 0.1);
  }

  body[data-page="account"] .ud-avatar-picker {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body[data-page="account"] .ud-avatar-picker::-webkit-scrollbar {
    display: none;
  }

  body[data-page="account"] .ud-avatar-option {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    font-size: 18px;
    border-radius: 50%;
  }

  body[data-page="account"] .panel .btn-navy {
    height: 54px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
  }

  /* Make sure tab pane animations look smooth */
  body[data-page="account"] .tab-pane.on {
    animation: mo-card-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }


  body[data-page="account"] .ud-v3-hero-rail {
    display: none !important;
  }

  body[data-page="account"] .ud-v3-hero-rail::-webkit-scrollbar {
    display: none;
  }

  body[data-page="account"] .ud-v3-hero-rail div {
    flex: 0 0 calc(33.333% - 6px);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--mo-line);
    backdrop-filter: blur(10px);
  }

  body[data-theme="dark"][data-page="account"] .ud-v3-hero-rail div {
    background: rgba(25, 26, 44, 0.6);
  }

  body[data-page="account"] .ud-v3-hero-rail span {
    color: var(--mo-violet);
  }

  body[data-page="account"] .ud-v3-hero-rail small {
    font-size: 10px;
    color: var(--mo-muted);
    font-weight: 600;
  }

  body[data-page="account"] .ud-v3-hero-rail strong {
    font-size: 13px;
    color: var(--mo-ink);
  }

  body[data-page="account"] .ud-v3-section-head,
  body[data-page="account"] .ud-header {
    margin-bottom: 20px;
  }

  body[data-page="account"] .ud-v3-section-head h2,
  body[data-page="account"] .ud-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 4px 0;
  }

  body[data-page="account"] .ud-v3-section-head p,
  body[data-page="account"] .ud-header p {
    font-size: 13px;
    color: var(--mo-muted);
  }

  body[data-page="account"] .ud-v3-section-head span {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--mo-violet);
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  /* Mobile App Redesign for FAQ Page */

  body[data-page="faq"] .faq-hero {
    display: flex;
    flex-direction: column;
    padding: 24px var(--mobile-gutter) 16px;
    gap: 24px;
    position: relative;
    z-index: 2;
  }

  body[data-page="faq"] .faq-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  body[data-page="faq"] .faq-hero-copy h1 {
    font-size: 32px;
    line-height: 1.1;
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
  }

  body[data-page="faq"] .faq-hero-copy p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 24px;
  }

  body[data-page="faq"] .faq-search {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    position: relative;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-search {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.05);
  }

  body[data-page="faq"] .faq-search input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 16px;
    outline: none;
    color: inherit;
  }

  body[data-page="faq"] .faq-search kbd {
    display: none;
    /* Hide shortcut on mobile */
  }

  body[data-page="faq"] .faq-hero-art {
    display: none;
    /* Hide desktop decorative art for a cleaner mobile layout */
  }

  body[data-page="faq"] .faq-shell {
    display: flex;
    flex-direction: column;
    padding: 0 var(--mobile-gutter) 40px;
    gap: 24px;
  }

  body[data-page="faq"] .faq-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-page="faq"] .faq-side-head {
    display: none;
    /* Hide "Browse by topic" header to save space */
  }

  body[data-page="faq"] .faq-categories {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(var(--mobile-gutter) * -1);
    /* Full bleed */
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  body[data-page="faq"] .faq-categories::-webkit-scrollbar {
    display: none;
  }

  body[data-page="faq"] .faq-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 99px;
    background: #fff;
    border: 1px solid var(--mo-line, rgba(0, 0, 0, 0.06));
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink, #1d1b3f);
    transition: all 0.3s ease;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-category {
    background: #1a1a2e;
    color: #fff;
  }

  body[data-page="faq"] .faq-category.is-active {
    background: var(--purple, #5b4ce2);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(91, 76, 226, 0.3);
  }

  body[data-page="faq"] .faq-category small {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
  }

  body[data-page="faq"] .faq-category.is-active small {
    background: rgba(255, 255, 255, 0.2);
  }

  body[data-page="faq"] .faq-side-help {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(91, 76, 226, 0.05);
    border: 1px solid rgba(91, 76, 226, 0.1);
    padding: 16px;
    border-radius: 16px;
  }

  body[data-page="faq"] .faq-side-help .faq-help-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--purple, #5b4ce2);
    color: #fff;
    display: grid;
    place-items: center;
  }

  body[data-page="faq"] .faq-side-help a {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--purple, #5b4ce2);
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  body[data-page="faq"] .faq-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-page="faq"] .faq-content-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  body[data-page="faq"] .faq-section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple, #5b4ce2);
    font-weight: 700;
  }

  body[data-page="faq"] .faq-content-head h2 {
    font-size: 24px;
    margin: 4px 0 0;
  }

  body[data-page="faq"] .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body[data-page="faq"] .faq-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-item {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.04);
  }

  body[data-page="faq"] .faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: transparent;
    border: none;
    text-align: left;
    color: inherit;
    font-family: inherit;
  }

  body[data-page="faq"] .faq-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--mo-muted, #706d8c);
    padding-top: 3px;
  }

  body[data-page="faq"] .faq-question-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body[data-page="faq"] .faq-question-copy small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--purple, #5b4ce2);
    font-weight: 700;
  }

  body[data-page="faq"] .faq-question-copy b {
    font-size: 15px;
    line-height: 1.4;
  }

  body[data-page="faq"] .faq-plus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  [data-theme="dark"] body[data-page="faq"] .faq-plus {
    background: rgba(255, 255, 255, 0.1);
  }

  body[data-page="faq"] .faq-plus i {
    position: absolute;
    background: currentColor;
    border-radius: 2px;
  }

  body[data-page="faq"] .faq-plus i:nth-child(1) {
    width: 10px;
    height: 2px;
  }

  body[data-page="faq"] .faq-plus i:nth-child(2) {
    width: 2px;
    height: 10px;
  }

  body[data-page="faq"] .faq-question[aria-expanded="true"] .faq-plus,
  body[data-page="faq"] .faq-item.open .faq-plus {
    transform: rotate(135deg);
    background: var(--purple, #5b4ce2);
    color: #fff;
  }

  body[data-page="faq"] .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body[data-page="faq"] .faq-question[aria-expanded="true"]+.faq-answer,
  body[data-page="faq"] .faq-item.open .faq-answer {
    grid-template-rows: 1fr;
  }

  body[data-page="faq"] .faq-answer>div {
    overflow: hidden;
  }

  body[data-page="faq"] .faq-answer p {
    padding: 0 16px 20px 42px;
    /* aligns with question copy */
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--mo-muted, #706d8c);
  }

  body[data-page="faq"] .faq-cta-wrap {
    padding: 0 var(--mobile-gutter) 40px;
  }

  body[data-page="faq"] .faq-cta {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    background: linear-gradient(135deg, #2b2353, #151030);
    border-radius: 24px;
    color: #fff;
    text-align: center;
    gap: 24px;
    box-shadow: 0 12px 40px rgba(21, 16, 48, 0.2);
  }

  body[data-page="faq"] .faq-cta h2 {
    font-size: 26px;
    margin: 12px 0 8px;
  }

  body[data-page="faq"] .faq-cta p {
    font-size: 14px;
    opacity: 0.8;
  }

  body[data-page="faq"] .faq-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body[data-page="faq"] .faq-cta-actions .btn {
    width: 100%;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
  }


  body[data-page="faq"] .faq-sidebar {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  body[data-page="faq"] .faq-side-help div b {
    color: var(--ink, #1d1b3f) !important;
  }

  body[data-page="faq"] .faq-side-help div small {
    color: var(--mo-muted, #706d8c) !important;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-side-help div b {
    color: #fff !important;
  }

  [data-theme="dark"] body[data-page="faq"] .faq-side-help div small {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  /* Mobile App Redesign for Legal Pages (Privacy / Terms) */

  body[data-page="legal"] .page-hero {
    padding: 32px var(--mobile-gutter) 24px;
    text-align: left;
    background: linear-gradient(135deg, #2b2353, #151030);
    color: #fff;
  }

  body[data-page="legal"] .legal-hero-inner h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin: 8px 0 12px;
    letter-spacing: -0.02em;
  }

  body[data-page="legal"] .legal-hero-inner p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.5;
  }

  body[data-page="legal"] .legal-nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(var(--mobile-gutter) * -1);
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  body[data-page="legal"] .legal-nav::-webkit-scrollbar {
    display: none;
  }

  body[data-page="legal"] .legal-nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
  }

  body[data-page="legal"] .legal-nav a.on {
    background: #fff;
    color: #151030;
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  body[data-page="legal"] .section {
    padding: 24px var(--mobile-gutter) 40px;
  }

  body[data-page="legal"] .legal-wrap {
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
  }

  [data-theme="dark"] body[data-page="legal"] .legal-wrap {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.05);
  }

  body[data-page="legal"] .legal-wrap h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--ink, #1d1b3f);
    line-height: 1.3;
  }

  [data-theme="dark"] body[data-page="legal"] .legal-wrap h2 {
    color: #fff;
  }

  body[data-page="legal"] .legal-wrap h2:first-child {
    margin-top: 0;
  }

  body[data-page="legal"] .legal-wrap p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--mo-muted, #706d8c);
    margin-bottom: 16px;
  }

  [data-theme="dark"] body[data-page="legal"] .legal-wrap p {
    color: rgba(255, 255, 255, 0.7);
  }


  body[data-page="account"] .tab-pane>.ud-header {
    display: none !important;
  }

  body[data-page="account"] .ud-v3-shell {
    padding-top: 20px;
  }

  /* Mobile App Redesign for Orders Tab */

  body[data-page="account"] .mo-orders {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
  }

  body[data-page="account"] .mo-orders-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  body[data-page="account"] .mo-orders-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mo-violet, #7c5cff);
    font-weight: 700;
    margin-bottom: 6px;
  }

  body[data-page="account"] .mo-orders-head h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--mo-ink);
  }

  body[data-page="account"] .mo-orders-head p {
    font-size: 13px;
    color: var(--mo-muted);
    margin: 0;
  }

  body[data-page="account"] .mo-logout {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: grid;
    place-items: center;
    color: var(--mo-ink);
  }

  body[data-page="account"] .mo-order-summary {
    display: flex;
    gap: 12px;
  }

  body[data-page="account"] .mo-order-summary span {
    flex: 1;
    background: #fff;
    border: 1px solid var(--mo-line);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  }

  body[data-theme="dark"][data-page="account"] .mo-order-summary span {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .mo-order-summary b {
    font-size: 24px;
    font-weight: 800;
    color: var(--mo-ink);
    line-height: 1;
    margin-bottom: 4px;
  }

  body[data-page="account"] .mo-order-summary small {
    font-size: 11px;
    color: var(--mo-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  body[data-page="account"] .mo-order-switch {
    display: flex;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 4px;
    gap: 4px;
  }

  body[data-theme="dark"][data-page="account"] .mo-order-switch {
    background: rgba(255, 255, 255, 0.05);
  }

  body[data-page="account"] .mo-order-switch button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--mo-muted);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
  }

  body[data-page="account"] .mo-order-switch button b {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
  }

  body[data-theme="dark"][data-page="account"] .mo-order-switch button b {
    background: rgba(255, 255, 255, 0.1);
  }

  body[data-page="account"] .mo-order-switch button.is-active {
    background: #fff;
    color: var(--mo-ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  body[data-theme="dark"][data-page="account"] .mo-order-switch button.is-active {
    background: var(--mo-panel);
    color: #fff;
  }

  body[data-page="account"] .mo-order-panel {
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: mo-card-in 0.3s ease forwards;
  }

  body[data-page="account"] .mo-order-panel.is-active {
    display: flex;
  }

  body[data-page="account"] .mo-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
  }

  body[data-page="account"] .mo-panel-heading span {
    font-size: 12px;
    color: var(--mo-violet);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  body[data-page="account"] .mo-panel-heading h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 4px 0 0;
  }

  body[data-page="account"] .mo-panel-heading a {
    font-size: 13px;
    color: var(--mo-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  body[data-page="account"] .mo-order-card {
    background: #fff;
    border: 1px solid var(--mo-line);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-theme="dark"][data-page="account"] .mo-order-card {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .mo-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  body[data-page="account"] .mo-order-top>span:first-child {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mo-muted);
    font-weight: 700;
  }

  body[data-page="account"] .mo-order-top .status {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }

  body[data-page="account"] .mo-order-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--mo-ink);
    line-height: 1.3;
  }

  body[data-page="account"] .mo-order-card p {
    font-size: 13px;
    color: var(--mo-muted);
    margin: 0;
  }

  body[data-page="account"] .mo-order-meta {
    display: flex;
    gap: 16px;
    margin-top: 4px;
  }

  body[data-page="account"] .mo-order-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--mo-muted);
    font-weight: 500;
  }

  body[data-page="account"] .mo-order-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px dashed var(--mo-line);
  }

  body[data-page="account"] .mo-order-foot strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--mo-ink);
  }

  body[data-page="account"] .mo-order-foot a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mo-violet);
    background: rgba(124, 92, 255, 0.1);
    padding: 8px 16px;
    border-radius: 99px;
  }

  body[data-page="account"] .mo-order-secondary {
    display: flex;
    gap: 8px;
    margin-top: -4px;
  }

  body[data-page="account"] .mo-order-secondary>* {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    background: #f7f7fc;
    color: var(--mo-ink);
    font-size: 13px;
    font-weight: 600;
    border: none;
    text-decoration: none;
  }

  body[data-theme="dark"][data-page="account"] .mo-order-secondary>* {
    background: rgba(255, 255, 255, 0.05);
  }

  body[data-page="account"] .mo-order-secondary button {
    cursor: pointer;
  }

  body[data-page="account"] .mo-order-art {
    display: none;
    /* Hide art for cleaner layout on mobile */
  }

  body[data-page="account"] .mo-order-empty {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px dashed var(--mo-line);
  }

  body[data-theme="dark"][data-page="account"] .mo-order-empty {
    background: rgba(25, 26, 44, .94);
  }

  body[data-page="account"] .mo-order-empty span {
    display: inline-flex;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(124, 92, 255, 0.1);
    color: var(--mo-violet);
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  body[data-page="account"] .mo-order-empty h3 {
    font-size: 18px;
    margin: 0 0 8px;
  }

  body[data-page="account"] .mo-order-empty p {
    font-size: 14px;
    color: var(--mo-muted);
    margin: 0 0 20px;
  }

  body[data-page="account"] .mo-order-empty a {
    display: inline-block;
    padding: 12px 24px;
    background: var(--mo-ink);
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
  }


  /* Mobile App Redesign for User Dashboard (Overview, Wishlist, Profile, Security) */

  @media (max-width: 1024px) {

    /* --- 1. OVERVIEW TAB --- */

    /* Hide the desktop section head on overview */
    body[data-page="account"] .ud-v3-section-head {
      display: none !important;
    }

    /* Hide Orders and Packs from the Overview on mobile as requested */
    body[data-page="account"] .ud-v3-progress-card,
    body[data-page="account"] .ud-v3-packs {
      display: none !important;
    }

    body[data-page="account"] .ud-v3-bento {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding-top: 10px;
    }

    /* Value Card Redesign (Premium Gradient) */
    body[data-page="account"] .ud-v3-value-card {
      background: linear-gradient(135deg, #7c5cff, #5140a2) !important;
      color: #fff !important;
      border: none !important;
      border-radius: 24px !important;
      padding: 24px !important;
      box-shadow: 0 12px 30px rgba(124, 92, 255, 0.25) !important;
    }

    body[data-page="account"] .ud-v3-value-card small {
      color: rgba(255, 255, 255, 0.8) !important;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-size: 11px;
      font-weight: 700;
    }

    body[data-page="account"] .ud-v3-value-card strong {
      color: #fff !important;
      font-size: 40px !important;
      font-weight: 800;
      margin: 4px 0 16px !important;
    }

    body[data-page="account"] .ud-v3-value-card p {
      color: rgba(255, 255, 255, 0.9) !important;
      font-size: 13px !important;
      margin: 0 !important;
    }

    body[data-page="account"] .ud-v3-card-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    body[data-page="account"] .ud-v3-card-icon {
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 14px;
      display: grid;
      place-items: center;
      color: #fff;
    }

    body[data-page="account"] .ud-v3-live {
      display: flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.2);
      padding: 6px 12px;
      border-radius: 99px;
      font-size: 11px;
      font-weight: 700;
    }

    /* Wishlist Mini Card on Overview */
    body[data-page="account"] .ud-v3-wish {
      background: #fff !important;
      border-radius: 24px !important;
      padding: 20px !important;
      border: 1px solid var(--mo-line) !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
      gap: 16px !important;
      text-align: left !important;
    }

    body[data-theme="dark"][data-page="account"] .ud-v3-wish {
      background: rgba(25, 26, 44, .94) !important;
    }

    body[data-page="account"] .ud-v3-wish span {
      width: 48px !important;
      height: 48px !important;
      background: rgba(124, 92, 255, 0.1) !important;
      color: var(--mo-violet) !important;
      border-radius: 16px !important;
      display: grid !important;
      place-items: center !important;
      margin: 0 !important;
    }

    body[data-page="account"] .ud-v3-wish small {
      font-size: 15px !important;
      font-weight: 700 !important;
      color: var(--mo-ink) !important;
    }

    body[data-page="account"] .ud-v3-wish strong {
      background: var(--mo-ink) !important;
      color: #fff !important;
      padding: 2px 10px !important;
      border-radius: 10px !important;
      font-size: 12px !important;
      margin-left: auto !important;
    }

    body[data-page="account"] .ud-v3-wish em {
      display: none !important;
      /* Hide extra text */
    }

    /* Security & Discover Cards */
    body[data-page="account"] .ud-v3-security-card,
    body[data-page="account"] .ud-v3-discover-card {
      border-radius: 24px !important;
      padding: 24px !important;
    }


    /* --- 2. PROFILE & SECURITY TABS (Native Settings Style) --- */

    body[data-page="account"] .tab-pane[data-pane="profile"] .panel,
    body[data-page="account"] .tab-pane[data-pane="security"] .panel {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      padding: 10px 0 0 !important;
    }

    body[data-page="account"] .tab-pane[data-pane="profile"] form,
    body[data-page="account"] .tab-pane[data-pane="security"] form {
      background: #fff;
      border-radius: 24px;
      padding: 8px 16px;
      margin-bottom: 20px;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
      border: 1px solid var(--mo-line);
    }

    body[data-theme="dark"][data-page="account"] .tab-pane[data-pane="profile"] form,
    body[data-theme="dark"][data-page="account"] .tab-pane[data-pane="security"] form {
      background: rgba(25, 26, 44, .94);
    }

    body[data-page="account"] .panel .field {
      border-bottom: 1px solid var(--mo-line);
      padding: 12px 0;
      margin: 0;
    }

    body[data-page="account"] .panel .field:last-of-type {
      border-bottom: none;
    }

    body[data-page="account"] .panel .field label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--mo-muted);
      font-weight: 700;
      margin-bottom: 8px;
      display: block;
    }

    body[data-page="account"] .panel .field input {
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
      height: 40px !important;
      font-size: 16px !important;
      color: var(--mo-ink) !important;
      box-shadow: none !important;
    }

    body[data-page="account"] .panel .field input:focus {
      box-shadow: none !important;
      background: transparent !important;
    }

    body[data-page="account"] .panel .btn-navy,
    body[data-page="account"] .panel .btn-outline {
      height: 54px !important;
      border-radius: 16px !important;
      font-size: 16px !important;
      margin-top: 8px !important;
      margin-bottom: 8px !important;
    }

    body[data-page="account"] .ud-security-card {
      background: rgba(0, 0, 0, 0.03) !important;
      border-radius: 20px !important;
      padding: 20px !important;
      border: none !important;
      margin-bottom: 20px !important;
    }

    body[data-theme="dark"][data-page="account"] .ud-security-card {
      background: rgba(255, 255, 255, 0.05) !important;
    }

    /* --- 3. WISHLIST TAB --- */

    body[data-page="account"] .ud-wishlist-grid {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding-top: 10px;
    }

    body[data-page="account"] .ud-wishlist-card {
      border-radius: 20px !important;
      padding: 20px !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
      border: 1px solid var(--mo-line) !important;
    }

    body[data-page="account"] .ud-wishlist-card .img {
      width: 64px !important;
      height: 64px !important;
      border-radius: 14px !important;
    }

    body[data-page="account"] .ud-wishlist-info h3 {
      font-size: 16px !important;
      font-weight: 800 !important;
    }

    body[data-page="account"] .wishlist-toggle {
      width: 44px !important;
      height: 44px !important;
      background: rgba(255, 0, 0, 0.08) !important;
    }
  }

}

@media (min-width: 1025px) {
  .resource-mobile-action {
    display: none !important;
  }
}












@media (max-width: 1024px) {
  body[data-page="account"] .dash-tabs {
    display: none !important;
  }
}

/* Hide header and summary cards on mobile orders view as requested */
body[data-page="account"] .mo-orders-head,
body[data-page="account"] .mo-order-summary {
  display: none !important;
}

body[data-page="account"] .mo-panel-heading {
  display: none !important;
}

/* Hide top Hero profile block on mobile for non-overview tabs so pages don't look identical */
@media (max-width: 1024px) {

  .ud-v3[data-active-pane="orders"] .ud-v3-hero,
  .ud-v3[data-active-pane="packs"] .ud-v3-hero,
  .ud-v3[data-active-pane="wishlist"] .ud-v3-hero,
  .ud-v3[data-active-pane="profile"] .ud-v3-hero,
  .ud-v3[data-active-pane="security"] .ud-v3-hero,
  body[data-page="account"]:has(.tab-pane[data-pane="orders"].on) .ud-v3-hero {
    display: none !important;
  }
}

/* Hide top tab bars on mobile view as requested */
@media (max-width: 1024px) {

  body[data-page="account"] .dash-tabs,
  body[data-page="account"] .ud-v3-dock-wrap {
    display: none !important;
  }
}

/* Mobile account center: authoritative final cascade. */
.ma-account {
  display: none;
}

@media (max-width: 1024px) {
  body[data-page="account"] {
    --ma-ink: #17182a;
    --ma-muted: #74778d;
    --ma-line: rgba(25, 28, 56, .09);
    --ma-card: #fff;
    --ma-canvas: #f4f6fa;
    background: var(--ma-canvas) !important;
  }

  [data-theme="dark"] body[data-page="account"] {
    --ma-ink: #f5f6fb;
    --ma-muted: #9da2b8;
    --ma-line: rgba(255, 255, 255, .09);
    --ma-card: #1c1f2d;
    --ma-canvas: #11131c;
  }

  body[data-page="account"] .site-main {
    padding-top: var(--mobile-header-clearance) !important;
  }

  body[data-page="account"] .ud-v3 {
    min-height: calc(100vh - var(--mobile-header-clearance));
    padding: 0 0 22px !important;
    background: var(--ma-canvas) !important;
  }

  body[data-page="account"] .ud-bg,
  body[data-page="account"] .dash-tabs,
  body[data-page="account"] .ud-v3-hero,
  body[data-page="account"] .ud-v3-dock-wrap,
  body[data-page="account"] .tab-pane[data-pane="packs"] {
    display: none !important;
  }

  body[data-page="account"] .ma-account {
    display: block;
    width: 100%;
    padding: 14px var(--mobile-gutter) 30px;
    color: var(--ma-ink);
    animation: ma-account-enter .62s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="account"] .ma-profile-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 8px;
    background: linear-gradient(145deg, #191b2d 0%, #282b42 58%, #202234 100%);
    color: #fff;
    box-shadow: 0 18px 38px rgba(21, 24, 43, .22);
  }

  body[data-page="account"] .ma-profile-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: -48px;
    right: -32px;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(255, 255, 255, .025), 0 0 0 49px rgba(255, 255, 255, .018);
  }

  body[data-page="account"] .ma-profile-top,
  body[data-page="account"] .ma-identity-row,
  body[data-page="account"] .ma-membership-row,
  body[data-page="account"] .ma-section-heading,
  body[data-page="account"] .ma-setting-row,
  body[data-page="account"] .ma-setting-meta,
  body[data-page="account"] .ma-logout-row,
  body[data-page="account"] .ma-account-footnote {
    display: flex;
    align-items: center;
  }

  body[data-page="account"] .ma-profile-top {
    justify-content: space-between;
    margin-bottom: 22px;
  }

  body[data-page="account"] .ma-account-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  body[data-page="account"] .ma-signout-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: transform .25s ease, background-color .25s ease;
  }

  body[data-page="account"] .ma-signout-icon:active {
    transform: scale(.92);
    background: rgba(255, 255, 255, .15);
  }

  body[data-page="account"] .ma-identity-row {
    min-width: 0;
    gap: 14px;
  }

  body[data-page="account"] .ma-avatar {
    position: relative;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border: 3px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    font-size: 22px;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .2);
  }

  body[data-page="account"] .ma-avatar span {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 16px;
    height: 16px;
    border: 3px solid #25283d;
    border-radius: 50%;
    background: #3ddc97;
  }

  body[data-page="account"] .ma-identity-copy {
    min-width: 0;
  }

  body[data-page="account"] .ma-identity-copy p,
  body[data-page="account"] .ma-identity-copy h1,
  body[data-page="account"] .ma-identity-copy span {
    margin: 0;
    overflow-wrap: anywhere;
  }

  body[data-page="account"] .ma-identity-copy p {
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    font-weight: 600;
  }

  body[data-page="account"] .ma-identity-copy h1 {
    margin: 2px 0 3px;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
  }

  body[data-page="account"] .ma-identity-copy span {
    display: block;
    max-width: 62vw;
    overflow: hidden;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="account"] .ma-membership-row {
    justify-content: space-between;
    gap: 10px;
    margin-top: 19px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .65);
    font-size: 9px;
    font-weight: 600;
  }

  body[data-page="account"] .ma-membership-row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c8f4df;
  }

  body[data-page="account"] .ma-section-heading {
    justify-content: space-between;
    margin: 25px 2px 10px;
  }

  body[data-page="account"] .ma-section-heading span {
    display: block;
    margin-bottom: 2px;
    color: #687084;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
  }

  body[data-page="account"] .ma-section-heading h2 {
    margin: 0;
    color: var(--ma-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
  }

  body[data-page="account"] .ma-section-heading>small {
    color: #459a76;
    font-size: 10px;
    font-weight: 700;
  }

  body[data-page="account"] .ma-settings-list {
    overflow: hidden;
    border: 1px solid var(--ma-line);
    border-radius: 8px;
    background: var(--ma-card);
    box-shadow: 0 9px 24px rgba(22, 26, 48, .055);
  }

  body[data-page="account"] .ma-setting-row {
    position: relative;
    width: 100%;
    min-height: 70px;
    gap: 12px;
    padding: 11px 13px;
    border: 0;
    border-bottom: 1px solid var(--ma-line);
    border-radius: 0;
    background: transparent;
    color: var(--ma-ink);
    text-align: left;
    text-decoration: none;
    transition: background-color .22s ease, transform .22s ease;
  }

  body[data-page="account"] .ma-setting-row:last-child {
    border-bottom: 0;
  }

  body[data-page="account"] .ma-setting-row:active {
    transform: scale(.985);
    background: rgba(88, 96, 124, .06);
  }

  body[data-page="account"] .ma-setting-icon {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  body[data-page="account"] .ma-icon-wishlist {
    background: #fff0f3;
    color: #d95172;
  }

  body[data-page="account"] .ma-icon-profile {
    background: #eaf5ff;
    color: #317bad;
  }

  body[data-page="account"] .ma-icon-security {
    background: #ebf8f2;
    color: #2f8c67;
  }

  body[data-page="account"] .ma-icon-support {
    background: #fff6e6;
    color: #a66d1f;
  }

  body[data-page="account"] .ma-icon-theme {
    background: #f0effb;
    color: #6960a5;
  }

  [data-theme="dark"] body[data-page="account"] .ma-setting-icon {
    filter: saturate(.8) brightness(.78);
  }

  body[data-page="account"] .ma-setting-copy {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
  }

  body[data-page="account"] .ma-setting-copy strong {
    color: var(--ma-ink);
    font-size: 13px;
    font-weight: 700;
  }

  body[data-page="account"] .ma-setting-copy small {
    overflow: hidden;
    color: var(--ma-muted);
    font-size: 10px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="account"] .ma-setting-meta {
    flex: 0 0 auto;
    gap: 7px;
    color: #a2a6b3;
  }

  body[data-page="account"] .ma-setting-meta b {
    min-width: 22px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #f0f1f5;
    color: #5f6374;
    font-size: 9px;
    line-height: 1;
    text-align: center;
  }

  [data-theme="dark"] body[data-page="account"] .ma-setting-meta b {
    background: #292d3c;
    color: #c2c6d6;
  }

  body[data-page="account"] .ma-setting-state {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff3dd;
    color: #95631c;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
  }

  body[data-page="account"] .ma-setting-state.is-protected {
    background: #e7f7ef;
    color: #257b58;
  }

  body[data-page="account"] .ma-support-heading {
    margin-top: 22px;
  }

  body[data-page="account"] .ma-theme-switch {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #d9dce5;
    transition: background-color .28s ease;
  }

  body[data-page="account"] .ma-theme-switch i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  }

  [data-theme="dark"] body[data-page="account"] .ma-theme-switch {
    background: #7770b1;
  }

  [data-theme="dark"] body[data-page="account"] .ma-theme-switch i {
    transform: translateX(18px);
  }

  body[data-page="account"] .ma-logout-row {
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    margin-top: 18px;
    border: 1px solid rgba(210, 68, 91, .15);
    border-radius: 8px;
    background: rgba(210, 68, 91, .055);
    color: #bd3e55;
    font-size: 12px;
    font-weight: 700;
  }

  body[data-page="account"] .ma-account-footnote {
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    color: var(--ma-muted);
    font-size: 9px;
    text-align: center;
  }

  body[data-page="account"] .ud-v3-shell,
  body[data-page="account"] .ud-v3 .ud-shell {
    display: none !important;
    width: 100%;
    padding: 10px var(--mobile-gutter) 30px !important;
  }

  body[data-page="account"] .ma-back-button {
    display: none;
  }

  body[data-page="account"] .ud-v3[data-active-pane="orders"] .ma-account,
  body[data-page="account"] .ud-v3[data-active-pane="wishlist"] .ma-account,
  body[data-page="account"] .ud-v3[data-active-pane="profile"] .ma-account,
  body[data-page="account"] .ud-v3[data-active-pane="security"] .ma-account {
    display: none !important;
  }

  body[data-page="account"] .ud-v3[data-active-pane="wishlist"] .ma-back-button,
  body[data-page="account"] .ud-v3[data-active-pane="profile"] .ma-back-button,
  body[data-page="account"] .ud-v3[data-active-pane="security"] .ma-back-button {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    margin: 13px var(--mobile-gutter) 0;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ma-muted);
    font-size: 11px;
    font-weight: 700;
  }

  body[data-page="account"] .ma-back-button svg {
    transform: rotate(180deg);
  }

  body[data-page="account"] .ud-v3[data-active-pane="orders"] .ud-v3-shell,
  body[data-page="account"] .ud-v3[data-active-pane="wishlist"] .ud-v3-shell,
  body[data-page="account"] .ud-v3[data-active-pane="profile"] .ud-v3-shell,
  body[data-page="account"] .ud-v3[data-active-pane="security"] .ud-v3-shell {
    display: block !important;
    animation: ma-detail-enter .4s cubic-bezier(.22, 1, .36, 1) both;
  }

  body[data-page="account"] .ud-v3-main {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body[data-page="account"] .tab-pane:not(.on) {
    display: none !important;
  }

  body[data-page="account"] .tab-pane.on[data-pane="orders"],
  body[data-page="account"] .tab-pane.on[data-pane="wishlist"],
  body[data-page="account"] .tab-pane.on[data-pane="profile"],
  body[data-page="account"] .tab-pane.on[data-pane="security"] {
    display: block !important;
    padding: 0 !important;
  }

  body[data-page="account"] .tab-pane.on[data-pane="orders"] .mo-orders {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0 24px;
  }

  body[data-page="account"] .tab-pane[data-pane="overview"] {
    display: none !important;
  }

  body[data-page="account"] .tab-pane[data-pane="wishlist"]::before,
  body[data-page="account"] .tab-pane[data-pane="profile"]::before,
  body[data-page="account"] .tab-pane[data-pane="security"]::before {
    display: block;
    margin-bottom: 14px;
    color: var(--ma-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
  }

  body[data-page="account"] .tab-pane[data-pane="wishlist"]::before {
    content: 'Saved items';
  }

  body[data-page="account"] .tab-pane[data-pane="profile"]::before {
    content: 'Personal details';
  }

  body[data-page="account"] .tab-pane[data-pane="security"]::before {
    content: 'Security & access';
  }

  body[data-page="account"] .tab-pane>.ud-header {
    display: none !important;
  }

  body[data-page="account"] .tab-pane[data-pane="profile"] .panel,
  body[data-page="account"] .tab-pane[data-pane="security"] .panel {
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body[data-page="account"] .tab-pane[data-pane="profile"] form,
  body[data-page="account"] .tab-pane[data-pane="security"] form {
    padding: 15px !important;
    border: 1px solid var(--ma-line) !important;
    border-radius: 8px !important;
    background: var(--ma-card) !important;
    box-shadow: 0 9px 24px rgba(22, 26, 48, .055) !important;
  }

  body[data-page="account"] .panel .field {
    padding: 9px 0 !important;
    border-bottom: 1px solid var(--ma-line) !important;
  }

  body[data-page="account"] .panel .field label {
    color: var(--ma-muted) !important;
    font-size: 9px !important;
    letter-spacing: 0 !important;
  }

  body[data-page="account"] .panel .field input {
    height: 42px !important;
    color: var(--ma-ink) !important;
    font-size: 14px !important;
  }

  body[data-page="account"] .panel .btn-navy,
  body[data-page="account"] .panel .btn-outline {
    min-height: 48px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
  }

  body[data-page="account"] .ud-avatar-option {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
  }

  body[data-page="account"] .ud-security-card {
    border-radius: 8px !important;
  }

  body[data-page="account"] .ud-wishlist-grid {
    gap: 10px !important;
    padding-top: 0 !important;
  }

  body[data-page="account"] .ud-wishlist-card {
    min-height: 88px;
    padding: 12px !important;
    border-radius: 8px !important;
    background: var(--ma-card) !important;
    box-shadow: 0 8px 20px rgba(22, 26, 48, .05) !important;
  }

  body[data-page="account"] .ud-wishlist-art {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 8px !important;
  }

  body[data-page="account"] .ud-wishlist-info {
    min-width: 0;
    padding-right: 40px;
  }

  body[data-page="account"] .ud-wishlist-info h3 {
    overflow: hidden;
    font-size: 13px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="account"] .wishlist-toggle {
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
  }

  @keyframes ma-account-enter {
    from {
      opacity: 0;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes ma-detail-enter {
    from {
      opacity: 0;
      transform: translateX(12px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {

    body[data-page="account"] .ma-account,
    body[data-page="account"] .ud-v3-shell {
      animation: none !important;
    }
  }
}
/* -- Mobile Floating Support Chat FAB --------------------------- */
@media (max-width: 1024px) {
  .mob-chat-fab {
    position: fixed;
    right: 16px;
    bottom: calc(var(--mobile-dock-height, 72px) + 14px);
    z-index: 1200;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b4ce2, #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(91, 76, 226, .45), 0 2px 8px rgba(0,0,0,.18);
    text-decoration: none;
    transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s;
  }

  .mob-chat-fab:active {
    transform: scale(.92);
  }

  .mob-chat-fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(91, 76, 226, .28);
    animation: mob-fab-pulse 2.4s ease-out infinite;
    pointer-events: none;
  }

  @keyframes mob-fab-pulse {
    0%   { transform: scale(1);   opacity: .9; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
  }

  .mob-chat-fab-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(239,68,68,.45);
  }
}

@media (min-width: 1025px) {
  .mob-chat-fab { display: none !important; }
}
