feat: 8K Natural Lifestyle Photography Engine, 3-column value strip, smart cutout alpha matting, and full BN/EN localization

This commit is contained in:
khondokartowsif171
2026-09-05 05:57:49 +06:00
parent 856cd47b72
commit c643b33dbb
11 changed files with 17530 additions and 588 deletions
+695 -1
View File
@@ -513,6 +513,8 @@ body {
/* Canvas Wrapper */
.canvas-wrapper {
width: 100%;
max-width: 520px;
margin: 0 auto;
aspect-ratio: 1/1;
border-radius: var(--radius-lg);
overflow: hidden;
@@ -522,17 +524,57 @@ body {
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.canvas-wrapper.aspect-reels {
aspect-ratio: 9/16;
max-height: 520px;
max-width: 320px;
max-height: 570px;
}
.canvas-wrapper canvas {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
/* Trending Poster Chips */
.trending-chips-bar {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 4px 2px 8px;
scrollbar-width: none;
}
.trending-chips-bar::-webkit-scrollbar {
display: none;
}
.trend-chip {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--card-border);
border-radius: var(--radius-full);
padding: 6px 12px;
font-size: 11.5px;
font-weight: 600;
color: var(--text-secondary);
cursor: pointer;
white-space: nowrap;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 4px;
}
.trend-chip:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--text-primary);
border-color: rgba(255, 255, 255, 0.2);
}
.trend-chip.active {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(59, 130, 246, 0.35));
border-color: var(--primary);
color: #FFFFFF;
}
/* Result Card */
@@ -1088,3 +1130,655 @@ body {
line-height: 1.4;
}
/* --- 16+ Distinct 3D Stage Theme Selector Grid --- */
.theme-selector-group {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
gap: 10px;
margin-top: 6px;
margin-bottom: 14px;
max-height: 260px;
overflow-y: auto;
padding-right: 4px;
}
.theme-chip {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--card-border);
border-radius: var(--radius-md);
padding: 10px 8px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
gap: 4px;
position: relative;
user-select: none;
}
.theme-chip:hover {
background: rgba(255, 255, 255, 0.07);
border-color: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
}
.theme-chip.active {
background: linear-gradient(145deg, rgba(229, 184, 58, 0.15), rgba(139, 92, 246, 0.18));
border-color: #F59E0B;
box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
transform: translateY(-2px);
}
.theme-chip .icon {
font-size: 20px;
}
.theme-chip .name {
font-size: 11px;
font-weight: 700;
color: #F1F5F9;
line-height: 1.2;
}
.theme-chip .tag {
font-size: 8.5px;
font-weight: 700;
color: #94A3B8;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* --- 3D CGI Master Prompt Studio & Library --- */
.cgi-library-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 16px;
margin-top: 14px;
}
.cgi-card {
background: linear-gradient(145deg, #111827 0%, #0B0F17 100%);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: var(--radius-lg);
padding: 18px;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
transition: all 0.25s ease;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.cgi-card:hover {
border-color: #8B5CF6;
transform: translateY(-3px);
box-shadow: 0 8px 30px rgba(139, 92, 246, 0.25);
}
.cgi-card-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 10px;
}
.cgi-card-title {
font-size: 15px;
font-weight: 800;
color: #FFFFFF;
}
.cgi-card-category {
font-size: 10px;
font-weight: 800;
padding: 2px 8px;
border-radius: 99px;
background: rgba(139, 92, 246, 0.18);
color: #C084FC;
border: 1px solid rgba(139, 92, 246, 0.4);
text-transform: uppercase;
}
.cgi-prompt-content {
background: #06090E;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 8px;
padding: 12px;
font-family: 'SF Mono', Consolas, monospace;
font-size: 11.5px;
color: #38BDF8;
line-height: 1.5;
margin: 10px 0;
max-height: 140px;
overflow-y: auto;
white-space: pre-wrap;
word-break: break-word;
}
.cgi-card-actions {
display: flex;
gap: 8px;
margin-top: 8px;
}
.btn-copy-prompt {
flex: 1;
background: linear-gradient(135deg, #3B82F6, #1D4ED8);
color: white;
border: none;
padding: 8px 12px;
border-radius: 8px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
transition: all 0.2s;
}
.btn-copy-prompt:hover {
background: linear-gradient(135deg, #60A5FA, #2563EB);
transform: translateY(-1px);
}
.btn-apply-poster {
background: rgba(245, 158, 11, 0.15);
color: #FBBF24;
border: 1px solid rgba(245, 158, 11, 0.35);
padding: 8px 12px;
border-radius: 8px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s;
}
.btn-apply-poster:hover {
background: rgba(245, 158, 11, 0.3);
border-color: #F59E0B;
}
/* --- Live Autocomplete Dropdown --- */
.autocomplete-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #0D131F;
border: 1px solid rgba(139, 92, 246, 0.4);
border-radius: var(--radius-md);
max-height: 300px;
overflow-y: auto;
z-index: 1000;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85);
backdrop-filter: blur(16px);
margin-top: 4px;
}
.autocomplete-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
cursor: pointer;
transition: all 0.15s ease;
}
.autocomplete-item:last-child {
border-bottom: none;
}
.autocomplete-item:hover, .autocomplete-item.highlighted {
background: rgba(139, 92, 246, 0.2);
}
.autocomplete-thumb {
width: 44px;
height: 44px;
border-radius: 8px;
object-fit: cover;
background: #1E293B;
border: 1px solid rgba(255, 255, 255, 0.1);
flex-shrink: 0;
}
.autocomplete-info {
flex: 1;
min-width: 0;
}
.autocomplete-title {
font-size: 13px;
font-weight: 700;
color: #FFFFFF;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.autocomplete-meta {
display: flex;
align-items: center;
gap: 8px;
margin-top: 2px;
font-size: 11.5px;
}
.autocomplete-brand {
color: #C084FC;
font-weight: 700;
}
.autocomplete-price {
color: #10B981;
font-weight: 800;
}
.autocomplete-copy-btn {
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.15);
color: #CBD5E1;
padding: 5px 9px;
border-radius: 6px;
font-size: 11px;
font-weight: 700;
cursor: pointer;
transition: all 0.15s;
}
.autocomplete-copy-btn:hover {
background: var(--primary);
color: #FFFFFF;
}
/* --- Catalog Browser Modal Grid --- */
.catalog-modal-content {
max-width: 900px;
width: 94%;
max-height: 88vh;
display: flex;
flex-direction: column;
}
.catalog-search-bar {
display: flex;
gap: 10px;
margin-bottom: 12px;
}
.catalog-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 12px;
overflow-y: auto;
max-height: calc(88vh - 220px);
padding-right: 4px;
}
.catalog-item-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: var(--radius-md);
padding: 12px;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: all 0.2s ease;
}
.catalog-item-card:hover {
border-color: var(--primary);
background: rgba(139, 92, 246, 0.06);
transform: translateY(-2px);
}
.catalog-item-img {
width: 100%;
height: 140px;
object-fit: contain;
background: #0B0F17;
border-radius: 8px;
margin-bottom: 8px;
}
.catalog-item-title {
font-size: 12.5px;
font-weight: 700;
color: #FFFFFF;
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 6px;
}
.catalog-item-price-row {
display: flex;
align-items: baseline;
gap: 6px;
margin-bottom: 10px;
}
.catalog-item-price {
font-size: 14px;
font-weight: 800;
color: #10B981;
}
.catalog-item-reg-price {
font-size: 11px;
color: var(--text-muted);
text-decoration: line-through;
}
.catalog-item-actions {
display: flex;
gap: 6px;
}
.btn-catalog-copy {
flex: 1;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.15);
color: #E2E8F0;
padding: 7px 8px;
border-radius: 6px;
font-size: 11.5px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
}
.btn-catalog-copy:hover {
background: rgba(255, 255, 255, 0.16);
color: #FFFFFF;
}
.btn-catalog-use {
flex: 1.2;
background: linear-gradient(135deg, #8B5CF6, #6366F1);
border: none;
color: #FFFFFF;
padding: 7px 8px;
border-radius: 6px;
font-size: 11.5px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
}
.btn-catalog-use:hover {
background: linear-gradient(135deg, #A78BFA, #4F46E5);
}
/* --- Multi-Store Switcher & Client URL Sync Panel --- */
.store-switcher-bar {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 4px 0 10px 0;
margin-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
scrollbar-width: thin;
}
.store-chip-btn {
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.12);
color: #CBD5E1;
padding: 6px 14px;
border-radius: 99px;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
flex-shrink: 0;
}
.store-chip-btn:hover {
background: rgba(139, 92, 246, 0.15);
border-color: #8B5CF6;
color: #FFFFFF;
}
.store-chip-btn.active {
background: linear-gradient(135deg, #8B5CF6, #6366F1);
border-color: #A78BFA;
color: #FFFFFF;
box-shadow: 0 0 14px rgba(139, 92, 246, 0.4);
}
.store-chip-btn.add-store-btn {
background: rgba(16, 185, 129, 0.12);
border: 1px dashed rgba(16, 185, 129, 0.4);
color: #34D399;
}
.store-chip-btn.add-store-btn:hover {
background: rgba(16, 185, 129, 0.25);
border-color: #10B981;
color: #FFFFFF;
}
.store-sync-panel {
background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.95));
border: 1px solid rgba(139, 92, 246, 0.35);
border-radius: var(--radius-md);
padding: 14px;
margin-bottom: 14px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDown {
from { opacity: 0; transform: translateY(-8px); }
to { opacity: 1; transform: translateY(0); }
}
.store-info-banner {
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 8px;
padding: 8px 12px;
margin-bottom: 10px;
font-size: 11.5px;
}
.store-info-left {
display: flex;
align-items: center;
gap: 8px;
color: #E2E8F0;
}
.store-badge-tag {
font-size: 10px;
font-weight: 800;
padding: 2px 7px;
border-radius: 99px;
background: rgba(139, 92, 246, 0.2);
color: #C084FC;
border: 1px solid rgba(139, 92, 246, 0.4);
}
.btn-delete-store {
background: rgba(239, 68, 68, 0.15);
border: 1px solid rgba(239, 68, 68, 0.3);
color: #F87171;
padding: 3px 8px;
border-radius: 6px;
font-size: 10.5px;
font-weight: 700;
cursor: pointer;
transition: all 0.15s;
}
.btn-delete-store:hover {
background: rgba(239, 68, 68, 0.3);
color: #FFFFFF;
}
/* --- Multi-Product Grid Poster Engine Styles --- */
.poster-mode-switcher {
display: flex;
background: rgba(15, 23, 42, 0.85);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: var(--radius-md);
padding: 4px;
gap: 6px;
margin-bottom: 16px;
}
.poster-mode-btn {
flex: 1;
padding: 10px 14px;
border-radius: 8px;
border: none;
background: transparent;
color: #94A3B8;
font-size: 12px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.poster-mode-btn:hover {
color: #FFFFFF;
background: rgba(255, 255, 255, 0.05);
}
.poster-mode-btn.active {
background: linear-gradient(135deg, #8B5CF6, #6366F1);
color: #FFFFFF;
box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}
.multi-product-slots-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-bottom: 16px;
}
@media (max-width: 650px) {
.multi-product-slots-grid {
grid-template-columns: 1fr;
}
}
.product-slot-card {
background: rgba(15, 23, 42, 0.65);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
padding: 12px;
transition: all 0.2s;
position: relative;
}
.product-slot-card:hover {
border-color: rgba(139, 92, 246, 0.4);
background: rgba(15, 23, 42, 0.85);
}
.slot-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.slot-title {
font-size: 11.5px;
font-weight: 800;
color: #C084FC;
display: flex;
align-items: center;
gap: 5px;
}
.slot-thumb-container {
width: 100%;
height: 80px;
border-radius: 8px;
background: #020617;
border: 1px dashed rgba(255, 255, 255, 0.15);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 8px;
overflow: hidden;
position: relative;
}
.slot-thumb-container img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.slot-file-input {
display: none;
}
.slot-upload-label {
font-size: 10.5px;
font-weight: 700;
color: #94A3B8;
cursor: pointer;
display: flex;
align-items: center;
gap: 4px;
}
.slot-upload-label:hover {
color: #FFFFFF;
}
.slot-inputs-row {
display: grid;
grid-template-columns: 1.6fr 1fr;
gap: 6px;
margin-bottom: 6px;
}
.slot-input {
width: 100%;
background: rgba(2, 6, 23, 0.8);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
padding: 6px 8px;
font-size: 11px;
color: #FFFFFF;
}
.slot-input:focus {
border-color: #8B5CF6;
outline: none;
}