* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  color: #222;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;

  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}


.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  font-size: 22px;
  font-weight: 700;
}

.logo span {
  color: #ffb703;
}

/* CATEGORY BUTTON */
.cat-btn {
  background: #f3f3f3;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #111;
  border-radius: 4px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

/* ANIMATION ☰ → X */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-menu a {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f1f1;
  text-decoration: none;
  color: #111;
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    justify-content: space-between;
  }

  /* center logo on mobile */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .mobile-menu.active {
    display: flex;
  }
}

.logo a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
html {
  scroll-behavior: smooth;
}


.site-footer {
  background: linear-gradient(135deg, #050b1e, #0b163a);
  color: #cbd5f5;
   padding: 70px 20px 30px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 35px;
  height: 3px;
  background: #3b82f6;
  display: block;
  margin-top: 6px;
  border-radius: 2px;
}

.footer-col p,
.footer-col li {
  font-size: 15px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #cbd5f5;
  text-decoration: none;
}

.footer-col a:hover {
  color: #3b82f6;
}

/* SOCIALS */
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0f1d4d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.footer-bottom span {
  color: #3b82f6;
}

.footer-links a {
  text-decoration: none;
  border: none;
  color: #cbd5f5;
  font-size: 14px;
}

.footer-links a:hover {
  color: #3b82f6;
}

/* Specifically for Terms button */
.terms-btn {
  text-decoration: none;
  border: none;
  background: #1e3a8a;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
}

/* Kill any inherited underline or border */
.footer-links a::after,
.footer-links a::before {
  content: none;
}


/* MOBILE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .site-footer {
    padding: 50px 16px 20px;
  }
}

html, body {
  overflow-x: hidden;
}



/* ===== DESKTOP DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.dropdown-content a {
  display: block;
  padding: 10px 18px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
}

.dropdown-content a:hover {
  background: #f3f3f3;
}

/* Show on hover */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== MOBILE DROPDOWN ===== */
.mobile-dropdown {
  border-bottom: 1px solid #f1f1f1;
}

.mobile-dropbtn {
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 500;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  background: #fafafa;
}

.mobile-dropdown-content a {
  padding: 12px 30px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
}

.mobile-dropdown-content a:hover {
  background: #eee;
}

.accessories-cta {
  text-align: center;
  margin: 60px 0;
}

.accessories-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  background: #111;
  color: #fff;
  transition: 0.3s ease;
}

.accessories-btn:hover {
  background: #25D366;
  transform: translateY(-3px);
}


body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f6f7fb;
  color: #222;
  padding-top: 80px;
}

body.modal-open {
  overflow: hidden;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #000;
}

.banner-track {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Slides */
.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* Active slide */
.banner-slide.active {
  opacity: 1;
}

/* Dark overlay (optional but clean) */
.banner-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 40, 70, 0.65),
    rgba(5, 40, 70, 0.25)
  );
  pointer-events: none;
}

/* Navigation arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 32px;
  padding: 12px 18px;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;
}

.nav:hover {
  background: rgba(0,0,0,0.6);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Mobile adjustments */
@media (max-width: 768px) {
  .banner-slider {
    height: 200px;
  }

  .nav {
    font-size: 24px;
    padding: 10px 14px;
  }
}
.page-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  color: #111;
}

.page-title .active-tag {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  margin-right: 8px;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .page-title {
    font-size: 22px;
  }

  .page-title .active-tag {
    font-size: 13px;
    padding: 5px 12px;
  }
}



/* ===============================
   SECTION
================================ */

.accessories-section {
  padding: 100px 6%;
  background: #f8f9fb;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.section-header p {
  color: #777;
  font-size: 16px;
}


/* ===============================
   PRODUCT GRID
================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 35px;
}

.product-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s ease;
  border: 1px solid #eee;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 18px;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.product-card p {
  font-size: 14px;
  color: #777;
}

/* ==========================================
   MODAL OVERLAY
========================================== */

.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);

  justify-content: center;
  align-items: center;

  padding: 20px;
  z-index: 9999;

  overflow: hidden; /* IMPORTANT */
}


/* ==========================================
   MODAL CONTAINER
========================================== */

.modal-container {
  background: #fff;
  width: 100%;
  max-width: 950px;
  max-height: 90vh;   /* KEY LINE */
  border-radius: 24px;

  display: flex;
  gap: 40px;
  padding: 40px;
  position: relative;

  overflow: hidden;   /* prevents outside scroll */
}


@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* ==========================================
   LEFT SIDE
========================================== */

.modal-left {
  flex: 1;
}

.modal-left img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}


/* ==========================================
   RIGHT SIDE
========================================== */

.modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modal-right h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.modal-right p {
  color: #666;
  margin-bottom: 25px;
}
.modal-right::-webkit-scrollbar {
  width: 6px;
}

.modal-right::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.modal-right::-webkit-scrollbar-thumb:hover {
  background: #999;
}


/* ==========================================
   OPTIONS
========================================== */

.option-group {
  margin-bottom: 25px;
}

.option-group h4 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

#storageWrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#storageWrap button {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: #0040ff;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 14px;
}

#storageWrap button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

#storageWrap button.active {
  background: #111;
  color: #fff;
  border-color: #111;
}


/* ==========================================
   PRICE BOX
========================================== */

.price-display {
  background: #f7f7f7;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 25px;
}

.price-display small {
  color: #888;
  font-size: 12px;
}

.price-display h3 {
  margin-top: 5px;
  font-size: 20px;
}


/* ==========================================
   WHATSAPP BUTTON
========================================== */

.modal-right button {
  margin-top: auto;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #0242d9f6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.modal-right button:hover {
  background: #0020ec;
}


/* ==========================================
   CLOSE BUTTON
========================================== */

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: 0.2s;
}

.close-btn:hover {
  color: #111;
}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 900px) {

  .modal-container {
    flex-direction: column;
    max-height: 95vh;
    padding: 25px;
  }

  .modal-left img {
    max-height: 250px;
    object-fit: contain;
  }

  .modal-right {
    max-height: 45vh;  /* scroll area on mobile */
  }


  .modal-right h2 {
    font-size: 22px;
  }

  .product-modal {
    align-items: flex-start;
    padding-top: 40px;
  }
}


/* ===== SECTION HEADER STYLE (like Laptop & Computer) ===== */
.section-header {
  position: relative;
  background: #f3f3f3;

  margin: 40px 16px 30px;   /* adds space from screen edges */
  padding: 18px 24px;

  border-radius: 12px;
  font-weight: 700;

  text-align: center;       /* centers text */
}

.section-header h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 1px;
  color: #111;
}


/* Yellow curved accent on left */
.section-header::before {
  content: "";
  position: absolute;
  left: 16px;        /* keep inside margin */
  top: 12px;
  bottom: 12px;
  width: 6px;
  background: #ffb703;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .section-header {
    margin: 30px 14px 20px;
    padding: 14px 18px;
  }

  .section-header h2 {
    font-size: 18px;
  }
}


.accessories-cta {
  text-align: center;
  margin: 60px 0;
}

.accessories-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  background: #111;
  color: #fff;
  transition: 0.3s ease;
}

.accessories-btn:hover {
  background: #25D366;
  transform: translateY(-3px);
}
