/* ============================================================
   * MyTheme — Sellauth
   * designed by https://theme.mysellauth.com
   ============================================================ */

/* ---- Override Bootstrap dark theme ---- */
[data-bs-theme="dark"] {
  --bs-body-bg: #050505;
  --bs-body-color: #ffffff;
  --bs-border-color: rgba(255,255,255,0.1);
}

/* ---- Cards / Panels ---- */
.card, .accordion-item, .modal-content,
.dropdown-menu, .offcanvas, .list-group-item {
  background-color: #0e0e10 !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}
.card { border-radius: 12px !important; }

/* Card hover glow */
.card { transition: border-color 0.3s, transform 0.3s !important; overflow: hidden; }
.card:hover { border-color: rgba(168,85,247,0.3) !important; transform: translateY(-4px); }

/* ---- Section headers (global) ---- */
.section-title h2, .section-header h2 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}
.section-title, .section-header { text-align: center; margin-bottom: 48px; }
.section-subtitle p, .section-header p { color: #94a3b8 !important; }

/* ---- Buttons (Bootstrap overrides) ---- */
.btn-primary, .btn-outline-primary.active, .btn-check:checked + .btn-outline-primary {
  background: linear-gradient(135deg, #8665ff, #9d3bf6) !important;
  border: none !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  color: #fff !important;
}
.btn-primary:hover {
  transform: translateY(-2px) !important;
}
.btn-outline-primary {
  border-color: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.4) !important;
  color: #fff !important;
}
.btn { border-radius: 100px !important; }

/* ---- Forms ---- */
.form-control, .form-select {
  background: transparent;
  border-color: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-radius: 10px !important;
}
.form-control:focus, .form-select:focus {
  border-color: rgba(168,85,247,0.5) !important;
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15) !important;
}
.form-control::placeholder { color: #94a3b8 !important; }

/* ---- Table ---- */
.table { color: #fff !important; }
.table-striped > tbody > tr:nth-of-type(odd) > * { background-color: rgba(255,255,255,0.02); }

/* ---- Accordion (used in FAQ) ---- */
.accordion-button {
  background: #0e0e10 !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.accordion-button::after { filter: invert(1) brightness(2); }
.accordion-button:not(.collapsed) {
  background: rgba(168,85,247,0.08) !important;
  color: #fff !important;
}
.accordion-body { background: #0e0e10; color: #94a3b8; }

/* ---- Badges ---- */
.badge.bg-primary { background: linear-gradient(135deg,#a855f7,#3b82f6) !important; border-radius: 100px !important; }

/* ---- Pagination ---- */
.page-link {
  background: #0e0e10 !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #94a3b8 !important;
  border-radius: 8px !important;
}
.page-item.active .page-link {
  background: linear-gradient(135deg,#a855f7,#3b82f6) !important;
  border: none !important;
  color: #fff !important;
}
.page-link:hover { background: rgba(255,255,255,0.06) !important; color: #fff !important; }

/* ---- Footer ---- */
footer {
  background: #000 !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
}
footer a { color: #94a3b8 !important; transition: color 0.3s; }
footer a:hover { color: #a855f7 !important; }

/* ---- Products grid ---- */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width:1024px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:640px) { .products-grid { grid-template-columns: 1fr; } }

/* ---- Product card cat tag ---- */
.cat-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--accent,#a855f7); margin-bottom: 8px; display: block; }

/* ---- Nav tabs / pills ---- */
.nav-tabs { border-color: rgba(255,255,255,0.1); }
.nav-tabs .nav-link { color: #94a3b8; border: none; }
.nav-tabs .nav-link.active { color: #fff; background: rgba(168,85,247,0.1); border-bottom: 2px solid #a855f7; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0e0e10; }
::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a855f7; }

/* ---- Modal ---- */
.modal-header { border-bottom-color: rgba(255,255,255,0.1) !important; }
.modal-footer { border-top-color: rgba(255,255,255,0.1) !important; }
.modal-content {
  background: #0e0e10 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 16px !important;
  color: #fff !important;
}

/* ---- Price display ---- */
.price-value, .price {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  color: #fff !important;
}

/* ---- Alert / Toast ---- */
.alert { border-radius: 12px !important; border-color: rgba(255,255,255,0.1) !important; background: #0e0e10 !important; }
.alert-success { border-color: rgba(168,85,247,0.3) !important; }

/* ---- Utility ---- */
.text-muted { color: #94a3b8 !important; }
.border { border-color: rgba(255,255,255,0.1) !important; }
.bg-light, .bg-secondary { background: #0e0e10 !important; }

/* ============================================================
   Product Card (STRATUM) — global so it renders on all pages
   ============================================================ */
.product-card {
  background: linear-gradient(160deg, rgba(var(--cl-accent-rgb), 0.07) 0%, var(--bg-card, #0e0e10) 50%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(var(--cl-accent-rgb), 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--cl-accent-rgb), 0.25);
  border-top-color: rgba(var(--cl-accent-rgb), 0.35);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(var(--cl-accent-rgb), 0.05);
}

.product-card .card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card .card-link .card-img-top {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  aspect-ratio: var(--product-card-image-aspect-ratio, 16/9);
}
.product-card .card-link .card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .card-link .card-img-top img { transform: scale(1.08); }
.product-card .card-link .card-img-top .product-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
}
.product-card .card-link .card-img-top .product-img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.product-card .card-link .card-img-top .badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  z-index: 2;
}
.product-card .card-link .card-img-top .badges > div {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.product-card .card-body .card-title-link {
  text-decoration: none;
  color: inherit;
}
.product-card .card-body .card-title-link .card-title {
  font-family: var(--f-display, 'Space Grotesk', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #fff);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s;
}
.product-card .card-body .card-title-link:hover .card-title { color: var(--accent, #a855f7); }

.product-card .card-body .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-card .card-body .card-meta .stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.product-card .card-body .card-meta .stock-badge svg { width: 13px; height: 13px; }
.product-card .card-body .card-meta .stock-badge.in-stock {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.product-card .card-body .card-meta .stock-badge.out-of-stock {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.product-card .card-body .card-meta .stock-badge.group-badge {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent, #a855f7);
}

.product-card .card-body .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}
.product-card .card-body .price .price-current {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent, #a855f7);
}
.product-card .card-body .price .price-old {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-dim, #94a3b8);
  text-decoration: line-through;
}

.product-card .card-body .card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.product-card .card-body .card-actions .btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  flex: 1;
  white-space: nowrap;
}
.product-card .card-body .card-actions .btn-card-primary {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #fff;
}
.product-card .card-body .card-actions .btn-card-primary:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(168, 85, 247, 0.2));
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-1px);
}
.product-card .card-body .card-actions .btn-card-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--ink-dim, #94a3b8);
}
.product-card .card-body .card-actions .btn-card-outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

/* Eliminate 300ms mobile tap delay on all product card interactive elements */
.product-card,
.product-card .card-link,
.product-card .card-title-link,
.product-card .btn-card,
.stratum-alpha-btn {
  touch-action: manipulation;
}

/*
 * designed by https://theme.mysellauth.com
 * designed by https://theme.mysellauth.com
*/