:root {
  --primary-yellow: #dbb335;
  --primary-gradient: linear-gradient(135deg, #e8ca58, #cfa024);
  --text-dark: #111;
  --text-gray: #666;
  --bg-gray: #f5f5f5;
  --border-color: #ddd;
  --border-radius: 8px;
  --border-radius-pill: 50px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  border-bottom: 1px solid #f0f0f0;
}
.logo-text{
  font-size: 12px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

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

.search-bar {
  flex: 1;
  max-width: 600px;
  margin: 0 40px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 1px solid var(--text-dark);
  border-radius: var(--border-radius-pill);
  font-size: 15px;
  outline: none;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.products-link {
  font-weight: 500;
  font-size: 15px;
}

/* Header Actions & Dropdowns */
.cart-wrapper {
  position: relative;
}
.cart-btn{
  padding: 8px;
  border-radius: 50px;
  border: none;
}
.cart-btn:hover {
  opacity: 0.8;
}

.cart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: none;
  z-index: 1000;
  margin-top: 10px;
}

.cart-dropdown.show {
  display: block;
}

/* User Profile */
.profile-wrapper {
  position: relative;
}

.profile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
}

.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 180px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: none;
  z-index: 1000;
  margin-top: 10px;
  overflow: hidden;
}

.profile-dropdown.show {
  display: block;
}

.profile-dropdown-link {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid #f0f0f0;
}

.profile-dropdown-link:last-child {
  border-bottom: none;
}

.profile-dropdown-link:hover {
  background: #f9f9f9;
}

.profile-dropdown-link.logout {
  color: #f43f5e;
}

.menu-btn {
  background: #eaeaea;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: none; /* hidden on desktop */
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-dropdown-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 40px;
}

.mobile-dropdown-menu.show {
  display: block;
}

.mobile-dropdown-menu .mobile-link {
  display: block;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 0;
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}
.search-modal.show {
  display: flex;
}
.search-modal-content {
  background: #fff;
  width: 650px;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  overflow: hidden;
}
.search-modal-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.search-modal-header input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  margin-left: 10px;
}
.search-modal-results {
  max-height: 60vh;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
  border-bottom: 1px solid #f9f9f9;
  text-decoration: none;
  color: inherit;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background: #fdfdfd;
}
.search-result-image {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}
.search-result-info {
  display: flex;
  flex-direction: column;
}
.search-result-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.search-result-price {
  font-size: 13px;
  color: #666;
}
.no-results {
  padding: 20px;
  text-align: center;
  color: #888;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 20px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 auto 30px;
  max-width: 900px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-yellow {
  background: linear-gradient(180deg, #FAEA61 0%, #D6972B 100%);
  color: #000;
  border: 1px solid #cfa024;
}

.btn-grey {
  background: #dbdbdb;
  color: #000;
}

/* Video Banner Placeholder */
.video-banner-container {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
  display: block; /* since we will make it an <a> tag */
}

.video-banner {
  background-color: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 500px;
  background-image: url('../images/desktop.png'); /* fallback image from user attached if available */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* In real usage they'd put the vault image here. For now we mimic it. */
.video-banner .play-btn {
  width: 70px;
  height: 50px;
  background: #ff0000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.video-banner:hover .play-btn {
  transform: scale(1.1);
}

.play-btn svg {
  fill: #fff;
  width: 24px;
  height: 24px;
}

/* Products Grid */
.products-wrapper {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #111;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-status {
  font-size: 12px;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.product-status svg {
  width: 12px;
  height: 12px;
  stroke: #000;
  stroke-width: 2;
  fill: none;
}

.product-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.btn-buy {
  background: linear-gradient(180deg, #FAEA61 0%, #D6972B 100%);
  color: #000;
  padding: 12px;
  width: 100%;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #cfa024;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-buy:hover {
  opacity: 0.9;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
}

.page-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaeaea;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  user-select: none;
}

.page-item.active {
  background: linear-gradient(180deg, #FAEA61 0%, #D6972B 100%);
  color: #000;
  border-color: #cfa024;
}

.page-item:hover:not(.active):not(.disabled) {
  background: #ddd;
}

.page-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Trust Stats */
.trust-stats {
  max-width: 800px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-dark);
}

.star-icon {
  color: #f39c12;
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.faq-section h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 40px;
}

.faq-list {
  border-top: 1px solid var(--border-color);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: #000;
  transition: transform 0.3s;
}

.faq-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
}

.faq-item.active .faq-body {
  max-height: 200px;
  padding-bottom: 24px;
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
}

.fab svg {
  width: 20px;
  height: 20px;
}

/* Products Page Header */
.products-page-header {
  padding: 60px 20px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.products-page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.products-page-header p {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

.inline-search-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.inline-search-container input {
  width: 100%;
  padding: 16px 15px 16px 50px;
  border-radius: 30px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 16px;
  font-family: inherit;
}

.inline-search-container .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #999;
}

/* Single Product Layout */
.single-product-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.sp-left {
  flex: 1;
}
.sp-title {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sp-highlights-top {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.sp-highlights-bottom {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sp-highlights-top li, .sp-highlights-bottom li {
  font-size: 15px;
  color: #333;
  display: flex;
  gap: 8px;
}
.sp-bolt {
  color: #f39c12;
  font-weight: bold;
}
.sp-main-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}
.sp-main-image img {
  width: 100%;
  display: block;
}
.sp-right {
  width: 350px;
  position: sticky;
  top: 20px;
}
.sp-sticky-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.sp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.sp-card-header h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.sp-stock {
  font-size: 12px;
  white-space: nowrap;
}
.sp-card-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
}
.sp-value-price {
  font-size: 18px;
  font-weight: bold;
}
.sp-qty-wrapper {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.sp-qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 18px;
}
.sp-qty-input {
  flex: 1;
  height: 40px;
  border-radius: 20px;
  border: 1px solid #ccc;
  text-align: center;
  outline: none;
}
.sp-add-cart-btn {
  width: 100%;
  margin-bottom: 15px;
}
.sp-buy-now-btn {
  width: 100%;
}

/* Extended Cart Dropdown Styles */
.cart-dropdown {
  width: 450px;
  max-width: 90vw;
  padding: 25px;
}
.cart-dropdown-header {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.cart-dropdown-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}
.cart-items-container {
  max-height: 40vh;
  overflow-y: auto;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.cart-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.cart-item:last-child {
  margin-bottom: 0;
}
.cart-item-img {
  width: 90px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: #111;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}
.cart-item-price {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-item-qty button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #eaeaea;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-qty input {
  width: 50px;
  height: 30px;
  border-radius: 15px;
  border: 1px solid #ddd;
  text-align: center;
}
.cart-item-del {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #eaeaea;
  color: #ff4d4f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-subtotal {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.cart-subtotal-val {
  font-size: 18px;
  font-weight: 700;
}
.cart-sub-disclaimer {
  font-size: 12px;
  color: #666;
}
.cart-checkout-btn {
  width: 100%;
  border-radius: 20px;
  padding: 12px;
  font-weight: 700;
  background: linear-gradient(180deg, #FAEA61 0%, #D6972B 100%);
  border: none;
  cursor: pointer;
}

/* Badge for Header */
.cart-wrapper .cart-btn {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4d4f;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-bar {
    max-width: 400px;
    margin: 0 20px;
  }
}

@media (max-width: 900px) {
  .single-product-wrapper {
    flex-direction: column-reverse;
  }
  .sp-right {
    width: 100%;
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .cart-dropdown {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 450px;
    right: auto;
    bottom: auto;
    z-index: 9999;
  }
  .site-header {
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .products-link {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .search-bar {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 10px 0 0 0;
  }
  .hero h1 {
    font-size: 40px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .video-banner {
    height: 300px;
  }
  .video-banner-container {
    padding: 0 10px;
  }
}

/* Dashboard Layout */
.dashboard-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  min-height: 70vh;
}

.dashboard-sidebar {
  width: 200px;
  flex-shrink: 0;
}

.dashboard-content {
  flex: 1;
}

.dash-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dash-nav-link {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  padding: 10px 0;
  transition: color 0.2s;
}

.dash-nav-link:hover, .dash-nav-link.active {
  color: #111;
}

/* Dashboard Widgets */
.dash-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.dash-balance-info h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.dash-balance-value {
  font-size: 36px;
  font-weight: 800;
}

.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
  margin-top: 40px;
}

.dash-stat-item {
  text-align: center;
}

.dash-stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 8px;
}

.dash-stat-value {
  font-size: 24px;
  font-weight: 800;
}

.dash-customer-since {
  text-align: center;
  margin: 60px 0;
}

.dash-customer-since .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dash-customer-since .value {
  font-size: 20px;
  font-weight: 800;
}

.dash-hero-img {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

.dash-review-box {
  text-align: center;
  margin-top: 40px;
}

.dash-review-box .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dash-review-value {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.dash-review-value svg {
  color: #000;
}

/* Orders Table */
.orders-table-wrapper {
  margin-top: 30px;
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.orders-table th {
  text-align: left;
  padding: 12px 10px;
  font-weight: 700;
  border-bottom: 1px solid #eee;
}

.orders-table td {
  padding: 15px 10px;
  border-bottom: 1px solid #fafafa;
  vertical-align: middle;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.status-expired {
  background: #ffe4e6;
  color: #f43f5e;
}
.status-not {
  background: #e4ffea;
  color: #3ff454;
}

.method-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Balance Page */
.balance-section {
  margin-top: 40px;
}

.balance-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.transaction-empty {
  font-size: 14px;
  color: #666;
  margin-top: 20px;
}

/* Invoice Page */
.invoice-wrapper {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  font-family: 'Inter', sans-serif;
}

.invoice-left {
  border-right: 1px solid #eee;
  padding-right: 40px;
}

.invoice-right {
  padding-left: 10px;
}

.invoice-item-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
}

.invoice-meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 600;
}

.invoice-meta-label {
  color: #111;
}

.invoice-meta-value {
  color: #111;
  text-align: right;
  word-break: break-all;
  max-width: 250px;
}

.pay-now-btn {
  width: 100%;
  margin-top: 30px;
  padding: 18px;
  border-radius: 25px;
  background: linear-gradient(180deg, #F9D423 0%, #FF4E50 100%); /* Gold/Yellow gradient adjustment */
  background: #fde047; /* Yellowish fallback */
  color: #111;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: block;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.invoice-status-box {
  margin-top: 60px;
  padding-left: 20px;
}

.status-new-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.status-label-new {
  color: #22c55e;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-time {
  font-size: 12px;
  font-weight: 600;
  color: #777;
}

.status-description {
  font-size: 12px;
  font-weight: 600;
  color: #111;
  line-height: 1.5;
}

.invoice-footer-btns {
  margin-top: 30px;
}

.secondary-invoice-btn {
  width: 100%;
  padding: 14px;
  background: #e5e7eb;
  border: 1px solid #111;
  border-radius: 12px;
  color: #111;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}


/* Crypto Payment Flow */
.payment-flow-container {
  display: none; /* Hidden by default, shown when Pay Now is clicked */
  animation: fadeIn 0.3s ease;
}

.payment-selection-view,
.payment-details-view {
  padding: 20px 0;
}

.payment-field-group {
  margin-bottom: 25px;
}

.payment-label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 10px;
  display: block;
}

.payment-input-readonly {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fdfdfd;
  font-size: 14px;
  color: #111;
  font-weight: 500;
  outline: none;
}

.crypto-selection-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.crypto-chip {
  flex: 1;
  min-width: 100px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  font-weight: 600;
  font-size: 13px;
}

.crypto-chip:hover {
  border-color: #ddd;
  background: #fafafa;
}

.crypto-chip.active {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #3b82f6;
}

.coin-svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.coin-svg-wrapper svg {
  width: 100%;
  height: 100%;
}

.payment-continue-btn {
  width: 100%;
  padding: 16px;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 20px;
}

.payment-continue-btn:hover {
  background: #eee;
}

.payment-timer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.payment-timer {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  font-size: 14px;
  color: #111;
}

.payment-qr-container {
  text-align: center;
  margin: 30px 0;
}

.payment-qr-container img {
  width: 180px;
  height: 180px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 12px;
}

.payment-info-card {
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  margin-top: 30px;
}

.info-card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-card-row:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  word-break: break-all;
  padding-right: 30px;
}

.copy-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
  flex-shrink: 0;
  margin-top: 15px;
}

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

.payment-support-link {
  display: block;
  text-align: left;
  font-size: 11px;
  color: #3b82f6;
  text-decoration: none;
  margin-top: 20px;
  font-weight: 600;
}


@media (max-width: 991px) {
  .invoice-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }
  .invoice-left {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 15px 20px !important;
  }
  .invoice-wrapper {
    padding: 0 15px;
  }
  .payment-timer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .payment-timer-wrapper h2 {
    font-size: 22px !important;
  }
  .payment-timer {
    font-size: 16px;
  }
  .info-card-row {
    flex-direction: column;
    gap: 10px;
  }
  .copy-btn {
    align-self: flex-end;
    margin-top: -30px;
  }
  .crypto-chip {
    padding: 10px;
    font-size: 12px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .crypto-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
/* Payment Expired Styles */
.expired-banner {
  background: #a24343;
  color: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 14px;
}

.expired-banner svg {
  flex-shrink: 0;
}

.expired-description {
  font-size: 13px;
  color: #111;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 30px;
}

.expired-actions {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.expired-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.expired-action-link:hover {
  opacity: 0.7;
}

.expired-action-link svg {
  color: #f43f5e;
}


.global-footer {
  position: absolute;
  bottom: 25px;
  right: 40px;
  display: flex;
  gap: 15px;
}

.global-footer a {
  font-size: 11px;
  font-weight: 700;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 991px) {
  .global-footer {
    position: static;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 30px;
  }
}
