/*================================================================================*\
  # TKI TEC - MAIN STYLESHEET (COMPACT CLEAN VERSION)
\*================================================================================*/

:root {
  --bg-dark: #0b0e14;
  --bg-surface: #161b22;
  --bg-soft: #121821;
  --electric-blue: #00d4ff;
  --electric-blue-2: #46e4ff;
  --deep-blue: #005f73;
  --white: #ffffff;
  --text-gray: #8b949e;
  --text-soft: #c7d0da;
  --border-color: #30363d;
  --danger: #ff4d4d;
  --success: #19c37d;

  --ff-roboto: 'Roboto', sans-serif;
  --ff-josefin-sans: 'Josefin Sans', sans-serif;

  --fs-1: 4rem;
  --fs-2: 2.8rem;
  --fs-3: 2rem;
  --fs-4: 1.6rem;
  --section-padding: 62px;
  --transition: 0.28s ease;
}

/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--ff-josefin-sans);
  font-size: 10px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--white);
}

body {
  font-size: 1.6rem;
  background: var(--bg-dark);
  color: var(--white);
  padding-block-start: 78px;
}

li { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

button,
input,
textarea,
select {
  font: inherit;
}

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  outline: none;
}

/* REUSABLE */
.container {
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 16px;
  position: relative;
}

.section {
  padding-block: var(--section-padding);
}

.h1,
.h2,
.h3,
.h4,
.section-title {
  color: var(--white);
  line-height: 1.15;
}

.h1 { font-size: var(--fs-1); }
.h2 { font-size: var(--fs-2); }
.h3 { font-size: var(--fs-3); }
.h4 { font-size: 1.8rem; }

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.btn {
  background: var(--electric-blue);
  color: var(--bg-dark);
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.btn:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--electric-blue);
  color: var(--bg-dark);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.08);
  color: var(--electric-blue);
  border-color: var(--electric-blue);
}

.btn-add-cart {
  background: transparent;
  border: 1px solid var(--electric-blue);
  color: var(--electric-blue);
}

.btn-add-cart:hover {
  background: var(--electric-blue);
  color: var(--bg-dark);
}

.back-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  padding: 5px 10px;
  border-radius: 8px;
  margin-right: 10px;
}

.back-nav:hover {
  color: var(--electric-blue);
  background: rgba(0, 212, 255, 0.05);
  transform: translateX(-4px);
}

.back-nav ion-icon {
  font-size: 1.8rem;
}

/* HEADER */
.header {
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

.header.active {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header .logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.search-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  padding-inline: 18px;
  z-index: 1100;
  border-bottom: 2px solid var(--electric-blue);

  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}

.search-wrapper.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-input {
  flex-grow: 1;
  background: none;
  border: none;
  color: white;
  font-size: 1.7rem;
  padding: 8px 12px;
  outline: none;
  font-family: var(--ff-josefin-sans);
}

.search-input::placeholder {
  color: var(--text-gray);
}

.search-close-btn {
  font-size: 2.6rem;
  color: var(--text-gray);
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
}

.search-close-btn:hover {
  color: var(--electric-blue);
  transform: rotate(90deg);
}

/* NAV */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 26px;
}

.nav-open-btn,
.nav-close-btn,
.navbar > .logo,
.overlay {
  display: none;
}

.navbar-list {
  display: flex;
  gap: 22px;
  align-items: center;
}

.navbar-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.8px;
  color: var(--text-gray);
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--electric-blue);
  transition: 0.3s ease-in-out;
}

.navbar-link:hover {
  color: var(--white);
}

.navbar-link:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  min-width: 210px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 200;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}

.dropdown:hover .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 18px;
  color: var(--text-gray);
  font-size: 1.3rem;
  transition: var(--transition);
}

.dropdown-link:hover {
  color: var(--electric-blue);
  background-color: var(--bg-dark);
}

.nav-action-list {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-action-btn {
  font-size: 2rem;
  color: white;
  position: relative;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-action-btn:hover {
  color: var(--electric-blue);
}

.nav-action-text {
  display: none;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  line-height: 1;
}

.cart-badge.active {
  display: flex;
}

/* HERO / GENERIC */
.hero {
  min-height: auto;
  padding-block: 46px 34px;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 5.4rem);
}

.hero-text {
  font-size: 1.45rem;
  max-width: 620px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* CARDS */
.card,
.panel-card {
  background: linear-gradient(180deg, #171d26 0%, #121821 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 28px;
  margin-top: 30px;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand .logo img {
  height: 36px;
  width: auto;
}

.footer-text,
.copyright {
  color: var(--text-gray);
  font-size: 1.25rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-link {
  font-size: 2rem;
  color: var(--text-gray);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--electric-blue);
}

/* GO TOP */
.go-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--electric-blue);
  color: var(--bg-dark);
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: 0 10px 22px rgba(0, 212, 255, 0.20);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}

.go-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* NOTIFICATIONS */
#notification-container {
  position: fixed;
  top: 94px;
  right: 16px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tki-toast {
  min-width: 250px;
  max-width: 320px;
  background: linear-gradient(180deg, #171d26 0%, #121821 100%);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--electric-blue);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  animation: tkiToastIn 0.25s ease;
}

.tki-toast.success { border-left-color: var(--success); }
.tki-toast.error { border-left-color: var(--danger); }

.tki-toast-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.tki-toast-text {
  font-size: 1.18rem;
  color: var(--text-soft);
  line-height: 1.5;
}

@keyframes tkiToastIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 992px) {
  body {
    padding-block-start: 74px;
  }

  .header {
    height: 74px;
  }

  .header .logo img {
    height: 38px;
  }

  .nav-open-btn,
  .nav-close-btn {
    display: block;
    font-size: 2.6rem;
    color: var(--white);
  }

  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    display: block;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 0;
    padding: 24px 18px;
    z-index: 999;
    transition: var(--transition);
    overflow-y: auto;
  }

  .navbar.active {
    right: 0;
  }

  .navbar-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    margin-top: 24px;
  }

  .navbar-link {
    font-size: 1.35rem;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-list {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 8px;
    display: none;
    width: 100%;
  }

  .dropdown:hover .dropdown-list {
    display: block;
  }

  .nav-action-list {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 14px;
  }

  .section {
    padding-block: 52px;
  }

  .btn {
    padding: 8px 12px;
    font-size: 1.1rem;
  }
}
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  z-index: 9999;
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.35);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
    font-size: 2.5rem;
  }
}