:root {
    --hover: #8888883d;
    --border: currentColor;
    --spacing: 1rem;
    --border-radius: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  transition: background 200ms, border 200ms, opacity 200ms;
}

html {
  color-scheme: dark light; /* Default dark */
  hanging-punctuation: first last; /* Not supported in Chrome */
}

body {
    min-height: 100vh;
    position: relative;
    font-family: system-ui;
    font-optical-sizing: auto;
    position: relative;
}

body::after {
    content: '';
    width: 1rem;
    height: 100%;
    position: fixed;
    background: linear-gradient(0deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(83, 219, 237, 1) 100%);
    top: 0;
    left: 0;
}

body::before {
    content: '';
    width: 100%;
    height: 1rem;
    position: absolute;
    background: linear-gradient(260deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(83, 219, 237, 1) 100%);
    top: -3rem;
    left: 0;
}



a {
  color: currentColor;
  text-decoration: none;
  border-bottom: 1px solid var(--hover);
  transition: border 200ms;
}

a:hover {
  color: currentColor;
  text-decoration: none;
  border-color: transparent;
}

#particles-js {
  position: fixed;
  top: 0;
  z-index: -1;
  opacity: 0.5;
  height: 50%;
  width: 100%;

}

/* Media responsive */


img, picture, svg, video {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  max-width: 75ch;
  text-wrap: pretty; /* Prevents orphans on lines */
}

@media (prefers-reduced-motion: no-preference) {
  :has(:target) {
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
  }
}


/* Components Styles */

.component-section {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--hover);
}

.component-section h2 {
    font-size: 150%;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.component-demo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-small {
    padding: 1rem 2rem;
    border: 1px solid var(--hover);
    background: transparent;
    color: currentColor;
    font-family: inherit;
    font-size: 100%;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: .5rem;
}

.btn-primary {
    background: var(--hover);
    color: currentColor;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary:hover,
.btn-ghost:hover {
    background: var(--hover);
}

.btn-ghost {
    border-color: var(--hover);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 90%;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 90%;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--hover);
    background: transparent;
    color: currentColor;
    font-family: inherit;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: currentColor;
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-group input[type="file"] {
    padding: 0.5rem 0;
    cursor: pointer;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--hover);
    background: transparent;
    color: currentColor;
    font-family: "Merriweather", serif;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-trigger:hover {
    background: var(--hover);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 200px;
    background: var(--hover);
    border: 1px solid var(--hover);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: currentColor;
    text-decoration: none;
    border-bottom: none;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--hover);
}

@media (prefers-color-scheme: dark) {
    .dropdown-menu {
        background: var(--hover);
    }
    
    .dropdown-item {
        color: currentColor;
    }
    
    .dropdown-item:hover {
        background: var(--hover);
    }
}

.dropdown-divider {
    margin: 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: var(--hover);
    border: 1px solid currentColor;
    z-index: 1001;
}

@media (prefers-color-scheme: dark) {
  .modal-content {
    background: var(--hover);
    color: currentColor;
    backdrop-filter: blur(10px);
  }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--hover);
}

.modal-header h3 {
    font-size: 120%;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    font-size: 200%;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 0;
    width: 2rem;
    height: 2rem;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--hover);
}

/* Alerts */
.alert {
    padding: 1rem;
    border: 1px solid currentColor;
    margin-bottom: 1rem;
}

.alert strong {
    font-weight: bold;
}

.alert-info {
    background: rgba(88, 166, 255, 0.1);
    border-color: rgba(88, 166, 255, 0.3);
}

.alert-success {
    background: rgba(35, 134, 54, 0.1);
    border-color: rgba(35, 134, 54, 0.3);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
}

/* Cards */
.card {
    border: 1px solid var(--hover);
    background: transparent;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--hover);
}

.card-header h3 {
    font-size: 120%;
    font-weight: bold;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--hover);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    border-bottom: 1px solid currentColor;
}

.table th {
    text-align: left;
    padding: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 90%;
    opacity: 0.7;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--hover);
}

.table tbody tr:hover {
    background: var(--hover);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid currentColor;
    font-size: 85%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-success {
    border-color: rgba(35, 134, 54, 0.5);
    background: rgba(35, 134, 54, 0.1);
}

.badge-error {
    border-color: rgba(220, 53, 69, 0.5);
    background: rgba(220, 53, 69, 0.1);
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--hover);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 90%;
    opacity: 0.7;
}

.breadcrumb span {
    opacity: 0.5;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.pagination-item,
.pagination-prev,
.pagination-next {
    padding: 0.5rem 1rem;
    border: 1px solid var(--hover);
    text-decoration: none;
}

.pagination-item:hover,
.pagination-prev:hover,
.pagination-next:hover {
    background: var(--hover);
    border-color: currentColor;
}

.pagination-item.active {
    background: currentColor;
    color: var(--hover);
    border-color: currentColor;
}

@media (prefers-color-scheme: dark) {
    .pagination-item.active {
        background: var(--hover);
        color: currentColor;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .component-demo {
        width: 100%;
    }
    
    .modal-content {
        max-width: 100%;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/*   Header   */

body>header {
  max-width: 50rem;
  margin-inline: auto;
  padding: 0 1rem;
}

.logo {
  font-size: 400%;
  margin: 3rem 0;
}

.logo a {
    border: none;
}

h1.logo {
    font-weight: 300;
    text-transform: lowercase;
}

header nav {
    text-transform: uppercase;
    margin: 1rem;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    font-weight: bold;
    margin-left: 2rem;
}

.account-submenu nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin-left: 5rem;
    text-transform: uppercase;
    font-weight: bolder;
}

.account-submenu {
    opacity: 1;
    transition: opacity 0.3s ease;
    margin-bottom: 5rem;
}

body:has(.account-submenu) header nav {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

body:has(.account-submenu) header nav:hover {
    opacity: 1;
}

body:has(.account-submenu):has(header nav:hover) .account-submenu {
    opacity: 0.5;
}

body:has(.account-submenu):not(:has(header nav:hover)) .account-submenu {
    opacity: 1;
}



/*   Main   */

body>main {
  max-width: 50rem;
  margin-inline: auto;
  padding: 0 1rem;
}

/**    Home     **/

.main-product {
    text-align: center;
    display: grid;
}

.main-product h2 {
    font-size: 200%;
}


/* Product Page Styles */

.product-header {
    text-align: center;
    margin-bottom: 4rem;
}

.product-header svg {
    width: 20rem;
    height: 20rem;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.product-title {
    font-size: 250%;
    margin-bottom: 0.5rem;
}

.product-tagline {
    font-size: 150%;
    font-style: italic;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.product-description {
    line-height: 1.8;
    opacity: 0.8;
}

/* Sections */
.product-section {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--hover);
}

.product-section h3 {
    font-size: 120%;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0.6;
}

/* Audio Previews */
.audio-previews {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.audio-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.audio-name {
    font-size: 90%;
    opacity: 0.7;
}

.audio-item audio {
    width: 100%;
}

/* Variants */
.variants {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.variant-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.variant-item:hover {
    background: var(--hover);
}

.variant-item input[type="radio"] {
    cursor: pointer;
}

.variant-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.variant-name {
    font-weight: bold;
}

.variant-details {
    font-size: 90%;
    opacity: 0.6;
}

.variant-price {
    font-size: 110%;
    font-weight: bold;
}

.variant-price-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.price-original {
    text-decoration: line-through;
    opacity: 0.4;
    font-size: 90%;
}

.variant-item.highlight {
    border-width: 2px;
}

/* Purchase Button */
.btn-purchase {
    width: 100%;
    padding: 1.5rem;
    margin-top: 2rem;
    color: currentColor;
    border: none;
    font-family: "Merriweather", serif;
    font-size: 110%;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-purchase:hover {
    opacity: 0.8;
}

/* Product Details */
.product-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 2rem;
}

.product-details dt {
    font-weight: bold;
    opacity: 0.6;
}

.product-details dd {
    opacity: 0.8;
}

.redeem-page {
    margin: 5rem 0;
}

.info-section h3 {
    font-weight: lighter;
}

.info-section ul,
.info-section ol {
    margin: 1rem 2rem;
}


.redeem-button {
    width: 100%;
    margin-bottom: 5rem;
}

/*   Footer   */

footer {
    margin-top: 5rem;
    width: 100%;
    padding: 1rem 0;
}

.footer-content {
    max-width: 50rem;
    margin-inline: auto;
    text-align: center;
}


/* ==================== ADMIN LAYOUT FIX ==================== */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hover);
}

.page-header h1 {
    margin: 0;
    font-weight: lighter;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Ensure tables have proper spacing */
.admin-main table {
    margin-top: 1rem;
    width: 100%;
}

/* Stats grid for dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    padding: 1.5rem;
    border: 1px solid var(--hover);
    backdrop-filter: blur(5px);
}

.stat-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    line-height: 1;
}

.stat-meta {
    opacity: 0.6;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Dashboard section */
.dashboard-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin: 0;
}

/* Form sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--hover);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    font-weight: lighter;
    font-size: 200%;
    border-bottom: 1px solid var(--hover);
    padding: 0 5rem 0.5rem 0rem;
    width: fit-content;
    margin: 4rem 0 1rem 0;
}

/* Info cards (used in order detail) */
.order-info-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    padding: 1.5rem;
    border: 1px solid var(--hover);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.info-card p {
    margin: 0.5rem 0;
}


.order-status {
    display: flex;
    align-items: center;
}

.order-actions .btn-small {
    padding: 0rem 1rem;
    font-size: 100%;
    margin-top: 0;
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* Summary rows (checkout, cart) */
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--hover);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-total {
    font-weight: 700;
    font-size: 1.25rem;
    border-top: 2px solid var(--hover);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Order items, transactions tables */
.order-items,
.order-transactions,
.order-summary {
    margin: 2rem 0;
}

.order-items h3,
.order-transactions h3 {
    margin-bottom: 1rem;
}



.order-items {
    margin-top: 2rem;
}
 
.order-items h3 {
    margin-bottom: 1rem;
}
 
.items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
 
.item-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    border: 1px solid var(--hover);
    padding: 1.25rem;
    transition: border-color 0.2s;
    backdrop-filter: blur(5px);
}
 
.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}
 
.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
 
.item-name {
    font-weight: 600;
    font-size: 1rem;
}
 
.item-variant {
    font-size: 0.875rem;
    color: var(--muted, rgba(255, 255, 255, 0.6));
}
 
.item-price {
    flex-shrink: 0;
    min-width: 100px;
    text-align: right;
}
 
.price-amount {
    font-size: 1.125rem;
    font-weight: 600;
}
 
.price-free {
    color: #10b981;
    font-weight: 700;
    font-size: 1.125rem;
}
 
.item-action {
    flex-shrink: 0;
    min-width: 120px;
    text-align: right;
}

.item-action .btn-primary:hover {
    border-color: currentColor;
}
 
.text-muted {
    color: var(--muted, rgba(255, 255, 255, 0.5));
    font-size: 0.875rem;
}
 
@media (max-width: 768px) {
    .item-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .item-info {
        width: 100%;
    }
    
    .item-price {
        width: 100%;
        text-align: left;
        padding-left: 3rem; /* Align with item name */
    }
    
    .item-action {
        width: 100%;
        text-align: left;
        padding-left: 3rem; /* Align with item name */
    }
    
    .item-action .btn-primary {
        width: 100%;
    }
}

/* Admin specific containers */
.admin-products,
.admin-orders,
.admin-promos,
.admin-redeem,
.admin-settings {
    /* Reset any conflicting styles */
}

.admin-user {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 2rem 0;
  align-items: center;
  border-top: 1px solid var(--hover);
  border-bottom: 1px solid var(--hover);
  text-transform: none;
  padding: 0.5rem 0;
}

.admin-user .btn-ghost {
    margin: 0;
}


/* ==================== AUTHENTICATION PAGES ==================== */

.auth-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    max-width: 450px;
    width: 100%;
    padding: 2.5rem;
    border: 1px solid var(--hover);
    backdrop-filter: blur(5px);
}

.auth-card h1 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-form {
    margin-top: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--hover);
    font-size: 1rem;
    background: var(--bg);
    color: var(--text);
    backdrop-filter: blur(5px);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-form small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

.auth-form .error {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--error);
}

.auth-alt {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.auth-alt a {
    color: var(--primary);
    font-weight: 600;
}

.btn-block {
    width: 100%;
    margin-top: 1.5rem;
}

/* ==================== ACCOUNT AREA ==================== */

.account-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.account-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.account-sidebar h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.account-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-nav li {
    margin: 0;
    padding: 0;
}

.account-nav a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
}

.account-nav a:hover {
    background: var(--border);
}

.account-nav a.active {
    background: var(--primary);
    color: white;
}

.account-main {
    min-height: 60vh;
    margin-top: 5rem;
}

.account-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--hover);
}

.account-section h2 {
    margin-bottom: 1rem;
}


.recent-orders {
    margin-bottom: 2rem;
}
 
.recent-orders h2 {
    margin-bottom: 1.5rem;
}
 
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
 
.order-card {
    border-bottom: 1px solid var(--hover);
    margin-bottom:1rem;
    transition: border-color 0.2s, transform 0.2s;
}
 
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
 
.order-id {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
 
.order-id .label {
    font-size: 0.75rem;
    color: var(--muted, rgba(255, 255, 255, 0.6));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
 
.order-id code {
    font-size: 1.25rem;
    font-weight: 600;
}
 
.order-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    justify-content:space-between;
}
 
.order-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
 
.order-info .label {
    font-size: 0.875rem;
    color: var(--muted, rgba(255, 255, 255, 0.6));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
 
.order-info .value {
    font-size: 1rem;
    font-weight: 500;
}
 
.order-actions {
    display: flex;
    gap: 0.5rem;
}
 
@media (max-width: 768px) {    
    .order-details {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Download groups */
.download-group {
    border-bottom: 1px solid var(--hover);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.download-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.download-details {
    justify-content: space-around;
    display: flex;
    gap: 2rem;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .account-container {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: static;
    }
    
    .account-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
}

/* ==================== CHECKOUT UPDATES ==================== */

.checkout-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-container {
    margin-top: 2rem;
}

.checkout-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
}

.checkout-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.checkout-totals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

#checkout-form {
    margin-top: 2rem;
}
