/* Cart & Checkout Styles */

/* Cart Page */
.cart-section { padding: 120px 0 60px; }
.cart-container { max-width: 900px; }
.cart-section h2 { font-size: 2.5rem; margin-bottom: 30px; }

.empty-cart { text-align: center; padding: 60px; }
.empty-cart i { font-size: 4rem; color: var(--text-dim); margin-bottom: 20px; }
.empty-cart h3 { margin-bottom: 15px; }
.empty-cart p { color: var(--text-dim); margin-bottom: 30px; }

.cart-grid { display: grid; gap: 20px; margin-bottom: 40px; }
.cart-item { 
    padding: 25px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.item-details { display: flex; align-items: center; gap: 20px; }
.item-icon { 
    width: 50px; 
    height: 50px; 
    background: rgba(184, 140, 252, 0.1); 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary-color); 
}
.item-info h4 { font-size: 1.1rem; margin-bottom: 5px; }
.item-category { font-size: 0.85rem; color: var(--text-dim); }

.item-actions { display: flex; align-items: center; gap: 30px; }
.item-price { font-weight: 700; font-size: 1.2rem; }
.remove-btn { background: none; border: none; color: #ff4d4d; cursor: pointer; font-size: 1.1rem; transition: all 0.3s; }
.remove-btn:hover { transform: scale(1.1); }

.cart-summary { 
    padding: 40px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 30px; 
}
.total-label { color: var(--text-dim); display: block; margin-bottom: 5px; }
.total-amount { font-size: 2rem; font-weight: 800; color: #00ff9d; }
.summary-actions { display: flex; gap: 15px; }
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark) !important;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-primary:hover {
    background: var(--accent-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Checkout Page */
.checkout-section { padding: 120px 0 60px; }
.checkout-container-wrapper { max-width: 900px; }
.checkout-container { padding: 40px; border-radius: 32px; }

.steps { display: flex; justify-content: space-between; margin-bottom: 50px; position: relative; }
.step { z-index: 1; text-align: center; }
.step-num { 
    width: 40px; 
    height: 40px; 
    background: #2a2a2e; 
    color: #fff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 10px; 
    font-weight: 700; 
    transition: all 0.3s;
}
.step.active .step-num { background: var(--primary-color); color: #000; }
.step span { font-size: 0.8rem; color: var(--text-dim); transition: all 0.3s; }
.step.active span { color: #fff; }
.step-line { position: absolute; top: 20px; left: 0; width: 100%; height: 2px; background: #2a2a2e; z-index: 0; }

.step-content h3 { font-size: 1.5rem; margin-bottom: 20px; }
.step-desc { color: var(--text-dim); margin-bottom: 30px; }

.domain-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.choice-card { cursor: pointer; }
.choice-card input { display: none; }
.choice-box { 
    padding: 20px; 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    text-align: center; 
    transition: all 0.3s; 
}
.choice-box i { font-size: 1.5rem; margin-bottom: 10px; }
.choice-label { font-weight: 600; }
.choice-card input:checked + .choice-box { 
    border-color: var(--primary-color) !important; 
    background: rgba(184, 140, 252, 0.1); 
    color: var(--primary-color); 
}

.domain-search-group { display: flex; gap: 10px; align-items: stretch; }
.domain-search-group input { 
    flex: 3; 
    min-width: 0;
}
.domain-search-group .modern-select { 
    flex: 1;
    min-width: 120px;
    height: auto;
}
.btn-search { 
    padding: 12px 25px; 
    background: #fff; 
    color: #000; 
    border: none;
    border-radius: 12px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-search:hover { background: var(--primary-color); }

.hosting-info-box { 
    margin-top: 25px; 
    padding: 20px; 
    background: rgba(255, 255, 255, 0.02); 
    border: 1px dashed rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
}
.hosting-info-box h4 { font-size: 1rem; margin-bottom: 15px; color: var(--primary-color); }
.hosting-desc { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 15px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { width: 100%; }

.file-upload-box { 
    margin-top: 25px; 
    padding: 20px; 
    background: rgba(255, 255, 255, 0.02); 
    border: 1px dashed rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
}
.upload-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.upload-label i { color: var(--primary-color); }
.upload-hint { font-size: 0.75rem; color: var(--text-dim); margin-top: 8px; }

.btn-group { margin-top: 30px; }
.submit-btn { 
    width: 100%; 
    padding: 15px; 
    border-radius: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    border: none;
}
.next-btn { background: var(--primary-color); color: #000; }
.prev-btn { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border-color) !important; }
.confirm-btn { background: #00ff9d; color: #000; }
.submit-btn:hover { transform: translateY(-2px); }

.summary-card { padding: 25px; margin-bottom: 30px; }
.summary-items { margin-bottom: 20px; }
.summary-label { display: block; margin-bottom: 10px; color: var(--text-dim); }
.summary-item { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.summary-item i { color: var(--primary-color); margin-right: 5px; }
.domain-summary { margin-top: 15px; }
.summary-divider { border: 0; border-top: 1px solid var(--border-color); margin: 20px 0; }
.total-row { display: flex; justify-content: space-between; font-size: 1.2rem; }
.text-accent { color: #00ff9d; }
.confirmation-hint { font-size: 0.85rem; color: var(--text-dim); text-align: center; margin-bottom: 30px; }

.modern-select {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
}
.modern-select option { background: #1a1a1e; }

/* Mobile Responsiveness for Shop */
@media (max-width: 768px) {
    .cart-section { padding: 100px 0 80px; }
    .cart-item { flex-direction: column; align-items: flex-start; }
    .item-actions { width: 100%; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 15px; }
    .cart-summary { flex-direction: column; text-align: center; }
    .summary-actions { width: 100%; flex-direction: column; }
    .summary-actions .btn-primary, .summary-actions .btn-secondary { width: 100%; justify-content: center; }
    
    .checkout-section { padding: 100px 0 80px; }
    .checkout-container { padding: 20px; }
    .domain-choice { display: grid; grid-template-columns: 1fr; }
    .grid-2 { display: grid; grid-template-columns: 1fr; }
    .steps { margin-bottom: 30px; }
    .step span { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .cart-section h2 { font-size: 2rem; }
    .total-amount { font-size: 1.5rem; }
    .domain-search-group { flex-direction: column; }
    .btn-search { width: 100%; }
}
