/* ============================================
   Skoolyst Unified Design System — Shop Module
   Aligned with SKOOLYST-DESIGN-SYSTEM.md v1.0
   Loaded on every public storefront + auth page.
   Legacy --sk-* names are kept as aliases so markup
   ported from the skoolyst-shops UI prototype needs
   no class-name changes — only the token values move
   to the unified system.
   ============================================ */

:root {
  /* ---- Unified brand tokens (Section B.1) ---- */
  --skoolyst-primary:        #0F4077;
  --skoolyst-primary-dark:   #0A2D52;
  --skoolyst-primary-light:  #1a5a9e;
  --skoolyst-primary-soft:   #EEF3F8;
  --skoolyst-brand-dark:     #0A0E2A;
  --skoolyst-secondary:      #00C4D9;
  --skoolyst-secondary-dark: #0097B0;
  --skoolyst-accent:         #F4B942;
  --skoolyst-accent-dark:    #D4961A;

  --skoolyst-background:     #F5F7FA;
  --skoolyst-surface:        #FFFFFF;
  --skoolyst-surface-alt:    #F0F4F8;
  --skoolyst-text:           #1E293B;
  --skoolyst-text-heading:   #0A2D52;
  --skoolyst-muted:          #64748B;
  --skoolyst-faint:          #94A3B8;
  --skoolyst-border:         #E2E8F0;
  --skoolyst-border-dark:    #CBD5E1;

  --skoolyst-success:    #16A34A;
  --skoolyst-success-bg: #DCFCE7;
  --skoolyst-warning:    #F59E0B;
  --skoolyst-warning-bg: #FEF3C7;
  --skoolyst-danger:     #DC2626;
  --skoolyst-danger-bg:  #FEE2E2;
  --skoolyst-info:       #0EA5E9;
  --skoolyst-info-bg:    #E0F2FE;

  --skoolyst-font:      Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                        "Helvetica Neue", Arial, sans-serif;
  --skoolyst-font-mono: "JetBrains Mono", "Fira Code", "Courier New", monospace;

  --skoolyst-btn-radius:    8px;
  --skoolyst-btn-radius-sm: 6px;
  --skoolyst-btn-radius-lg: 10px;

  --skoolyst-radius-xs:   4px;
  --skoolyst-radius-sm:   6px;
  --skoolyst-radius:      10px;
  --skoolyst-radius-lg:   12px;
  --skoolyst-radius-xl:   16px;
  --skoolyst-radius-full: 9999px;

  --skoolyst-card-radius:       var(--skoolyst-radius);
  --skoolyst-card-shadow:       0 1px 3px rgba(10,14,42,.05), 0 4px 16px rgba(10,14,42,.08);
  --skoolyst-card-shadow-hover: 0 4px 8px rgba(10,14,42,.06), 0 12px 28px rgba(10,14,42,.12);

  --skoolyst-shadow-sm: 0 1px 2px rgba(10,14,42,.05);
  --skoolyst-shadow-md: 0 1px 3px rgba(10,14,42,.05), 0 4px 16px rgba(10,14,42,.08);
  --skoolyst-shadow-lg: 0 4px 8px rgba(10,14,42,.06), 0 12px 28px rgba(10,14,42,.12);
  --skoolyst-shadow-xl: 0 8px 16px rgba(10,14,42,.08), 0 24px 48px rgba(10,14,42,.16);

  --skoolyst-container:     1200px;
  --skoolyst-content-max:   860px;
  --skoolyst-sidebar-width: 260px;
  --skoolyst-header-height: 64px;

  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem;  --space-7: 2rem;    --space-8: 2.5rem;
  --space-9: 3.5rem;  --space-10: 5rem;

  --bp-sm: 640px; --bp-md: 768px; --bp-lg: 1024px; --bp-xl: 1280px;

  /* ---- Legacy skoolyst-shops aliases (kept for the ported markup) ---- */
  --sk-navy: var(--skoolyst-primary);
  --sk-navy-700: var(--skoolyst-primary-dark);
  --sk-navy-600: var(--skoolyst-primary-dark);
  --sk-navy-500: var(--skoolyst-primary-light);
  --sk-navy-400: var(--skoolyst-primary-light);
  --sk-navy-300: var(--skoolyst-border-dark);
  --sk-navy-100: var(--skoolyst-primary-soft);
  --sk-navy-50: var(--skoolyst-primary-soft);

  --sk-accent: var(--skoolyst-accent);
  --sk-accent-600: var(--skoolyst-accent-dark);
  --sk-accent-100: #FDF1D9;

  --sk-teal: var(--skoolyst-secondary);
  --sk-teal-100: #D7F7FA;

  --sk-success: var(--skoolyst-success);
  --sk-success-100: var(--skoolyst-success-bg);
  --sk-warning: var(--skoolyst-warning);
  --sk-warning-100: var(--skoolyst-warning-bg);
  --sk-error: var(--skoolyst-danger);
  --sk-error-100: var(--skoolyst-danger-bg);
  --sk-info: var(--skoolyst-info);
  --sk-info-100: var(--skoolyst-info-bg);

  --sk-gray-900: var(--skoolyst-text-heading);
  --sk-gray-800: var(--skoolyst-text);
  --sk-gray-700: var(--skoolyst-text);
  --sk-gray-600: var(--skoolyst-muted);
  --sk-gray-500: var(--skoolyst-muted);
  --sk-gray-400: var(--skoolyst-faint);
  --sk-gray-300: var(--skoolyst-border-dark);
  --sk-gray-200: var(--skoolyst-border);
  --sk-gray-100: var(--skoolyst-surface-alt);
  --sk-gray-50: var(--skoolyst-surface-alt);

  --sk-bg: var(--skoolyst-background);
  --sk-surface: var(--skoolyst-surface);
  --sk-border: var(--skoolyst-border);

  --sk-font: var(--skoolyst-font);
  --sk-heading: var(--skoolyst-font);
  --sk-body-lh: 1.6;
  --sk-heading-lh: 1.25;

  --sk-radius: var(--skoolyst-radius);
  --sk-radius-lg: var(--skoolyst-radius-xl);
  --sk-radius-sm: var(--skoolyst-radius-sm);

  --sk-shadow-sm: var(--skoolyst-shadow-sm);
  --sk-shadow: var(--skoolyst-shadow-sm);
  --sk-shadow-md: var(--skoolyst-shadow-md);
  --sk-shadow-lg: var(--skoolyst-shadow-lg);

  --sk-gap: var(--space-4);
  --sk-section-py: var(--space-9);
}

/* ---------- Base & Typography ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--skoolyst-font);
  font-size: 15px;
  background: var(--sk-bg);
  color: var(--skoolyst-text);
  line-height: var(--sk-body-lh);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--skoolyst-font);
  line-height: var(--sk-heading-lh);
  color: var(--skoolyst-text-heading);
  font-weight: 700;
}
h1 { font-size: 2.25rem; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; color: var(--skoolyst-text); }
h5 { font-size: 1rem; font-weight: 600; color: var(--skoolyst-text); }
h6 { font-size: 0.875rem; font-weight: 600; color: var(--skoolyst-muted); }
a { color: var(--sk-navy-500); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sk-navy); }
img { max-width: 100%; }
.text-navy { color: var(--sk-navy) !important; }
.text-accent { color: var(--sk-accent) !important; }
.bg-navy { background: var(--sk-navy) !important; }
.bg-accent { background: var(--sk-accent) !important; }
.bg-surface { background: var(--sk-surface) !important; }
.bg-light-surface { background: var(--sk-gray-50) !important; }
.section { padding-top: var(--sk-section-py); padding-bottom: var(--sk-section-py); }
.section-sm { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.fw-semibold { font-weight: 600; }
.fw-medium { font-weight: 500; }
:focus-visible { outline: 2px solid var(--skoolyst-accent); outline-offset: 2px; }

/* ---------- Product card ---------- */
.product-card .product-img-wrap { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--sk-radius) var(--sk-radius) 0 0; background: var(--sk-gray-100); position: relative; }
.product-card .product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-card .card-body { padding: 1rem; }
.product-card .product-title { font-weight: 600; color: var(--sk-gray-900); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-card .product-price { font-size: 1.1rem; font-weight: 700; color: var(--sk-navy); }
.product-card .product-old-price { font-size: .85rem; color: var(--sk-gray-400); text-decoration: line-through; }
.product-card .store-name { font-size: .8rem; color: var(--sk-gray-500); }
.product-card .favorite-toggle-btn { position: absolute; top: .5rem; right: .5rem; z-index: 2; width: 34px; height: 34px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.9); border: none; color: var(--sk-gray-500); display: flex; align-items: center; justify-content: center; }
.product-card .favorite-toggle-btn:hover { color: #e11d48; }
.product-card .favorite-toggle-btn.active { color: #e11d48; }

/* ---------- Store card ---------- */
.store-card .store-logo-wrap { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--sk-navy-100); }
.store-card .store-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Category card ---------- */
.category-card { text-align: center; padding: 1.5rem 1rem; }
.category-card .cat-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; font-size: 1.75rem; background: var(--sk-navy-50); color: var(--sk-navy); transition: all .2s; }
.category-card:hover .cat-icon { background: var(--sk-navy); color: #fff; transform: scale(1.08); }
.category-card .cat-name { font-weight: 600; font-size: .9rem; color: var(--sk-gray-700); }

/* ---------- Rating stars ---------- */
.stars { color: var(--sk-accent); font-size: .85rem; letter-spacing: 1px; }
.stars .bi-star-fill { color: var(--sk-accent); }
.stars .bi-star { color: var(--sk-gray-300); }
.rating-num { font-size: .8rem; color: var(--sk-gray-500); font-weight: 600; }

/* ---------- Header / Navbar (storefront, dark brand) ---------- */
.sk-header { background: var(--skoolyst-brand-dark); z-index: 1030; }
.sk-header .navbar-brand { font-weight: 800; font-size: 1.35rem; color: #fff; letter-spacing: -.5px; }
.sk-header .navbar-brand .brand-accent { color: var(--sk-accent); }
.sk-header .nav-link { color: rgba(255,255,255,.85); font-weight: 500; font-size: .9rem; padding: .5rem 1rem !important; border-radius: var(--skoolyst-radius-sm); transition: all .15s; }
.sk-header .nav-link:hover, .sk-header .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.sk-header .nav-link:focus { outline: 2px solid var(--sk-accent); outline-offset: 2px; }
.sk-header .btn-search-icon { color: rgba(255,255,255,.85); }
.sk-header .btn-search-icon:hover { color: #fff; }
.sk-header .cart-count, .sk-header .favorite-count { position: absolute; top: -4px; right: -4px; background: var(--sk-accent); color: #fff; font-size: .65rem; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sk-header .nav-icon-link { display: inline-flex; align-items: center; padding: .4rem .5rem; margin-right: .25rem; border-radius: var(--skoolyst-radius-sm); }
.sk-header .nav-icon-link:hover { background: rgba(255,255,255,.1); }
.search-bar { max-width: 320px; }
.search-bar .input-group-text { background: var(--sk-surface); border-right: 0; }
.search-bar .form-control { border-left: 0; }
.search-bar .form-control:focus { box-shadow: none; border-color: var(--sk-border); }
.search-bar .input-group-text:focus-within { border-color: var(--sk-accent); }

/* ---------- Hero ---------- */
.hero-section { background: linear-gradient(135deg, var(--sk-navy) 0%, var(--sk-navy-600) 100%); color: #fff; padding: 4rem 0; position: relative; overflow: hidden; }
.hero-section::before { content: ""; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(244,185,66,.14) 0%, transparent 70%); border-radius: 50%; }
.hero-section h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
.hero-section .hero-sub { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 540px; }
.hero-img-wrap { border-radius: var(--skoolyst-radius-xl); overflow: hidden; box-shadow: var(--skoolyst-shadow-lg); }

/* ---------- Section heading ---------- */
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .5rem; }
.section-heading h2 { font-size: 1.5rem; margin: 0; }
.section-heading a { font-size: .875rem; font-weight: 600; }

/* ---------- Feature card ---------- */
.feature-card { text-align: center; padding: 2rem 1.5rem; }
.feature-card .feat-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.5rem; background: var(--sk-navy-50); color: var(--sk-navy); }
.feature-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p { color: var(--sk-gray-500); font-size: .9rem; margin: 0; }

/* ---------- CTA section ---------- */
.cta-section { background: linear-gradient(135deg, var(--sk-navy) 0%, var(--sk-navy-500) 100%); border-radius: var(--skoolyst-radius-xl); padding: 3rem 2rem; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; bottom: -30%; left: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(244,185,66,.1) 0%, transparent 70%); border-radius: 50%; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.85); }

/* ---------- Footer (storefront) ---------- */
.sk-footer { background: var(--skoolyst-brand-dark); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem; }
.sk-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.sk-footer a { color: rgba(255,255,255,.7); font-size: .875rem; }
.sk-footer a:hover { color: var(--sk-accent); }
.sk-footer .footer-brand { font-weight: 800; font-size: 1.35rem; color: #fff; }
.sk-footer .footer-brand .brand-accent { color: var(--sk-accent); }
.sk-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; margin-top: 2rem; font-size: .8rem; }

/* ---------- Breadcrumb ---------- */
.sk-breadcrumb { background: var(--sk-surface); border-bottom: 1px solid var(--sk-border); padding: .75rem 0; }
.sk-breadcrumb .breadcrumb { margin: 0; font-size: .85rem; }
.sk-breadcrumb .breadcrumb-item a { color: var(--sk-gray-500); }
.sk-breadcrumb .breadcrumb-item.active { color: var(--sk-navy); font-weight: 600; }

/* ---------- Filter sidebar ---------- */
.filter-sidebar.sticky-top { z-index: 1; }
.filter-sidebar { background: var(--sk-surface); border: 1px solid var(--sk-border); border-radius: var(--skoolyst-card-radius); padding: 1.25rem; }
.filter-sidebar .filter-group { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--sk-border); }
.filter-sidebar .filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-sidebar .filter-title { font-weight: 700; font-size: .85rem; color: var(--sk-navy); margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .5px; }
.filter-sidebar .form-check { margin-bottom: .35rem; }
.filter-sidebar .form-check-label { font-size: .875rem; color: var(--sk-gray-600); }
.filter-sidebar .price-range-display { display: flex; justify-content: space-between; font-size: .8rem; color: var(--sk-gray-500); margin-top: .25rem; }

/* ---------- Product detail gallery ---------- */
.gallery-main { border-radius: var(--skoolyst-card-radius); overflow: hidden; border: 1px solid var(--sk-border); background: var(--sk-surface); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; border-radius: var(--skoolyst-radius-sm); overflow: hidden; border: 2px solid var(--sk-border); cursor: pointer; transition: border-color .15s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--sk-navy); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Quantity selector ---------- */
.quantity-selector { display: inline-flex; align-items: center; border: 1px solid var(--sk-border); border-radius: var(--skoolyst-radius-sm); overflow: hidden; }
.quantity-selector button { background: var(--sk-gray-50); border: none; width: 38px; height: 38px; font-size: 1.1rem; color: var(--sk-navy); cursor: pointer; transition: background .15s; }
.quantity-selector button:hover { background: var(--sk-gray-100); }
.quantity-selector input { width: 48px; height: 38px; border: none; text-align: center; font-weight: 600; color: var(--sk-navy); }
.quantity-selector input:focus { outline: none; }

/* ---------- Cart item ---------- */
.cart-item { display: flex; gap: 1rem; padding: 1rem; border: 1px solid var(--sk-border); border-radius: var(--skoolyst-card-radius); background: var(--sk-surface); }
.cart-item .cart-item-img { width: 80px; height: 80px; border-radius: var(--skoolyst-radius-sm); overflow: hidden; flex-shrink: 0; background: var(--sk-gray-100); }
.cart-item .cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Order summary ---------- */
.order-summary { background: var(--sk-surface); border: 1px solid var(--sk-border); border-radius: var(--skoolyst-card-radius); padding: 1.5rem; }
.order-summary .summary-row { display: flex; justify-content: space-between; margin-bottom: .75rem; font-size: .9rem; }
.order-summary .summary-total { font-size: 1.15rem; font-weight: 700; color: var(--sk-navy); border-top: 2px solid var(--sk-border); padding-top: .75rem; margin-top: .75rem; }

/* ---------- Store profile header ---------- */
.store-header { background: var(--sk-surface); border: 1px solid var(--sk-border); border-radius: var(--skoolyst-radius-xl); overflow: hidden; }
.store-header .store-cover { height: 140px; background: linear-gradient(135deg, var(--sk-navy) 0%, var(--sk-navy-500) 100%); }
.store-header .store-body { padding: 1.5rem; display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap; }
.store-header .store-logo-lg { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 4px solid var(--sk-surface); margin-top: -50px; background: var(--sk-gray-100); flex-shrink: 0; }
.store-header .store-logo-lg img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tabs (store profile + product detail + settings) ---------- */
.store-tabs .nav-link, .sk-tabs .nav-link { color: var(--sk-gray-600); font-weight: 600; font-size: .9rem; border: none; border-bottom: 3px solid transparent; border-radius: 0; padding: .75rem 1.25rem; }
.store-tabs .nav-link:hover, .sk-tabs .nav-link:hover { color: var(--sk-navy); }
.store-tabs .nav-link.active, .sk-tabs .nav-link.active { color: var(--sk-navy); border-bottom-color: var(--sk-accent); background: transparent; }

/* ---------- Review card ---------- */
.review-card { border: 1px solid var(--sk-border); border-radius: var(--skoolyst-card-radius); padding: 1.25rem; background: var(--sk-surface); }
.review-card .review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sk-navy-50); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--sk-navy); font-size: .9rem; flex-shrink: 0; }

/* ---------- Rating breakdown bar ---------- */
.rating-bar { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.rating-bar .bar-label { font-size: .8rem; color: var(--sk-gray-500); width: 2.5rem; }
.rating-bar .bar-track { flex: 1; height: 8px; background: var(--sk-gray-200); border-radius: 4px; overflow: hidden; }
.rating-bar .bar-fill { height: 100%; background: var(--sk-accent); border-radius: 4px; }
.rating-bar .bar-count { font-size: .8rem; color: var(--sk-gray-500); width: 2rem; text-align: right; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state .empty-icon { font-size: 3.5rem; color: var(--sk-gray-300); margin-bottom: 1rem; }
.empty-state h4 { color: var(--sk-gray-600); font-size: 1.15rem; margin-bottom: .5rem; }
.empty-state p { color: var(--sk-gray-400); font-size: .9rem; max-width: 400px; margin: 0 auto 1.25rem; }

/* ---------- Toast ---------- */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1090; }
.sk-toast { background: var(--sk-surface); border: 1px solid var(--sk-border); border-left: 4px solid var(--sk-success); border-radius: var(--skoolyst-card-radius); box-shadow: var(--skoolyst-shadow-lg); padding: 1rem 1.25rem; display: flex; align-items: center; gap: .75rem; min-width: 280px; margin-top: .5rem; animation: toastIn .25s ease; }
.sk-toast .toast-icon { font-size: 1.25rem; color: var(--sk-success); }
.sk-toast .toast-msg { font-size: .875rem; font-weight: 500; color: var(--sk-gray-700); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- Auth pages ---------- */
.auth-wrapper { min-height: 100vh; display: flex; }
.auth-sidebar { background: linear-gradient(135deg, var(--sk-navy) 0%, var(--sk-navy-500) 100%); color: #fff; padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; flex: 0 0 42%; }
.auth-sidebar h2 { color: #fff; font-size: 1.75rem; }
.auth-sidebar p { color: rgba(255,255,255,.8); }
.auth-sidebar .auth-features li { color: rgba(255,255,255,.85); margin-bottom: .75rem; font-size: .9rem; list-style:none; }
.auth-sidebar .auth-features .bi { color: var(--sk-accent); margin-right: .5rem; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1.5rem; background: var(--sk-bg); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .auth-logo { font-weight: 800; font-size: 1.5rem; color: var(--sk-navy); margin-bottom: .25rem; }
.auth-card .auth-logo .brand-accent { color: var(--sk-accent); }
.auth-card .form-label { font-weight: 600; font-size: .85rem; color: var(--sk-gray-700); margin-bottom: .35rem; }
.auth-card .form-control { padding: .6rem .85rem; }
.auth-card .form-control:focus { border-color: var(--sk-navy-400); box-shadow: 0 0 0 .2rem rgba(15,64,119,.1); }

/* ---------- Loading skeleton ---------- */
.skeleton { background: linear-gradient(90deg, var(--sk-gray-100) 25%, var(--sk-gray-200) 50%, var(--sk-gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--skoolyst-radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Avatar circle ---------- */
.avatar-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--sk-navy-50); color: var(--sk-navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.avatar-circle.lg { width: 56px; height: 56px; font-size: 1.1rem; }

/* ---------- Container ---------- */
.container { width: min(100% - 32px, var(--skoolyst-container)); margin-inline: auto; max-width: var(--skoolyst-container); }

/* ---------- Responsive (Section 15) ---------- */
@media (max-width: 991.98px) {
  .search-bar { max-width: 100%; }
}
@media (max-width: 767.98px) {
  :root { --sk-section-py: var(--space-8); }
  .hero-section { padding: 2.5rem 0; text-align: center; }
  .hero-section .hero-sub { margin: 0 auto; }
  .cta-section { padding: 2rem 1.25rem; }
  .auth-sidebar { display: none; }
  .auth-main { padding: 1.5rem 1rem; }
  .section-heading h2 { font-size: 1.25rem; }
  .container { width: min(100% - 20px, var(--skoolyst-container)); padding: 0 1rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
}
@media (max-width: 575.98px) {
  .store-header .store-body { flex-direction: column; align-items: center; text-align: center; }
  .store-header .store-logo-lg { margin-top: -50px; }
  .table-wrap, .table-wrapper { border-radius: 0; border-left: none; border-right: none; }
}
