body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    padding-top: 100px;
    /* adjust based on navbar height + top space */
}

/* ---------------- Navbar ---------------- */

.custom-navbar {
     position: fixed;
     top: 20px;
     left: 20px;
     right: 20px;
     width: auto;
     z-index: 1050;
     border-radius: 40px;
     background: linear-gradient(90deg, #c20000, #e00000, #ff0000, #ff4040, #ff7676);
     padding: 10px 20px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 }

 .navbar-brand {
     font-weight: 700;
     color: #fff;
     font-size: 20px;
     /* letter-spacing: 1px; */
 }

 .navbar-nav .nav-link {
     color: #fff !important;
     font-weight: 500;
     margin-right: 15px;
     transition: all 0.3s ease;
 }

 .navbar-nav .nav-link:hover {
     color: #ffd700 !important;
 }

 .login-btn {
     background: #5a1eff;
     color: #fff;
     font-weight: 600;
     padding: 8px 18px;
     border-radius: 40px;
     border: none;
     transition: all 0.3s ease;
 }

 .login-btn:hover {
     background: #3411a6;
 }

 .navbar-toggler {
     border: 1px solid #fff !important;
 }

 .navbar-toggler-icon {
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
 }

 /* ========== INSTAGRAM MENU ========== */
 .instagram-menu {
     position: fixed;
     top: 70px;
     left: 50%;
     transform: translateX(-50%);
     width: 90%;
     max-width: 700px;
     background: #fff;
     border-radius: 12px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
     display: none;
     padding: 20px;
     z-index: 1040;
     max-height: 75vh;
     overflow-y: auto;
     animation: slideDown 0.3s ease;
 }

 .instagram-menu.active {
     display: block;
 }

 @keyframes slideDown {
     from {
         opacity: 0;
         transform: translateX(-50%) translateY(-10px);
     }

     to {
         opacity: 1;
         transform: translateX(-50%) translateY(0);
     }
 }

 .menu-vertical {
     display: flex;
     gap: 20px;
 }

 /* ========== TABS VERTICAL LEFT ========== */
 .tabs-vertical {
     display: flex;
     flex-direction: column;
     gap: 8px;
     min-width: 160px;
     flex-shrink: 0;
 }

 .tabs-vertical button {
     padding: 12px 15px;
     border: none;
     background: #f0f0f0;
     cursor: pointer;
     border-radius: 8px;
     font-weight: 600;
     text-align: left;
     color: #333;
     transition: all 0.3s ease;
     border-left: 3px solid transparent;
     font-size: 13px;
 }

 .tabs-vertical button:hover {
     background: #e8e8e8;
 }

 .tabs-vertical button.active {
     /* background: linear-gradient(90deg, #c20000, #ff0000); */
     color: #fff;
     border-left: 3px solid #ffd700;
 }

 .tabs-vertical button a {
     text-decoration: none;
     color: inherit;
     display: block;
 }

 /* ========== TAB CONTENTS RIGHT ========== */
 .tabcontents-vertical {
     flex: 1;
     min-width: 0;
 }

 .tabcontent {
     display: none;
     flex-wrap: wrap;
     gap: 12px;
     background: #f9f9f9;
     /* padding: 15px; */
     border-radius: 8px;
 }

 .tabcontent.active {
     display: flex;
 }

 /* ========== OPTIONS ========== */
 .tabcontent .option {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 10px;
     padding: 10px 12px;
     border-radius: 6px;
     cursor: pointer;
     background: #fff;
     border: 1px solid #ddd;
     width: calc(50% - 6px);
     box-sizing: border-box;
     min-height: 44px;
     transition: all 0.3s ease;
     font-size: 13px;
     white-space: nowrap;
 }

 .tabcontent .option:hover {
     border-color: #ff0000;
     background: #fff5f5;
     transform: translateX(-3px);
 }

 .tabcontent .option.active {
     color: #fff;
     background: linear-gradient(90deg, #c20000, #ff0000);
     border-color: #ff0000;
 }

 .tabcontent .option img {
     width: 28px;
     height: 28px;
     object-fit: contain;
 }

 /* ========== RESPONSIVE DESIGN ========== */
 @media (max-width: 992px) {
     .instagram-menu {
         width: 95%;
         max-height: 80vh;
         padding: 15px;
         top: 65px;
     }

     .menu-vertical {
         flex-direction: column;
         gap: 15px;
     }

     .tabs-vertical {
         width: 100%;
         flex-direction: row;
         flex-wrap: wrap;
         min-width: unset;
         gap: 8px;
     }

     .tabs-vertical button {
         flex: 1 1 calc(33.333% - 6px);
         font-size: 12px;
         padding: 10px 8px;
         text-align: center;
     }

     .tabcontents-vertical {
         width: 100%;
     }

     .tabcontent .option {
         width: calc(50% - 6px);
         font-size: 12px;
         padding: 8px 10px;
         min-height: 40px;
     }
 }

 @media (max-width: 768px) {
     body {
         padding-top: 60px;
     }

     .custom-navbar {
         top: 10px;
         left: 10px;
         right: 10px;
         border-radius: 30px;
         padding: 8px 15px;
     }

     .navbar-brand {
         font-size: 18px;
     }

     .navbar-nav .nav-link {
         margin-right: 0;
         padding: 10px 0;
         font-size: 15px;
     }

     .instagram-menu {
         top: 60px;
         width: 95%;
         max-height: 80vh;
         padding: 12px;
     }

     .tabs-vertical button {
         flex: 1 1 calc(50% - 4px);
         font-size: 11px;
         padding: 8px 6px;
     }

     .tabcontent .option {
         width: calc(50% - 6px);
         font-size: 11px;
         padding: 8px;
     }

     .tabcontent .option img {
         width: 24px;
         height: 24px;
     }
 }

 @media (max-width: 576px) {
     body {
         padding-top: 55px;
     }

     .custom-navbar {
         top: 8px;
         left: 8px;
         right: 8px;
         border-radius: 25px;
         padding: 6px 12px;
     }

     .navbar-brand {
         font-size: 16px;
     }

     /* .navbar-collapse {
         position: fixed;
         top: 55px;
         right: 8px;
         left: 8px;
         width: auto;
         background: linear-gradient(90deg, #c20000, #e00000, #ff0000, #ff4040, #ff7676);
         padding: 15px;
         border-radius: 15px;
         margin-top: 5px;
         max-height: calc(100vh - 70px);
         overflow-y: auto;
     } */

     .navbar-nav {
         flex-direction: column;
         gap: 10px;
         text-align: center;
     }

     .navbar-nav .nav-link {
         margin-right: 0;
         font-size: 13px;
         padding: 8px 0;
     }

     .login-btn {
         width: 100%;
         margin-top: 10px;
         padding: 10px 15px;
     }

     .instagram-menu {
         top: auto;
         left: 8px;
         right: 8px;
         width: auto;
         max-width: none;
         transform: none;
         max-height: 70vh;
         padding: 10px;
         margin-top: 10px;
         border-radius: 10px;
     }

     .menu-vertical {
         flex-direction: column;
         gap: 10px;
     }

     .tabs-vertical {
         width: 100%;
         flex-direction: row;
         flex-wrap: wrap;
         gap: 6px;
     }

     .tabs-vertical button {
         flex: 1 1 calc(50% - 3px);
         font-size: 10px;
         padding: 8px 4px;
     }

     .tabcontent {
         gap: 10px;
         padding: 8px;
     }

     .tabcontent .option {
         width: 100%;
         font-size: 11px;
         padding: 8px;
         min-height: 38px;
     }

     .tabcontent .option img {
         width: 22px;
         height: 22px;
     }
 }

 /* ========== DEMO CONTENT ========== */
 .demo-content {
     padding: 40px 20px;
     background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
     min-height: 200vh;
 }

 .demo-section {
     background: #fff;
     padding: 30px;
     margin: 20px 0;
     border-radius: 12px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     max-width: 900px;
     margin-left: auto;
     margin-right: auto;
 }

 .demo-section h2 {
     color: #c20000;
     margin-bottom: 15px;
     font-weight: 700;
 }

 .demo-section p {
     color: #555;
     line-height: 1.8;
     margin: 10px 0;
 }

 .check {
     color: #28a745;
     font-weight: bold;
 }




/* Hide original Instagram menu when navbar is collapsed (mobile) */
@media (max-width: 991.98px) {
  .instagram-menu {
    display: none !important;
  }
}

/* Mobile Instagram Submenu Styling */
.instagram-mobile-submenu .instagram-submenu-content {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.instagram-mobile-submenu .menu-vertical {
  flex-direction: column;
  gap: 12px;
}

.instagram-mobile-submenu .tabs-vertical {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.instagram-mobile-submenu .tabs-vertical button {
  flex: 1 1 calc(50% - 6px);
  font-size: 11px;
  padding: 8px 6px;
  text-align: center;
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  color: #333;
}

.instagram-mobile-submenu .tabs-vertical button.active {
  background: linear-gradient(90deg, #c20000, #ff0000);
  color: #fff;
}

.instagram-mobile-submenu .tabcontents-vertical {
  width: 100%;
}

.instagram-mobile-submenu .tabcontent {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 6px;
}

.instagram-mobile-submenu .tabcontent.active {
  display: flex;
}

.instagram-mobile-submenu .option {
  width: 100%;
  padding: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.instagram-mobile-submenu .option img {
  width: 22px;
  height: 22px;
}


/* -------------------------------------------------
   MOBILE INSTAGRAM DROPDOWN (inside the collapsed navbar)
   ------------------------------------------------- */
.instagram-mobile-dropdown {
  display: none;               /* hidden by default */
}
.instagram-mobile-dropdown.show {
  display: block;
}

/* make the dropdown look like the desktop version but compact */
.instagram-mobile-dropdown .instagram-submenu-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  overflow: hidden;
}
.instagram-mobile-dropdown .menu-vertical { flex-direction: column; gap: 12px; }
.instagram-mobile-dropdown .tabs-vertical {
  flex-direction: row; flex-wrap: wrap; gap: 6px; width:100%;
}
.instagram-mobile-dropdown .tabs-vertical button {
  flex: 1 1 calc(50% - 6px);
  font-size: 11px; padding: 8px 6px; text-align:center;
  background:#f0f0f0; border:none; border-radius:6px; color:#333;
}
.instagram-mobile-dropdown .tabs-vertical button.active {
  background:linear-gradient(90deg,#c20000,#ff0000); color:#fff;
}
.instagram-mobile-dropdown .tabcontent { display:none; flex-wrap:wrap; gap:8px; padding:10px; background:#f9f9f9; border-radius:6px; }
.instagram-mobile-dropdown .tabcontent.active { display:flex; }
.instagram-mobile-dropdown .option {
  width:100%; padding:8px; background:#fff; border:1px solid #ddd;
  border-radius:6px; font-size:11px; display:flex; align-items:center; gap:8px;
}
.instagram-mobile-dropdown .option img { width:22px; height:22px; }

/* Hide the big desktop dropdown on mobile */
@media (max-width: 991.98px) {
  #instagramMenu { display:none !important; }
}

/* ==================================================================================================================================== */




/* ===============================
  Main Layout
================================= */
.main-container {
    display: flex;
    gap: 40px;
    padding: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* ===============================
  Left Box
================================= */
.left-box {
    flex: 1;
    /* min-width: 350px; */
    /* max-width: 380px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background: #fff;
    padding: 20px;
}

/* TikTok Header */
.tiktok-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 560px;
    /* Full width of left box */
    height: 152px;
    border-radius: 12px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
}

.tiktok {
    background: linear-gradient(180deg, #494949 0%, #000 100%);
}

/* TikTok Texts */
.tiktok-texts .title {
    font-weight: 800;
    font-size: 25px;
    color: #5E24D3;
    text-transform: uppercase;
}

.tiktok-texts .subtitle {
    font-weight: 800;
    font-size: 12px;
    color: #494949;
    text-transform: uppercase;
    margin-left: 8px;
}

.below-title .subtext {
    font-weight: 700;
    font-size: 12px;
    color: #5E24D3;
    margin-left: 5px;
}

.tiktok-texts .desc {
    margin-top: 8px;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.4;
    color: #000;
}

/* Form Box */
.form-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
}

/* Label */
.label {
    font-weight: 700;
    font-size: 16px;
    color: #5E24D3;
}

/* Select and Input */
select,
input {
    width: 100%;
    padding: 10px;
    border: 1px solid #5E24D3;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    background-color: #fff;
    color: #5E24D3;
}

/* Select Options */
select option {
    color: #5E24D3;
    background-color: #fff;
}

/* Range Text */
.range {
    font-weight: 600;
    font-size: 12px;
    color: #5E24D3;
    margin-top: -8px;
}

/* Price Row */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TOTAL Button */
.btn-total {
    width: 106px;
    height: 40px;
    background: #FE4040;
    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* Amount Text */
.amount {
    font-weight: 700;
    font-size: 24px;
    color: #5E24D3;
}

/* COMPRAR Button */
.btn-comprar {
    width: 100%;
    height: 49px;
    background: #5E24D3;
    color: #fff;
    border: none;
    border-radius: 35px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
}

/* ===============================
  Right Side
================================= */
.right-side {
    flex: 2;
    min-width: 600px;
}

.top-heading {
    font-weight: 800;
    font-size: 25px;
    color: #5E24D3;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.subtext-info {
    font-weight: 400;
    font-size: 19px;
    margin-bottom: 20px;
}

.boxes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
}

.package-box {
    flex: 1 1 calc(25% - 20px);
    max-width: 262px;
    border: 1px solid #9389FF;
    border-radius: 12px;
    box-shadow: 2px 7px 8px #9389FF;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    background: #fff;
}

.package-price {
    font-weight: 800;
    font-size: 36px;
    color: #5E24D3;
    text-align: center;
    margin-top: 15px;
}

.package-title {
    font-weight: 700;
    font-size: 18px;
    color: #9389FF;
    text-align: center;
    margin-top: 8px;
}

.package-btn {
    width: 160px;
    height: 32px;
    border-radius: 40px;
    background: #5E24D3;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    cursor: pointer;
}

.package-btn .btn-text {
    font-weight: 800;
    font-size: 12px;
    color: #fff;
}

/* ===============================
  Box Click / Active State
================================= */
.package-box.active {
    background: #5E24D3;
}

.package-box.active .package-price,
.package-box.active .package-title {
    color: #fff;
}

.package-box.active .package-btn {
    background: #9389FF;
}

.package-box.active .package-btn .btn-text {
    color: #fff;
}

/* ===============================
  Responsive Adjustments
================================= */
@media (max-width: 1024px) {
    .login-btn {
        font-size: 6px;
    }

    .amount {
        font-size: 20px;
    }
}

/* Custom Border */
.syt-border {
    border: 1px solid #9389FF;
}