/* =============================================
   OMEGA JADE - Additional Component Styles
   ============================================= */

/* ---- Checkout ---- */
.checkout-section {
    padding: 72px 0 96px;
    position: relative;
}
.checkout-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(99,102,241,0.18), transparent 24%),
        radial-gradient(circle at 85% 20%, rgba(245,158,11,0.12), transparent 20%);
    pointer-events: none;
}
.checkout-header { text-align: center; margin-bottom: 44px; position: relative; z-index: 1; }
.checkout-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 35%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: var(--transition, all 0.3s ease);
    min-width: 70px;
}
.step.active { opacity: 1; }
.step.completed { opacity: 0.7; }
.step.completed .step-number {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}
.step.active .step-number {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 55%, #f59e0b 100%);
    border-color: rgba(255,255,255,0.24);
    color: #fff;
    box-shadow: 0 12px 24px rgba(99,102,241,0.25);
}
.step span { font-size: 12px; font-weight: 600; letter-spacing: 0.03em; }

.step-divider {
    flex: 1;
    height: 2px;
    background: currentColor;
    opacity: 0.2;
    min-width: 30px;
    max-width: 80px;
    margin-bottom: 20px;
}

.checkout-step-content { display: none; }
.checkout-step-content.active { display: block; }

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 768px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-main h2 {
    margin-bottom: 22px;
    font-size: 1.7rem;
    letter-spacing: -0.03em;
}

.empty-cart-msg {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.empty-cart-msg svg { margin-bottom: 15px; opacity: 0.4; }
.empty-cart-msg p { margin-bottom: 20px; font-size: 1.1rem; }

.checkout-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    margin-bottom: 10px;
    background: rgba(20,20,35,0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}
.checkout-item-info { flex: 1; }
.checkout-item-name { font-weight: 700; letter-spacing: -0.01em; }
.checkout-item-meta { font-size: 13px; opacity: 0.6; margin-top: 2px; }
.checkout-item-qty { display: flex; align-items: center; gap: 10px; }
.qty-btn {
    width: 28px; height: 28px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    color: inherit;
    transition: var(--transition, all 0.3s ease);
}
.qty-btn:hover { background: rgba(99,102,241,0.16); border-color: rgba(99,102,241,0.3); }
.checkout-item-price { font-weight: 700; min-width: 80px; text-align: right; }
.checkout-item-remove {
    background: none; border: none; cursor: pointer;
    color: #e74c3c; padding: 4px; border-radius: 4px;
    display: flex; align-items: center;
    transition: background 0.2s;
}
.checkout-item-remove:hover { background: rgba(231,76,60,0.1); }

.order-summary {
    background: rgba(20,20,35,0.8);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 25px;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(16px);
    box-shadow: 0 22px 48px rgba(0,0,0,0.24), 0 0 1px rgba(255,255,255,0.08);
}
.order-summary h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.summary-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 12px 0; }
.summary-item-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; opacity: 0.8; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary-total { border-top: 2px solid rgba(255,255,255,0.15); margin-top: 8px; padding-top: 12px; font-size: 16px; }

.coupon-section { margin: 15px 0; }
.coupon-input-wrap { display: flex; gap: 8px; }
.coupon-input {
    flex: 1; padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: inherit;
    font-size: 13px;
}
#couponMessage { font-size: 12px; margin-top: 6px; }

.checkout-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 480px) { .checkout-form .form-row { grid-template-columns: 1fr; } }
.checkout-form .form-group { margin-bottom: 18px; }
.checkout-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: inherit;
    font-size: 14px;
    transition: var(--transition, all 0.3s ease);
    backdrop-filter: blur(8px);
}
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary-color, #6c63ff);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.payment-option {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition, all 0.3s ease);
    background: rgba(20,20,35,0.66);
    backdrop-filter: blur(12px);
}
.payment-option:hover {
    border-color: rgba(99,102,241,0.28);
    transform: translateY(-2px);
}
.payment-option.active {
    border-color: var(--primary-color, #6c63ff);
    background: linear-gradient(135deg, rgba(99,102,241,0.16) 0%, rgba(168,85,247,0.08) 100%);
    box-shadow: 0 16px 30px rgba(99,102,241,0.16);
}
.payment-option input[type="radio"] { display: none; }
.payment-option-content { display: flex; align-items: center; gap: 15px; padding: 15px; }
.payment-icon {
    opacity: 0.9;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.payment-info h4 { margin: 0 0 4px; font-size: 15px; letter-spacing: -0.01em; }
.payment-info p { margin: 0; font-size: 13px; opacity: 0.7; }

.checkout-legal { margin-bottom: 20px; }
.form-checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; cursor: pointer; }
.form-checkbox-label input { margin-top: 2px; flex-shrink: 0; }
.form-checkbox-label a { color: var(--primary-color, #6c63ff); }

.address-summary { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); }
.address-summary h4 { font-size: 13px; opacity: 0.7; margin-bottom: 5px; }
.address-summary p { font-size: 13px; line-height: 1.6; margin: 0; }

/* Confirmation */
.checkout-confirmation {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}
.confirmation-icon { margin-bottom: 25px; }
.checkout-confirmation h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}
.confirmation-text { opacity: 0.8; margin-bottom: 30px; line-height: 1.6; }
.order-confirmation-box {
    background: rgba(20,20,35,0.8);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(14px);
}
.confirmation-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.confirmation-row:last-child { border-bottom: none; }
.payment-instructions {
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.22);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
    backdrop-filter: blur(10px);
}
.payment-instructions h3 { margin-bottom: 12px; }
.bank-details { margin-top: 12px; }
.bank-row { display: flex; gap: 15px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 14px; }
.bank-row span { min-width: 140px; opacity: 0.7; }
.confirmation-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 25px; }

@media (max-width: 768px) {
    .checkout-section { padding: 56px 0 72px; }
    .checkout-header h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .checkout-steps {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px;
    }
    .order-summary {
        position: static;
        top: auto;
    }
}

@media (max-width: 560px) {
    .checkout-item {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: start;
    }
    .checkout-item-qty,
    .checkout-item-price {
        grid-column: 1 / -1;
    }
    .payment-option-content {
        align-items: flex-start;
    }
    .payment-icon {
        width: 48px;
        height: 48px;
    }
}

/* ---- Dashboard ---- */
.dashboard-section { padding: 50px 0 80px; }
.dashboard-header { margin-bottom: 30px; }
.dashboard-header h1 { font-size: 1.8rem; }
.dashboard-welcome { opacity: 0.7; margin-top: 5px; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: start;
}
@media (max-width: 768px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-sidebar { display: flex; flex-wrap: wrap; gap: 5px; }
}

.dashboard-nav { display: flex; flex-direction: column; gap: 4px; }
.dashboard-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.dashboard-nav-item:hover { background: rgba(255,255,255,0.06); }
.dashboard-nav-item.active {
    background: rgba(108,99,255,0.15);
    color: var(--primary-color, #6c63ff);
}
.nav-logout { margin-top: 20px; color: #e74c3c !important; }
.nav-logout:hover { background: rgba(231,76,60,0.1) !important; }

.dashboard-content-section { display: none; }
.dashboard-content-section.active { display: block; }
.dashboard-content-section h2 { font-size: 1.4rem; margin-bottom: 20px; }

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.dashboard-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.card-icon { opacity: 0.7; }
.card-content h3 { font-size: 13px; opacity: 0.7; margin-bottom: 4px; }
.card-value { font-size: 1.4rem; font-weight: 700; margin: 0; }

.dashboard-recent { margin-top: 30px; }
.dashboard-section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 15px;
}
.dashboard-section-header h3 { font-size: 1.1rem; }

.loading-spinner { text-align: center; padding: 40px; }
.spinner {
    width: 36px; height: 36px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-color, #6c63ff);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.orders-filter { margin-bottom: 20px; }
.orders-filter select {
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: inherit;
    cursor: pointer;
}

.orders-table-wrap { overflow-x: auto; border-radius: 10px; }
.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.orders-table th {
    text-align: left;
    padding: 12px 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.orders-table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.orders-table tr:last-child td { border-bottom: none; }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.status-pending { background: rgba(255,193,7,0.15); color: #ffc107; }
.status-processing { background: rgba(23,162,184,0.15); color: #17a2b8; }
.status-completed { background: rgba(40,167,69,0.15); color: #28a745; }
.status-cancelled { background: rgba(220,53,69,0.15); color: #dc3545; }

.empty-state {
    text-align: center;
    padding: 50px 20px;
    opacity: 0.6;
}
.empty-state svg { margin-bottom: 15px; }
.empty-state p { margin-bottom: 10px; }

/* Profile */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 768px) {
    .profile-grid { grid-template-columns: 1fr; }
}
.profile-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
}
.profile-card h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.profile-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 480px) { .profile-form .form-row { grid-template-columns: 1fr; } }
.profile-form .form-group { margin-bottom: 15px; }
.profile-form label { display: block; font-size: 13px; margin-bottom: 5px; opacity: 0.8; }
.profile-form input, .profile-form select {
    width: 100%; padding: 9px 13px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 7px;
    background: rgba(255,255,255,0.05);
    color: inherit;
    font-size: 14px;
}
.profile-form input:focus, .profile-form select:focus { outline: none; border-color: var(--primary-color, #6c63ff); }
.profile-form small { font-size: 11px; opacity: 0.6; }
.form-actions { display: flex; gap: 10px; margin-top: 5px; }
.section-intro { opacity: 0.7; margin-bottom: 20px; font-size: 14px; }

.danger-zone { border-color: rgba(231,76,60,0.3); }
.danger-zone h3 { color: #e74c3c; border-color: rgba(231,76,60,0.2); }
.btn-danger { background: #e74c3c !important; color: #fff !important; border-color: #e74c3c !important; }
.btn-danger:hover { background: #c0392b !important; }

/* Newsletter Toggle */
.newsletter-toggle { display: flex; align-items: center; gap: 12px; margin-top: 15px; }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 24px;
    transition: 0.3s;
}
.toggle-slider:before {
    position: absolute; content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}
input:checked + .toggle-slider { background: var(--primary-color, #6c63ff); }
input:checked + .toggle-slider:before { transform: translateX(20px); }

/* Address Cards */
.addresses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; }
.address-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 18px;
    font-size: 14px;
    line-height: 1.6;
}
.address-card.address-default { border-color: var(--primary-color, #6c63ff); }
.default-badge {
    display: inline-block;
    background: var(--primary-color, #6c63ff);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.address-actions { display: flex; gap: 8px; margin-top: 12px; }

.address-form-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}
.address-form-wrap h3 { margin-bottom: 20px; }

/* Downloads */
.downloads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 15px; }
.download-card {
    display: flex; align-items: center; gap: 15px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 18px;
}
.download-icon { opacity: 0.5; flex-shrink: 0; }
.download-info { flex: 1; }
.download-info h4 { font-size: 14px; margin-bottom: 2px; }
.download-info p { font-size: 12px; opacity: 0.6; margin: 0; }

/* Modal */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.modal-box {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-header h3 { margin: 0; font-size: 1.1rem; }
.modal-close { background: none; border: none; cursor: pointer; color: inherit; font-size: 24px; line-height: 1; }
.modal-body { padding: 20px 25px; }
.modal-order-detail h3 { font-size: 1.1rem; margin-bottom: 10px; }
.modal-order-detail p { margin-bottom: 6px; font-size: 14px; }
.modal-order-detail h4 { margin-top: 15px; margin-bottom: 8px; font-size: 1rem; }
.modal-order-detail ul { padding-left: 20px; font-size: 14px; }
.modal-order-detail li { margin-bottom: 4px; }

/* ---- Blog ---- */
.page-hero {
    background: linear-gradient(135deg, rgba(108,99,255,0.2) 0%, rgba(0,0,0,0) 60%);
    padding: 80px 0 50px;
    text-align: center;
}
.page-hero-content h1 { font-size: 2.5rem; margin-bottom: 15px; }
.page-hero-content p { font-size: 1.1rem; opacity: 0.7; }

.blog-section { padding: 50px 0 80px; }
.blog-filters {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-bottom: 35px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
.blog-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
}
@media (max-width: 700px) {
    .blog-card-featured { grid-template-columns: 1fr; }
}

.blog-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

.blog-image {
    position: relative;
    background: rgba(108,99,255,0.1);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-image-featured { min-height: 280px; }
.blog-image-placeholder { opacity: 0.5; }
.blog-category-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--primary-color, #6c63ff);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content { padding: 22px; }
.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.blog-title { margin-bottom: 10px; line-height: 1.4; }
.blog-card-featured .blog-title { font-size: 1.4rem; }
.blog-excerpt { font-size: 14px; opacity: 0.8; line-height: 1.6; margin-bottom: 18px; }

.blog-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 50px;
}
.pagination-btn {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.pagination-btn:hover { background: rgba(255,255,255,0.08); }
.pagination-btn.active { background: var(--primary-color, #6c63ff); border-color: var(--primary-color, #6c63ff); color: white; }
.pagination-btn:last-child { width: auto; padding: 0 15px; }

.blog-newsletter-cta {
    background: linear-gradient(135deg, rgba(108,99,255,0.15) 0%, rgba(0,0,0,0.05) 100%);
    border: 1px solid rgba(108,99,255,0.25);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
}
.blog-newsletter-inner {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}
.blog-newsletter-inner svg { opacity: 0.7; flex-shrink: 0; }
.blog-newsletter-inner > div { text-align: left; }
.blog-newsletter-inner h3 { font-size: 1.1rem; margin-bottom: 5px; }
.blog-newsletter-inner p { opacity: 0.7; font-size: 14px; margin: 0; }
.blog-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-newsletter-form input {
    flex: 1; min-width: 200px;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: inherit;
    font-size: 14px;
}
.blog-newsletter-form input:focus { outline: none; border-color: var(--primary-color, #6c63ff); }
#blogNewsletterMsg { font-size: 14px; }

/* ---- Product Detail ---- */
.product-detail {
    padding: 72px 0 96px;
    position: relative;
}

.product-detail::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(99,102,241,0.18), transparent 22%),
        radial-gradient(circle at 85% 25%, rgba(245,158,11,0.12), transparent 18%);
    pointer-events: none;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    color: rgba(226,232,240,0.68);
    font-size: 0.92rem;
}

.breadcrumb a { color: #c7d2fe; }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
    margin-bottom: 34px;
}

.product-gallery,
.product-info,
.product-tabs,
.related-products {
    position: relative;
    z-index: 1;
}

.product-gallery,
.product-info,
.product-tabs,
.related-products,
.product-card {
    background: rgba(20,20,35,0.78);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.24);
}

.product-gallery,
.product-info,
.product-tabs,
.related-products {
    border-radius: 22px;
}

.product-gallery {
    padding: 22px;
    overflow: hidden;
}

.product-image-main {
    position: relative;
    min-height: 480px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99,102,241,0.18) 0%, rgba(168,85,247,0.14) 55%, rgba(245,158,11,0.12) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255,255,255,0.08), transparent 40%);
    pointer-events: none;
}

.product-image-placeholder {
    color: rgba(255,255,255,0.24);
}

.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 14px 26px rgba(245,158,11,0.24);
}

.product-info {
    padding: 30px;
}

.product-category-label {
    margin-bottom: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(226,232,240,0.65);
    font-weight: 700;
}

.product-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 40%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-rating,
.product-rating-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.stars,
.stars-large,
.average-stars {
    color: #fbbf24;
    letter-spacing: 0.1em;
}

.rating-count,
.rating-detail-text,
.average-text,
.product-short-desc,
.product-description,
.tab-content p {
    color: rgba(226,232,240,0.72);
}

.product-price,
.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.price-original {
    color: rgba(226,232,240,0.44);
    text-decoration: line-through;
}

.price-current,
.price-amount {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #f59e0b 0%, #fff2bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-vat {
    color: rgba(226,232,240,0.58);
    font-size: 0.92rem;
}

.product-short-desc,
.product-detail-description {
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 22px;
}

.product-actions,
.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-large,
.btn-add-to-cart {
    min-height: 52px;
}

.product-meta,
.product-trust,
.product-trust-signals,
.product-detail-features,
.reviews-summary,
.order-confirmation-box {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}

.product-meta {
    padding: 18px;
    margin-bottom: 18px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.meta-row:last-child { border-bottom: 0; }

.meta-row span { color: rgba(226,232,240,0.6); }

.product-trust,
.product-trust-signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}

.trust-item,
.trust-signal {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    color: rgba(248,250,252,0.9);
    font-size: 0.92rem;
}

.product-tabs {
    padding: 26px;
    margin-bottom: 34px;
}

.tab-headers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.tab-header {
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #f8fafc;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-header.active,
.tab-header:hover {
    background: linear-gradient(135deg, rgba(99,102,241,0.2) 0%, rgba(168,85,247,0.16) 100%);
    border-color: rgba(99,102,241,0.3);
    color: #fff;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-content h3,
.tab-content h4,
.related-products h2 {
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.features-list,
.product-detail-features ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li,
.product-detail-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(248,250,252,0.92);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.1);
}

.reviews-summary,
.reviews-list,
.product-faq {
    padding: 18px;
}

.reviews-average {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.average-rating {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.related-products {
    padding: 26px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px rgba(0,0,0,0.28);
}

.product-image {
    min-height: 180px;
    position: relative;
    background: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(168,85,247,0.12));
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.product-description {
    line-height: 1.7;
    font-size: 0.94rem;
    margin-bottom: 14px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.skeleton-loader {
    display: grid;
    gap: 16px;
    padding: 28px;
    border-radius: 18px;
    background: rgba(20,20,35,0.7);
    border: 1px solid rgba(255,255,255,0.1);
}

.skeleton {
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite linear;
}

.skeleton-image { min-height: 320px; }
.skeleton-text { min-height: 22px; }

@media (max-width: 980px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .product-trust,
    .product-trust-signals {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .product-detail {
        padding: 56px 0 72px;
    }
    .product-gallery,
    .product-info,
    .product-tabs,
    .related-products {
        padding: 18px;
    }
    .product-image-main {
        min-height: 320px;
    }
    .product-actions,
    .product-detail-actions,
    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .tab-headers {
        flex-direction: column;
    }
}

/* ---- Legal Pages ---- */
.legal-section { padding: 60px 0 80px; }
.legal-section h1 { font-size: 2rem; margin-bottom: 30px; }
.legal-content h2 { font-size: 1.2rem; margin-top: 35px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.legal-content h3 { font-size: 1rem; margin-top: 20px; margin-bottom: 8px; }
.legal-content p { font-size: 15px; line-height: 1.8; margin-bottom: 15px; opacity: 0.9; }
.legal-content ul { padding-left: 25px; margin-bottom: 15px; }
.legal-content li { font-size: 15px; line-height: 1.8; margin-bottom: 8px; opacity: 0.9; }
.legal-content a { color: var(--primary-color, #6c63ff); }
.legal-content a:hover { text-decoration: underline; }

/* ---- Utility ---- */
.success-text { color: #28a745; font-size: 14px; }
.error-text { color: #e74c3c; font-size: 14px; }
.text-muted { opacity: 0.6; font-size: 13px; }
.btn-ghost {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: inherit !important;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08) !important; }
.btn-danger-ghost {
    background: transparent !important;
    border: 1px solid rgba(231,76,60,0.3) !important;
    color: #e74c3c !important;
}
.btn-danger-ghost:hover { background: rgba(231,76,60,0.1) !important; }
