/**
 * Volkena E-Commerce Frontend Styles
 */

/* Mini Cart */
.vec-mini-cart-wrapper {
    position: fixed;
    z-index: 9999;
}

.vec-mini-cart-wrapper.vec-position-top-right {
    top: 20px;
    right: 20px;
}

.vec-mini-cart-wrapper.vec-position-top-left {
    top: 20px;
    left: 20px;
}

.vec-mini-cart-wrapper.vec-position-bottom-right {
    bottom: 20px;
    right: 20px;
}

.vec-mini-cart-wrapper.vec-position-bottom-left {
    bottom: 20px;
    left: 20px;
}

.vec-cart-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.vec-cart-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.vec-cart-count {
    background: white;
    color: #667eea;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.vec-mini-cart-dropdown {
    position: absolute;
    top: 70px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.vec-mini-cart-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vec-mini-cart-header h3 {
    margin: 0;
    font-size: 16px;
}

.vec-cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.vec-mini-cart-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
}

/* Add to Cart Button */
.vec-add-to-cart {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vec-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Cart Items */
.vec-cart-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.vec-cart-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.vec-cart-item-details {
    flex: 1;
}

.vec-cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.vec-cart-item-price {
    color: #667eea;
    font-weight: 600;
}

.vec-cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.vec-qty-minus, .vec-qty-plus {
    background: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    cursor: pointer;
}

.vec-qty-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px;
}

.vec-cart-item-remove {
    background: #ff4757;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
}

.vec-cart-totals {
    padding: 15px 0;
    border-top: 2px solid #eee;
}

.vec-cart-subtotal, .vec-cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.vec-cart-total {
    font-weight: 600;
    font-size: 18px;
}

.vec-cart-actions {
    display: flex;
    gap: 10px;
}

.vec-btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vec-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vec-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.vec-btn-block {
    display: block;
    width: 100%;
}

/* Checkout Page */
.vec-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.vec-checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vec-form-group {
    margin-bottom: 20px;
}

.vec-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.vec-form-group input,
.vec-form-group textarea,
.vec-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.vec-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.vec-order-review {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.vec-order-table {
    width: 100%;
    border-collapse: collapse;
}

.vec-order-table th,
.vec-order-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.vec-order-total {
    font-size: 18px;
    font-weight: 600;
}

.vec-payment-methods {
    margin: 20px 0;
}

.vec-payment-method {
    display: block;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vec-payment-method:hover {
    border-color: #667eea;
}

.vec-payment-method input[type="radio"] {
    margin-right: 10px;
}

/* Notices */
.vec-notice {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.vec-notice-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vec-notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.vec-notice-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Order Confirmation */
.vec-order-confirmation {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.vec-confirmation-header {
    text-align: center;
    padding: 40px 20px;
}

.vec-success-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 48px;
    line-height: 80px;
    margin-bottom: 20px;
}

.vec-order-details {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.vec-order-info {
    width: 100%;
    margin-bottom: 30px;
}

.vec-order-info th,
.vec-order-info td {
    padding: 10px;
    text-align: left;
}

.vec-order-items {
    width: 100%;
    border-collapse: collapse;
}

.vec-order-items th,
.vec-order-items td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .vec-mini-cart-dropdown {
        width: 300px;
    }

    .vec-checkout-row {
        grid-template-columns: 1fr;
    }

    .vec-form-row {
        grid-template-columns: 1fr;
    }
}

