/* GEARHUB Phase 3 — inner pages */
.inner-page { min-height: 100vh; }
.page-main { padding-top: 25px; padding-bottom: 82px; }
.breadcrumb { display:flex; align-items:center; gap:10px; margin:0 0 27px; color:#718076; font-size:10px; }
.breadcrumb a:hover { color:var(--green); }
.breadcrumb strong { color:#d7e2d9; font-weight:650; }
.page-hero { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; padding:20px 0 30px; }
.page-hero-compact { border-bottom:1px solid var(--line); }
.page-hero h1 { margin:9px 0 8px; font-size:clamp(30px,4vw,46px); line-height:1.08; letter-spacing:-.06em; font-weight:900; }
.page-hero h1 em { color:var(--green); font-style:normal; }
.page-hero p { max-width:580px; margin:0; color:#8d9a90; font-size:12px; }
.page-hero-stat { display:flex; flex-direction:column; align-items:flex-end; gap:2px; color:#849188; font-size:9px; white-space:nowrap; }
.page-hero-stat strong { color:var(--green); font-size:27px; line-height:1; }
.catalog-layout { display:grid; grid-template-columns:245px minmax(0,1fr); gap:28px; align-items:start; padding-top:27px; }
.filter-panel { position:sticky; top:148px; padding:19px; border:1px solid var(--line); border-radius:13px; background:linear-gradient(145deg,#121a14,#0e140f); }
.filter-panel-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.filter-panel-heading h2 { margin:0; font-size:15px; }
.filter-reset,.password-toggle { padding:0; border:0; color:var(--green); background:transparent; font-size:9px; font-weight:700; cursor:pointer; }
.filter-label { display:block; margin:0 0 8px; color:#dce7de; font-size:10px; font-weight:700; }
.filter-search-wrap { display:flex; align-items:center; gap:8px; height:39px; padding:0 10px; border:1px solid var(--line-strong); border-radius:7px; background:#0d130f; color:#76877b; }
.filter-search-wrap input { min-width:0; width:100%; border:0; outline:0; color:var(--text); background:transparent; font-size:10px; }
.filter-group { margin-top:18px; }
.form-control { width:100%; min-height:39px; padding:0 10px; border:1px solid var(--line-strong); border-radius:7px; outline:0; color:#dce7de; background:#0d130f; font:inherit; font-size:10px; }
.form-control:focus { border-color:rgba(33,212,119,.55); box-shadow:0 0 0 3px rgba(33,212,119,.07); }
.form-control option,.form-control optgroup { color:#e7efe8; background:#121914; }
.check-filter { display:flex; align-items:center; gap:9px; color:#a9b6ac; font-size:10px; cursor:pointer; }
.check-filter input { position:absolute; opacity:0; pointer-events:none; }
.custom-check { width:16px; height:16px; display:grid; place-items:center; border:1px solid var(--line-strong); border-radius:4px; background:#0d130f; }
.check-filter input:checked + .custom-check { border-color:var(--green); background:var(--green); }
.check-filter input:checked + .custom-check::after { content:"✓"; color:#051109; font-size:11px; font-weight:900; }
.filter-help { display:flex; align-items:center; gap:8px; margin-top:20px; padding-top:14px; border-top:1px solid var(--line); color:#7e8e82; font-size:8px; }
.results-toolbar { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:18px; }
.results-toolbar > div { display:flex; flex-direction:column; gap:3px; }
.results-toolbar strong { color:#e8f1e9; font-size:13px; }
.results-toolbar span { color:#79877e; font-size:9px; }
.sort-control { display:flex; align-items:center; gap:9px; color:#829087; font-size:9px; white-space:nowrap; }
.sort-control .form-control { min-width:145px; width:auto; }
.active-filter-row { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:-4px 0 15px; }
.active-filter-row[hidden] { display:none; }
.filter-chip { padding:5px 8px; border:1px solid rgba(33,212,119,.17); border-radius:5px; color:#a7d9b8; background:rgba(33,212,119,.06); font-size:8px; }
.active-filter-row button { padding:4px 7px; border:0; color:var(--green); background:transparent; font-size:8px; cursor:pointer; }
.listing-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.listing-product-grid .product-visual { height:190px; }
.product-name a { color:inherit; }
.product-name a:hover { color:var(--green); }
.listing-product-grid .quick-view-button { opacity:1; transform:none; }
.detail-loading { display:grid; grid-template-columns:1fr 1fr; gap:55px; min-height:435px; }
.detail-loading-art,.detail-loading-copy span { border-radius:13px; background:linear-gradient(100deg,#172019 25%,#202b22 40%,#172019 60%); background-size:200% 100%; animation:skeleton 1.4s infinite; }
.detail-loading-art { min-height:390px; }
.detail-loading-copy { display:flex; flex-direction:column; gap:17px; padding-top:25px; }
.detail-loading-copy span { height:18px; }
.detail-loading-copy span:nth-child(1) { width:27%; height:12px; }
.detail-loading-copy span:nth-child(2) { width:82%; height:36px; }
.detail-loading-copy span:nth-child(3) { width:53%; height:28px; }
.detail-loading-copy span:nth-child(4) { width:95%; height:90px; }
.detail-not-found { padding:65px 20px 85px; text-align:center; }
.detail-not-found[hidden],.product-detail-layout[hidden],.detail-information[hidden],.detail-info-panel[hidden],.related-section[hidden] { display:none; }
.detail-not-found h1 { margin:8px 0; font-size:25px; }
.detail-not-found p { margin:0 0 20px; color:var(--muted); font-size:11px; }
.product-detail-layout { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:45px; align-items:start; padding:5px 0 48px; }
.detail-gallery { min-width:0; }
.detail-main-image { min-height:430px; display:grid; place-items:center; position:relative; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:radial-gradient(ellipse at 50% 60%,rgba(35,132,73,.17),transparent 56%),linear-gradient(140deg,#19231b,#101712 75%); }
.detail-main-image > img { width:100%; height:100%; min-height:430px; object-fit:contain; padding:26px; }
.detail-image-fallback { width:100%; min-height:430px; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; color:#c4e6cf; }
.detail-image-fallback::before { content:""; width:250px; height:160px; position:absolute; border:1px solid rgba(84,195,119,.27); border-radius:50%; box-shadow:0 0 80px rgba(20,167,83,.14),inset 0 0 50px rgba(20,167,83,.08); transform:rotate(-15deg); }
.detail-image-fallback span { position:relative; z-index:1; font-size:115px; line-height:1; filter:drop-shadow(0 8px 16px rgba(33,212,119,.25)); }
.detail-image-fallback small { position:relative; z-index:1; margin-top:18px; color:#c0d7c6; font-size:12px; font-weight:800; letter-spacing:.18em; }
.detail-image-fallback i { position:absolute; right:20px; bottom:18px; color:#617268; font-size:8px; font-style:normal; letter-spacing:.18em; }
.detail-image-caption { display:flex; align-items:center; gap:8px; margin-top:12px; color:#738178; font-size:8px; letter-spacing:.12em; }
.detail-summary { padding:13px 0; }
.detail-product-meta { display:flex; justify-content:space-between; align-items:center; gap:12px; color:#87968b; font-size:9px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.detail-summary h1 { margin:13px 0 7px; color:#eef5ef; font-size:clamp(27px,3.2vw,39px); line-height:1.13; letter-spacing:-.055em; }
.detail-category { margin:0; color:#849187; font-size:10px; }
.detail-price { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:25px 0 17px; }
.detail-price strong { color:var(--green); font-size:27px; letter-spacing:-.045em; }
.detail-price del { color:#718078; font-size:12px; }
.detail-discount { padding:4px 7px; border-radius:4px; color:#1b0c0d; background:#ff858b; font-size:9px; font-weight:850; }
.detail-description { max-width:580px; margin:0; color:#a1ada4; font-size:11px; line-height:1.9; }
.detail-stock-note { margin-top:19px; padding:12px 13px; border:1px solid rgba(33,212,119,.18); border-radius:8px; color:#a5dcb8; background:rgba(33,212,119,.055); font-size:10px; }
.detail-quantity-row { display:flex; align-items:center; gap:14px; margin-top:22px; color:#d4dfd6; font-size:10px; }
.detail-quantity-control { gap:0; margin:0; }
.detail-quantity-control button { width:34px; height:32px; font-size:16px; }
.detail-quantity-control input { width:42px; height:32px; border:0; outline:0; color:#e9f2ea; background:transparent; text-align:center; font-size:10px; }
.detail-quantity-control input::-webkit-inner-spin-button { appearance:none; }
.detail-quantity-control button:disabled { opacity:.35; cursor:not-allowed; }
.detail-stock-hint { color:#748278; font-size:8px; }
.detail-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
.detail-actions .button { min-height:47px; }
.detail-actions button:disabled { opacity:.45; cursor:not-allowed; transform:none; }
.detail-promises { display:grid; grid-template-columns:1fr; gap:12px; margin-top:27px; padding-top:20px; border-top:1px solid var(--line); }
.detail-promises > div { display:flex; align-items:center; gap:11px; }
.detail-promises > div > b { width:30px; height:30px; display:grid; place-items:center; border:1px solid rgba(33,212,119,.2); border-radius:8px; color:var(--green); background:var(--green-soft); }
.detail-promises strong,.detail-promises small { display:block; }
.detail-promises strong { color:#dce7de; font-size:9px; }
.detail-promises small { margin-top:2px; color:#7e8a81; font-size:8px; }
.detail-information { margin:0 0 58px; border:1px solid var(--line); border-radius:13px; background:#101712; }
.detail-info-tabs { display:flex; gap:24px; padding:0 23px; border-bottom:1px solid var(--line); }
.detail-info-tab { min-height:48px; position:relative; border:0; color:#849188; background:transparent; font-size:10px; font-weight:700; cursor:pointer; }
.detail-info-tab::after { content:""; height:2px; position:absolute; right:0; bottom:-1px; left:0; background:transparent; }
.detail-info-tab.is-active { color:#e8f1e9; }
.detail-info-tab.is-active::after { background:var(--green); }
.detail-info-panel { padding:24px; }
.detail-info-panel h2 { margin:0 0 12px; font-size:16px; }
.detail-info-panel > p { max-width:860px; margin:0; color:#a2afa5; font-size:11px; line-height:1.9; }
.spec-table { display:grid; grid-template-columns:1fr 1fr; gap:0 22px; }
.spec-row { display:flex; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid var(--line); font-size:10px; }
.spec-row span { color:#849188; }
.spec-row strong { max-width:60%; color:#dce8df; text-align:right; font-weight:650; }
.spec-empty { color:#87958a; font-size:10px; }
.related-section { padding:0 0 20px; }
.related-section .section-heading { margin-bottom:20px; }
.auth-page { padding-bottom:88px; }
.auth-layout { min-height:570px; display:grid; grid-template-columns:minmax(0,1fr) minmax(380px,.82fr); gap:60px; align-items:center; padding:18px 0 45px; }
.auth-aside { min-height:470px; position:relative; display:flex; flex-direction:column; justify-content:center; overflow:hidden; padding:55px 43px; border:1px solid rgba(91,155,108,.22); border-radius:17px; background:radial-gradient(ellipse at 75% 55%,rgba(29,111,65,.22),transparent 44%),linear-gradient(115deg,#111914 0%,#0b100d 60%,#0c1710 100%); }
.auth-aside h1 { position:relative; z-index:1; margin:17px 0 12px; font-size:clamp(33px,4.2vw,55px); line-height:1.05; letter-spacing:-.065em; }
.auth-aside h1 em { color:var(--green); font-style:normal; }
.auth-aside > p { position:relative; z-index:1; max-width:430px; margin:0; color:#9ba99e; font-size:12px; line-height:1.85; }
.auth-aside-points { display:flex; flex-direction:column; gap:13px; position:relative; z-index:1; margin-top:38px; color:#c8d5cb; font-size:10px; }
.auth-aside-points i { margin-right:9px; color:var(--green); font-size:13px; font-style:normal; font-weight:850; }
.auth-orbit { width:310px; height:190px; position:absolute; right:-95px; bottom:10px; border:1px solid rgba(33,212,119,.18); border-radius:50%; transform:rotate(-28deg); }
.auth-orbit-two { width:250px; height:150px; right:-65px; bottom:30px; border-color:rgba(33,212,119,.1); }
.auth-card { padding:30px; border:1px solid var(--line); border-radius:15px; background:linear-gradient(145deg,#141c16,#0f1511); box-shadow:0 25px 70px rgba(0,0,0,.2); }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:5px; border:1px solid var(--line); border-radius:9px; background:#0b100d; }
.auth-tab { min-height:36px; border:0; border-radius:6px; color:#89978d; background:transparent; font-size:10px; font-weight:750; cursor:pointer; }
.auth-tab.is-active { color:#06130a; background:var(--green); }
.auth-heading { margin:24px 0 21px; }
.auth-heading h2,.auth-profile-view h2 { margin:7px 0 5px; font-size:25px; letter-spacing:-.055em; }
.auth-heading h2 em,.auth-profile-view h2 em { color:var(--green); font-style:normal; }
.auth-heading p,.profile-intro { margin:0; color:#89978d; font-size:10px; }
.auth-form { display:flex; flex-direction:column; gap:8px; }
.auth-form[hidden] { display:none; }
.auth-form > label,.form-label-row label { margin-top:7px; color:#cbd7cd; font-size:9px; font-weight:700; }
.form-label-row { display:flex; justify-content:space-between; align-items:center; margin-top:7px; }
.form-label-row label { margin:0; }
.auth-form .form-control { min-height:43px; font-size:10px; }
.password-input-wrap { position:relative; }
.password-input-wrap .form-control { padding-right:57px; }
.password-input-wrap .password-toggle { position:absolute; top:50%; right:12px; transform:translateY(-50%); }
.auth-message { margin-top:7px; padding:10px 11px; border:1px solid var(--line-strong); border-radius:7px; color:#b6c7ba; background:#111a13; font-size:9px; line-height:1.65; }
.auth-message[hidden] { display:none; }
.auth-message-success { border-color:rgba(33,212,119,.25); color:#a9e3bb; background:rgba(33,212,119,.06); }
.auth-message-error { border-color:rgba(255,100,110,.24); color:#ffb0b5; background:rgba(255,100,110,.06); }
.auth-message-warning { border-color:rgba(255,198,110,.24); color:#ffd99d; background:rgba(255,198,110,.06); }
.auth-submit { width:100%; margin-top:12px; }
.auth-submit:disabled { opacity:.55; cursor:wait; }
.auth-legal { margin:4px 0 0; color:#758278; font-size:8px; line-height:1.6; }
.auth-profile-view { text-align:left; }
.auth-profile-view[hidden] { display:none; }
.profile-success-icon { width:46px; height:46px; display:grid; place-items:center; margin-bottom:20px; border-radius:13px; color:#06130a; background:var(--green); font-size:24px; font-weight:900; }
.profile-detail-list { margin:24px 0 10px; border-top:1px solid var(--line); }
.profile-detail-list > div { display:flex; justify-content:space-between; gap:15px; padding:12px 0; border-bottom:1px solid var(--line); font-size:9px; }
.profile-detail-list span { color:#829087; }
.profile-detail-list strong { color:#dce8df; text-align:right; overflow-wrap:anywhere; }
.auth-logout { width:100%; margin-top:10px; }
@media (max-width: 1050px) {
  .catalog-layout { grid-template-columns:220px minmax(0,1fr); gap:18px; }
  .listing-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-detail-layout { gap:28px; }
  .auth-layout { gap:30px; }
}
@media (max-width: 760px) {
  .page-main { padding-top:18px; padding-bottom:52px; }
  .page-hero { align-items:flex-start; flex-direction:column; }
  .page-hero-stat { align-items:flex-start; }
  .catalog-layout { grid-template-columns:1fr; gap:20px; }
  .filter-panel { position:static; }
  .filter-panel-heading { margin-bottom:14px; }
  .filter-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
  .filter-panel-heading,.filter-search-wrap,.filter-help { grid-column:1/-1; }
  .filter-panel-heading { margin-bottom:0; }
  .filter-group { margin-top:0; }
  .filter-stock-group { display:flex; align-items:center; }
  .results-toolbar { align-items:flex-start; flex-direction:column; }
  .sort-control { width:100%; justify-content:space-between; }
  .sort-control .form-control { flex:1; }
  .listing-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .listing-product-grid .product-visual { height:145px; }
  .product-detail-layout { grid-template-columns:1fr; gap:22px; }
  .detail-main-image,.detail-main-image > img,.detail-image-fallback { min-height:300px; }
  .detail-image-fallback span { font-size:85px; }
  .detail-summary h1 { font-size:29px; }
  .detail-price strong { font-size:24px; }
  .spec-table { grid-template-columns:1fr; }
  .auth-layout { grid-template-columns:1fr; gap:20px; min-height:0; }
  .auth-aside { min-height:300px; padding:35px 25px; }
  .auth-aside h1 { font-size:36px; }
  .auth-aside-points { margin-top:22px; }
  .auth-card { padding:22px; }
}
@media (max-width: 420px) {
  .filter-panel { grid-template-columns:1fr; }
  .filter-panel-heading,.filter-search-wrap,.filter-help { grid-column:auto; }
  .detail-actions { grid-template-columns:1fr; }
  .detail-quantity-row { flex-wrap:wrap; }
  .auth-card { padding:17px; }
  .spec-row { font-size:9px; }
}

/* Role-specific admin link remains hidden for customer profiles. */
.profile-actions [hidden] { display:none !important; }
.detail-loading[hidden],
.detail-image-fallback[hidden] {
    display: none !important;
}