@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  --la3ib-bg: #040406;
  --la3ib-surface: rgba(255,255,255,0.05);
  --la3ib-surface-strong: rgba(255,255,255,0.08);
  --la3ib-border: rgba(255,255,255,0.1);
  --la3ib-border-strong: rgba(255,255,255,0.18);

  --la3ib-gold: #d9a441;
  --la3ib-gold-light: #f3d17e;
  --la3ib-gold-dim: rgba(217,164,65,0.5);
  --la3ib-purple: #6b46c1;

  --la3ib-text: #ffffff;
  --la3ib-text-muted: rgba(255,255,255,0.55);
  --la3ib-text-dim: rgba(255,255,255,0.35);

  --la3ib-radius-sm: 10px;
  --la3ib-radius: 16px;
  --la3ib-font: 'Cairo', Tahoma, sans-serif;
}

body.la3ib-theme {
  background: var(--la3ib-bg);
  color: var(--la3ib-text);
  font-family: var(--la3ib-font);
  margin: 0;
}
body.la3ib-theme a { color: var(--la3ib-text-muted); text-decoration: none; }
body.la3ib-theme a:hover { color: var(--la3ib-gold-light); }
body.la3ib-theme .text-muted { color: var(--la3ib-text-muted) !important; }
body.la3ib-theme h1, body.la3ib-theme h2, body.la3ib-theme h3,
body.la3ib-theme h4, body.la3ib-theme h5, body.la3ib-theme h6 { color: var(--la3ib-text); }

/* ambient nebula background — part of normal page background, scrolls/stretches with content */
html { height: 100%; }
body.la3ib-theme {
  background-color: var(--la3ib-bg);
  background-image:
    radial-gradient(ellipse 800px 600px at 75% 0%, rgba(217,164,65,0.10), transparent 60%),
    radial-gradient(ellipse 700px 600px at 10% 60%, rgba(107,70,193,0.12), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
}
body.la3ib-theme #container { position: relative; z-index: 1; }

/* top utility bar — currency/language/account/wishlist/cart/checkout row */
body.la3ib-theme #top {
  background: rgba(255,255,255,0.03) !important;
  border-bottom: 1px solid var(--la3ib-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 8px 0;
}
body.la3ib-theme #top,
body.la3ib-theme #top a { color: var(--la3ib-text-muted); }
body.la3ib-theme #top a:hover { color: var(--la3ib-gold-light); }
body.la3ib-theme #top .dropdown-toggle::after { filter: invert(1) brightness(2); }

/* footer */
.la3ib-footer { padding: 44px 20px 24px; background: rgba(255,255,255,0.02); border-top: 1px solid var(--la3ib-border); }
.la3ib-footer h5 { font-size: 15px; font-weight: 700; margin: 0 0 14px; color: var(--la3ib-gold-light); }
.la3ib-footer ul { list-style: none; padding: 0; margin: 0; }
.la3ib-footer li { margin-bottom: 8px; }
.la3ib-footer a { font-size: 13px; color: var(--la3ib-text-muted); }
.la3ib-footer a:hover { color: var(--la3ib-gold-light); }
.la3ib-footer-bottom {
  padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--la3ib-border);
  font-size: 12px; color: var(--la3ib-text-dim);
}
.la3ib-footer-bottom a { color: var(--la3ib-text-muted); }

/* ===== reusable design-system components (use these classes when authoring module/content HTML) ===== */

/* label — small tracked-out eyebrow text */
.la3ib-label { font-size: 12px; letter-spacing: 3px; color: var(--la3ib-gold-dim); text-transform: uppercase; }

/* hero section wrapper */
.la3ib-hero { position: relative; padding: 20px 32px 60px; text-align: center; }

/* gradient headline treatment — wrap your <h1>/<span> text in this class */
.la3ib-title-gradient {
  background: linear-gradient(90deg, var(--la3ib-gold), var(--la3ib-gold-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* lead paragraph under a headline */
.la3ib-lead { font-size: 15px; color: var(--la3ib-text-muted); max-width: 420px; margin: 0 auto; line-height: 1.8; }

/* glass card — base surface for any content block */
.la3ib-glass {
  background: var(--la3ib-surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--la3ib-border); border-radius: var(--la3ib-radius);
}

/* icon ring — wrap an <i> icon in this for the signature circular mark */
.la3ib-ring {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--la3ib-gold-dim);
  display: flex; align-items: center; justify-content: center;
  background: rgba(217,164,65,0.06); color: var(--la3ib-gold-light); font-size: 18px;
}

/* modular grid with hairline dividers instead of gapped cards — for feature/category rows */
.la3ib-grid-divider { display: grid; gap: 1px; background: var(--la3ib-border); }
.la3ib-grid-divider > * { background: var(--la3ib-bg); padding: 32px 16px; text-align: center; }

/* calligraphic accent line — decorative svg divider, use as a single element between sections */
.la3ib-flourish { display: block; width: 100%; height: 60px; }

.la3ib-fuse-wrap { }
@keyframes la3ibGlowPulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.la3ib-fuse-settled { animation: la3ibGlowPulse 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .la3ib-fuse-settled { animation: none; opacity: 0.85; }
}

/* buttons */
.la3ib-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #0a0a0f; font-weight: 700;
  border: none; border-radius: 999px; padding: 15px 36px; font-size: 14px; letter-spacing: 0.5px; cursor: pointer;
}
.la3ib-btn:hover { background: var(--la3ib-gold-light); color: #2a1a02; }
.la3ib-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--la3ib-text); font-weight: 500;
  border: 1px solid var(--la3ib-border-strong); border-radius: 999px; padding: 14px 32px; font-size: 14px; cursor: pointer;
}
.la3ib-btn-ghost:hover { border-color: var(--la3ib-gold-dim); color: var(--la3ib-gold-light); }

/* badge / pill for status or tags */
.la3ib-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  background: rgba(217,164,65,0.12); border: 1px solid var(--la3ib-gold-dim); color: var(--la3ib-gold-light);
  border-radius: 999px; padding: 5px 14px;
}

/* ===== global bootstrap component overrides — auto-skins every stock OpenCart page ===== */
body.la3ib-theme .card {
  background: var(--la3ib-surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--la3ib-border); border-radius: var(--la3ib-radius); color: var(--la3ib-text);
}
body.la3ib-theme .card-header, body.la3ib-theme .card-footer { background: var(--la3ib-surface-strong); border-color: var(--la3ib-border); }

body.la3ib-theme .btn-primary { background: #fff; border-color: #fff; color: #0a0a0f; font-weight: 700; }
body.la3ib-theme .btn-primary:hover { background: var(--la3ib-gold-light); border-color: var(--la3ib-gold-light); color: #2a1a02; }
body.la3ib-theme .btn-secondary, body.la3ib-theme .btn-outline-secondary, body.la3ib-theme .btn-light {
  background: var(--la3ib-surface); border: 1px solid var(--la3ib-border-strong); color: var(--la3ib-text);
}
body.la3ib-theme .btn-secondary:hover, body.la3ib-theme .btn-outline-secondary:hover, body.la3ib-theme .btn-light:hover {
  border-color: var(--la3ib-gold-dim); color: var(--la3ib-gold-light);
}
body.la3ib-theme .btn-dark { background: var(--la3ib-surface-strong); border-color: var(--la3ib-border-strong); }
body.la3ib-theme .btn-danger { background: #a32d2d; border-color: #a32d2d; }
body.la3ib-theme .btn-group .btn-light { background: var(--la3ib-surface); border-color: var(--la3ib-border-strong); color: var(--la3ib-text); }

body.la3ib-theme .form-control, body.la3ib-theme .form-select,
body.la3ib-theme input[type="text"], body.la3ib-theme input[type="email"],
body.la3ib-theme input[type="password"], body.la3ib-theme input[type="number"], body.la3ib-theme textarea {
  background: var(--la3ib-surface); border: 1px solid var(--la3ib-border-strong); color: var(--la3ib-text);
}
body.la3ib-theme .form-control:focus, body.la3ib-theme .form-select:focus {
  background: var(--la3ib-surface); border-color: var(--la3ib-gold-dim); color: var(--la3ib-text);
  box-shadow: 0 0 0 2px rgba(217,164,65,0.2);
}
body.la3ib-theme .form-label { color: var(--la3ib-text); }
body.la3ib-theme .form-check-input:checked { background-color: var(--la3ib-gold); border-color: var(--la3ib-gold); }
body.la3ib-theme .required > .form-label::after { content: ' *'; color: var(--la3ib-gold); }
body.la3ib-theme .invalid-feedback { color: #f0997b; }

body.la3ib-theme .accordion-item { background: var(--la3ib-surface); border: 1px solid var(--la3ib-border); border-radius: var(--la3ib-radius-sm) !important; margin-bottom: 10px; overflow: hidden; }
body.la3ib-theme .accordion-button { background: var(--la3ib-surface); color: var(--la3ib-text); font-weight: 600; }
body.la3ib-theme .accordion-button:not(.collapsed) { background: var(--la3ib-surface-strong); color: var(--la3ib-gold-light); }
body.la3ib-theme .accordion-button::after { filter: invert(1) brightness(2); }
body.la3ib-theme .accordion-body { background: var(--la3ib-surface); color: var(--la3ib-text-muted); }

body.la3ib-theme .list-group-item { background: var(--la3ib-surface); border-color: var(--la3ib-border); color: var(--la3ib-text); }
body.la3ib-theme .list-group-item:hover { border-color: var(--la3ib-gold-dim); }
body.la3ib-theme .table { color: var(--la3ib-text); }
body.la3ib-theme .table > :not(caption) > * > * { background: var(--la3ib-surface); border-color: var(--la3ib-border); color: var(--la3ib-text); }
body.la3ib-theme .table-hover > tbody > tr:hover > * { background: var(--la3ib-surface-strong); }

body.la3ib-theme .alert-success { background: rgba(29,158,117,0.15); color: #7fe0bc; border-color: rgba(29,158,117,0.3); }
body.la3ib-theme .alert-danger { background: rgba(163,45,45,0.15); color: #f0997b; border-color: rgba(163,45,45,0.3); }
body.la3ib-theme .alert-warning { background: rgba(217,164,65,0.15); color: var(--la3ib-gold-light); border-color: var(--la3ib-gold-dim); }
body.la3ib-theme .alert-info { background: var(--la3ib-surface); color: var(--la3ib-text); border-color: var(--la3ib-border); }

body.la3ib-theme .breadcrumb { background: transparent; padding-left: 0; padding-right: 0; }
body.la3ib-theme .breadcrumb-item, body.la3ib-theme .breadcrumb-item a { color: var(--la3ib-text-muted); }
body.la3ib-theme .breadcrumb-item.active { color: var(--la3ib-text); }
body.la3ib-theme .pagination .page-link { background: var(--la3ib-surface); border-color: var(--la3ib-border); color: var(--la3ib-text-muted); }
body.la3ib-theme .pagination .page-item.active .page-link { background: #fff; border-color: #fff; color: #0a0a0f; }

body.la3ib-theme .dropdown-menu { background: #0a0a0f; border-color: var(--la3ib-border); backdrop-filter: blur(14px); }
body.la3ib-theme .dropdown-item { color: var(--la3ib-text-muted); }
body.la3ib-theme .dropdown-item:hover { background: var(--la3ib-surface); color: var(--la3ib-gold-light); }
body.la3ib-theme .modal-content { background: #0a0a0f; color: var(--la3ib-text); border: 1px solid var(--la3ib-border); }
body.la3ib-theme .nav-tabs { border-color: var(--la3ib-border); }
body.la3ib-theme .nav-tabs .nav-link { color: var(--la3ib-text-muted); border: none; }
body.la3ib-theme .nav-tabs .nav-link.active { background: transparent; color: var(--la3ib-text); border-bottom: 2px solid var(--la3ib-gold); }
body.la3ib-theme .badge.bg-primary { background: var(--la3ib-surface-strong) !important; }
body.la3ib-theme .badge.bg-success { background: var(--la3ib-gold) !important; color: #2a1a02 !important; }
body.la3ib-theme .badge.bg-danger { background: #a32d2d !important; }
body.la3ib-theme .img-thumbnail { background: var(--la3ib-surface); border-color: var(--la3ib-border); }
body.la3ib-theme .price-new { color: var(--la3ib-gold-light); font-weight: 700; }
body.la3ib-theme .price-old { color: var(--la3ib-text-muted); text-decoration: line-through; margin-right: 8px; }
body.la3ib-theme .rating .fa-solid.fa-star { color: var(--la3ib-gold); }
body.la3ib-theme .rating .fa-regular.fa-star { color: var(--la3ib-border-strong); }

/* option tiles (product page) */
.la3ib-option-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.la3ib-option-tiles .form-check { position: relative; margin: 0; padding: 0; }
.la3ib-option-tiles .form-check-input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; left: 0; top: 0; }
.la3ib-option-tiles .form-check-label { display: block; text-align: center; padding: 10px 6px; border-radius: var(--la3ib-radius-sm); border: 1px solid var(--la3ib-border-strong); background: var(--la3ib-surface); font-size: 13px; cursor: pointer; margin: 0; }
.la3ib-option-tiles .form-check-input:checked + .form-check-label { border-color: var(--la3ib-gold-dim); background: var(--la3ib-surface-strong); color: var(--la3ib-gold-light); }

/* header */
header { margin-top: -55px; padding: 0 0 8px; }
header .row { display: flex; align-items: center; }
#logo { display: flex; align-items: center; margin: 0; }
#logo img { height: 190px; width: auto; max-width: none; }
#logo h1 { font-size: 36px; font-weight: 800; margin: 0; }
#logo h1 a { color: var(--la3ib-text); }

.la3ib-price-box { padding: 18px; margin-bottom: 20px; background: var(--la3ib-surface); border: 1px solid var(--la3ib-border); border-radius: var(--la3ib-radius); backdrop-filter: blur(14px); }
.la3ib-breadcrumb { padding-top: 16px; }

/* ===== mega menu (common/menu) ===== */
body.la3ib-theme #menu.bg-primary,
body.la3ib-theme #menu.navbar {
  background: var(--la3ib-surface) !important;
  border: 1px solid var(--la3ib-border);
  border-radius: var(--la3ib-radius-sm);
  padding: 4px 8px;
  margin-top: 0;
  backdrop-filter: blur(14px);
}
body.la3ib-theme #menu { margin-top: 0 !important; }
body.la3ib-theme main > .container:first-of-type { margin-top: 0; }
body.la3ib-theme #menu .nav-link,
body.la3ib-theme #menu .nav-item > a.dropdown-item {
  color: var(--la3ib-text) !important;
  font-size: 14px;
  padding: 10px 16px;
}
body.la3ib-theme #menu .nav-link:hover,
body.la3ib-theme #menu .nav-item > a.dropdown-item:hover { color: var(--la3ib-gold-light) !important; }
body.la3ib-theme #menu .navbar-toggler { border-color: var(--la3ib-border-strong); color: var(--la3ib-text); }
body.la3ib-theme #category { color: var(--la3ib-text); padding: 10px 16px; font-weight: 600; }

body.la3ib-theme #menu .dropdown-menu {
  background: #0a0a0f; backdrop-filter: blur(18px); border: 1px solid var(--la3ib-border);
  border-radius: var(--la3ib-radius); padding: 18px;
}
body.la3ib-theme #menu .dropdown-inner { display: flex; gap: 28px; flex-wrap: wrap; }
body.la3ib-theme #menu .dropdown-column-1 { min-width: 220px; }
body.la3ib-theme #menu .dropdown-column-2 { min-width: 420px; }
body.la3ib-theme #menu .dropdown-column-3 { min-width: 620px; }
body.la3ib-theme #menu .dropdown-column-4 { min-width: 820px; }
body.la3ib-theme #menu .dropdown-item { color: var(--la3ib-text-muted); padding: 6px 10px; border-radius: 6px; }
body.la3ib-theme #menu .dropdown-item:hover { background: var(--la3ib-surface-strong); color: var(--la3ib-gold-light); }
body.la3ib-theme #menu .dropdown-divider { border-color: var(--la3ib-border); }

@media (max-width: 768px) {
  .la3ib-title-gradient, h1 { font-size: 28px; }
}
