("quick");
+ const [aiWriteDraft, setAiWriteDraft] = useState("");
const [isCommandHistoryCollapsed, setIsCommandHistoryCollapsed] = useState(true);
const [inspirationPreview, setInspirationPreview] = useState<{ mediaUrl: string; mediaType: "image" | "video"; prompt: string } | null>(null);
const [isQuickPanelCollapsed, setIsQuickPanelCollapsed] = useState(false);
@@ -2400,6 +2409,18 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
[cloneOutput, platform],
);
const cloneRatioOptions = baseCloneRatioOptions;
+ const composerRatioOptions = useMemo(
+ () => [
+ "1000×1000px 1:1",
+ "800×1200px 2:3",
+ "1200×800px 3:2",
+ "1200×900px 4:3",
+ "900×1200px 3:4",
+ "1080×1920px 9:16",
+ "1920×1080px 16:9",
+ ],
+ [],
+ );
const productSetLanguageOptions = useMemo(
() => getPlatformLanguageOptions(productSetPlatform, productSetMarket),
[productSetMarket, productSetPlatform],
@@ -2445,6 +2466,7 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
: activeCommerceScenario === "popular"
? popularCommerceScenarioTemplates
: commerceScenarioTemplates.filter((template) => template.scenario === activeCommerceScenario);
+ const shouldShowScenarioSettings = activeCommerceScenario !== null && scenarioSettingsKeys.includes(activeCommerceScenario);
useEffect(() => {
templateStripRef.current?.scrollTo({ left: 0, behavior: "auto" });
}, [activeCommerceScenario, isCloneTemplateStripVisible]);
@@ -3844,7 +3866,8 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
const handleCommerceScenarioClick = (nextScenario: CommerceScenarioKey) => {
if (nextScenario === activeCommerceScenario) {
- setIsCloneTemplateStripVisible((visible) => !visible);
+ setActiveCommerceScenario(null);
+ setIsCloneTemplateStripVisible(false);
setComposerMenu(null);
return;
}
@@ -5803,6 +5826,96 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
? String(cloneVideoDuration) + "秒 " + (cloneVideoQuality === "standard" ? "720P" : "1080P")
: "换装素材";
+ const composerAssetTabs: Array<{ key: ComposerAssetTabKey; label: string }> = [
+ { key: "recent", label: "最近保存" },
+ { key: "recipe", label: "套图配方" },
+ { key: "model", label: "模特库" },
+ ];
+ const composerWorkModeOptions: Array<{ key: ComposerWorkModeKey; label: string; desc: string }> = [
+ { key: "quick", label: "快捷", desc: "快速整理提示词,适合常规商品图生成。" },
+ { key: "think", label: "思考", desc: "更强调卖点拆解、场景规划和图文一致性。" },
+ ];
+
+ const applyAiWriteSuggestion = () => {
+ const keyword = aiWriteDraft.trim();
+ if (!keyword) {
+ toast.info("请输入产品关键词或卖点");
+ return;
+ }
+ const modeHint = composerWorkMode === "think" ? "先拆解目标人群、核心卖点和使用场景," : "";
+ const nextValue = `${keyword}。${modeHint}请生成适合${platform}的高转化电商素材,画面干净高级,突出产品主体、核心卖点、使用场景和购买理由。`.slice(0, 500);
+ setRequirement(nextValue);
+ setComposerMenu(null);
+ };
+
+ const renderComposerAssetPanel = () => {
+ const renderEmpty = (label: string) => (
+
+
+ 暂无数据
+ {label}
+
+ );
+
+ let content: ReactNode;
+ if (composerAssetTab === "recent") {
+ content = ecommerceHistoryRecords.length ? (
+
+ {ecommerceHistoryRecords.slice(0, 4).map((record) => {
+ const outputLabel = cloneOutputOptions.find((option) => option.key === record.output)?.label || "生成记录";
+ return (
+
+ );
+ })}
+
+ ) : renderEmpty("生成后保存的素材会沉淀在这里");
+ } else if (composerAssetTab === "recipe") {
+ content = (
+
+ {commerceScenarioTemplates.slice(0, 4).map((template) => (
+
+ ))}
+
+ );
+ } else {
+ content = (
+
+ {tryOnScenes.slice(0, 4).map((scene) => (
+
+ ))}
+
+ );
+ }
+
+ return (
+ <>
+
+ 资产库
+
+
+
+ {composerAssetTabs.map((tab) => (
+
+ ))}
+
+ {content}
+ >
+ );
+ };
+
const renderComposerMenu = () => {
const composerLanguageOptions = Array.from(new Set(marketLanguageOptions.flatMap((option) => option.languages))).map((item) => ({
language: item,
@@ -5816,6 +5929,37 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
if (!menuToRender) return null;
const popoverClosingClass = !composerMenu && isComposerMenuClosing ? " is-closing" : "";
const composerPopoverKey = `${menuToRender}-${cloneOutput}-${popoverClosingClass ? "closing" : "open"}`;
+ if (menuToRender === "assetLibrary") {
+ return (
+
+ {renderComposerAssetPanel()}
+
+ );
+ }
+ if (menuToRender === "workMode") {
+ return (
+
+
+ {composerWorkModeOptions.map((option) => (
+
+ ))}
+
+ );
+ }
+ if (menuToRender === "aiWrite") {
+ return (
+
+
+
+ );
+ }
if (menuToRender === "mode") {
return (
@@ -5846,8 +5990,7 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
{composerLanguageOptions.map((option) => (
))}
@@ -5856,17 +5999,11 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
if (menuToRender === "ratio") {
return (
- {cloneRatioOptions.map((option) => {
+ {composerRatioOptions.map((option) => {
const ratioParts = getRatioDisplayParts(option);
return (
);
})}
@@ -6460,24 +6597,28 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
))}
) : null}
-
-
-
-
-
-
+ {shouldShowScenarioSettings ? (
+
+
+
+
+ {scenarioAdvancedSettingsKeys.includes(activeCommerceScenario) ? (
+
+ ) : null}
+
+ ) : null}
{renderComposerMenu()}
+ {composerTooltip ? createPortal(
+
+ {composerTooltip.text}
+ ,
+ document.body
+ ) : null}
{(status === "idle" || status === "ready") && !showMainVideoWorkspace && activeCommerceScenario !== null && isCloneTemplateStripVisible ? (
diff --git a/src/styles/ecommerce-standalone.css b/src/styles/ecommerce-standalone.css
index a38e487..ddb620b 100644
--- a/src/styles/ecommerce-standalone.css
+++ b/src/styles/ecommerce-standalone.css
@@ -14340,8 +14340,8 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
@media (max-width: 420px) {
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings {
- display: grid !important;
- grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
+ display: flex !important;
+ flex-wrap: nowrap !important;
gap: 7px !important;
justify-content: stretch !important;
overflow: visible !important;
@@ -14349,6 +14349,7 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings button {
display: inline-flex !important;
+ flex: 1 1 0 !important;
width: auto !important;
min-width: 0 !important;
max-width: none !important;
@@ -19192,3 +19193,935 @@ html body #root .ecommerce-standalone.ecommerce-standalone .ecommerce-standalone
height: 100% !important;
object-fit: contain !important;
}
+/* Commerce composer toolbelt: upload / assets / mode / AI writing. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
+ flex-direction: row !important;
+ align-items: center !important;
+ justify-content: space-between !important;
+ gap: 12px !important;
+ min-width: 0 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions {
+ display: flex !important;
+ flex: 1 1 auto !important;
+ flex-wrap: nowrap !important;
+ align-items: center !important;
+ gap: 8px !important;
+ min-width: 0 !important;
+ overflow-x: auto !important;
+ overflow-y: visible !important;
+ padding: 2px !important;
+ scrollbar-width: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions::-webkit-scrollbar {
+ display: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool {
+ position: relative !important;
+ flex: 0 0 auto !important;
+ display: inline-flex !important;
+ align-items: center !important;
+ justify-content: center !important;
+ height: 40px !important;
+ min-height: 40px !important;
+ border: 1px solid rgba(16, 32, 44, 0.08) !important;
+ border-radius: 999px !important;
+ color: rgba(16, 32, 44, 0.72) !important;
+ background: rgba(255, 255, 255, 0.82) !important;
+ box-shadow:
+ 0 6px 18px rgba(16, 115, 204, 0.045),
+ inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
+ cursor: pointer !important;
+ transition:
+ background 160ms ease,
+ border-color 160ms ease,
+ color 160ms ease,
+ box-shadow 160ms ease,
+ transform 160ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.is-active,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.has-images,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.is-dragging {
+ border-color: rgba(30, 189, 219, 0.32) !important;
+ color: #0f829b !important;
+ background: rgba(232, 249, 253, 0.95) !important;
+ box-shadow:
+ 0 9px 22px rgba(30, 189, 219, 0.11),
+ inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
+ transform: translateY(-1px) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload {
+ gap: 7px !important;
+ width: auto !important;
+ min-width: max-content !important;
+ padding: 0 13px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon {
+ width: 40px !important;
+ min-width: 40px !important;
+ padding: 0 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon::after {
+ position: absolute !important;
+ left: 50% !important;
+ bottom: calc(100% + 10px) !important;
+ z-index: 260 !important;
+ padding: 6px 9px !important;
+ border-radius: 8px !important;
+ color: #ffffff !important;
+ background: rgba(16, 32, 44, 0.72) !important;
+ box-shadow: 0 12px 28px rgba(16, 32, 44, 0.16) !important;
+ content: attr(data-tooltip) !important;
+ font-size: 12px !important;
+ font-weight: 760 !important;
+ line-height: 1 !important;
+ opacity: 0 !important;
+ pointer-events: none !important;
+ transform: translate(-50%, 4px) !important;
+ white-space: nowrap !important;
+ transition: opacity 150ms ease, transform 150ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon:hover::after,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon:focus-visible::after {
+ opacity: 1 !important;
+ transform: translate(-50%, 0) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--library,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write {
+ gap: 14px !important;
+ border-color: rgba(16, 32, 44, 0.08) !important;
+ border-radius: 24px !important;
+ background: rgba(255, 255, 255, 0.98) !important;
+ box-shadow:
+ 0 30px 76px rgba(16, 115, 204, 0.16),
+ inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
+ color: #10202c !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--library {
+ width: min(540px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(540px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ min-height: 300px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--work-mode {
+ width: min(340px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(340px, calc(100% - var(--composer-popover-left, 0px))) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--ai-write {
+ width: min(430px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(430px, calc(100% - var(--composer-popover-left, 0px))) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-head,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode header,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write header {
+ display: flex !important;
+ align-items: center !important;
+ justify-content: space-between !important;
+ gap: 12px !important;
+ color: #10202c !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-head strong,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode header strong,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write header strong {
+ color: #10202c !important;
+ font-size: 22px !important;
+ font-weight: 880 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-help {
+ display: inline-flex !important;
+ align-items: center !important;
+ gap: 5px !important;
+ min-height: 28px !important;
+ padding: 0 8px !important;
+ border: 0 !important;
+ color: #1073cc !important;
+ background: transparent !important;
+ box-shadow: none !important;
+ font-size: 13px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-tabs {
+ display: flex !important;
+ flex-wrap: nowrap !important;
+ gap: 8px !important;
+ overflow-x: auto !important;
+ scrollbar-width: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-tabs::-webkit-scrollbar {
+ display: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-tabs button {
+ flex: 0 0 auto !important;
+ min-height: 40px !important;
+ padding: 0 14px !important;
+ border: 0 !important;
+ border-radius: 10px !important;
+ color: #687885 !important;
+ background: #f2f5f8 !important;
+ box-shadow: none !important;
+ font-size: 14px !important;
+ text-align: center !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-tabs button.is-active {
+ color: #10202c !important;
+ background: #e8edf3 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-empty {
+ display: grid !important;
+ min-height: 170px !important;
+ place-items: center !important;
+ align-content: center !important;
+ gap: 8px !important;
+ color: #8b99a4 !important;
+ text-align: center !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-empty .anticon {
+ color: rgba(30, 189, 219, 0.58) !important;
+ font-size: 42px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-empty strong {
+ color: #7d8a94 !important;
+ font-size: 15px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-empty span {
+ color: #a1adb6 !important;
+ font-size: 12px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list {
+ display: grid !important;
+ grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
+ gap: 10px !important;
+ min-width: 0 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button {
+ display: grid !important;
+ align-content: center !important;
+ gap: 5px !important;
+ min-height: 72px !important;
+ border-color: rgba(16, 32, 44, 0.08) !important;
+ border-radius: 16px !important;
+ color: #10202c !important;
+ background: linear-gradient(180deg, #ffffff, #f7fbfc) !important;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
+ white-space: normal !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button.is-active,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button.is-active {
+ border-color: rgba(30, 189, 219, 0.34) !important;
+ background: linear-gradient(180deg, #fafdff, #eefbfe) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button strong,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button strong {
+ min-width: 0 !important;
+ overflow: hidden !important;
+ color: #10202c !important;
+ font-size: 14px !important;
+ text-overflow: ellipsis !important;
+ white-space: nowrap !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button span,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button span,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode header span,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write header span {
+ color: #7a8c98 !important;
+ font-size: 12px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write textarea {
+ min-height: 136px !important;
+ width: 100% !important;
+ padding: 14px !important;
+ border: 1px solid rgba(16, 32, 44, 0.08) !important;
+ border-radius: 16px !important;
+ color: #10202c !important;
+ background: #fbfdfe !important;
+ box-shadow: none !important;
+ font-size: 14px !important;
+ line-height: 1.6 !important;
+ resize: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write textarea::placeholder {
+ color: #98a7b1 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-ai-submit {
+ min-height: 44px !important;
+ justify-content: center !important;
+ border: 0 !important;
+ border-radius: 14px !important;
+ color: #ffffff !important;
+ background: #181b1f !important;
+ box-shadow: 0 12px 28px rgba(16, 32, 44, 0.14) !important;
+ text-align: center !important;
+}
+
+@media (max-width: 640px) {
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
+ flex-direction: row !important;
+ align-items: center !important;
+ min-height: 56px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions {
+ flex: 1 1 auto !important;
+ max-width: calc(100% - 54px) !important;
+ gap: 7px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool {
+ height: 38px !important;
+ min-height: 38px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon {
+ width: 38px !important;
+ min-width: 38px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload {
+ max-width: 112px !important;
+ padding: 0 11px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload strong {
+ max-width: 56px !important;
+ overflow: hidden !important;
+ text-overflow: ellipsis !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon::after {
+ display: none !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--library,
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--work-mode,
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--ai-write {
+ inset: calc(100% + 12px) auto auto 0 !important;
+ left: 0 !important;
+ right: auto !important;
+ width: 100% !important;
+ min-width: 0 !important;
+ max-width: 100% !important;
+ max-height: min(420px, calc(100dvh - 380px)) !important;
+ overflow-x: hidden !important;
+ overflow-y: auto !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list {
+ grid-template-columns: minmax(0, 1fr) !important;
+ }
+}
+
+@media (max-width: 390px) {
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload {
+ min-width: 40px !important;
+ width: 40px !important;
+ padding: 0 !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload strong {
+ position: absolute !important;
+ width: 1px !important;
+ height: 1px !important;
+ overflow: hidden !important;
+ clip: rect(0 0 0 0) !important;
+ clip-path: inset(50%) !important;
+ }
+}
+
+
+/* =========================================================
+ Composer input UI refinement
+ ========================================================= */
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:focus-within {
+ border-color: rgba(30, 189, 219, 0.5) !important;
+ box-shadow:
+ inset 0 1px 0 rgba(255, 255, 255, 0.96),
+ 0 0 0 1px rgba(30, 189, 219, 0.08),
+ 0 28px 72px rgba(16, 115, 204, 0.14) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer textarea::placeholder {
+ color: rgba(16, 32, 44, 0.42) !important;
+ font-size: 13px !important;
+ font-weight: 400 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool {
+ border: 1px solid rgba(16, 32, 44, 0.1) !important;
+ border-radius: 10px !important;
+ color: rgba(16, 32, 44, 0.68) !important;
+ background: rgba(255, 255, 255, 0.78) !important;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
+ transition:
+ background 160ms ease,
+ border-color 160ms ease,
+ color 160ms ease,
+ box-shadow 160ms ease,
+ transform 160ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.is-active,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.has-images,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.is-dragging {
+ border-color: rgba(30, 189, 219, 0.42) !important;
+ color: #0f6678 !important;
+ background: rgba(232, 249, 253, 0.92) !important;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
+ transform: translateY(-1px) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool:active:not(:disabled) {
+ transform: translateY(0) scale(0.96) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon {
+ overflow: visible !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon::after {
+ position: absolute !important;
+ left: 50% !important;
+ bottom: calc(100% + 8px) !important;
+ z-index: 9999 !important;
+ padding: 6px 10px !important;
+ border-radius: 6px !important;
+ color: #ffffff !important;
+ background: rgba(16, 32, 44, 0.88) !important;
+ box-shadow: none !important;
+ content: attr(data-tooltip) !important;
+ font-size: 12px !important;
+ font-weight: 600 !important;
+ line-height: 1.2 !important;
+ white-space: nowrap !important;
+ opacity: 0 !important;
+ visibility: hidden !important;
+ pointer-events: none !important;
+ transform: translate(-50%, 4px) !important;
+ transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon:hover::after,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon:focus-visible::after {
+ opacity: 1 !important;
+ visibility: visible !important;
+ transform: translate(-50%, 0) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-send-button.ecom-command-send:not(:disabled):hover {
+ transform: translateY(-2px) scale(1.03) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-send-button.ecom-command-send:not(:disabled):active {
+ transform: translateY(0) scale(0.97) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-send-button.ecom-command-send:disabled {
+ opacity: 0.55 !important;
+ filter: grayscale(0.35) !important;
+}
+
+
+/* =========================================================
+ Composer tooltip visibility fix
+ ========================================================= */
+
+@media (min-width: 641px) {
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions {
+ overflow: visible !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon::after {
+ display: block !important;
+ }
+}
+
+
+/* =========================================================
+ Floating composer tooltip (rendered to body via portal)
+ ========================================================= */
+
+.ecom-command-tooltip-floating {
+ position: fixed;
+ z-index: 99999;
+ transform: translate(-50%, -100%);
+ padding: 6px 10px;
+ border-radius: 6px;
+ background: rgba(16, 32, 44, 0.88);
+ color: #ffffff;
+ font-size: 12px;
+ font-weight: 600;
+ line-height: 1.2;
+ white-space: nowrap;
+ pointer-events: none;
+}
+
+/* Mobile responsive refinement: center the pre-generate composer vertically and remove excessive bottom spacing. */
+@media (max-width: 640px) {
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-preview.clone-ai-preview {
+ padding-bottom: 24px !important;
+ }
+
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.ecom-command-composer-wrap.is-before-generate {
+ top: 50% !important;
+ transform: translate(-50%, -50%) !important;
+ gap: 14px !important;
+ }
+
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-title.ecom-command-title {
+ font-size: clamp(22px, 6vw, 30px) !important;
+ line-height: 1.22 !important;
+ }
+
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
+ padding: 12px !important;
+ border-radius: 20px !important;
+ }
+
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer textarea {
+ min-height: 56px !important;
+ height: auto !important;
+ max-height: 120px !important;
+ }
+
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
+ gap: 8px !important;
+ padding-top: 6px !important;
+ }
+}
+
+@media (max-width: 420px) {
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.ecom-command-composer-wrap.is-before-generate {
+ top: 50% !important;
+ transform: translate(-50%, -50%) !important;
+ gap: 12px !important;
+ }
+
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-title.ecom-command-title {
+ font-size: clamp(20px, 5.8vw, 26px) !important;
+ }
+
+ .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
+ padding: 10px !important;
+ border-radius: 18px !important;
+ }
+}
+
+/* Unify icon tool buttons (asset library / mode / AI write) with the upload button color. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.ecom-command-tool--icon {
+ border: 0 !important;
+ background: rgba(248, 253, 255, 0.78) !important;
+ color: rgba(16, 32, 44, 0.68) !important;
+ box-shadow: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.ecom-command-tool--icon:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.ecom-command-tool--icon.is-active,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.ecom-command-tool--icon.has-images,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.ecom-command-tool--icon.is-dragging {
+ background: rgba(232, 249, 253, 0.9) !important;
+ color: #0f829b !important;
+ box-shadow: none !important;
+ transform: none !important;
+}
+
+/* Ratio picker: single-column scrollable list without icons. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker {
+ grid-template-columns: 1fr !important;
+ gap: 2px !important;
+ width: min(148px, calc(100vw - 56px)) !important;
+ max-width: min(148px, calc(100vw - 56px)) !important;
+ max-height: 260px !important;
+ padding: 6px !important;
+ overflow-y: auto !important;
+ border-radius: 14px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button {
+ justify-content: center !important;
+ min-height: 40px !important;
+ padding: 0 12px !important;
+ border-radius: 10px !important;
+ font-size: 14px !important;
+ font-weight: 600 !important;
+}
+
+/* Refined ratio picker: glassmorphism surface, subtle motion, active dot indicator. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker {
+ display: flex !important;
+ flex-direction: column !important;
+ gap: 3px !important;
+ width: min(156px, calc(100vw - 48px)) !important;
+ max-width: min(156px, calc(100vw - 48px)) !important;
+ max-height: 288px !important;
+ padding: 8px !important;
+ border: 1px solid rgba(16, 115, 204, 0.12) !important;
+ border-radius: 18px !important;
+ background: rgba(254, 255, 255, 0.94) !important;
+ box-shadow:
+ 0 20px 50px rgba(16, 115, 204, 0.12),
+ 0 8px 20px rgba(16, 115, 204, 0.06),
+ inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
+ backdrop-filter: blur(18px) saturate(1.2) !important;
+ -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
+ overflow-y: auto !important;
+ animation: ratio-picker-in 180ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button {
+ position: relative !important;
+ display: flex !important;
+ align-items: center !important;
+ justify-content: center !important;
+ height: 42px !important;
+ min-height: 42px !important;
+ padding: 0 16px !important;
+ border: 0 !important;
+ border-radius: 12px !important;
+ color: rgba(16, 32, 44, 0.72) !important;
+ background: transparent !important;
+ font-size: 14px !important;
+ font-weight: 600 !important;
+ letter-spacing: 0.01em !important;
+ cursor: pointer !important;
+ transition: background 160ms ease, color 160ms ease, transform 160ms ease !important;
+ animation: ratio-item-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button::before {
+ position: absolute !important;
+ left: 8px !important;
+ top: 50% !important;
+ width: 4px !important;
+ height: 4px !important;
+ border-radius: 999px !important;
+ background: #1ebddb !important;
+ opacity: 0 !important;
+ transform: translateY(-50%) scale(0.5) !important;
+ transition: opacity 160ms ease, transform 160ms ease !important;
+ content: "" !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:hover {
+ background: rgba(30, 189, 219, 0.08) !important;
+ color: #0f7895 !important;
+ transform: translateX(2px) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button.is-active {
+ background: rgba(30, 189, 219, 0.12) !important;
+ color: #0f7895 !important;
+ font-weight: 720 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button.is-active::before {
+ opacity: 1 !important;
+ transform: translateY(-50%) scale(1) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:nth-child(1) { animation-delay: 20ms !important; }
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:nth-child(2) { animation-delay: 40ms !important; }
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:nth-child(3) { animation-delay: 60ms !important; }
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:nth-child(4) { animation-delay: 80ms !important; }
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:nth-child(5) { animation-delay: 100ms !important; }
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:nth-child(6) { animation-delay: 120ms !important; }
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:nth-child(7) { animation-delay: 140ms !important; }
+
+@keyframes ratio-picker-in {
+ from {
+ opacity: 0;
+ transform: translateY(-8px) scale(0.98);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0) scale(1);
+ }
+}
+
+@keyframes ratio-item-in {
+ from {
+ opacity: 0;
+ transform: translateX(-6px);
+ }
+ to {
+ opacity: 1;
+ transform: translateX(0);
+ }
+}
+
+/* Ratio picker refinement: compact width that fits the text, single column, minimal style. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker {
+ display: flex !important;
+ flex-direction: column !important;
+ gap: 2px !important;
+ width: fit-content !important;
+ min-width: 72px !important;
+ max-width: min(180px, calc(100vw - 48px)) !important;
+ max-height: 260px !important;
+ padding: 6px !important;
+ border: 1px solid rgba(16, 115, 204, 0.1) !important;
+ border-radius: 12px !important;
+ background: rgba(255, 255, 255, 0.98) !important;
+ box-shadow: 0 12px 32px rgba(16, 115, 204, 0.1) !important;
+ backdrop-filter: none !important;
+ -webkit-backdrop-filter: none !important;
+ animation: none !important;
+ overflow-y: auto !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button {
+ justify-content: flex-start !important;
+ height: 36px !important;
+ min-height: 36px !important;
+ padding: 0 14px !important;
+ border-radius: 8px !important;
+ color: rgba(16, 32, 44, 0.78) !important;
+ background: transparent !important;
+ font-size: 14px !important;
+ font-weight: 500 !important;
+ letter-spacing: 0 !important;
+ animation: none !important;
+ transition: background 120ms ease, color 120ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button::before {
+ content: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button:hover {
+ background: rgba(30, 189, 219, 0.08) !important;
+ color: #0f7895 !important;
+ transform: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker button.is-active {
+ background: rgba(30, 189, 219, 0.12) !important;
+ color: #0f7895 !important;
+ font-weight: 600 !important;
+}
+
+/* Final ratio picker: strictly single column, compact width matching the text. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker {
+ display: flex !important;
+ flex-direction: column !important;
+ gap: 2px !important;
+ width: fit-content !important;
+ min-width: 0 !important;
+ max-width: none !important;
+ max-height: 260px !important;
+ padding: 5px !important;
+ border: 1px solid rgba(16, 115, 204, 0.1) !important;
+ border-radius: 10px !important;
+ background: #ffffff !important;
+ box-shadow: 0 8px 24px rgba(16, 115, 204, 0.1) !important;
+ backdrop-filter: none !important;
+ -webkit-backdrop-filter: none !important;
+ animation: none !important;
+ overflow-y: auto !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button {
+ width: 100% !important;
+ justify-content: center !important;
+ height: 34px !important;
+ min-height: 34px !important;
+ padding: 0 18px !important;
+ border-radius: 7px !important;
+ color: rgba(16, 32, 44, 0.78) !important;
+ background: transparent !important;
+ font-size: 14px !important;
+ font-weight: 500 !important;
+ white-space: nowrap !important;
+ animation: none !important;
+ transition: background 120ms ease, color 120ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button::before {
+ content: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button:hover {
+ background: rgba(30, 189, 219, 0.08) !important;
+ color: #0f7895 !important;
+ transform: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button.is-active {
+ background: rgba(30, 189, 219, 0.12) !important;
+ color: #0f7895 !important;
+ font-weight: 600 !important;
+}
+
+/* Language picker: same compact single-column style as ratio picker, no country labels. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--languages.ecom-command-popover--languages {
+ display: flex !important;
+ flex-direction: column !important;
+ gap: 2px !important;
+ width: fit-content !important;
+ min-width: 0 !important;
+ max-width: none !important;
+ max-height: 260px !important;
+ padding: 5px !important;
+ border: 1px solid rgba(16, 115, 204, 0.1) !important;
+ border-radius: 10px !important;
+ background: #ffffff !important;
+ box-shadow: 0 8px 24px rgba(16, 115, 204, 0.1) !important;
+ backdrop-filter: none !important;
+ -webkit-backdrop-filter: none !important;
+ animation: none !important;
+ overflow-y: auto !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button {
+ width: 100% !important;
+ justify-content: center !important;
+ height: 34px !important;
+ min-height: 34px !important;
+ padding: 0 18px !important;
+ border-radius: 7px !important;
+ color: rgba(16, 32, 44, 0.78) !important;
+ background: transparent !important;
+ font-size: 14px !important;
+ font-weight: 500 !important;
+ white-space: nowrap !important;
+ animation: none !important;
+ transition: background 120ms ease, color 120ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button:hover {
+ background: rgba(30, 189, 219, 0.08) !important;
+ color: #0f7895 !important;
+ transform: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button.is-active {
+ background: rgba(30, 189, 219, 0.12) !important;
+ color: #0f7895 !important;
+ font-weight: 600 !important;
+}
+
+/* Language picker: tighter padding for a narrower width, all options remain scrollable. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--languages.ecom-command-popover--languages {
+ padding: 4px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button {
+ padding: 0 12px !important;
+}
+
+/* Ratio & Language pickers: strictly vertical scroll, no horizontal scroll, polished scrollbar. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--languages.ecom-command-popover--languages {
+ overflow-x: hidden !important;
+ max-width: calc(100vw - 48px) !important;
+ scrollbar-width: thin !important;
+ scrollbar-color: rgba(16, 115, 204, 0.28) transparent !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker::-webkit-scrollbar,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--languages.ecom-command-popover--languages::-webkit-scrollbar {
+ width: 5px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker::-webkit-scrollbar-thumb,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--languages.ecom-command-popover--languages::-webkit-scrollbar-thumb {
+ background: rgba(16, 115, 204, 0.28) !important;
+ border-radius: 999px !important;
+}
+
+/* Ratio & Language pickers: clean single-column list that scrolls vertically when needed. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--languages.ecom-command-popover--languages {
+ display: flex !important;
+ flex-direction: column !important;
+ flex-wrap: nowrap !important;
+ gap: 2px !important;
+ width: fit-content !important;
+ min-width: 0 !important;
+ max-width: calc(100vw - 48px) !important;
+ max-height: min(320px, calc(100dvh - 180px)) !important;
+ padding: 5px !important;
+ border: 1px solid rgba(16, 115, 204, 0.1) !important;
+ border-radius: 12px !important;
+ background: #ffffff !important;
+ box-shadow: 0 12px 32px rgba(16, 115, 204, 0.1) !important;
+ overflow-x: hidden !important;
+ overflow-y: auto !important;
+ scrollbar-width: thin !important;
+ scrollbar-color: rgba(16, 115, 204, 0.28) transparent !important;
+ animation: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button {
+ display: flex !important;
+ flex: 0 0 auto !important;
+ align-items: center !important;
+ justify-content: center !important;
+ width: 100% !important;
+ height: 36px !important;
+ min-height: 36px !important;
+ padding: 0 16px !important;
+ border: 0 !important;
+ border-radius: 8px !important;
+ color: rgba(16, 32, 44, 0.78) !important;
+ background: transparent !important;
+ font-size: 14px !important;
+ font-weight: 500 !important;
+ white-space: nowrap !important;
+ animation: none !important;
+ transition: background 120ms ease, color 120ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button::before,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button::before {
+ content: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button:hover {
+ background: rgba(30, 189, 219, 0.08) !important;
+ color: #0f7895 !important;
+ transform: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button.is-active,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button.is-active {
+ background: rgba(30, 189, 219, 0.12) !important;
+ color: #0f7895 !important;
+ font-weight: 600 !important;
+}
diff --git a/src/styles/pages/ecommerce.css b/src/styles/pages/ecommerce.css
index a7d0152..08875be 100644
--- a/src/styles/pages/ecommerce.css
+++ b/src/styles/pages/ecommerce.css
@@ -3047,33 +3047,47 @@
border-radius: 18px;
background: #1b1d23;
padding: 12px;
+ transition:
+ border-color 180ms ease,
+ box-shadow 180ms ease,
+ transform 180ms ease;
+}
+
+.product-clone-page[data-tool="clone"] .clone-ai-input-wrapper:focus-within {
+ border-color: rgba(0, 255, 136, 0.45);
+ box-shadow:
+ 0 0 0 1px rgba(0, 255, 136, 0.08),
+ 0 18px 46px rgba(0, 0, 0, 0.32);
+ transform: translateY(-1px);
}
.product-clone-page[data-tool="clone"] .clone-ai-send-button {
- display: grid;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
width: 38px;
height: 38px;
- place-items: center;
border: 1px solid #303540;
- border-radius: 999px;
- background: #22252d;
- color: #eef2f6;
- font-size: 20px;
- font-weight: 900;
+ border-radius: 12px;
+ background: #00ff88;
+ color: #06130d;
cursor: pointer;
transition:
background-color 160ms ease,
border-color 160ms ease,
- transform 160ms ease;
+ transform 160ms ease,
+ box-shadow 160ms ease;
}
.product-clone-page[data-tool="clone"] .clone-ai-send-button:hover:not(:disabled) {
border-color: #00ff88;
- background: #202c28;
+ background: #00ff88;
+ box-shadow: 0 10px 24px rgba(0, 255, 136, 0.24);
+ transform: translateY(-1px);
}
.product-clone-page[data-tool="clone"] .clone-ai-send-button:active:not(:disabled) {
- transform: scale(0.94);
+ transform: translateY(0) scale(0.96);
}
.product-clone-page[data-tool="clone"] .clone-ai-input-wrapper textarea {
@@ -3082,7 +3096,7 @@
max-height: 183px;
border: 0;
outline: none;
- resize: vertical;
+ resize: none;
background: transparent;
color: #eef2f6;
padding: 10px 0 8px;
@@ -3093,17 +3107,15 @@
.product-clone-page[data-tool="clone"] .clone-ai-input-wrapper textarea::placeholder {
color: #687184;
-}
-
-.product-clone-page[data-tool="clone"] .clone-ai-send-button {
- background: #00ff88;
- color: #06130d;
+ font-size: 13px;
+ font-weight: 400;
}
.product-clone-page[data-tool="clone"] .clone-ai-send-button:disabled {
background: #26342f;
color: #677569;
cursor: not-allowed;
+ opacity: 0.7;
}
.product-clone-page[data-tool="clone"] .clone-ai-char-count {
@@ -8945,17 +8957,28 @@
rgba(20, 24, 23, 0.92);
box-shadow: var(--ecm-shadow-panel);
backdrop-filter: blur(18px);
+ transition:
+ border-color 180ms ease,
+ box-shadow 180ms ease,
+ transform 180ms ease;
}
.product-clone-page[data-tool="clone"] .clone-ai-input-wrapper:focus-within {
- border-color: rgba(var(--ecm-accent-rgb), 0.42);
+ border-color: rgba(var(--ecm-accent-rgb), 0.5);
box-shadow:
- 0 20px 58px rgba(0, 0, 0, 0.34),
- 0 0 0 1px rgba(var(--ecm-accent-rgb), 0.08);
+ 0 22px 62px rgba(0, 0, 0, 0.36),
+ 0 0 0 1px rgba(var(--ecm-accent-rgb), 0.1);
+ transform: translateY(-1px);
}
.product-clone-page[data-tool="clone"] .clone-ai-input-wrapper textarea {
color: var(--ecm-text);
+ resize: none;
+}
+
+.product-clone-page[data-tool="clone"] .clone-ai-input-wrapper textarea::placeholder {
+ font-size: 13px;
+ font-weight: 400;
}
.product-clone-page[data-tool="clone"] .clone-ai-char-count {
@@ -9845,10 +9868,14 @@
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-send {
position: static;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
width: 46px;
height: 46px;
min-height: 46px;
border: 1px solid rgba(var(--ecm-accent-rgb), 0.55);
+ border-radius: 12px;
color: #021b2e;
background: linear-gradient(135deg, #16c8df, #18a7ff);
box-shadow: 0 12px 28px rgba(var(--ecm-accent-rgb), 0.32);
@@ -9856,8 +9883,12 @@
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-send:hover:not(:disabled) {
- transform: translateY(-1px);
- box-shadow: 0 16px 34px rgba(var(--ecm-accent-rgb), 0.36);
+ transform: translateY(-2px) scale(1.02);
+ box-shadow: 0 18px 38px rgba(var(--ecm-accent-rgb), 0.38);
+}
+
+.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-send:active:not(:disabled) {
+ transform: translateY(0) scale(0.98);
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-send:disabled {
@@ -9865,6 +9896,7 @@
color: rgba(255, 255, 255, 0.26);
background: rgba(126, 235, 255, 0.08);
box-shadow: none;
+ opacity: 0.7;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-char-count {
@@ -11053,16 +11085,17 @@
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:focus-within {
- border-color: var(--ecom-entry-line-strong) !important;
+ border-color: rgba(30, 189, 219, 0.5) !important;
box-shadow:
- inset 0 1px 0 rgba(255, 255, 255, 0.92),
+ inset 0 1px 0 rgba(255, 255, 255, 0.96),
+ 0 0 0 1px rgba(30, 189, 219, 0.08),
var(--ecom-entry-focus),
var(--ecom-entry-shadow-strong) !important;
transform: translateY(-1px);
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:hover {
- border-color: rgba(30, 189, 219, 0.3) !important;
+ border-color: rgba(30, 189, 219, 0.32) !important;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.92),
0 26px 72px rgba(16, 115, 204, 0.13) !important;
@@ -11070,10 +11103,10 @@
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer.is-dragging,
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer.has-files {
- border-color: rgba(30, 189, 219, 0.42) !important;
+ border-color: rgba(30, 189, 219, 0.5) !important;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 253, 255, 0.96) 100%),
- linear-gradient(135deg, rgba(30, 189, 219, 0.1), rgba(16, 115, 204, 0.06)) !important;
+ linear-gradient(135deg, rgba(30, 189, 219, 0.12), rgba(16, 115, 204, 0.08)) !important;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-reference {
@@ -11114,8 +11147,11 @@
caret-color: var(--ecom-entry-accent) !important;
}
-.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-input::placeholder {
- color: rgba(16, 32, 44, 0.38) !important;
+.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-input::placeholder,
+.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-composer textarea::placeholder {
+ color: rgba(16, 32, 44, 0.42) !important;
+ font-size: 13px !important;
+ font-weight: 400 !important;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-toolbar {
@@ -11200,11 +11236,16 @@
box-shadow:
0 20px 38px rgba(30, 189, 219, 0.34),
inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
- transform: translateY(-1px);
+ transform: translateY(-2px) scale(1.03);
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-send-button.ecom-command-send:active:not(:disabled) {
- transform: translateY(1px) scale(0.98);
+ transform: translateY(0) scale(0.97);
+}
+
+.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-send-button.ecom-command-send:disabled {
+ opacity: 0.5 !important;
+ filter: grayscale(0.35) !important;
}
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-char-count {
@@ -12209,3 +12250,392 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
margin: 0 !important;
font-size: 24px !important;
}
+
+/* Final composer toolbelt overrides: keep upload/assets/mode/AI writing responsive and single-line. */
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
+ flex-direction: row !important;
+ align-items: center !important;
+ justify-content: space-between !important;
+ gap: 12px !important;
+ min-width: 0 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions {
+ display: flex !important;
+ flex: 1 1 auto !important;
+ flex-wrap: nowrap !important;
+ align-items: center !important;
+ gap: 8px !important;
+ min-width: 0 !important;
+ overflow-x: auto !important;
+ overflow-y: visible !important;
+ padding: 2px !important;
+ scrollbar-width: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions::-webkit-scrollbar {
+ display: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool {
+ position: relative !important;
+ flex: 0 0 auto !important;
+ display: inline-flex !important;
+ align-items: center !important;
+ justify-content: center !important;
+ height: 40px !important;
+ min-height: 40px !important;
+ border: 1px solid rgba(16, 32, 44, 0.08) !important;
+ border-radius: 999px !important;
+ color: rgba(16, 32, 44, 0.72) !important;
+ background: rgba(255, 255, 255, 0.82) !important;
+ box-shadow: 0 6px 18px rgba(16, 115, 204, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
+ cursor: pointer !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.is-active,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.has-images,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool.is-dragging {
+ border-color: rgba(30, 189, 219, 0.32) !important;
+ color: #0f829b !important;
+ background: rgba(232, 249, 253, 0.95) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload {
+ gap: 7px !important;
+ width: auto !important;
+ min-width: max-content !important;
+ padding: 0 13px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon {
+ width: 40px !important;
+ min-width: 40px !important;
+ padding: 0 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon::after {
+ position: absolute !important;
+ left: 50% !important;
+ bottom: calc(100% + 10px) !important;
+ z-index: 260 !important;
+ padding: 6px 9px !important;
+ border-radius: 8px !important;
+ color: #ffffff !important;
+ background: rgba(16, 32, 44, 0.72) !important;
+ content: attr(data-tooltip) !important;
+ font-size: 12px !important;
+ font-weight: 760 !important;
+ line-height: 1 !important;
+ opacity: 0 !important;
+ pointer-events: none !important;
+ transform: translate(-50%, 4px) !important;
+ white-space: nowrap !important;
+ transition: opacity 150ms ease, transform 150ms ease !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon:hover::after,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon:focus-visible::after {
+ opacity: 1 !important;
+ transform: translate(-50%, 0) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--library,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write {
+ gap: 14px !important;
+ border-color: rgba(16, 32, 44, 0.08) !important;
+ border-radius: 24px !important;
+ background: rgba(255, 255, 255, 0.98) !important;
+ box-shadow: 0 30px 76px rgba(16, 115, 204, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
+ color: #10202c !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--library {
+ width: min(540px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(540px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ min-height: 300px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--work-mode {
+ width: min(340px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(340px, calc(100% - var(--composer-popover-left, 0px))) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--ai-write {
+ width: min(430px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(430px, calc(100% - var(--composer-popover-left, 0px))) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-head,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode header,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write header {
+ display: flex !important;
+ align-items: center !important;
+ justify-content: space-between !important;
+ gap: 12px !important;
+ color: #10202c !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-head strong,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode header strong,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write header strong {
+ color: #10202c !important;
+ font-size: 22px !important;
+ font-weight: 880 !important;
+ white-space: nowrap !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-help {
+ display: inline-flex !important;
+ align-items: center !important;
+ gap: 5px !important;
+ min-height: 28px !important;
+ padding: 0 8px !important;
+ border: 0 !important;
+ color: #1073cc !important;
+ background: transparent !important;
+ box-shadow: none !important;
+ font-size: 13px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-tabs {
+ display: flex !important;
+ flex-wrap: nowrap !important;
+ gap: 8px !important;
+ overflow-x: auto !important;
+ scrollbar-width: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-tabs::-webkit-scrollbar {
+ display: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-tabs button {
+ flex: 0 0 auto !important;
+ min-height: 40px !important;
+ padding: 0 14px !important;
+ border: 0 !important;
+ border-radius: 10px !important;
+ color: #687885 !important;
+ background: #f2f5f8 !important;
+ box-shadow: none !important;
+ font-size: 14px !important;
+ text-align: center !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-tabs button.is-active {
+ color: #10202c !important;
+ background: #e8edf3 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-empty {
+ display: grid !important;
+ min-height: 170px !important;
+ place-items: center !important;
+ align-content: center !important;
+ gap: 8px !important;
+ color: #8b99a4 !important;
+ text-align: center !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-empty .anticon {
+ color: rgba(30, 189, 219, 0.58) !important;
+ font-size: 42px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-empty strong {
+ color: #7d8a94 !important;
+ font-size: 15px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-empty span {
+ color: #a1adb6 !important;
+ font-size: 12px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list {
+ display: grid !important;
+ grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
+ gap: 10px !important;
+ min-width: 0 !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button {
+ display: grid !important;
+ align-content: center !important;
+ gap: 5px !important;
+ min-height: 72px !important;
+ border-color: rgba(16, 32, 44, 0.08) !important;
+ border-radius: 16px !important;
+ color: #10202c !important;
+ background: linear-gradient(180deg, #ffffff, #f7fbfc) !important;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
+ white-space: normal !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button.is-active,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button:hover,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button.is-active {
+ border-color: rgba(30, 189, 219, 0.34) !important;
+ background: linear-gradient(180deg, #fafdff, #eefbfe) !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button strong,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button strong {
+ min-width: 0 !important;
+ overflow: hidden !important;
+ color: #10202c !important;
+ font-size: 14px !important;
+ text-overflow: ellipsis !important;
+ white-space: nowrap !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list button span,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode > button span,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--work-mode header span,
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write header span {
+ color: #7a8c98 !important;
+ font-size: 12px !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ai-write textarea {
+ min-height: 136px !important;
+ width: 100% !important;
+ padding: 14px !important;
+ border: 1px solid rgba(16, 32, 44, 0.08) !important;
+ border-radius: 16px !important;
+ color: #10202c !important;
+ background: #fbfdfe !important;
+ box-shadow: none !important;
+ font-size: 14px !important;
+ line-height: 1.6 !important;
+ resize: none !important;
+}
+
+html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-ai-submit {
+ min-height: 44px !important;
+ justify-content: center !important;
+ border: 0 !important;
+ border-radius: 14px !important;
+ color: #ffffff !important;
+ background: #181b1f !important;
+ box-shadow: 0 12px 28px rgba(16, 32, 44, 0.14) !important;
+ text-align: center !important;
+}
+
+@media (max-width: 640px) {
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
+ flex-direction: row !important;
+ align-items: center !important;
+ min-height: 56px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions {
+ flex: 1 1 auto !important;
+ max-width: calc(100% - 54px) !important;
+ gap: 7px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool {
+ height: 38px !important;
+ min-height: 38px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon {
+ width: 38px !important;
+ min-width: 38px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload {
+ max-width: 112px !important;
+ padding: 0 11px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload strong {
+ max-width: 56px !important;
+ overflow: hidden !important;
+ text-overflow: ellipsis !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--icon::after {
+ display: none !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--library,
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--work-mode,
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover--ai-write {
+ inset: calc(100% + 12px) auto auto 0 !important;
+ left: 0 !important;
+ right: auto !important;
+ width: 100% !important;
+ min-width: 0 !important;
+ max-width: 100% !important;
+ max-height: min(420px, calc(100dvh - 380px)) !important;
+ overflow-x: hidden !important;
+ overflow-y: auto !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-library-list {
+ grid-template-columns: minmax(0, 1fr) !important;
+ }
+}
+
+@media (max-width: 390px) {
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload {
+ min-width: 40px !important;
+ width: 40px !important;
+ padding: 0 !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-tool--upload strong {
+ position: absolute !important;
+ width: 1px !important;
+ height: 1px !important;
+ overflow: hidden !important;
+ clip: rect(0 0 0 0) !important;
+ clip-path: inset(50%) !important;
+ }
+}
+
+@media (min-width: 641px) {
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover.ecom-command-popover--library {
+ width: min(540px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(540px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ min-height: 300px !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover.ecom-command-popover--work-mode {
+ width: min(340px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(340px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ }
+
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover.ecom-command-popover--ai-write {
+ width: min(430px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ max-width: min(430px, calc(100% - var(--composer-popover-left, 0px))) !important;
+ }
+}
+
+@media (max-width: 640px) {
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover.ecom-command-popover--library,
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover.ecom-command-popover--work-mode,
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover.ecom-command-popover--ai-write {
+ inset: calc(100% + 12px) auto auto 0 !important;
+ left: 0 !important;
+ right: auto !important;
+ width: 100% !important;
+ min-width: 0 !important;
+ max-width: 100% !important;
+ }
+}
+
+@media (max-height: 700px) {
+ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover.ecom-command-popover--library {
+ min-height: 0 !important;
+ max-height: min(300px, calc(100dvh - 330px)) !important;
+ overflow-y: auto !important;
+ }
+}
diff --git a/src/styles/standalone/overrides.css b/src/styles/standalone/overrides.css
index 1e7d62b..272f22b 100644
--- a/src/styles/standalone/overrides.css
+++ b/src/styles/standalone/overrides.css
@@ -1,4 +1,4 @@
-
+
@media (max-width: 640px) {
html body .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover.ecom-command-popover {
position: absolute !important;
@@ -3473,8 +3473,8 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
@media (max-width: 420px) {
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings {
- display: grid !important;
- grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
+ display: flex !important;
+ flex-wrap: nowrap !important;
gap: 7px !important;
justify-content: stretch !important;
overflow: visible !important;
@@ -3482,6 +3482,7 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings button {
display: inline-flex !important;
+ flex: 1 1 0 !important;
width: auto !important;
min-width: 0 !important;
max-width: none !important;
--
2.52.0