/* WDSPrimeShop - Main Stylesheet */

/* ==================== */
/* Reset & Base Styles */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --border-color: #e5e7eb;
    --text-dark: #111827;
    --text-light: #6b7280;
    --success-color: #22c55e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== */
/* Header */
/* ==================== */
.main-header {
    background: url('../images/wdsbanner.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 2.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.main-header .container,
.main-header .header-content,
.main-header .logo,
.main-header .main-nav,
.main-header .header-actions {
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    color: white;
}

.tagline {
    font-size: 0.875rem;
    opacity: 0.9;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
}

.cart-badge {
    background: var(--danger-color);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.search-bar {
    margin-top: 1rem;
}

.search-bar form {
    display: flex;
    gap: 0.5rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.search-bar button {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: #059669;
}

/* ==================== */
/* Flash Messages */
/* ==================== */
.flash-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flash-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.flash-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--danger-color);
}

.flash-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--info-color);
}

.close-flash {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
}

/* ==================== */
/* Main Content */
/* ==================== */
.main-content {
    min-height: calc(100vh - 400px);
    padding: 2rem 0;
}

/* ==================== */
/* Products Page */
/* ==================== */
.category-filter {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.category-filter h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-item {
    padding: 0.5rem 1rem;
    background: var(--light-color);
    border-radius: 20px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.category-item:hover,
.category-item.active {
    background: var(--primary-color);
    color: white;
}

.category-item .count {
    font-size: 0.875rem;
    opacity: 0.8;
}

.products-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light-color);
}

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

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.stock-badge.out-of-stock {
    background: var(--danger-color);
    color: white;
}

.stock-badge.low-stock {
    background: var(--warning-color);
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ==================== */
/* Buttons */
/* ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #059669;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-disabled {
    background: var(--light-color);
    color: var(--text-light);
    cursor: not-allowed;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

/* ==================== */
/* Cart Page */
/* ==================== */
.cart-page {
    max-width: 1000px;
    margin: 0 auto;
}

.cart-page h1 {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-cart i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-cart h2 {
    margin-bottom: 0.5rem;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

.item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details h3 {
    margin-bottom: 0.5rem;
}

.item-price {
    color: var(--text-light);
}

.stock-warning {
    color: var(--warning-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background: var(--light-color);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--border-color);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.25rem;
}

.item-subtotal {
    text-align: right;
}

.subtotal-amount {
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
}

.btn-remove:hover {
    color: #dc2626;
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.cart-summary h2 {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    border-top: 2px solid var(--dark-color);
    border-bottom: none;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.payment-info {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.btn-checkout {
    width: 100%;
    margin-bottom: 1rem;
    justify-content: center;
}

/* ==================== */
/* Pagination */
/* ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-dark);
    background: white;
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ==================== */
/* Footer */
/* ==================== */
.main-footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--primary-color);
}

.crypto-icons {
    display: flex;
    gap: 1rem;
    font-size: 2rem;
    margin: 1rem 0;
}

.crypto-badge {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
}

.payment-note {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9ca3af;
}

/* ==================== */
/* Responsive */
/* ==================== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 0.75rem;
    }
    
    .item-quantity,
    .item-subtotal,
    .btn-remove {
        grid-column: 2;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-products i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ==================== */
/* Checkout Page */
/* ==================== */
.checkout-page {
    padding: 2rem 0;
}

.checkout-page h1 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.payment-card i {
    font-size: 2rem;
    color: var(--warning-color);
}

.payment-option input[type="radio"]:checked + .payment-card i {
    color: white;
}

.crypto-badge-large {
    background: var(--warning-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-block;
}

.payment-option input[type="radio"]:checked + .payment-card .crypto-badge-large {
    background: white;
    color: var(--primary-color);
}

.payment-info-box {
    background: #f3f4f6;
    border-left: 4px solid var(--info-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
}

.payment-info-box i {
    color: var(--info-color);
    font-size: 1.5rem;
}

.payment-info-box ol {
    margin: 0.5rem 0 0 1.25rem;
    color: var(--text-light);
}

.payment-info-box li {
    margin-bottom: 0.25rem;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
}

.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 2rem;
}

.order-summary h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-items {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-name {
    color: var(--text-dark);
    font-weight: 500;
}

.item-qty {
    color: var(--text-light);
    font-size: 0.875rem;
}

.item-price {
    color: var(--text-dark);
    font-weight: 600;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1.5rem 0;
    border-radius: 2px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.summary-row.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
}

.security-badges .badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.security-badges .badge i {
    font-size: 1.5rem;
    color: #10b981;
}

/* Checkout Page Responsive */
@media (max-width: 968px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: relative;
        top: 0;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* Payment Page */
/* ==================== */
.payment-page {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.payment-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.payment-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
}

.payment-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.order-ref {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.order-ref strong {
    font-weight: 600;
}

.payment-content {
    padding: 2rem;
}

.payment-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.payment-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.payment-section h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-section h2 i {
    color: var(--primary-color);
}

.crypto-amount {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.crypto-amount p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.amount-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.amount-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #10b981;
    word-break: break-all;
}

.crypto-equivalent {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.payment-address-box {
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.payment-address-box label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.address-input-group {
    display: flex;
    gap: 0.5rem;
}

.address-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-dark);
    word-break: break-all;
}

.btn-copy {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: #10b981;
}

.network-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.network-badge {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}

.hash-input-box {
    margin: 1.5rem 0;
}

.hash-input-box label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hash-input-box input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.hash-input-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.hash-input-box small {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.btn-verify {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
    margin: 1.5rem 0;
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.payment-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.payment-warning h3 {
    color: #92400e;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-warning ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.payment-warning li {
    color: #78350f;
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.payment-warning li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    font-weight: bold;
}

.qr-section {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.qr-section h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
}

.qr-note {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
    font-style: italic;
}

.payment-timer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.payment-timer h3 {
    color: #92400e;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.timer-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f59e0b;
    font-family: 'Courier New', monospace;
    margin: 0.5rem 0;
}

.timer-note {
    color: #78350f;
    font-size: 0.875rem;
}

.help-section {
    background: #eff6ff;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.help-section h3 {
    color: #1e40af;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-section p {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.btn-contact {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Payment Page Responsive */
@media (max-width: 768px) {
    .payment-header {
        padding: 2rem 1.5rem;
    }
    
    .payment-header h1 {
        font-size: 1.5rem;
    }
    
    .payment-content {
        padding: 1.5rem;
    }
    
    .address-input-group {
        flex-direction: column;
    }
    
    .amount-value {
        font-size: 1.25rem;
    }
    
    .timer-display {
        font-size: 2rem;
    }
}

/* ==================== */
/* Currency Switcher */
/* ==================== */
.currency-switcher {
    position: relative;
    display: inline-block;
}

.currency-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
}

.currency-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.currency-btn i:first-child {
    color: var(--primary-color);
}

.currency-btn i:last-child {
    font-size: 0.75rem;
    color: var(--text-light);
}

.currency-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.currency-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.currency-option:last-of-type {
    border-bottom: none;
}

.currency-option:hover {
    background: #f9fafb;
}

.currency-flag {
    font-size: 1.5rem;
}

.currency-info {
    flex: 1;
}

.currency-code {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.currency-name {
    font-size: 0.75rem;
    color: var(--text-light);
}

.currency-option i.fa-check {
    color: #10b981;
    font-size: 1.25rem;
}

.currency-rates {
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.currency-rates small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.75rem;
}

.currency-rates i {
    color: var(--info-color);
}

/* Currency Switcher in Header */
.header-actions .currency-switcher {
    margin-right: 1rem;
}

/* ==================== */
/* Success Page */
/* ==================== */
.success-page {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    color: var(--warning-color); /* Orange for processing */
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-page h1 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.order-details-box {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.order-details-box h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row.total {
    border-top: 2px solid #e5e7eb;
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.detail-row .label {
    color: var(--text-light);
}

.detail-row .value {
    color: var(--text-dark);
    font-weight: 600;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-paid {
    background: #d1fae5;
    color: #065f46;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.order-items {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.order-items h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

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

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-name {
    font-weight: 600;
    color: var(--text-dark);
}

.item-qty {
    font-size: 0.875rem;
    color: var(--text-light);
}

.item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.confirmation-note {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.confirmation-note i {
    font-size: 1.5rem;
    color: var(--info-color);
    margin-top: 0.25rem;
}

.confirmation-note p {
    margin: 0;
    color: var(--text-dark);
}

.confirmation-note ul {
    margin: 0.5rem 0;
}

.confirmation-note li {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

/* ==================== */
/* Featured Products Slider */
/* ==================== */
.featured-slider-section {
    margin: 2rem 0 3rem 0;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.featured-slider-section h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-slider-section h2 i {
    color: var(--warning-color);
}

.featured-slider {
    position: relative;
}

.slider-container {
    overflow: hidden;
    margin: 0 3rem;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.featured-slide {
    min-width: calc(33.333% - 1rem);
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
}

.featured-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-slide:hover img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--warning-color), #f59e0b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(0);
    transition: all 0.3s;
}

.featured-slide:hover .slide-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
}

.slide-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.slide-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warning-color);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-nav:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Star Rating Styles */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.product-rating i {
    font-size: 0.875rem;
    color: var(--warning-color);
}

.product-rating .far {
    color: #d1d5db;
}

.rating-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 0.25rem;
}

.out-of-stock-text {
    color: var(--danger-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Responsive Featured Slider */
@media (max-width: 1024px) {
    .featured-slide {
        min-width: calc(50% - 0.75rem);
        height: 350px;
    }
}

@media (max-width: 768px) {
    .featured-slide {
        min-width: 100%;
        height: 300px;
    }
    
    .slider-container {
        margin: 0 2.5rem;
    }
}

/* ==================== */
/* Product Detail Page */
/* ==================== */
.product-detail-page {
    margin: 2rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-images {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.main-image {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.product-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--warning-color), #f59e0b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.product-info-detail h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-rating-large i {
    font-size: 1.25rem;
    color: var(--warning-color);
}

.product-rating-large .far {
    color: #d1d5db;
}

.rating-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 0.5rem;
}

.review-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.stock-status {
    margin-bottom: 1.5rem;
}

.in-stock {
    color: var(--success-color);
    font-weight: 600;
}

.out-of-stock {
    color: var(--danger-color);
    font-weight: 600;
}

.product-description {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
}

.product-description h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.6;
}

.add-to-cart-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector label {
    font-weight: 600;
    color: var(--text-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 2px solid #e5e7eb;
    border-right: 2px solid #e5e7eb;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.product-meta {
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.meta-item {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.meta-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.meta-item a:hover {
    text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reviews-section h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s;
}

.review-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.reviewer-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-rating i {
    color: var(--warning-color);
    font-size: 1rem;
}

.review-comment {
    color: var(--text-light);
    line-height: 1.6;
}

.related-products {
    margin: 3rem 0;
}

.related-products h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Product Detail */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: static;
    }
    
    .main-image img {
        height: 350px;
    }
    
    .product-info-detail h1 {
        font-size: 1.5rem;
    }
    
    .product-price-large {
        font-size: 2rem;
    }
    
    .add-to-cart-section {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
        margin: 0 -1rem;
        z-index: 100;
    }
}
.category-filter {
    margin-bottom: 1.5rem;
}

.category-dropdown {
    width: 100%;
    padding: 8px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
}
