/* ==========================================================================
   Takin Cyber - Realistic E-Commerce & Cyber DOM Simulation Stylesheet
   File: public/css/site-v2-store-simulation.css
   Strict Rule: Under 600 lines of modular, clean CSS
   ========================================================================== */

/* Top Announcement Strip */
.store-top-announcement {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.65rem;
  padding: 3px 10px;
  text-align: center;
  font-weight: 600;
  border-radius: 4px 4px 0 0;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.cyber-announcement {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px dashed #ef4444;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
}

/* Store Navigation Bar */
.store-mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
  gap: 8px;
}
.store-nav-brand-group { display: flex; align-items: center; gap: 10px; }
.store-brand { font-weight: 800; letter-spacing: 0.5px; color: #0f172a; white-space: nowrap; }
.store-nav-categories { display: flex; gap: 8px; font-size: 0.68rem; color: #475569; font-weight: 600; white-space: nowrap; }
.store-nav-categories .is-active-cat { color: #0f172a; border-bottom: 2px solid #0f172a; font-weight: 700; }
.store-nav-categories .sale-link { color: #dc2626; font-weight: 800; }
.store-search-mock { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 12px; padding: 2px 8px; font-size: 0.64rem; color: #94a3b8; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.store-nav-right { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.store-util-pill { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1px 6px; font-size: 0.64rem; color: #475569; }
.store-breadcrumbs { color: #64748b; font-size: 0.68rem; }
.store-cart-badge { background: #f1f5f9; padding: 2px 8px; border-radius: 12px; font-weight: 600; font-size: 0.68rem; color: #0f172a; }

/* Product Display Layout Grid */
.store-product-layout {
  display: grid;
  grid-template-columns: 155px 1.25fr 0.95fr;
  gap: 12px;
  align-items: stretch;
  padding: 2px 0;
}

/* Gallery Column */
.store-gallery-col { display: flex; flex-direction: column; gap: 5px; }
.store-photo-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px;
  text-align: center;
  position: relative;
}
.store-bestseller-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  z-index: 2;
}
.store-real-product-img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.store-fabric-tag { font-size: 0.62rem; color: #64748b; font-weight: 500; margin-top: 2px; display: block; }
.store-thumbs-row { display: flex; gap: 4px; justify-content: center; }
.store-thumb { font-size: 0.6rem; border: 1px solid #e2e8f0; padding: 1px 5px; border-radius: 3px; background: #fff; color: #475569; cursor: pointer; }
.store-thumb.active { border-color: #0f172a; font-weight: 700; }
.store-stock-status { font-size: 0.58rem; color: #059669; font-weight: 600; text-align: center; margin-top: 1px; }

/* Product Details Column */
.store-details-col { display: flex; flex-direction: column; gap: 2px; justify-content: space-between; }
.store-badges-topline { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.store-sku-tag { font-size: 0.6rem; color: #94a3b8; font-family: ui-monospace, monospace; }
.store-item-title { font-size: 0.92rem; font-weight: 800; color: #0f172a; margin: 0; }
.store-rating-row { font-size: 0.68rem; color: #64748b; display: flex; gap: 6px; align-items: center; }
.store-rating-row .stars { color: #f59e0b; }
.store-verified-buyer { font-size: 0.6rem; color: #059669; font-weight: 600; }
.store-price-row { display: flex; gap: 6px; align-items: baseline; font-size: 0.78rem; flex-wrap: wrap; }
.store-price-row strong { font-size: 1.1rem; color: #0f172a; }
.store-price-row del { color: #94a3b8; font-size: 0.74rem; }
.discount-badge { background: #fee2e2; color: #dc2626; font-size: 0.6rem; font-weight: 700; padding: 1px 4px; border-radius: 3px; }
.installments-note { font-size: 0.62rem; color: #64748b; }
.store-item-desc { font-size: 0.62rem; color: #64748b; line-height: 1.3; margin: 1px 0; }
.store-sizes-row { display: flex; gap: 4px; align-items: center; font-size: 0.68rem; color: #475569; flex-wrap: wrap; }
.size-chip { border: 1px solid #cbd5e1; padding: 1px 5px; border-radius: 3px; font-size: 0.65rem; font-weight: 600; background: #fff; cursor: pointer; }
.size-chip.active { background: #0f172a; color: #fff; border-color: #0f172a; }
.size-guide-link { font-size: 0.62rem; color: #0284c7; text-decoration: underline; margin-right: 4px; }
.store-cta-line { display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.store-qty-wrap { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 4px; background: #fff; }
.qty-btn { border: none; background: transparent; width: 20px; height: 24px; font-size: 0.78rem; font-weight: 700; cursor: pointer; color: #0f172a; }
#demoQtyVal { min-width: 16px; text-align: center; font-size: 0.72rem; font-weight: 700; }
.store-add-btn {
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.store-add-btn:hover { background: #1e293b; }
.store-express-btn { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 5px; padding: 5px 8px; font-size: 0.7rem; font-weight: 600; color: #334155; cursor: pointer; white-space: nowrap; }
.store-perks-row { display: flex; gap: 6px; font-size: 0.62rem; color: #64748b; margin-top: 1px; flex-wrap: wrap; }
.store-perk-extra { color: #059669; font-weight: 600; }

/* Sidebar Column: VIP + Review */
.store-side-col { display: flex; flex-direction: column; gap: 6px; justify-content: space-between; }
.store-vip-card { background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px; padding: 6px 8px; font-size: 0.64rem; }
.store-vip-head { color: #92400e; font-size: 0.66rem; margin-bottom: 2px; }
.store-vip-sub { color: #78350f; font-size: 0.58rem; margin: 0 0 4px 0; line-height: 1.25; }
.store-vip-inputs { display: flex; gap: 4px; margin-bottom: 4px; }
.store-mock-field { background: #fff; border: 1px solid #cbd5e1; border-radius: 3px; padding: 2px 4px; font-size: 0.58rem; color: #94a3b8; flex: 1; }
.store-mock-submit { background: #d97706; color: #fff; border-radius: 3px; padding: 2px 6px; font-size: 0.58rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.store-vip-checkbox { display: flex; align-items: center; gap: 4px; font-size: 0.56rem; color: #78350f; }
.store-checked-box { background: #d97706; color: #fff; border-radius: 2px; width: 12px; height: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 800; flex-shrink: 0; }
.store-review-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 6px 8px; font-size: 0.62rem; }
.store-review-head { display: flex; justify-content: space-between; align-items: center; color: #0f172a; margin-bottom: 2px; }
.store-review-verified { color: #059669; font-size: 0.58rem; font-weight: 600; }
.store-review-text { color: #475569; font-style: italic; margin: 0 0 3px 0; line-height: 1.25; font-size: 0.6rem; }
.store-shipping-mini { color: #64748b; font-size: 0.56rem; border-top: 1px dashed #e2e8f0; padding-top: 3px; }

/* Upsell Strip */
.store-upsell-strip { display: flex; align-items: center; justify-content: space-between; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 5px; padding: 4px 8px; font-size: 0.64rem; }
.store-upsell-title { font-weight: 700; color: #334155; font-size: 0.64rem; white-space: nowrap; }
.store-upsell-items { display: flex; gap: 6px; align-items: center; }
.store-upsell-chip { background: #fff; border: 1px solid #cbd5e1; border-radius: 4px; padding: 2px 6px; display: flex; align-items: center; gap: 4px; font-size: 0.6rem; color: #0f172a; }
.store-upsell-chip strong { color: #059669; }
.upsell-add { color: #0284c7; font-weight: 700; cursor: pointer; margin-right: 2px; }

.store-mini-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 4px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.64rem;
  color: #94a3b8;
}
.store-payment-badges { font-size: 0.62rem; color: #64748b; }
.store-footer-links { display: flex; gap: 8px; }

/* Cyber Blueprint Mirrored Layout */
.cyber-nav { border-color: rgba(56, 189, 248, 0.2); }
.cyber-code-tag { font-family: ui-monospace, 'JetBrains Mono', monospace; color: #38bdf8; font-size: 0.66rem; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.cyber-scripts-leak {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  color: #f87171;
  font-size: 0.63rem;
  background: rgba(239, 68, 68, 0.15);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px dashed #ef4444;
  direction: ltr;
  unicode-bidi: isolate;
}
.cyber-alert-pill {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  font-size: 0.63rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}
.cyber-photo { background: rgba(15, 23, 42, 0.85); border: 1px dashed #ef4444; }
.cyber-img-container { position: relative; border-radius: 6px; overflow: hidden; }
.cyber-scan-filter { filter: grayscale(1) contrast(1.2) brightness(0.85); opacity: 0.8; }
.cyber-scan-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 2px;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
}
.cyber-err-tag { color: #f87171; font-size: 0.63rem; font-weight: 700; font-family: ui-monospace, 'JetBrains Mono', monospace; }
.cyber-thumbs span { font-family: ui-monospace, 'JetBrains Mono', monospace; font-size: 0.62rem; color: #64748b; direction: ltr; unicode-bidi: isolate; }
.cyber-stock-err { font-family: ui-monospace, 'JetBrains Mono', monospace; font-size: 0.58rem; color: #f87171; text-align: center; margin-top: 1px; }

.cyber-details { display: flex; flex-direction: column; gap: 2px; }
.cyber-code-line { font-family: ui-monospace, 'JetBrains Mono', monospace; font-size: 0.65rem; color: #38bdf8; direction: ltr; unicode-bidi: isolate; text-align: right; }
.cyber-code-line.text-err { color: #f87171; background: rgba(239, 68, 68, 0.1); padding: 1px 4px; border-radius: 3px; }
.cyber-cta-line { display: flex; align-items: center; gap: 6px; }
.cyber-telemetry-status {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  border: 1px dashed rgba(56, 189, 248, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 1px;
}
.cyber-btn {
  background: rgba(15, 23, 42, 0.95);
  border: 1px dashed #ef4444;
  color: #38bdf8;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
}

/* Cyber Sidebar Column */
.cyber-side-col { display: flex; flex-direction: column; gap: 6px; justify-content: space-between; }
.cyber-side-card { background: rgba(15, 23, 42, 0.95); border: 1px dashed #ef4444; border-radius: 6px; padding: 6px 8px; font-family: ui-monospace, 'JetBrains Mono', monospace; font-size: 0.62rem; }
.cyber-card-head { color: #f87171; font-weight: 800; font-size: 0.62rem; margin-bottom: 2px; direction: ltr; unicode-bidi: isolate; text-align: right; }
.cyber-err-banner { background: rgba(239, 68, 68, 0.25); color: #fca5a5; border-radius: 3px; padding: 2px 4px; font-weight: 700; margin-top: 2px; font-size: 0.58rem; }
.cyber-net-line { color: #38bdf8; font-size: 0.58rem; margin: 1px 0; display: flex; justify-content: space-between; align-items: center; gap: 4px; direction: ltr; unicode-bidi: isolate; }
.net-status-bad { background: #ef4444; color: #fff; font-size: 0.55rem; font-weight: 800; padding: 1px 4px; border-radius: 2px; }

/* Cyber Upsell Strip */
.cyber-upsell-strip { background: rgba(15, 23, 42, 0.95); border: 1px dashed rgba(56, 189, 248, 0.4); border-radius: 5px; padding: 4px 8px; display: flex; align-items: center; justify-content: space-between; font-family: ui-monospace, 'JetBrains Mono', monospace; font-size: 0.62rem; }
.cyber-upsell-nodes { display: flex; gap: 6px; align-items: center; }
.cyber-node-err { color: #f87171; background: rgba(239, 68, 68, 0.15); border: 1px dashed #ef4444; border-radius: 3px; padding: 1px 4px; font-size: 0.58rem; }

.cyber-footer { border-color: rgba(56, 189, 248, 0.2); }
.xray-err-pill {
  background: #b91c1c;
  color: #fff;
  font-size: 0.62rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
}
