*{
  font-family: 'Roboto', 'Arial', sans-serif;
}

/* Loader Overlay */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none; /* Initially hidden */
}

/* Loader Animation */
.loader {
  width: 100px;
  height: 100px;
  border: 5px solid #3498db;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

body {
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
}

h2{
  font-size: 25px;
}

.navbar-container {
  background-color: #111;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand .logo {
  width: 40px;
  height: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item .nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-item .nav-link:hover {
  text-decoration: none;
  color: #ddd;
}

.icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.navbar .btn {
  background: transparent linear-gradient(180deg, #eceaea 0%, #767575 100%) 0%
    0% no-repeat;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  border-radius: 5px;
  padding: 10px 15px;
}
.navbar .btn:hover{
    background: transparent linear-gradient(180deg, #767575 0%, #eceaea 100%) 0%
        0% no-repeat;
}

.search-container {
  background-color: #222;
  border-radius: 20px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  border: 1px solid #444;
}

.search-input {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 5px;
  flex: 1;
  font-size: 14px;
}

.search-input::placeholder {
  color: #aaa;
}

.search-btn {
  background: none;
  border: none;
  color: #fff;
  padding: 5px;
  cursor: pointer;
}

.search-btn:hover {
  color: #f39c12;
}

.icon {
  width: 16px;
  height: 16px;
}

/* Sign In Button Styling */
.sign-in-btn {
  border-radius: 20px;
  font-size: 14px;
  padding: 5px 15px;
  box-shadow: none;
}

.sign-in-btn:hover {
  background-color: #ddd;
}

/* Container styling */
.select-lang {
  position: relative;
  cursor: pointer;
}

/* Dropdown styling */
.lang-selection {
  width: 200px;
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  background: #222;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

/* Show dropdown on hover */
.select-lang:hover .lang-selection {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Dropdown items */
.lang-selection ul {
  list-style: none;
  margin: 0;
  padding: 10px;
}

.lang-selection ul li {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-heading{
  font-size: 20px;
}

.decoder-card {
  background-color: #1a1a1a;
  color: #d1d1d1; 
  border-radius: 12px;
  font-size: 14px; 
  padding: 24px;
  width: 100%;
  max-width: 500px; 
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.decoder-image {
  width: 100%; 
  max-height: 250px; /* Prevents distortion */
  
  display: block;
  margin: 0 auto;
  background-color: #ffffff; 
  
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1); /* Soft glowing effect */
}

@media (max-width: 768px) {
  .decoder-card {
    width: 90%;
    padding: 16px;
  }
}

/* Position the cart badge */
.cart-badge {
  position: absolute;
  top: 0;
  right: -3px;
  background-color: red;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 3px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}



.decoder-card h5 {
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.product-description{
  font-size: 12px;
}
.decoder-card ul {
  list-style-type: none;
  padding-left: 0;
}

.decoder-card ul li{
  margin-bottom: 8px;
}
.decoder-card ul li::before {
  content: "✔";
  color: #6c6c6c;
  margin-right: 8px;
}
.single-price{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h3 {
  font-weight: 600;
  font-size: 18px;
}

p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
}

/* .price-container{
  display: flex;
  justify-content: space-between;
} */

.new-price{
  font-size: 1.5rem;
  font-weight: bold;
}

.price-currency{
  font-size: 0.8rem;
  margin-right: 10px;
  color: #C3BFBF;
}

.old-price {
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-right: 10px;
}

.btn-buy {
  background: linear-gradient(to bottom, #ffffff, #c0c0c0);
  color: black;
  border: none;
  font-weight: bold;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.btn-buy:hover {
  background: linear-gradient(to bottom, #c0c0c0, #ffffff) !important;
  color: black !important;
}

.product-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  max-width: 350px;
  padding: 15px;
  color: white;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.product-image {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background-color: white;
}

.product-content h5 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
}

.product-content p {
  font-size: 14px;
  color: #ccc;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #222;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  color: white;
}

.cart-item img {
    width: 60px;
    border-radius: 10px;
}

.item-info {
    flex-grow: 1;
    padding-left: 10px;
}

.item-info h5 {
    margin: 0;
    font-size: 1rem;
}

.item-info p {
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
}

.cart-price{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.delete {
    cursor: pointer;
    font-size: 1rem;
    color: #888;
}

.cart-btn {
    /* background-color: #444; */
    border: 1px solid #fff;
    color: white;
    padding: 2px;
    /* font-size: 1rem; */
    border-radius: 10px;
}
.btn-qty{
    background-color: #222;
    border: none;
    color: white;
    /* padding: 5px 10px; */
    /* font-size: 1rem; */
    cursor: pointer;
}
.btn:hover {
    background-color: #666;
}

.summary-box {
    background-color: #222;
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.summary-box h5 {
    font-weight: bold;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.shipping{
  color: #aaa;
}

.form-select {
    background-color: #444;
    color: white;
    border: none;
}

.btn-checkout {
    width: 100%;
    padding: 10px;
    background-color: white;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.btn-checkout:hover {
    background-color: #ddd;
}

.placeholder-light::placeholder{
  color: #aaa !important;
  font-size: 15px;
}

.summary-card {
  background-color: #222;
  color: white;
  border-radius: 10px;
}

.payment-icon {
  background-color: white;
  border-radius: 5px;
}

.payment-icon {
  cursor: pointer;
  border: 2px solid transparent;
  padding: 5px;
  border-radius: 5px;
}

.payment-icon.active {
  border-color: #f8b400;
  box-shadow: 0 0 10px rgba(248, 180, 0, 0.6);
}

li{
  list-style: none;
}

/* Modal Background 
#confirmationModal{
  display: none;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

/* Modal Content
.modal-content {
  background: #ffffff;
  margin: 0 auto;
  padding: 0px 10px 25px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  animation: slideDown 0.3s ease-in-out forwards;
}

/* Image Styling
.success-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Modal Title
.modal-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

/* Modal Text
.modal-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

/* Buttons Container
.modal-buttons {
  display: flex;
  gap: 10px;
}

/* Buttons
.btn {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

/* Cancel Button
.cancel-btn {
  background: #6c757d;
  color: white;
}

.cancel-btn:hover {
  background: #5a6268;
}

/* Pay Button
.pay-btn {
  background: #53a55f;
  color: white;
}

.pay-btn:hover {
  background: #00b312;
}
*/
/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { transform: translateY(-20px); }
  to { transform: translateY(0); }
}

.receipt-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #121212;
}

.receipt-card {
  background: #1e1e1e;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 80%;
  max-width: 800px;
  color: #fff;
}

.receipt-img {
  width: 120px;
  margin-bottom: 20px;
}

.receipt-title {
  font-size: 26px;
  color: #4caf50;
  font-weight: bold;
  margin-bottom: 10px;
}

.receipt-summary p {
  font-size: 18px;
  margin: 5px 0;
}

.status-paid {
  color: #4caf50;
  font-weight: bold;
}

.receipt-amount {
  font-size: 24px;
  font-weight: bold;
  color: #ffcc00;
  margin: 15px 0;
}

.order-items-title {
  font-size: 22px;
  margin-top: 20px;
  text-align: left;
}

.order-items {
  margin-top: 15px;
  border-top: 1px solid #444;
  padding-top: 10px;
}

.order-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #333;
}

.order-item:last-child {
  border-bottom: none;
}

.product-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-right: 15px;
  object-fit: cover;
}

.order-item-details {
  text-align: left;
  flex-grow: 1;
}

.product-name {
  font-size: 18px;
  font-weight: bold;
}

.btn-receipt-home {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 20px;
}

.btn-receipt-home:hover {
  background: #0056b3;
}

/* Custom CSS */
.al-cursor-magnify {
    cursor: zoom-in;
}