/* ==========================================
   SYSTEM DESIGN & GLOBAL STYLES
   ========================================== */
:root {
    /* Color Palette */
    --primary: #ff3b30;         /* Vibrant coral red matching the screenshot */
    --primary-hover: #e02d22;
    --primary-light: #fee2e2;
    --dark-bg: #0b0f19;         /* Rich dark blue-black for sidebar */
    --dark-sidebar-item: #151b2c;
    --dark-sidebar-hover: #1e263d;
    --light-bg: #f8fafc;        /* Soft dashboard body background */
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    
    /* Text Colors */
    --text-main: #0f172a;       /* Slate 900 */
    --text-muted: #64748b;      /* Slate 500 */
    --text-light: #94a3b8;      /* Slate 400 */
    
    /* Brand Accent Colors */
    --accent-box: #f59e0b;      /* Amber */
    --accent-click: #10b981;    /* Emerald */
    --accent-visitor: #3b82f6;  /* Blue */
    --accent-conv: #8b5cf6;     /* Purple */
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

input, select, textarea {
    font-family: var(--font-body);
    outline: none;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

/* ==========================================
   LAYOUT STRUCTURE
   ========================================== */
.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* ==========================================
   SIDEBAR COMPONENT
   ========================================== */
.sidebar {
    width: 280px;
    background-color: var(--dark-bg);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    height: 100%;
    flex-shrink: 0;
}

.sidebar-header {
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background-color: var(--primary);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    width: 22px;
    height: 22px;
    transform: rotate(-15deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--primary);
}

.sidebar-nav {
    flex-grow: 1;
}

.menu-label {
    font-family: var(--font-heading);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 12px;
    padding-left: 8px;
    font-weight: 700;
}

.sidebar-nav ul {
    list-style: none;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-item a i {
    width: 18px;
    height: 18px;
}

/* Sidebar Hover & Active states */
.nav-item a:hover {
    color: #ffffff;
    background-color: var(--dark-sidebar-hover);
}

.nav-item.active a {
    color: #ffffff;
    background-color: var(--dark-sidebar-item);
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding-left: 13px; /* account for border width */
}

/* Sidebar Footer & PRO Promo */
.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pro-promo-card {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.15) 0%, rgba(15, 23, 42, 0.5) 100%);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 14px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.pro-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.pro-promo-card h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: #ffffff;
}

.pro-promo-card p {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 12px;
}

.btn-pro-action {
    width: 100%;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pro-action:hover {
    background-color: var(--primary);
    color: white;
}

.btn-pro-action i {
    width: 14px;
    height: 14px;
}

/* User Profile Section */
.user-profile-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    flex-grow: 1;
    overflow: hidden;
}

.user-info h5 {
    font-size: 13px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info span {
    font-size: 10px;
    color: var(--text-light);
}

.btn-icon-action {
    color: var(--text-light);
    padding: 6px;
    border-radius: 6px;
}

.btn-icon-action:hover {
    color: #ffffff;
    background-color: var(--dark-sidebar-hover);
}

.btn-icon-action i {
    width: 16px;
    height: 16px;
}

/* ==========================================
   MAIN CONTENT AREA
   ========================================== */
.main-content {
    flex-grow: 1;
    height: 100%;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Header Bar */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.header-title h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.header-title p {
    font-size: 14px;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-text {
    color: var(--text-main);
}

.btn-upgrade {
    background-color: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(255, 59, 48, 0.2);
}

.btn-upgrade:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 14px rgba(255, 59, 48, 0.3);
    transform: translateY(-1px);
}

/* ==========================================
   TAB ROUTING PANES
   ========================================== */
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   OVERVIEW TAB METRICS
   ========================================== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 12px;
}

.metric-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 59, 48, 0.15);
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.metric-icon i {
    width: 24px;
    height: 24px;
}

.bg-box { background-color: var(--accent-box); }
.bg-click { background-color: var(--accent-click); }
.bg-visitor { background-color: var(--accent-visitor); }
.bg-conv { background-color: var(--accent-conv); }

.metric-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.metric-details h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1;
}

.metric-trend {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.metric-trend.up {
    color: #10b981;
}

.metric-trend.up i {
    width: 12px;
    height: 12px;
}

/* Growth Chart */
.chart-section-wrapper {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.chart-header h3 {
    font-size: 18px;
    color: var(--text-main);
}

.chart-actions {
    display: flex;
    background-color: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
}

.btn-chart-mode {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 6px;
    color: var(--text-muted);
}

.btn-chart-mode.active {
    background-color: #ffffff;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.chart-container {
    position: relative;
    height: 320px;
    width: 100%;
}

.chart-empty-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
}

.empty-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    margin-bottom: 16px;
}

.empty-icon-box i {
    width: 28px;
    height: 28px;
}

.chart-empty-state p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.5;
}

/* ==========================================
   PRODUCTS TAB COMPONENT
   ========================================== */
.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title-bar h2 {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.section-title-bar p {
    font-size: 14px;
    color: var(--text-muted);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(255, 59, 48, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 14px rgba(255, 59, 48, 0.25);
}

.btn-primary i {
    width: 18px;
    height: 18px;
}

.btn-secondary {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: var(--text-light);
}

/* Slide Down Form Panel */
.product-form-panel {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.panel-header h3 {
    font-size: 18px;
    color: var(--text-main);
}

.btn-close-panel {
    color: var(--text-light);
    padding: 4px;
}

.btn-close-panel:hover {
    color: var(--text-main);
}

.btn-close-panel i {
    width: 20px;
    height: 20px;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.col-span-2 {
    grid-column: span 2;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    background-color: #ffffff;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}

.url-image-input-group {
    display: flex;
    gap: 10px;
}

.url-image-input-group input {
    flex-grow: 1;
}

.preview-group {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background-color: #f8fafc;
    border-radius: 8px;
}

.preview-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.image-preview-container {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
}

.image-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-text-action {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 16px;
}

.btn-text-action:hover {
    color: var(--text-main);
}

/* Products Empty State */
.products-empty-state {
    background-color: #ffffff;
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.products-empty-state h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.products-empty-state p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 320px;
}

/* Products Grid Display */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.prod-card-img-wrapper {
    position: relative;
    height: 180px;
    background-color: #f1f5f9;
}

.prod-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.source-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.source-badge.shopee { background-color: #ee4d2d; }
.source-badge.tokopedia { background-color: #03ac0e; }
.source-badge.tiktok-shop { background-color: #000000; }
.source-badge.lainnya { background-color: var(--text-muted); }

.prod-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.prod-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px; /* fallback height */
}

.prod-card-price {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.prod-card-stats {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: auto;
}

.prod-card-stats i {
    width: 14px;
    height: 14px;
}

.prod-card-footer {
    display: flex;
    border-top: 1px solid var(--border-color);
    background-color: #f8fafc;
}

.btn-card-action {
    flex-grow: 1;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-muted);
}

.btn-card-action:hover {
    background-color: #f1f5f9;
    color: var(--text-main);
}

.btn-card-action.edit-action:hover {
    color: var(--accent-visitor);
}

.btn-card-action.delete-action:hover {
    color: var(--primary);
}

.btn-card-action i {
    width: 14px;
    height: 14px;
}

.btn-card-divider {
    width: 1px;
    background-color: var(--border-color);
    align-self: stretch;
}

/* ==========================================
   DESIGN TAB WORKSPACE (Flex Split)
   ========================================== */
.design-workspace {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    min-height: 100%;
}

/* Left: Customizer */
.design-customizer {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 60%;
}

.design-customizer h2 {
    font-size: 24px;
    color: var(--text-main);
}

.design-customizer .subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Accordion Component */
.accordion-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    transition: var(--transition);
}

.accordion-header i:first-child {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.accordion-header span {
    flex-grow: 1;
}

.accordion-header .chevron {
    width: 16px;
    height: 16px;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(255, 59, 48, 0.1);
}

.accordion-item.active {
    border-color: var(--border-color);
}

.accordion-item.active .accordion-header {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.accordion-item.active .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 16px;
    background-color: #ffffff;
}

.accordion-item.active .accordion-content {
    display: flex;
}

/* Theme Presets Styling */
.theme-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.theme-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-card:hover {
    border-color: var(--text-muted);
}

.theme-card.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.theme-preview {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
}

.theme-card span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
}

/* Button style picker */
.button-styles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.btn-style-option {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-style-option:hover {
    border-color: var(--text-muted);
}

.btn-style-option.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.preview-btn {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
}

/* Social links customizer */
.social-links-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group-social {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.form-group-social:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}

.social-icon-badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.social-icon-badge.whatsapp { background-color: #25d366; }
.social-icon-badge.instagram { background-color: #e1306c; }
.social-icon-badge.tiktok { background-color: #000000; }
.social-icon-badge.youtube { background-color: #ff0000; }

.social-icon-badge i {
    width: 18px;
    height: 18px;
}

.form-group-social input {
    flex-grow: 1;
    border: none;
    padding: 12px;
    font-size: 14px;
}

.form-group-social input:focus {
    box-shadow: none;
}

/* ==========================================
   RIGHT: LIVE MOBILE PREVIEW (Fidelity Mockup)
   ========================================== */
.design-preview-container {
    flex-grow: 0;
    flex-shrink: 0;
    width: 320px;
    position: sticky;
    top: 40px;
    align-self: flex-start;
}

.preview-sticky-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-height: calc(100vh - 80px);
}

.preview-header-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
}

.preview-header-label i {
    width: 16px;
    height: 16px;
}

/* Phone Mockup Frame */
.phone-mockup {
    width: 300px;
    height: 560px;
    background-color: #000000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-premium), 0 0 0 4px #27272a;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-camera-notch {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 22px;
    background-color: #000000;
    border-radius: 12px;
    z-index: 10;
}

/* Inside Screen */
.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6; /* default light grey theme */
    border-radius: 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 36px 16px 20px 16px;
    color: #1f2937;
    position: relative;
    transition: var(--transition);
}

/* Hide scrollbar for preview */
.phone-screen::-webkit-scrollbar {
    display: none;
}

.phone-bio-header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-avatar-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
}

.phone-bio-header h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.phone-bio-header p {
    font-size: 11px;
    line-height: 1.4;
    color: inherit;
    opacity: 0.8;
}

/* Social links preview */
.phone-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.phone-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: var(--transition);
}

.phone-social-btn:hover {
    transform: scale(1.1);
}

.phone-social-btn i {
    width: 14px;
    height: 14px;
}

/* Product list inside screen */
.phone-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

/* Product cards inside screen */
.phone-prod-card {
    background-color: #ffffff;
    border: 1px solid transparent;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.phone-prod-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background-color: #f1f5f9;
}

.phone-prod-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.phone-prod-title {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-prod-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-prod-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.phone-prod-badge {
    font-size: 8px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    background-color: #e2e8f0;
}

.phone-prod-badge.shopee { background-color: #fee2e2; color: #ee4d2d; }
.phone-prod-badge.tokopedia { background-color: #dcfce7; color: #03ac0e; }
.phone-prod-badge.tiktok-shop { background-color: #f3f4f6; color: #000000; }

.phone-prod-arrow {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.phone-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 16px;
}

.phone-footer span {
    font-size: 9px;
    color: inherit;
    opacity: 0.6;
}

/* Copy Link block below preview */
.preview-actions {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
    box-shadow: var(--shadow-sm);
}

.link-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.link-label span {
    font-size: 10px;
    color: var(--text-muted);
}

.public-url-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-url-text:hover {
    text-decoration: underline;
}

.preview-actions button {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
}

/* ==========================================
   SETTINGS TAB
   ========================================== */
.settings-workspace {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 680px;
}

.settings-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.settings-card h2 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.settings-card .subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.input-prefix-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8fafc;
}

.input-prefix {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border-right: 1px solid var(--border-color);
    user-select: none;
}

.input-prefix-wrapper input {
    width: 0;
    min-width: 0;
    flex-grow: 1;
    border: none;
    background-color: #ffffff;
}

.input-prefix-wrapper input:focus {
    box-shadow: none;
}

.help-text {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.tier-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-free {
    background-color: #e2e8f0;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.btn-upgrade-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.btn-upgrade-text:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Danger Zone */
.danger-zone-card {
    border: 1px solid #fee2e2;
    background-color: #fffafb;
}

.danger-title {
    color: #b91c1c;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.danger-title i {
    width: 18px;
    height: 18px;
}

.danger-zone-card p {
    font-size: 13px;
    color: #991b1b;
    margin-bottom: 16px;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
}

.btn-danger:hover {
    background-color: #b91c1c;
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.15);
}

/* ==========================================
   TOAST NOTIFICATION COMPONENT
   ========================================== */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-premium);
    z-index: 9999;
    animation: slideUpToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: var(--transition);
}

.toast-notification.hidden {
    display: none !important;
}

@keyframes slideUpToast {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toast-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
}

.toast-message {
    font-size: 13px;
    font-weight: 500;
}

/* Responsive adjustment helper */
.hidden {
    display: none !important;
}

/* ==========================================
   IMAGE & FILE UPLOAD STYLES
   ========================================== */
.image-upload-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.upload-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.upload-tab-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--text-muted);
    background-color: transparent;
}

.upload-tab-btn:hover {
    color: var(--text-main);
    background-color: #e2e8f0;
}

.upload-tab-btn.active {
    color: #ffffff;
    background-color: var(--primary);
}

.upload-input-group {
    display: block;
    animation: fadeIn 0.3s ease;
}

.file-dropzone {
    border: 2px dashed var(--border-color);
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.file-dropzone:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.file-dropzone i {
    width: 32px;
    height: 32px;
    color: var(--text-light);
    transition: var(--transition);
}

.file-dropzone:hover i {
    color: var(--primary);
    transform: translateY(-2px);
}

.file-dropzone span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Avatar Upload Customizer */
.avatar-upload-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.avatar-upload-actions {
    display: flex;
    gap: 10px;
}

.avatar-upload-actions button {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.btn-avatar-url-toggle {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

.btn-avatar-url-toggle:hover {
    color: var(--primary);
}

/* Mockup content z-indexes for overlay */
.phone-bio-header, .phone-social-links, .phone-products-list, .phone-footer {
    position: relative;
    z-index: 2;
}

/* Card Style Options */
.phone-prod-card.style-semi-rounded {
    border-radius: 12px !important;
    background-color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    color: #1f2937 !important;
}
.phone-prod-card.style-rounded {
    border-radius: 30px !important;
    background-color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    color: #1f2937 !important;
}
.phone-prod-card.style-sharp {
    border-radius: 0px !important;
    background-color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    color: #1f2937 !important;
}
.phone-prod-card.style-shadow {
    border-radius: 12px !important;
    background-color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
    color: #1f2937 !important;
}
.phone-prod-card.style-glass {
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: inherit !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08) !important;
}
.phone-prod-card.style-outline {
    border-radius: 12px !important;
    background-color: transparent !important;
    border: 1.5px solid currentColor !important;
    color: inherit !important;
    box-shadow: none !important;
}
.phone-prod-card.style-floating {
    border-radius: 16px !important;
    background-color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -5px rgba(0, 0, 0, 0.04) !important;
    color: #1f2937 !important;
}
.phone-prod-card.style-dashed {
    border-radius: 12px !important;
    background-color: transparent !important;
    border: 2px dashed currentColor !important;
    color: inherit !important;
    box-shadow: none !important;
}
.phone-prod-card.style-left-border {
    border-radius: 12px !important;
    background-color: #ffffff !important;
    border-left: 5px solid currentColor !important;
    border-top: 1px solid transparent !important;
    border-right: 1px solid transparent !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
    color: #1f2937 !important;
}
.phone-prod-card.style-neon-glow {
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid currentColor !important;
    box-shadow: 0 0 15px currentColor !important;
    color: inherit !important;
}
.phone-prod-card.style-double-outline {
    border-radius: 12px !important;
    background-color: transparent !important;
    border: 1px solid currentColor !important;
    outline: 2px solid currentColor !important;
    outline-offset: -5px !important;
    color: inherit !important;
    box-shadow: none !important;
}
.phone-prod-card.style-soft-gradient {
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: inherit !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}
.phone-prod-card.style-brutalist {
    border-radius: 4px !important;
    background-color: #ffffff !important;
    border: 3px solid #000000 !important;
    box-shadow: 5px 5px 0px #000000 !important;
    color: #000000 !important;
}
.phone-prod-card.style-claymorphism {
    border-radius: 20px !important;
    background-color: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    box-shadow: inset 4px 4px 8px rgba(255,255,255,0.9), inset -4px -4px 8px rgba(0,0,0,0.1), 4px 4px 10px rgba(0,0,0,0.08) !important;
    color: #1f2937 !important;
}

/* ==========================================
   MOBILE & RESPONSIVE LAYOUT MEDIA QUERIES
   ========================================== */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: var(--dark-bg);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.mobile-sidebar-toggle {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: var(--dark-sidebar-hover);
    font-size: 20px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.mobile-sidebar-toggle:hover {
    background-color: var(--primary);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 998;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
}

@media (max-width: 991px) {
    .mobile-header {
        display: flex;
    }
    
    .app-container {
        flex-direction: column;
        overflow-y: auto;
        height: 100vh;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        padding: 24px 16px;
        height: auto;
        overflow-y: visible;
        gap: 24px;
    }
    
    .header-bar {
        padding-bottom: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    /* Grids Adjustment */
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Form Grid Adjustment */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .product-form-panel {
        padding: 16px;
    }
    
    .url-image-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Settings Adjustment */
    .settings-card {
        padding: 16px;
    }
    
    .tier-indicator {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .btn-upgrade-text {
        text-align: left;
    }
    
    /* Workspace split layout */
    .design-workspace {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    
    .design-customizer {
        max-width: 100%;
    }
    
    .design-preview-container {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    
    .preview-sticky-wrapper {
        position: static;
        width: 100%;
        max-width: 320px;
        align-items: center;
    }
}

/* Folder Accordion Preview Styles (Neutral Adaptive Design) */
.phone-folder-wrapper {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.2);
    transition: all 0.3s ease;
    text-align: left;
}

.phone-folder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.phone-folder-header:hover {
    background-color: rgba(128, 128, 128, 0.15);
}

.phone-folder-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-folder-icon {
    width: 16px;
    height: 16px;
    opacity: 0.85;
}

.phone-folder-badge-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-folder-count {
    font-size: 10px;
    opacity: 0.8;
    background: rgba(128, 128, 128, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.phone-folder-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.phone-folder-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 12px;
}

.phone-folder-wrapper.active .phone-folder-content {
    max-height: 1200px;
    padding: 0 12px 14px 12px;
}

.phone-folder-wrapper.active .phone-folder-arrow {
    transform: rotate(180deg);
}

/* Attention Grabber Product Keyframe Animations */
.anim-wobble {
    animation: keyframe-wobble 2.5s ease infinite;
    transform-origin: center;
}
@keyframes keyframe-wobble {
    0%, 70%, 100% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-3deg) scale(1.02); }
    80% { transform: rotate(3deg) scale(1.02); }
    85% { transform: rotate(-3deg) scale(1.02); }
    90% { transform: rotate(2deg) scale(1.01); }
    95% { transform: rotate(-1deg) scale(1.01); }
}

.anim-pulse {
    animation: keyframe-pulse 2s infinite ease-in-out;
}
@keyframes keyframe-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.anim-bounce {
    animation: keyframe-bounce 2s infinite;
}
@keyframes keyframe-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* Creator Support Widget Preview Styles */
.phone-support-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: inherit !important;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}
.phone-support-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Adaptive style for light themes inside dashboard preview screen */
.phone-screen[style*="color: rgb(15, 23, 42)"] .phone-support-card,
.phone-screen[style*="color: rgb(74, 14, 23)"] .phone-support-card,
.phone-screen[style*="color: rgb(6, 95, 70)"] .phone-support-card,
.phone-screen[style*="color: #0f172a"] .phone-support-card,
.phone-screen[style*="color: #4a0e17"] .phone-support-card,
.phone-screen[style*="color: #065f46"] .phone-support-card {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.09) !important;
}
.phone-support-content {
    display: flex;
    align-items: center;
    gap: 8px;
}
.phone-support-icon {
    width: 16px;
    height: 16px;
    color: #ff3b30;
    animation: keyframe-pulse 1.5s infinite;
}
.phone-support-arrow {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

/* Floating Tipping Button inside preview mockup */
.phone-support-fab {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000 !important;
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.3);
    text-decoration: none;
    z-index: 99;
    transition: all 0.3s ease;
}
.phone-support-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.5);
}
.phone-support-fab i {
    width: 14px;
    height: 14px;
}

/* Animated Shifting Gradient Background Effect */
.bg-effect-animated-gradient {
    background-size: 400% 400% !important;
    animation: shifting-gradient-bg 15s ease infinite !important;
}
@keyframes shifting-gradient-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Particles & Starry Night Overlays */
/* ---- Dashboard phone preview (absolute inside phone mockup) ---- */
.phone-bg-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1; /* Under product content, above background color */
}

/* ---- Public bio page (fixed, covers full viewport) ---- */
body > .phone-bg-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Preview floating particle nodes */
.preview-particle {
    position: absolute;
    bottom: -10px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    filter: blur(1px);
    animation: float-up-particle linear infinite;
}
@keyframes float-up-particle {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-500px) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

/* Preview starry twinkling stars */
.preview-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 4px #ffffff;
    animation: twinkle-star 2s infinite ease-in-out;
}
@keyframes twinkle-star {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Preview shooting stars */
.preview-shooting-star {
    position: absolute;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
    animation: shooting-star-anim 8s infinite ease-out;
    opacity: 0;
}
@keyframes shooting-star-anim {
    0% {
        transform: translate(0, 0) rotate(-45deg) scale(0);
        opacity: 0;
    }
    1% {
        opacity: 1;
        transform: translate(0, 0) rotate(-45deg) scale(1);
    }
    10% {
        transform: translate(-150px, 150px) rotate(-45deg) scale(1);
        opacity: 0;
    }
    100% {
        transform: translate(-150px, 150px) rotate(-45deg) scale(0);
        opacity: 0;
    }
}

/* ==========================================
   17 NEW ANIMATED BACKGROUND EFFECTS
   ========================================== */

/* ---- AURORA ---- */
.bg-effect-aurora {
    animation: aurora-anim 10s ease infinite;
    background-size: 400% 400%;
}
@keyframes aurora-anim {
    0%   { background-position: 0% 50%; filter: hue-rotate(0deg); }
    50%  { background-position: 100% 50%; filter: hue-rotate(60deg); }
    100% { background-position: 0% 50%; filter: hue-rotate(0deg); }
}
body.bg-effect-aurora {
    background: linear-gradient(120deg, #0f9b58, #00d2ff, #a100ff, #00c6ff, #0f9b58);
    background-size: 400% 400%;
    animation: aurora-shift 12s ease infinite;
}
@keyframes aurora-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- SUNSET WAVE ---- */
body.bg-effect-sunset-wave {
    background: linear-gradient(135deg, #ff6a00, #ee0979, #ff6a00, #f7971e);
    background-size: 400% 400%;
    animation: sunset-shift 8s ease infinite;
}
@keyframes sunset-shift {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* ---- NEON PULSE ---- */
body.bg-effect-neon-pulse {
    background: #0a0014;
    animation: neon-pulse-bg 4s ease-in-out infinite;
}
@keyframes neon-pulse-bg {
    0%, 100% { box-shadow: inset 0 0 80px rgba(138, 43, 226, 0.4), inset 0 0 150px rgba(0, 255, 255, 0.2); }
    50%       { box-shadow: inset 0 0 120px rgba(138, 43, 226, 0.7), inset 0 0 200px rgba(0, 255, 255, 0.4); }
}

/* ---- OCEAN WAVE ---- */
body.bg-effect-ocean-wave {
    background: linear-gradient(180deg, #001f5a 0%, #003d99 40%, #0062cc 70%, #00a8e8 100%);
    background-size: 200% 200%;
    animation: ocean-shift 7s ease infinite;
}
@keyframes ocean-shift {
    0%   { background-position: 50% 0%; }
    50%  { background-position: 50% 100%; }
    100% { background-position: 50% 0%; }
}

/* ---- FIREFLIES ---- */
.effect-firefly {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fffb00;
    box-shadow: 0 0 8px 4px rgba(255, 251, 0, 0.7);
    animation: firefly-float 3s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes firefly-float {
    0%   { transform: translate(0, 0); opacity: 0.2; }
    40%  { opacity: 1; }
    60%  { opacity: 0.8; }
    100% { transform: translate(calc(var(--tx, 30px)), calc(var(--ty, -40px))); opacity: 0.1; }
}
.effect-firefly:nth-child(odd)  { --tx: 20px;  --ty: -30px; box-shadow: 0 0 8px 4px rgba(100, 255, 100, 0.8); background: #aaffaa; }
.effect-firefly:nth-child(3n)   { --tx: -25px; --ty: -50px; box-shadow: 0 0 8px 4px rgba(255, 200, 0, 0.8); }
.effect-firefly:nth-child(4n)   { --tx: 35px;  --ty: 20px; box-shadow: 0 0 10px 5px rgba(0, 255, 200, 0.7); background: #00ffe0; }

/* ---- CONFETTI ---- */
.effect-confetti {
    position: absolute;
    top: -20px;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    animation: confetti-fall linear infinite;
    pointer-events: none;
}
@keyframes confetti-fall {
    0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    80%  { opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ---- SNOW ---- */
.effect-snow {
    position: absolute;
    top: -10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
    animation: snowfall linear infinite;
    pointer-events: none;
}
@keyframes snowfall {
    0%   { transform: translateY(-10px) translateX(0); opacity: 0.9; }
    50%  { transform: translateY(50vh) translateX(20px); }
    100% { transform: translateY(105vh) translateX(-15px); opacity: 0.3; }
}

/* ---- BUBBLES ---- */
.effect-bubble {
    position: absolute;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
    animation: bubble-rise ease-in infinite;
    pointer-events: none;
}
@keyframes bubble-rise {
    0%   { transform: translateY(0) scale(1); opacity: 0.7; }
    80%  { opacity: 0.4; }
    100% { transform: translateY(-110vh) scale(1.3); opacity: 0; }
}

/* ---- MATRIX RAIN (JS driven, canvas — just body style) ---- */
body.bg-effect-matrix-rain {
    background: #000;
}

/* ---- HEXAGON FLOAT ---- */
.effect-hexagon {
    position: absolute;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hex-float ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes hex-float {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    100% { transform: translateY(-30px) rotate(60deg); opacity: 0.15; }
}

/* ---- GEOMETRIC SPIN ---- */
.effect-geo {
    position: absolute;
    opacity: 0.15;
    color: rgba(255, 255, 255, 0.6);
    animation: geo-spin linear infinite;
    pointer-events: none;
}
@keyframes geo-spin {
    0%   { transform: rotate(0deg) scale(1); opacity: 0.1; }
    50%  { opacity: 0.3; }
    100% { transform: rotate(360deg) scale(1.2); opacity: 0.1; }
}

/* ---- CIRCUIT ---- */
.circuit-effect {
    background-image:
        linear-gradient(rgba(0,255,180,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,180,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
}
.effect-circuit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 255, 180, 0.8);
    box-shadow: 0 0 10px rgba(0, 255, 180, 0.9);
    animation: circuit-blink 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes circuit-blink {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.5); }
}

/* ---- SAKURA ---- */
.effect-sakura {
    position: absolute;
    top: -30px;
    animation: sakura-fall ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}
@keyframes sakura-fall {
    0%   { transform: translateY(-30px) rotate(0deg) translateX(0); opacity: 1; }
    50%  { transform: translateY(50vh) rotate(180deg) translateX(30px); }
    100% { transform: translateY(110vh) rotate(360deg) translateX(-20px); opacity: 0.3; }
}

/* ---- LEAVES ---- */
.effect-leaf {
    position: absolute;
    top: -30px;
    animation: leaf-fall ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}
@keyframes leaf-fall {
    0%   { transform: translateY(-30px) rotate(0deg) translateX(0); opacity: 1; }
    33%  { transform: translateY(33vh) rotate(120deg) translateX(40px); }
    66%  { transform: translateY(66vh) rotate(250deg) translateX(-30px); }
    100% { transform: translateY(110vh) rotate(360deg) translateX(10px); opacity: 0.4; }
}

/* ---- RAIN ---- */
.effect-rain-drop {
    position: absolute;
    top: -20px;
    width: 1.5px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
    border-radius: 0 0 2px 2px;
    animation: rain-fall linear infinite;
    pointer-events: none;
}
@keyframes rain-fall {
    0%   { transform: translateY(-20px); opacity: 0.7; }
    100% { transform: translateY(105vh); opacity: 0.3; }
}

/* ---- FOG DRIFT ---- */
.effect-fog {
    position: absolute;
    left: -50%;
    width: 200%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(30px);
    border-radius: 50%;
    animation: fog-drift ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes fog-drift {
    0%   { transform: translateX(-10%); opacity: 0.1; }
    100% { transform: translateX(10%);  opacity: 0.3; }
}

/* ---- GALAXY SPIN ---- */
.galaxy-effect {
    animation: galaxy-rotate 60s linear infinite;
    transform-origin: 50% 50%;
}
.effect-galaxy-star {
    position: absolute;
    border-radius: 50%;
    background: white;
    animation: galaxy-twinkle ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes galaxy-twinkle {
    0%   { opacity: 0.1; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.8); }
}
@keyframes galaxy-rotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---- GALAXY SPIN: body background ---- */
body.bg-effect-galaxy-spin {
    background: radial-gradient(ellipse at center, #1a0533 0%, #0a001a 60%, #000010 100%);
}

/* ---- ANIMATED GRADIENT (original, body-level animation support) ---- */
body.bg-effect-animated-gradient {
    background-size: 400% 400% !important;
    animation: animated-gradient-shift 8s ease infinite;
}
@keyframes animated-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ensure content always sits above all background effects */
body > .profile-wrapper,
body > [class*="profile"] {
    position: relative;
    z-index: 2;
}

/* Lemon8 Style Micro-Blog Card in Live Preview */
.phone-screen .folder-blog-card {
    position: relative;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}
.phone-screen .folder-blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffd700;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.phone-screen .folder-blog-text {
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
    color: #ffffff;
}

/* Adaptive styles for light background themes inside preview */
.phone-screen[style*="color: rgb(15, 23, 42)"] .folder-blog-card,
.phone-screen[style*="color: rgb(74, 14, 23)"] .folder-blog-card,
.phone-screen[style*="color: rgb(6, 95, 70)"] .folder-blog-card,
.phone-screen[style*="color: #0f172a"] .folder-blog-card,
.phone-screen[style*="color: #4a0e17"] .folder-blog-card,
.phone-screen[style*="color: #065f46"] .folder-blog-card {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.09) !important;
}
.phone-screen[style*="color: rgb(15, 23, 42)"] .folder-blog-text,
.phone-screen[style*="color: rgb(74, 14, 23)"] .folder-blog-text,
.phone-screen[style*="color: rgb(6, 95, 70)"] .folder-blog-text,
.phone-screen[style*="color: #0f172a"] .folder-blog-text,
.phone-screen[style*="color: #4a0e17"] .folder-blog-text,
.phone-screen[style*="color: #065f46"] .folder-blog-text {
    color: inherit !important;
}
.phone-screen[style*="color: rgb(15, 23, 42)"] .folder-blog-badge,
.phone-screen[style*="color: rgb(74, 14, 23)"] .folder-blog-badge,
.phone-screen[style*="color: rgb(6, 95, 70)"] .folder-blog-badge,
.phone-screen[style*="color: #0f172a"] .folder-blog-badge,
.phone-screen[style*="color: #4a0e17"] .folder-blog-badge,
.phone-screen[style*="color: #065f46"] .folder-blog-badge {
    background-color: rgba(255, 59, 48, 0.09) !important;
    color: #ff3b30 !important;
}

/* Toggle Switch Slider Styling */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}
.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch input:checked + .slider {
    background-color: #ff3b30;
}
.toggle-switch input:checked + .slider:before {
    transform: translateX(20px);
}

/* Dashboard Product Type Badge (Symmetrical placement) */
.type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    border-radius: 20px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.type-badge.shop {
    background: #0284c7;
}
.type-badge.jastip {
    background: #d97706;
}
.type-badge.affiliate {
    background: #10b981;
}

/* Floating Shopping Cart FAB on Bio page */
.phone-cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ff3b30;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.phone-cart-fab:hover {
    transform: scale(1.08);
}
.phone-cart-fab.pulse {
    animation: cartPulse 2s infinite;
}
@keyframes cartPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}
.phone-cart-fab .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ffffff;
    color: #ff3b30;
    font-size: 10px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid #ff3b30;
}

/* Glassmorphic Sliding Drawer Overlay */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Glassmorphic Sliding Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: rgba(15, 23, 42, 0.85); /* Slate 900 Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.cart-drawer.active {
    right: 0;
}
.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-close-drawer {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.btn-close-drawer:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Cart Item Row */
.cart-item-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: flex-start;
}
.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255,255,255,0.05);
}
.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cart-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}
.cart-item-price {
    font-size: 12px;
    font-weight: 600;
    color: #ff3b30;
}
.cart-item-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
.cart-item-qty-controls button {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cart-item-qty-controls button:hover {
    background: rgba(255,255,255,0.15);
}
.cart-item-qty-controls span {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

/* Jastip Request Modal */
.jastip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.jastip-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.jastip-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 90%;
    max-width: 440px;
    background: rgba(15, 23, 42, 0.9); /* slate-900 glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.jastip-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}
.jastip-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.form-group-checkout label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
}
.form-group-checkout input, 
.form-group-checkout textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-size: 13px;
    outline: none;
}
.form-group-checkout input:focus,
.form-group-checkout textarea:focus {
    border-color: #ff3b30;
}

/* Sorot Produk (Highlight Featured Glow) */
.phone-prod-card.highlighted-card {
    position: relative;
    border: 2.5px solid #ff3b30 !important;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.45), inset 0 0 10px rgba(255, 59, 48, 0.1);
    animation: glowPulse 2.5s infinite ease-in-out;
}
@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(255, 59, 48, 0.35); }
    50% { box-shadow: 0 0 28px rgba(255, 59, 48, 0.7); }
    100% { box-shadow: 0 0 15px rgba(255, 59, 48, 0.35); }
}
/* Adaptive glow border for light themes in preview */
.phone-screen[style*="color: rgb(15, 23, 42)"] .phone-prod-card.highlighted-card,
.phone-screen[style*="color: #0f172a"] .phone-prod-card.highlighted-card {
    border-color: #ef4444 !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}

.featured-ribbon {
    position: absolute;
    top: -10px;
    left: 12px;
    background: linear-gradient(135deg, #ff3b30 0%, #ef4444 100%);
    color: #ffffff !important;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 59, 48, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}




