/**
 * Commerce pages & product pro styles
 */

/* Commerce Pages */
.commerce-page { padding: 40px 0 80px; }
/* Full-bleed / flush pages under sticky header spacer */
.commerce-page.contact-page,
.commerce-page.about-page,
.commerce-page.login-page,
.commerce-page.policy-page,
.commerce-page.checkout-page,
.shop-catalog-page {
	padding-top: 0;
}
.login-page { padding-top: 0; padding-bottom: 64px; }
.policy-page { padding-top: 28px; padding-bottom: 64px; }
.page-heading { font-size: 2rem; margin-bottom: 32px; }

/* Cart layout lives in assets/css/cart-checkout.css */
.cart-table th, .cart-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--wp-store-border); }
.cart-table th { background: #f8fafc; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.btn-remove { background: none; border: none; font-size: 22px; color: var(--wp-store-text-light); cursor: pointer; }
.btn-remove:hover { color: var(--wp-store-danger); }
.cart-summary { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 28px; height: fit-content; position: sticky; top: 140px; }
.cart-summary h3 { margin-bottom: 20px; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--wp-store-border); }
.summary-row.total { border: none; font-size: 18px; padding-top: 16px; margin-bottom: 20px; }
.btn-block { width: 100%; }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty-icon { color: var(--wp-store-text-light); margin-bottom: 20px; }

/* Checkout — Professional */
.checkout-page { padding: 0 0 80px; }
.checkout-page .checkout-container { padding-top: 28px; }
.checkout-hero { background: linear-gradient(135deg, var(--wp-store-navy, #0f172a) 0%, #1e293b 100%); padding: 44px 0 52px; margin-bottom: 0; text-align: center; color: #fff; }
.checkout-hero--compact { padding: 20px 0; text-align: left; }
.checkout-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.checkout-hero--compact .page-heading { color: #fff; margin: 0; font-size: 1.5rem; font-weight: 800; }
.checkout-hero .page-heading { color: #fff; margin: 10px 0 8px; font-size: 2.25rem; }
.checkout-hero-sub { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 28px; font-size: 15px; line-height: 1.6; }
.checkout-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }

.checkout-progress { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: center; justify-content: center; gap: 0; max-width: 480px; }
.checkout-progress--inline { margin: 0; max-width: none; gap: 8px; font-size: 13px; font-weight: 600; }
.checkout-progress--inline .checkout-progress-step { flex: none; display: inline-flex; align-items: center; color: rgba(255,255,255,0.5); }
.checkout-progress--inline .checkout-progress-step:not(:last-child)::after { content: '/'; margin-left: 8px; color: rgba(255,255,255,0.3); position: static; width: auto; height: auto; background: none; }
.checkout-progress--inline .checkout-progress-step a { color: rgba(255,255,255,0.65); text-decoration: none; }
.checkout-progress--inline .checkout-progress-step a:hover { color: #fff; }
.checkout-progress--inline .checkout-progress-step.is-active { color: #fff; }
.checkout-progress--inline .checkout-progress-step.is-done { color: rgba(255,255,255,0.85); }
.checkout-progress-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.checkout-progress-step:not(:last-child)::after { content: ''; position: absolute; top: 16px; left: calc(50% + 18px); width: calc(100% - 36px); height: 2px; background: rgba(255,255,255,0.2); z-index: 0; }
.checkout-progress-step.is-done:not(:last-child)::after { background: var(--wp-store-primary); }
.checkout-progress-step a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
.checkout-progress-dot { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); position: relative; z-index: 1; margin-bottom: 8px; transition: all 0.2s ease; }
.checkout-progress-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55); }
.checkout-progress-step.is-active .checkout-progress-dot { background: var(--wp-store-primary); border-color: var(--wp-store-primary); color: #fff; box-shadow: 0 0 0 4px rgba(13,148,136,0.35); }
.checkout-progress-step.is-active .checkout-progress-label { color: #fff; }
.checkout-progress-step.is-done .checkout-progress-dot { background: var(--wp-store-primary); border-color: var(--wp-store-primary); color: #fff; }
.checkout-progress-step.is-done .checkout-progress-label { color: rgba(255,255,255,0.85); }
.checkout-progress-step.is-done a:hover .checkout-progress-dot { transform: scale(1.06); }

.checkout-alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; font-size: 14px; line-height: 1.55; }
.checkout-alert svg { flex-shrink: 0; margin-top: 1px; }
.checkout-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.checkout-alert--warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 28px; align-items: start; }
.checkout-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.checkout-sidebar { position: sticky; top: 100px; }
.checkout-sidebar-inner { display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--wp-store-border); border-radius: 16px; box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08); overflow: hidden; }

.checkout-panel { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 16px; padding: 28px 30px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.checkout-panel-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--wp-store-border); }
.checkout-panel-head--simple { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
.checkout-panel-head--simple h2 { margin: 0; font-size: 1.15rem; }
.checkout-panel-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--wp-store-primary), #0d9488); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkout-panel-head h2 { margin: 0 0 4px; font-size: 1.2rem; }
.checkout-panel-head p { margin: 0; font-size: 14px; color: var(--wp-store-text-light); }

.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.checkout-fields--stacked { grid-template-columns: 1fr; gap: 16px; }
.checkout-field--full { grid-column: 1 / -1; }
.checkout-field--phone,
.checkout-field--email { grid-column: 1 / -1; }
.checkout-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--wp-store-text); }
.checkout-input-wrap { display: flex; align-items: stretch; border: 2px solid var(--wp-store-border); border-radius: 10px; overflow: hidden; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.checkout-input-wrap:focus-within { border-color: var(--wp-store-primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.12); }
.checkout-input-icon { display: flex; align-items: center; padding: 0 14px; color: var(--wp-store-text-light); background: #f8fafc; border-right: 1px solid var(--wp-store-border); }
.checkout-input-wrap input { flex: 1; border: none !important; border-radius: 0 !important; padding: 13px 16px; font-size: 15px; outline: none; background: transparent; width: 100%; }
.checkout-input-wrap--prefix .checkout-input-prefix { display: flex; align-items: center; padding: 0 14px; background: #f8fafc; border-right: 1px solid var(--wp-store-border); font-weight: 700; font-size: 14px; color: var(--wp-store-text-light); }
.checkout-field.has-error .checkout-input-wrap { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }

.checkout-deliverables { background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%); border: 1px solid #99f6e4; border-radius: 16px; padding: 24px 28px; }
.checkout-deliverables h3 { margin: 0 0 16px; font-size: 15px; color: var(--wp-store-navy); }
.checkout-deliverables-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checkout-deliverables-list li { display: flex; gap: 14px; align-items: flex-start; }
.checkout-deliverables-icon { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid #99f6e4; color: var(--wp-store-primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkout-deliverables-list strong { display: block; font-size: 14px; margin-bottom: 2px; }
.checkout-deliverables-list span { font-size: 13px; color: var(--wp-store-text-light); line-height: 1.45; }

.checkout-order-card, .checkout-payment-card { background: transparent; border: none; border-radius: 0; padding: 24px; box-shadow: none; }
.checkout-order-card { border-bottom: 1px solid var(--wp-store-border); }
.checkout-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.checkout-card-head h3 { margin: 0; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.checkout-edit-cart { font-size: 13px; font-weight: 600; color: var(--wp-store-primary); text-decoration: none; }
.checkout-edit-cart:hover { text-decoration: underline; }
.checkout-order-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.checkout-order-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; margin: -10px; border-radius: 12px; transition: background 0.15s ease; }
.checkout-order-item.is-removing { opacity: 0.4; pointer-events: none; }
.checkout-order-item-media img, .checkout-order-item-placeholder { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e2e8f0, #f8fafc); font-size: 11px; font-weight: 800; color: var(--wp-store-navy); border: 1px solid var(--wp-store-border); }
.checkout-order-item-body strong { display: block; font-size: 14px; line-height: 1.35; margin-bottom: 4px; }
.checkout-order-item-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--wp-store-primary); background: rgba(13,148,136,0.1); padding: 2px 8px; border-radius: 999px; margin-right: 6px; }
.checkout-order-item-qty { font-size: 12px; color: var(--wp-store-text-light); }
.checkout-order-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.checkout-order-item-price { font-weight: 800; font-size: 15px; white-space: nowrap; color: var(--wp-store-navy); }
.checkout-order-item-remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid #fecaca; border-radius: 8px; background: #fef2f2; color: #dc2626; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s; }
.checkout-order-item-remove:hover { background: #fee2e2; border-color: #fca5a5; transform: scale(1.05); }
.checkout-order-totals { border-top: 1px dashed var(--wp-store-border); padding-top: 14px; }
.checkout-order-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--wp-store-text-light); }
.checkout-order-row--discount .checkout-free-tag { color: var(--wp-store-success); font-weight: 700; font-size: 13px; }
.checkout-order-row--total { margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--wp-store-border); font-size: 1rem; color: var(--wp-store-text); align-items: center; }
.checkout-order-row--total strong { font-size: 1.5rem; color: var(--wp-store-navy); font-weight: 800; }

.payment-options--checkout { margin-bottom: 18px; }
.checkout-submit-btn { margin-bottom: 14px; font-size: 16px; padding: 15px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; letter-spacing: 0.01em; transition: opacity 0.2s, transform 0.15s; }
.checkout-submit-btn:hover:not(:disabled) { transform: translateY(-1px); }
.checkout-submit-btn.is-loading { opacity: 0.85; cursor: wait; }
.checkout-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.checkout-secure-note { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--wp-store-text-light); line-height: 1.55; margin: 0 0 16px; text-align: left; }
.checkout-secure-note svg { flex-shrink: 0; margin-top: 2px; color: var(--wp-store-success); }

.checkout-mobile-toggle { display: none; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin-bottom: 20px; background: #fff; border: 1px solid var(--wp-store-border); border-radius: 12px; font-family: inherit; cursor: pointer; box-shadow: 0 4px 12px rgba(15,23,42,0.06); }
.checkout-mobile-toggle-label { font-size: 14px; font-weight: 600; color: var(--wp-store-text-light); }
.checkout-mobile-toggle strong { font-size: 18px; color: var(--wp-store-navy); }
.checkout-mobile-toggle-chevron { transition: transform 0.2s ease; color: var(--wp-store-text-light); }
.checkout-mobile-toggle[aria-expanded="true"] .checkout-mobile-toggle-chevron { transform: rotate(180deg); }

.checkout-empty { text-align: center; padding: 80px 20px; max-width: 480px; margin: 0 auto; }
.checkout-empty-icon { color: var(--wp-store-text-light); margin-bottom: 20px; opacity: 0.6; }
.checkout-empty h2 { margin-bottom: 10px; }
.checkout-empty p { color: var(--wp-store-text-light); margin-bottom: 24px; }

.checkout-success-pro { max-width: 720px; margin: 48px auto 0; }
.checkout-success-card { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 20px; padding: 40px 36px; text-align: center; box-shadow: 0 16px 48px rgba(15,23,42,0.08); margin-bottom: 24px; }
.checkout-success-icon { width: 80px; height: 80px; border-radius: 50%; background: #fef3c7; color: #d97706; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.checkout-success-icon--paid { background: #dcfce7; color: #16a34a; }
.checkout-success-card h2 { margin: 0 0 10px; font-size: 1.75rem; }
.checkout-success-lead { color: var(--wp-store-text-light); margin: 0 0 18px; line-height: 1.6; max-width: 480px; margin-left: auto; margin-right: auto; }
.checkout-status-pill { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.checkout-status-pill--paid { background: #dcfce7; color: #15803d; }
.checkout-status-pill--pending { background: #fef3c7; color: #b45309; }
.checkout-success-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; background: #f8fafc; border-radius: 12px; padding: 20px; }
.checkout-success-meta-item span { display: block; font-size: 12px; color: var(--wp-store-text-light); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.checkout-success-meta-item strong { font-size: 16px; color: var(--wp-store-navy); }
.checkout-success-meta-item--full { grid-column: 1 / -1; }
.checkout-success-meta-item code { font-size: 13px; background: #e2e8f0; padding: 4px 8px; border-radius: 6px; word-break: break-all; }
.checkout-success-licenses { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.checkout-success-licenses h3 { margin: 0 0 16px; font-size: 17px; }
.checkout-payment-guide { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 16px; padding: 24px 28px; margin-bottom: 24px; }
.checkout-payment-guide h3 { margin: 0 0 18px; font-size: 17px; }
.checkout-payment-guide--done { text-align: center; background: #f0fdf4; border-color: #bbf7d0; }
.checkout-payment-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.checkout-payment-guide-item { background: #f8fafc; border: 1px solid var(--wp-store-border); border-radius: 10px; padding: 14px 16px; }
.checkout-payment-guide-item strong { display: block; font-size: 13px; color: var(--wp-store-text-light); margin-bottom: 4px; }
.checkout-payment-guide-item span { display: block; font-size: 16px; font-weight: 700; color: var(--wp-store-navy); }
.checkout-payment-guide-item small { font-size: 11px; color: var(--wp-store-text-light); }
.checkout-payment-guide-item--full { grid-column: 1 / -1; }
.checkout-success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Legacy checkout (shared) */
.checkout-page .page-heading { margin-bottom: 8px; }
.checkout-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.checkout-step { font-size: 13px; font-weight: 600; color: var(--wp-store-text-light); padding: 8px 14px; border-radius: 999px; background: #f8fafc; border: 1px solid var(--wp-store-border); }
.checkout-step.is-active { background: var(--wp-store-primary); border-color: var(--wp-store-primary); color: #fff; }
.checkout-step:not(.is-active):not(span) { transition: border-color 0.2s, color 0.2s; }
.checkout-step:not(.is-active):not(span):hover { border-color: var(--wp-store-primary); color: var(--wp-store-primary); }
.checkout-section { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 28px; box-shadow: var(--wp-store-shadow); }
.checkout-section h2 { font-size: 1.15rem; margin: 0; }
.checkout-section-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.checkout-section-num { width: 32px; height: 32px; border-radius: 50%; background: var(--wp-store-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.checkout-section-desc { font-size: 14px; color: var(--wp-store-text-light); margin: 4px 0 0; }
.checkout-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-row--full { grid-column: 1 / -1; }
.checkout-trust-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.checkout-trust-bar span { font-size: 12px; font-weight: 600; color: var(--wp-store-text-light); background: #f8fafc; border: 1px solid var(--wp-store-border); border-radius: 999px; padding: 7px 12px; }
.checkout-payment-card .checkout-section-num { width: 28px; height: 28px; font-size: 13px; }
.checkout-no-payment { font-size: 14px; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 12px 14px; margin: 0; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-row input { width: 100%; padding: 12px 16px; border: 2px solid var(--wp-store-border); border-radius: var(--wp-store-radius-sm); font-family: inherit; font-size: 15px; outline: none; transition: border-color 0.2s; }
.form-row input:focus { border-color: var(--wp-store-primary); }
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option { cursor: pointer; display: block; }
.payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.payment-option-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--wp-store-border); border-radius: 12px; transition: all 0.2s; background: #fff; position: relative; }
.payment-option input:checked + .payment-option-box { border-color: var(--wp-store-primary); background: rgb(13 148 136 / 0.06); box-shadow: 0 0 0 1px rgb(13 148 136 / 0.15); }
.payment-option-box:hover { border-color: rgb(13 148 136 / 0.45); }
.payment-option-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; color: white; flex-shrink: 0; letter-spacing: 0.02em; }
.payment-option-icon--bkash,
.payment-option-icon--bkash_api { background: #e2136e; }
.payment-option-icon--eps { background: #0ea5e9; }
.payment-option-icon--paystation { background: #7c3aed; }
.payment-option-icon--nagad { background: #f6921e; }
.payment-option-icon--rocket { background: #8b2f97; }
.payment-option-icon--sslcommerz { background: #006a4e; }
.payment-option-icon--stripe { background: #635bff; }
.payment-option-icon--paypal { background: #003087; }
.payment-option-icon--bank { background: #1e40af; }
.payment-option-info { flex: 1; min-width: 0; }
.payment-option-info strong { display: block; font-size: 14px; margin-bottom: 2px; }
.payment-option-info small { display: block; color: var(--wp-store-text-light); font-size: 12px; line-height: 1.4; }
.payment-option-tag { display: inline-block; margin-top: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wp-store-primary); background: rgb(13 148 136 / 0.1); padding: 2px 8px; border-radius: 999px; }
.payment-option-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--wp-store-border); flex-shrink: 0; position: relative; }
.payment-option input:checked + .payment-option-box .payment-option-check { border-color: var(--wp-store-primary); background: var(--wp-store-primary); }
.payment-option input:checked + .payment-option-box .payment-option-check::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checkout-summary { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 28px; height: fit-content; position: sticky; top: 140px; }
.checkout-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--wp-store-border); font-size: 14px; }
.checkout-total { display: flex; justify-content: space-between; padding: 16px 0; font-size: 18px; margin-bottom: 20px; }
.checkout-success { text-align: center; max-width: 600px; margin: 0 auto; padding: 40px 0; }
.success-icon { width: 72px; height: 72px; background: var(--wp-store-success); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 24px; }
.license-keys-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--wp-store-radius); padding: 24px; margin: 24px 0; text-align: left; }
.license-key-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #bbf7d0; gap: 12px; flex-wrap: wrap; }
.license-key { background: #1e293b; color: #4ade80; padding: 8px 14px; border-radius: 6px; font-size: 14px; letter-spacing: 1px; }
.payment-instructions { background: #f8fafc; border-radius: var(--wp-store-radius); padding: 24px; margin: 24px 0; text-align: left; }

/* Dashboard (Customer Portal) */
.dashboard-page { padding-bottom: 80px; }
.dashboard-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.dashboard-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wp-store-primary); margin: 0 0 6px; }
.dashboard-title { margin-bottom: 8px; }
.dashboard-subtitle { color: var(--wp-store-text-light); max-width: 560px; margin: 0; }
.dashboard-shop-btn { flex-shrink: 0; }
.dashboard-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.dashboard-sidebar { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 20px; position: sticky; top: 24px; }
.dashboard-user-card { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--wp-store-border); }
.dashboard-avatar { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--wp-store-primary), var(--wp-store-navy)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.dashboard-user-meta strong { display: block; font-size: 15px; margin-bottom: 2px; }
.dashboard-user-email, .dashboard-user-phone { display: block; font-size: 12px; color: var(--wp-store-text-light); line-height: 1.5; }
.dashboard-user-phone { color: var(--wp-store-primary); font-weight: 600; }
.dashboard-nav { display: flex; flex-direction: column; gap: 4px; }
.dashboard-nav-link { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--wp-store-text); transition: background 0.2s, color 0.2s; }
.dashboard-nav-link:hover, .dashboard-nav-link.is-active { background: rgb(13 148 136 / 0.08); color: var(--wp-store-primary); }
.dashboard-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #f1f5f9;
	flex-shrink: 0;
	color: var(--wp-store-text-light);
}
.dashboard-nav-link.is-active .dashboard-nav-icon,
.dashboard-nav-link:hover .dashboard-nav-icon {
	background: rgb(13 148 136 / 0.15);
	color: var(--wp-store-primary);
}
.dashboard-nav-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--wp-store-danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.dashboard-nav-badge--muted { background: #e2e8f0; color: #475569; }
.dashboard-sidebar-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--wp-store-border); display: flex; flex-direction: column; gap: 8px; }
.dashboard-foot-link { font-size: 13px; font-weight: 600; color: var(--wp-store-text-light); padding: 8px 12px; border-radius: 8px; }
.dashboard-foot-link:hover { background: #f8fafc; color: var(--wp-store-primary); }
.dashboard-foot-link--logout { color: #b91c1c; }
.dashboard-main { min-width: 0; }
.dashboard-panel { display: none; }
.dashboard-panel.is-active { display: block; }
.dashboard-panel-head { margin-bottom: 20px; }
.dashboard-panel-head h2 { margin: 0 0 6px; font-size: 1.35rem; }
.dashboard-panel-head p { margin: 0; color: var(--wp-store-text-light); }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.dashboard-stat-card { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 18px 20px; box-shadow: var(--wp-store-shadow); }
.dashboard-stat-card--accent { background: linear-gradient(135deg, rgb(13 148 136 / 0.08), rgb(15 23 42 / 0.04)); border-color: rgb(13 148 136 / 0.25); }
.dashboard-stat-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wp-store-text-light); margin-bottom: 8px; }
.dashboard-stat-value { font-size: 1.6rem; line-height: 1.1; color: var(--wp-store-navy); }
.dashboard-grid-two { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
.dashboard-card { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 22px; }
.dashboard-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dashboard-card-head h2 { margin: 0; font-size: 1.05rem; }
.dashboard-card-link { font-size: 13px; font-weight: 600; color: var(--wp-store-primary); }
.dashboard-mini-list { list-style: none; margin: 0; padding: 0; }
.dashboard-mini-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--wp-store-border); font-size: 14px; }
.dashboard-mini-list li:last-child { border-bottom: none; }
.dashboard-mini-list strong { display: block; margin-bottom: 2px; }
.dashboard-mini-list span { color: var(--wp-store-text-light); font-size: 13px; }
.dashboard-mini-meta { text-align: right; flex-shrink: 0; }
.dashboard-quick-links { display: flex; flex-direction: column; gap: 10px; }
.dashboard-quick-link { display: block; padding: 14px 16px; border: 1px solid var(--wp-store-border); border-radius: 10px; background: #f8fafc; transition: border-color 0.2s, transform 0.2s; }
.dashboard-quick-link:hover { border-color: var(--wp-store-primary); transform: translateY(-1px); }
.dashboard-quick-link span { display: block; font-weight: 700; margin-bottom: 2px; }
.dashboard-quick-link small { color: var(--wp-store-text-light); font-size: 12px; }
.dashboard-empty { color: var(--wp-store-text-light); text-align: center; padding: 36px 20px; }
/* Empty-state shell styled in account.css (Downloads, Wishlist, etc.) */
.dashboard-empty-state { color: var(--wp-store-text-light); }

.dashboard-table-wrap { overflow-x: auto; background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); }
.dashboard-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.dashboard-table th, .dashboard-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--wp-store-border); font-size: 14px; }
.dashboard-table th { background: #f8fafc; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wp-store-text-light); }
.order-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.order-status.is-paid, .order-status.status-active { background: #dcfce7; color: #166534; }
.order-status.is-pending { background: #fef3c7; color: #92400e; }
.order-status.is-failed { background: #fee2e2; color: #991b1b; }
.order-status.is-cancelled { background: #f1f5f9; color: #64748b; }
.dashboard-license-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dashboard-license-card { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 20px; box-shadow: var(--wp-store-shadow); }
.dashboard-license-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.dashboard-license-top h3 { margin: 0; font-size: 1rem; }
.dashboard-license-key-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.dashboard-license-key-row .license-key { flex: 1; min-width: 180px; }
.dashboard-license-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--wp-store-text-light); }
.dashboard-download-grid { display: flex; flex-direction: column; gap: 16px; }
.dashboard-download-card { display: grid; grid-template-columns: 88px 1fr; gap: 18px; background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 18px; align-items: center; }
.dashboard-download-thumb img, .dashboard-download-placeholder { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e2e8f0, #f8fafc); font-weight: 800; color: var(--wp-store-navy); }
.dashboard-download-body h3 { margin: 0 0 10px; font-size: 1.05rem; }
.dashboard-download-meta { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--wp-store-text-light); }
.dashboard-download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dashboard-profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.dashboard-profile-card { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 18px 20px; }
.dashboard-profile-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wp-store-text-light); margin-bottom: 8px; }
.dashboard-profile-note { background: #f8fafc; border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 22px 24px; }
.dashboard-profile-note h3 { margin: 0 0 8px; font-size: 1rem; }
.dashboard-profile-note p { margin: 0 0 16px; color: var(--wp-store-text-light); }
.dashboard-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.dashboard-logout-btn { border-color: #fecaca; color: #b91c1c; }

/* Legacy account aliases */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.account-sidebar { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 24px; height: fit-content; }
.account-user { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--wp-store-border); margin-bottom: 16px; }
.account-avatar { width: 64px; height: 64px; background: var(--wp-store-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 12px; }
.account-user strong { display: block; }
.account-user span { font-size: 13px; color: var(--wp-store-text-light); }
.account-nav a { display: block; padding: 12px 16px; font-weight: 500; color: var(--wp-store-text); border-radius: 8px; margin-bottom: 4px; }
.account-nav a:hover, .account-nav a.active { background: rgb(13 148 136 / 0.08); color: var(--wp-store-primary); }
.account-content { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 32px; }
.licenses-table { width: 100%; border-collapse: collapse; }
.licenses-table th, .licenses-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--wp-store-border); }
.licenses-table code { background: #f1f5f9; padding: 4px 10px; border-radius: 4px; font-size: 13px; }
.status-badge { padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.status-active { background: #dcfce7; color: #166534; }
.account-login-prompt { text-align: center; padding: 60px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.account-phone { display: block; font-weight: 600; color: var(--wp-store-primary); margin: 4px 0; }

@media (max-width: 1024px) {
	.dashboard-layout { grid-template-columns: 1fr; }
	.dashboard-sidebar { position: static; }
	.dashboard-stats { grid-template-columns: repeat(2, 1fr); }
	.dashboard-grid-two, .dashboard-profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.dashboard-stats { grid-template-columns: 1fr; }
	.dashboard-download-card { grid-template-columns: 1fr; }
	.dashboard-header { flex-direction: column; }
}

/* Account (legacy block kept above as aliases) */

/* Payment Indicators */
.payment-indicators { margin-top: 16px; }
.payment-indicators-label { display: block; font-size: 12px; font-weight: 600; color: var(--wp-store-text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.payment-indicators-list { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; background: var(--pay-color, #64748b); color: white; letter-spacing: 0.3px; }
.payment-indicators--compact .payment-badge { font-size: 10px; padding: 3px 8px; }

/* Shop Hero — matches product page style */
.shop-hero {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	padding: 40px 0 36px;
	border-bottom: 1px solid var(--wp-store-border);
	text-align: center;
}

.shop-hero .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.shop-hero-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp-store-primary);
	background: rgba(13, 148, 136, 0.1);
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.shop-hero-title {
	font-size: 2.25rem;
	margin: 0 0 10px;
	color: var(--wp-store-navy);
	text-align: center;
	width: 100%;
}

.shop-hero-desc {
	margin: 0 auto;
	max-width: 560px;
	width: 100%;
	color: var(--wp-store-text-light);
	font-size: 16px;
	line-height: 1.6;
	text-align: center;
}

/* Single Product Pro */
.single-product-pro { padding-bottom: 0; }
.product-hero { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); padding: 16px 0 32px; border-bottom: 1px solid var(--wp-store-border); }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-image-main { border-radius: var(--wp-store-radius); overflow: hidden; border: 1px solid var(--wp-store-border); box-shadow: var(--wp-store-shadow); }
.product-image-main img { width: 100%; display: block; }
.live-preview-bar { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 14px; background: var(--wp-store-navy); color: white; border-radius: var(--wp-store-radius-sm); font-weight: 600; font-size: 14px; transition: background 0.2s; }
.live-preview-bar:hover { background: var(--wp-store-primary); color: white; }
.product-badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge { padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-market { background: var(--wp-store-navy); color: white; }
.badge-type { background: #e0f2fe; color: #0369a1; }
.badge-version { background: #f0fdf4; color: #166534; }
.product-purchase-box .product-title,
.product-purchase-top .product-title,
.single-product-master h1.product-title {
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	font-weight: 800;
	line-height: 1.3;
	height: auto !important;
	max-height: none;
	overflow: visible;
	margin: 4px 0 8px;
}
.product-author { color: var(--wp-store-text-light); margin-bottom: 12px; }
.product-cats { font-size: 13px; font-weight: 600; color: var(--wp-store-primary); text-transform: uppercase; margin-bottom: 6px; }
.product-stats-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.product-stats-row .stat { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--wp-store-text-light); font-weight: 500; }
.product-price-block { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.product-price-block .price-current, .product-price-block .price-sale { font-size: 2.2rem; font-weight: 800; }
.discount-tag { background: var(--wp-store-danger); color: white; padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.product-buy-actions { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.btn-accent { background: var(--wp-store-accent); color: white; border: none; }
.btn-accent:hover { background: #d97706; color: white; }
.product-features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--wp-store-border); }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--wp-store-text); }
.feature-item svg { color: var(--wp-store-primary); flex-shrink: 0; }

.product-info-section { padding: 48px 0; }
.product-info-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; }
.tab-nav-pro { display: flex; gap: 4px; border-bottom: 2px solid var(--wp-store-border); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.tab-nav-pro::-webkit-scrollbar { display: none; }
.tab-nav-pro .tab-btn { padding: 12px 20px; font-size: 14px; font-weight: 600; background: none; border: none; cursor: pointer; color: var(--wp-store-text-light); border-bottom: 2px solid transparent; margin-bottom: -2px; font-family: inherit; white-space: nowrap; }
.tab-nav-pro .tab-btn.active { color: var(--wp-store-primary); border-bottom-color: var(--wp-store-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.details-table-pro { width: 100%; border-collapse: collapse; }
.details-table-pro th, .details-table-pro td { padding: 14px 16px; border-bottom: 1px solid var(--wp-store-border); text-align: left; }
.details-table-pro th { width: 200px; font-weight: 600; background: #f8fafc; }
.sidebar-card { background: var(--wp-store-white); border: 1px solid var(--wp-store-border); border-radius: var(--wp-store-radius); padding: 24px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 16px; margin-bottom: 16px; }
.sidebar-meta { list-style: none; }
.sidebar-meta li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--wp-store-border); font-size: 14px; }
.sidebar-link { display: block; padding: 10px 0; font-weight: 500; border-bottom: 1px solid var(--wp-store-border); }
.sidebar-price { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.related-section { padding: 48px 0 80px; background: #f8fafc; }
.related-section h2 { margin-bottom: 32px; }

/* Modern single product refinements */
.product-hero--modern {
	padding: 28px 0 56px;
	background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 55%);
}

.product-purchase-box {
	background: #fff;
	border: 1px solid var(--wp-store-border);
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.product-purchase-top .product-title {
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	line-height: 1.3;
	height: auto !important;
	margin: 4px 0 8px;
}

.product-cats {
	font-size: 13px;
	font-weight: 600;
	color: var(--wp-store-primary);
	text-transform: uppercase;
	margin-bottom: 6px;
	display: inline-block;
}

.product-stats-row--compact {
	margin-bottom: 14px;
	margin-top: 0;
	gap: 12px;
}

.product-stats-row--compact .stat-muted {
	color: var(--wp-store-text-light);
	font-weight: 500;
}

.product-category-highlights {
	margin-bottom: 16px;
	padding: 14px 16px 12px;
	border: 1px solid #d1fae5;
	border-radius: 10px;
	background: linear-gradient(135deg, #f6fffb 0%, #fff 70%);
}

.product-category-highlights__intro {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.55;
	font-weight: 600;
	color: var(--wp-store-navy);
}

.product-category-highlights__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.product-category-highlights__list li {
	position: relative;
	padding: 6px 10px 6px 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--wp-store-text);
	background: transparent;
	border: none;
	border-radius: 0;
}

.product-category-highlights__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 2px;
	border-radius: 999px;
	background: var(--wp-store-primary);
}

.product-short-desc {
	font-size: 15px;
	line-height: 1.65;
	color: var(--wp-store-text-light);
	margin-bottom: 20px;
}

.product-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
	align-items: stretch;
}

.product-cta-buttons--card {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	width: 100%;
	align-items: stretch;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	padding: 0 !important;
}

.product-cta-buttons--card.product-cta-buttons--pair {
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.product-card-actions {
	width: 100%;
	margin: 0;
	padding: 0;
}

.product-card-actions .product-cta-buttons--card {
	margin-bottom: 0 !important;
}

.product-cta-buttons--pair > .product-cta-form,
.product-cta-buttons--pair > .btn-live-preview,
.product-cta-buttons--pair > form.cart {
	flex: 1 1 calc(50% - 6px);
	min-width: 0;
}

.product-cta-buttons--solo > .product-cta-form,
.product-cta-buttons--solo > form.cart,
.product-cta-buttons--solo > .btn-live-preview {
	flex: 1 1 100%;
}

.product-cta-buttons form.cart,
.product-cta-buttons .product-cta-form {
	margin: 0;
	display: block;
	min-width: 0;
	width: 100%;
}

.product-cta-buttons .quantity {
	display: none !important;
}

/* Live preview lives under the product image on single product */
.product-cta-btn,
.product-cta-buttons .single_add_to_cart_button,
.product-cta-buttons--card .button,
.product-cta-buttons--card .add_to_cart_button,
.product-cta-buttons--card .btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 16px !important;
	margin: 0 !important;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.25;
	border-radius: 10px;
	box-sizing: border-box;
	white-space: nowrap;
	cursor: pointer;
	font-family: inherit;
}

.product-cta-buttons--single .product-cta-btn,
.product-cta-buttons--single .single_add_to_cart_button {
	min-height: 48px;
}

.product-cta-buttons--card .product-cta-btn {
	white-space: normal !important;
	font-size: 12px !important;
	line-height: 1.25 !important;
	min-height: 40px;
	padding: 8px 8px !important;
	text-align: center;
}

.product-card-actions .button,
.product-card-actions .add_to_cart_button {
	margin: 0 !important;
}

@media (max-width: 480px) {
	.product-cta-buttons--card.product-cta-buttons--pair {
		grid-template-columns: 1fr;
	}
}

.product-trust-list {
	list-style: none;
	margin: 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--wp-store-border);
	display: grid;
	gap: 10px;
}

.product-trust-list li {
	position: relative;
	padding-left: 22px;
	font-size: 13px;
	font-weight: 500;
	color: var(--wp-store-text);
}

.product-trust-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp-store-success, #16a34a);
}

.product-info-section--modern {
	padding: 56px 0 64px;
}

.product-info-layout {
	display: block;
	max-width: 100%;
}

.product-tabs-pro {
	background: #fff;
	border: 1px solid var(--wp-store-border);
	border-radius: 16px;
	padding: 8px 24px 28px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.tab-nav-pro .tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: #e0f2fe;
	color: #0369a1;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.product-tab-content {
	font-size: 15px;
	line-height: 1.75;
	color: var(--wp-store-text);
}

.product-sidebar--modern .sidebar-card--sticky {
	position: sticky;
	top: 96px;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.product-sidebar--modern .sidebar-meta li:last-child {
	border-bottom: none;
}

@media (max-width: 1024px) {
	.product-info-layout { grid-template-columns: 1fr; }
	.product-sidebar--modern .sidebar-card--sticky { position: static; }
}

@media (max-width: 640px) {
	.product-cta-buttons--card {
		grid-template-columns: 1fr;
	}
}

.product-price-block {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.single-product-master .product-price-block--buy {
	margin-bottom: 16px !important;
}

.product-price-block .price-sale,
.product-price-block .price-current {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--wp-store-primary);
	line-height: 1.1;
}

.product-price-block .price-regular {
	font-size: 1.15rem;
	color: var(--wp-store-text-light);
	text-decoration: line-through;
}

.product-price-block .discount-tag {
	margin-left: 0;
}

.single-product-master .product-purchase-box .price,
.single-product-master .product-price-block--buy .price {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.single-product-master .product-price-block--buy ins {
	background: transparent !important;
	text-decoration: none !important;
}

/* Master single product layout */
.single-product-master {
	display: block !important;
	width: 100%;
}

.single-product-master .product-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 40px;
	align-items: start;
}

.single-product-master .product-showcase,
.single-product-master .product-purchase-box {
	min-width: 0;
}

.single-product-master .product-showcase-frame {
	position: relative;
	min-height: 0;
	height: auto;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--wp-store-border);
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
	background: #fff;
	line-height: 0;
}

.single-product-master .product-showcase-frame .product-digital-preview {
	min-height: 0;
	height: auto;
	border-radius: 0;
}

.single-product-master .product-gallery-wrap,
.single-product-master .product-gallery-wrap .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
}

/* Kill Woo gallery flex spacer that leaves white under featured image */
.single-product-master .woocommerce-product-gallery {
	opacity: 1 !important;
}

.single-product-master .woocommerce-product-gallery__wrapper {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 100%;
}

.single-product-master .woocommerce-product-gallery__image,
.single-product-master .woocommerce-product-gallery__image--placeholder {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	display: block !important;
	line-height: 0;
}

.single-product-master .woocommerce-product-gallery__image img,
.single-product-master .woocommerce-product-gallery__image a,
.single-product-master .product-showcase-frame img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain;
	vertical-align: top;
}

/* Gallery thumbs under main image — tight, no extra padding */
.single-product-master .flex-control-thumbs,
.single-product-master .woocommerce-product-gallery .flex-control-nav {
	margin: 8px 0 0 !important;
	padding: 0 8px 8px !important;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	line-height: normal;
}

.single-product-master .flex-control-thumbs li {
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: 64px !important;
	height: 64px !important;
}

.single-product-master .flex-control-thumbs li img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.single-product-master .flex-viewport {
	margin: 0 !important;
	height: auto !important;
}

.single-product-master .summary.entry-summary {
	float: none !important;
	width: 100% !important;
	clear: none !important;
	margin: 0 !important;
}

.single-product-master .product-purchase-box .price {
	margin: 0;
}

.single-product-master .product-cta-buttons .btn-add-to-cart,
.woocommerce div.product .product-cta-buttons .btn-add-to-cart {
	background: #fff !important;
	color: var(--wp-store-navy, #0f172a) !important;
	border: 2px solid #cbd5e1 !important;
}

.single-product-master .product-cta-buttons .btn-add-to-cart:hover,
.woocommerce div.product .product-cta-buttons .btn-add-to-cart:hover {
	border-color: var(--wp-store-primary) !important;
	color: var(--wp-store-primary) !important;
	background: #fff !important;
}

.single-product-master .product-cta-buttons .btn-buy-now,
.woocommerce div.product .product-cta-buttons .btn-buy-now {
	background: var(--wp-store-primary, #0d9488) !important;
	color: #fff !important;
	border: 2px solid var(--wp-store-primary, #0d9488) !important;
}

.single-product-master .product-cta-buttons .btn-buy-now:hover,
.woocommerce div.product .product-cta-buttons .btn-buy-now:hover {
	background: var(--wp-store-primary-dark, #0f766e) !important;
	border-color: var(--wp-store-primary-dark, #0f766e) !important;
	color: #fff !important;
}

.single-product-master .product-showcase-preview {
	display: flex !important;
}

.single-product-master .tab-panel {
	display: none;
}

.single-product-master .tab-panel.active {
	display: block;
}

.single-product-master .tab-panel[hidden] {
	display: none !important;
}

.single-product-master .product-tab-empty,
.single-product-master .product-details-empty {
	color: var(--wp-store-text-light);
	font-size: 15px;
	margin: 0;
}

.single-product-master .details-table-pro {
	margin-top: 4px;
}

@media (max-width: 1024px) {
	.single-product-master .product-hero-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 768px) {
	.single-product-master .product-purchase-box {
		padding: 16px 14px 14px;
	}

	.single-product-master .product-showcase-frame {
		min-height: 0;
	}

	.single-product-master .flex-control-thumbs li {
		width: 52px !important;
		height: 52px !important;
	}
}

/* Admin product details table */
.wp-store-details-table th,
.wp-store-details-table td {
	padding: 8px 10px;
	vertical-align: middle;
}

.wp-store-details-table .wp-store-remove-detail-row {
	min-width: 32px;
}

/* Toast notification */
.wp-store-toast { position: fixed; bottom: 24px; right: 24px; background: var(--wp-store-navy); color: white; padding: 14px 24px; border-radius: 8px; font-weight: 500; z-index: 99999; box-shadow: var(--wp-store-shadow-lg); animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 1024px) {
	.product-hero-grid, .product-info-grid, .account-layout, .dashboard-layout { grid-template-columns: 1fr; }
	.cart-summary, .checkout-summary { position: static; }
	.checkout-fields-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.checkout-hero-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 960px) {
	.checkout-form--pro { display: flex; flex-direction: column; gap: 12px; }
	.checkout-mobile-toggle { display: none !important; }
	.checkout-layout { display: contents; }
	.checkout-main { order: 1; }
	.checkout-sidebar { order: 2; position: static; width: 100%; }
	.checkout-sidebar-inner { border-radius: 12px; margin-bottom: 0; }
	.checkout-sidebar .checkout-order-card { display: block !important; }
	.checkout-success-meta { grid-template-columns: 1fr 1fr; }
	.checkout-payment-guide-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.checkout-order-item { grid-template-columns: 48px 1fr auto; }
	.checkout-order-item-price { font-size: 14px; }
}
@media (max-width: 560px) {
	.checkout-hero .page-heading { font-size: 1.75rem; }
	.checkout-progress-label { font-size: 11px; }
	.checkout-panel { padding: 22px 20px; }
	.checkout-success-card { padding: 28px 22px; }
	.checkout-success-meta { grid-template-columns: 1fr; }
	.checkout-payment-guide-grid { grid-template-columns: 1fr; }
	.checkout-success-actions { flex-direction: column; }
	.checkout-success-actions .btn { width: 100%; }
}
/* Login Page SMS Auth */
.login-page { padding: 0 0 64px; }
.login-page-header { text-align: center; margin-bottom: 32px; }
.login-page-header .page-subtitle { color: var(--wp-store-text-light); margin-top: 8px; }
.wp-store-auth-wrap { max-width: 520px; margin: 0 auto; }
.wp-store-auth-wrap .sgwc-auth-page { padding: 0; min-height: auto; }
.wp-store-auth-wrap .sgwc-auth-shell { box-shadow: var(--wp-store-shadow-lg); border-radius: var(--wp-store-radius); }
.wp-store-auth-notice { text-align: center; padding: 40px; background: var(--wp-store-white); border-radius: var(--wp-store-radius); border: 1px solid var(--wp-store-border); }
.account-phone { display: block; font-weight: 600; color: var(--wp-store-primary); margin: 4px 0; }

/* Digital Checkout extras */
.checkout-digital-note { color: var(--wp-store-text-light); margin: -16px 0 28px; font-size: 15px; }
.checkout-error-notice { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 14px 18px; border-radius: 8px; margin-bottom: 24px; font-weight: 500; }
.checkout-notice-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.checkout-form .required { color: var(--wp-store-danger); }
.field-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--wp-store-text-light); }
.input-with-prefix { display: flex; align-items: stretch; border: 2px solid var(--wp-store-border); border-radius: 8px; overflow: hidden; background: #fff; }
.input-with-prefix:focus-within { border-color: var(--wp-store-primary); }
.input-prefix { display: flex; align-items: center; padding: 0 14px; background: #f8fafc; border-right: 1px solid var(--wp-store-border); font-weight: 600; font-size: 14px; color: var(--wp-store-text-light); }
.input-with-prefix input { border: none !important; border-radius: 0 !important; flex: 1; }
.checkout-item-info { display: flex; flex-direction: column; gap: 2px; }
.checkout-item-meta { font-size: 12px; color: var(--wp-store-text-light); }
.checkout-benefits { list-style: none; margin: 0 0 20px; padding: 0; }
.checkout-benefits li { padding: 8px 0; font-size: 13px; color: var(--wp-store-text-light); border-bottom: 1px solid var(--wp-store-border); }
.checkout-benefits li::before { content: '✓ '; color: var(--wp-store-success); font-weight: 700; }
.payment-ref-hint { font-size: 13px; color: var(--wp-store-text-light); margin-top: 12px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin-top: 24px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 12px; padding: 20px; }
.contact-card strong { display: block; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--wp-store-text-light); font-size: 14px; }
.contact-form { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 12px; padding: 28px; }
.contact-form textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--wp-store-border); border-radius: 8px; font-family: inherit; font-size: 15px; resize: vertical; }

/* ---- Professional Contact Page ---- */
.contact-hero { background: linear-gradient(135deg, var(--wp-store-navy, #0f172a) 0%, #1e293b 100%); padding: 48px 0 56px; margin-bottom: -28px; text-align: center; color: #fff; }
.contact-hero .breadcrumbs { justify-content: center; color: rgba(255,255,255,0.6); }
.contact-hero .breadcrumbs a { color: rgba(255,255,255,0.8); }
.contact-hero .page-heading { color: #fff; margin: 12px 0 8px; }
.contact-hero .page-subtitle { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }
.contact-hero-badge { display: inline-block; background: var(--wp-store-primary); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; margin-bottom: 10px; }

.contact-info-cards--pro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 2; margin-bottom: 40px; }
.contact-info-cards--pro .contact-card { text-align: center; padding: 24px 18px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.contact-info-cards--pro .contact-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1); }
.contact-info-cards--pro .contact-card a { color: var(--wp-store-primary); text-decoration: none; font-weight: 600; }
.contact-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 12px; color: #fff; }
.contact-card-icon--email { background: var(--wp-store-primary); }
.contact-card-icon--phone { background: #16a34a; }
.contact-card-icon--hours { background: var(--wp-store-accent); }
.contact-card-icon--response { background: #6366f1; }

.contact-layout--pro { grid-template-columns: 1.5fr 1fr; align-items: start; margin-bottom: 56px; }
.contact-form-wrap { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 16px; padding: 32px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05); }
.contact-form-head h2 { margin: 0 0 6px; font-size: 24px; }
.contact-form-head p { margin: 0 0 24px; color: var(--wp-store-text-light); }

.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-sidebar-box { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 16px; padding: 24px; }
.contact-sidebar-box h3 { margin: 0 0 14px; font-size: 17px; }
.contact-sidebar-box--cta { background: linear-gradient(135deg, var(--wp-store-navy, #0f172a), #1e293b); color: #fff; border: none; }
.contact-sidebar-box--cta h3 { color: #fff; }
.contact-sidebar-box--cta p { color: rgba(255,255,255,0.75); font-size: 14px; }
.contact-sidebar-box--cta .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.contact-sidebar-box--cta .btn-outline:hover { background: #fff; color: var(--wp-store-navy, #0f172a); }
.contact-faq-list { list-style: none; margin: 0; padding: 0; }
.contact-faq-list li { padding: 12px 0; border-bottom: 1px solid var(--wp-store-border); }
.contact-faq-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-faq-list strong { display: block; font-size: 14px; margin-bottom: 4px; }
.contact-faq-list p { margin: 0; font-size: 13px; color: var(--wp-store-text-light); line-height: 1.55; }

/* Contact Form 7 styling */
.contact-page .wpcf7 { margin: 0; }
.wpstore-cf7-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.wpstore-cf7-field { margin-bottom: 16px; }
.wpstore-cf7-full { grid-column: 1 / -1; }
.wpstore-cf7-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--wp-store-text, #0f172a); }
.wpstore-cf7-field .required { color: #dc2626; }
.wpstore-cf7-field input[type="text"],
.wpstore-cf7-field input[type="email"],
.wpstore-cf7-field input[type="tel"],
.wpstore-cf7-field select,
.wpstore-cf7-field textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--wp-store-border); border-radius: 8px; font-family: inherit; font-size: 15px; background: #fff; transition: border-color 0.15s ease; margin-top: 4px; }
.wpstore-cf7-field input:focus,
.wpstore-cf7-field select:focus,
.wpstore-cf7-field textarea:focus { outline: none; border-color: var(--wp-store-primary); }
.wpstore-cf7-field textarea { resize: vertical; }
.wpstore-cf7-submit { margin-top: 8px; }
.wpstore-cf7-submit .wpcf7-submit { cursor: pointer; }
.contact-page .wpcf7-spinner { margin: 0 0 0 12px; }
.contact-page .wpcf7-not-valid-tip { font-size: 12px; color: #dc2626; margin-top: 4px; }
.contact-page .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: 8px; border-width: 1px; font-size: 14px; }
.contact-page .wpcf7 form.sent .wpcf7-response-output { background: #f0fdf4; border-color: #16a34a; color: #15803d; }
.contact-page .wpcf7 form.invalid .wpcf7-response-output,
.contact-page .wpcf7 form.failed .wpcf7-response-output { background: #fef2f2; border-color: #dc2626; color: #b91c1c; }

@media (max-width: 900px) {
	.contact-info-cards--pro { grid-template-columns: repeat(2, 1fr); }
	.contact-layout--pro { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.contact-info-cards--pro { display: flex; flex-direction: column; }
	.wpstore-cf7-grid { grid-template-columns: 1fr; }
	.contact-form-wrap { padding: 22px; }
}
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.about-feature { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 12px; padding: 24px; }
.about-feature strong { display: block; margin-bottom: 8px; }
.about-feature p { margin: 0; font-size: 14px; color: var(--wp-store-text-light); }
.page-subtitle { color: var(--wp-store-text-light); margin-top: -16px; margin-bottom: 28px; }
@media (max-width: 768px) {
	.contact-layout, .about-features { grid-template-columns: 1fr; }
	.shop-hero-title { font-size: 1.75rem; }
	.shop-hero { padding: 32px 0 28px; }
	.contact-hero { padding: 28px 0 36px; margin-bottom: -20px; }
	.contact-hero .page-heading { font-size: 1.65rem; margin: 8px 0 6px; }
	.contact-hero .page-subtitle { font-size: 14px; }
}

/* ---- Policy / Legal Pages ---- */
.policy-page { padding: 28px 0 64px; }
.policy-header { text-align: center; margin-bottom: 40px; }
.policy-header .page-heading { margin-bottom: 8px; }
.policy-lead { color: var(--wp-store-text-light); margin: 0; font-size: 16px; }
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.policy-sidebar { position: sticky; top: 100px; background: #fff; border: 1px solid var(--wp-store-border); border-radius: 16px; padding: 24px; }
.policy-sidebar h2 { margin: 0 0 16px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wp-store-text-light); }
.policy-nav { display: flex; flex-direction: column; gap: 4px; }
.policy-nav-link { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--wp-store-text); font-weight: 500; font-size: 14px; transition: background 0.15s ease, color 0.15s ease; }
.policy-nav-link:hover { background: #f1f5f9; color: var(--wp-store-primary); }
.policy-nav-link.is-active { background: var(--wp-store-primary); color: #fff; }
.policy-content { background: #fff; border: 1px solid var(--wp-store-border); border-radius: 16px; padding: 36px 40px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.policy-content h2 { margin: 28px 0 12px; font-size: 20px; color: var(--wp-store-navy, #0f172a); }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { line-height: 1.75; color: var(--wp-store-text); margin-bottom: 16px; }
.policy-content ul, .policy-content ol { margin: 0 0 20px; padding-left: 24px; line-height: 1.75; }
.policy-content li { margin-bottom: 8px; }
.policy-content a { color: var(--wp-store-primary); font-weight: 600; }
.policy-content em { color: var(--wp-store-text-light); font-size: 14px; }

@media (max-width: 900px) {
	.policy-layout { grid-template-columns: 1fr; }
	.policy-sidebar { position: static; }
	.policy-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.policy-nav-link { padding: 8px 12px; font-size: 13px; }
	.policy-content { padding: 24px; }
}

/* ---- Product Reviews ---- */
#tab-reviews .product-reviews { margin: 0; }
.product-reviews .review-summary {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 32px;
	align-items: center;
	background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
	border: 1px solid var(--wp-store-border);
	border-radius: 16px;
	padding: 28px 32px;
	margin-bottom: 32px;
}
.review-summary-score { text-align: center; }
.review-summary-number {
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	color: var(--wp-store-navy);
	margin-bottom: 8px;
}
.review-summary-score .review-stars { justify-content: center; margin-bottom: 6px; }
.review-summary-count { margin: 0; font-size: 14px; color: var(--wp-store-text-light); }

.review-stars { display: inline-flex; align-items: center; gap: 2px; color: #f59e0b; }
.review-star--empty { color: #e2e8f0; }

.review-summary-bars { display: flex; flex-direction: column; gap: 8px; }
.review-bar-row { display: grid; grid-template-columns: 16px 16px 1fr 40px; gap: 8px; align-items: center; }
.review-bar-label { font-size: 13px; font-weight: 700; color: var(--wp-store-text-light); text-align: right; }
.review-bar-track {
	height: 8px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}
.review-bar-fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #f59e0b, #fbbf24);
	border-radius: 999px;
	transition: width 0.4s ease;
}
.review-bar-pct { font-size: 12px; font-weight: 600; color: var(--wp-store-text-light); text-align: right; }

.review-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.review-card { margin: 0; padding: 0; border: none; }
.review-card-inner {
	background: #fff;
	border: 1px solid var(--wp-store-border);
	border-radius: 14px;
	padding: 22px 24px;
	transition: box-shadow 0.2s ease;
}
.review-card-inner:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }
.review-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}
.review-card-author { display: flex; gap: 14px; align-items: center; }
.review-avatar { border-radius: 50%; border: 2px solid #f1f5f9; }
.review-author-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--wp-store-navy); margin-bottom: 2px; }
.review-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	color: #15803d;
	background: #dcfce7;
	padding: 3px 9px;
	border-radius: 999px;
}
.review-date { font-size: 12px; color: var(--wp-store-text-light); }
.review-card-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.review-rating-num { font-size: 13px; font-weight: 700; color: var(--wp-store-navy); }
.review-card-body { font-size: 15px; line-height: 1.7; color: var(--wp-store-text); }
.review-card-body p { margin: 0 0 8px; }
.review-awaiting { color: #b45309; font-size: 13px; margin-bottom: 8px !important; }

.review-empty {
	text-align: center;
	padding: 48px 24px;
	background: #f8fafc;
	border: 1px dashed var(--wp-store-border);
	border-radius: 16px;
	margin-bottom: 28px;
}
.review-empty-icon { color: #f59e0b; opacity: 0.5; margin-bottom: 12px; }
.review-empty h3 { margin: 0 0 8px; font-size: 18px; }
.review-empty p { margin: 0; color: var(--wp-store-text-light); font-size: 14px; }

.review-form-wrap {
	background: #fff;
	border: 1px solid var(--wp-store-border);
	border-radius: 16px;
	padding: 28px 32px;
	margin-top: 8px;
}
.review-verified-note {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	margin-bottom: 20px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #15803d;
}
.review-verified-note svg { flex-shrink: 0; color: #16a34a; }
.review-locked {
	text-align: center;
	padding: 40px 24px;
	background: #f8fafc;
	border: 1px dashed var(--wp-store-border);
	border-radius: 16px;
	margin-top: 8px;
}
.review-locked-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--wp-store-border);
	color: var(--wp-store-text-light);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}
.review-locked h3 { margin: 0 0 8px; font-size: 18px; }
.review-locked p { margin: 0 0 18px; color: var(--wp-store-text-light); font-size: 14px; max-width: 420px; margin-left: auto; margin-right: auto; }
.product-review-form .comment-reply-title {
	margin: 0 0 20px;
	font-size: 1.25rem;
	color: var(--wp-store-navy);
}
.product-review-form .comment-form-rating label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 10px;
}
.review-rating-input { display: inline-flex; gap: 4px; }
.review-rating-star {
	background: none;
	border: none;
	padding: 2px;
	cursor: pointer;
	color: #e2e8f0;
	transition: color 0.15s, transform 0.15s;
	line-height: 0;
}
.review-rating-star.is-active,
.review-rating-star.is-hover { color: #f59e0b; }
.review-rating-star:hover { transform: scale(1.08); }

.product-review-form .comment-form-author,
.product-review-form .comment-form-email,
.product-review-form .comment-form-comment {
	margin-bottom: 18px;
}
.product-review-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.product-review-form input[type="text"],
.product-review-form input[type="email"],
.product-review-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--wp-store-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	transition: border-color 0.2s;
}
.product-review-form textarea { resize: vertical; min-height: 120px; }
.product-review-form input:focus,
.product-review-form textarea:focus {
	outline: none;
	border-color: var(--wp-store-primary);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.product-review-form .form-submit { margin: 8px 0 0; }
.product-review-submit { padding: 12px 28px; font-size: 15px; }

.product-reviews .comment-navigation {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
	font-size: 14px;
}
.product-reviews .comment-navigation a {
	color: var(--wp-store-primary);
	font-weight: 600;
	text-decoration: none;
}
.product-reviews .comment-navigation a:hover { text-decoration: underline; }

#tab-reviews > .review-empty { margin-top: 0; }

@media (max-width: 768px) {
	.product-reviews .review-summary {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 22px 20px;
	}
	.review-card-head { flex-direction: column; }
	.review-card-rating { flex-direction: row; align-items: center; }
	.review-form-wrap { padding: 22px 20px; }
}

