:root {
    --primary: #E84B8A;
    --primary-dark: #C41860;
    --primary-light: #F366A8;
    --secondary: #9B6BA8;
    --secondary-light: #C7A3D8;
    --accent-pink: #F8D9ED;
    --accent-lavender: #EFE1F8;
    --accent-rose: #FAE8F4;
    --ivory: #FAFAF9;
    --blush: #F5F0F8;
    --white: #FFFFFF;
    --gray-light: #F5F5F4;
    --gray-warm: #EFEFEF;
    --gray-text: #666666;
    --text-dark: #2D2D2D;
    --text-muted: #757575;
    --text-light: #A0A0A0;
    --border-gold: rgba(232, 75, 138, 0.15);
    --border-subtle: rgba(232, 75, 138, 0.08);
    --shadow-soft: 0 4px 16px rgba(232, 75, 138, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 999px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 56px;
    --transition-fast: 0.12s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --burgundy: var(--primary-dark);
    --burgundy-dark: #4A1020;
    --champagne: #F8D9ED;
    --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
    background: var(--ivory);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.3px;
}

.layout {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 270px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 28px 22px;
    position: fixed;
    top: 0;
    left: 0;
    color: var(--white);
    box-shadow: 8px 0 32px rgba(232, 75, 138, 0.15);
    transition: width 0.25s ease, padding 0.25s ease, left 0.25s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    backdrop-filter: blur(10px);
}

.brand h2 {
    margin: 0;
    font-size: 25px;
    letter-spacing: 0.5px;
}

.brand p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.menu a {
    color: var(--white);
    text-decoration: none;
    padding: 13px 15px;
    border-radius: 16px;
    font-size: 15px;
    transition: 0.2s;
}

.menu a:hover,
.menu a.active {
    background: rgba(255, 255, 255, 0.14);
    color: var(--champagne);
}

.main-content {
    margin-left: 270px;
    width: calc(100% - 270px);
    padding: 46px;
    transition: margin-left 0.25s ease, width 0.25s ease;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: 34px;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-lavender) 100%);
    border: 1px solid rgba(232, 75, 138, 0.1);
    border-radius: 24px;
    padding: 56px;
    box-shadow: var(--shadow-soft);
}

.subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px;
    font-size: 12px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0 0 18px;
    max-width: 760px;
    font-weight: 700;
}

.description {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0;
    animation: scaleIn 0.24s ease-out;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(232, 75, 138, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232, 75, 138, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(155, 107, 168, 0.25);
}

.btn-secondary:hover {
    background: #7D4E8C;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(155, 107, 168, 0.35);
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid rgba(232, 75, 138, 0.1);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 75, 138, 0.2);
}

.card-label {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    margin: 0 0 var(--space-md);
}

.hero-card h3 {
    color: var(--text-dark);
    font-size: 24px;
    margin: 0 0 var(--space-md);
    font-weight: 700;
}

.hero-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.quick-section {
    margin-top: var(--space-2xl);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.quick-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(232, 75, 138, 0.1);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
    animation: fadeInUp 0.48s ease-out;
}

.quick-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 75, 138, 0.2);
}

.quick-card h3 {
    color: var(--text-dark);
    margin: 0 0 var(--space-md);
    font-size: 20px;
    font-weight: 700;
}

.quick-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

@media (max-width: 950px) {
    .layout {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -290px;
        width: 280px;
        height: 100vh;
        min-height: 100vh;
        z-index: 1100;
        transition: left 0.25s ease;
        overflow-y: auto;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 22px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .quick-section {
        grid-template-columns: 1fr;
    }
}

.page-header {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-lavender) 100%);
    border: 1px solid rgba(232, 75, 138, 0.1);
    border-radius: 24px;
    padding: var(--space-3xl);
    box-shadow: var(--shadow-sm);
}

.page-header h1 {
    font-size: 44px;
    color: var(--text-dark);
    margin: 0 0 var(--space-md);
    font-weight: 700;
}

.placeholder-section {
    margin-top: var(--space-2xl);
}

.placeholder-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.placeholder-card:hover {
    box-shadow: var(--shadow-md);
}

.placeholder-card h3 {
    color: var(--burgundy);
    margin: 0 0 var(--space-md);
    font-size: 24px;
    font-weight: 600;
}

.placeholder-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.shop-header {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: var(--space-2xl);
    align-items: stretch;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-rose) 100%);
    border: 1px solid rgba(232, 75, 138, 0.1);
    border-radius: 24px;
    padding: var(--space-3xl);
    box-shadow: var(--shadow-sm);
}

.shop-header h1 {
    color: var(--text-dark);
    font-size: 42px;
    line-height: 1.2;
    margin: 0 0 var(--space-md);
    font-weight: 700;
}

.shop-note {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.shop-note h3 {
    color: var(--burgundy);
    margin: 0 0 var(--space-md);
    font-size: 20px;
    font-weight: 600;
}

.shop-note p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.shop-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
}

.filter-pill {
    border: 1.5px solid rgba(232, 75, 138, 0.2);
    background: var(--white);
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 14px;
}

.filter-pill:hover {
    border-color: var(--primary);
    background: var(--accent-lavender);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(232, 75, 138, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(232, 75, 138, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
    animation: fadeInUp 0.48s ease-out;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 75, 138, 0.2);
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-rose));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 22px;
    overflow: hidden;
}

.product-content {
    padding: var(--space-lg);
}

.product-type {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 var(--space-sm);
    letter-spacing: 0.8px;
}

.product-content h3 {
    color: var(--text-dark);
    margin: 0 0 var(--space-sm);
    font-size: 20px;
    font-weight: 700;
}

.product-short {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0 var(--space-md);
    font-size: 15px;
}

.product-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
    min-height: 88px;
    margin: 0;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.product-bottom strong {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
}

.small-btn {
    text-decoration: none;
    background: var(--primary);
    color: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(232, 75, 138, 0.25);
}

.small-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 75, 138, 0.35);
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    .shop-header {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .shop-header h1 {
        font-size: 32px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

.material-image {
    background: linear-gradient(135deg, #fff7e6, var(--blush));
}

.menu-toggle,
.mobile-topbar,
.mobile-overlay {
    display: none;
}

@media (max-width: 950px) {
    body {
        padding-top: 72px;
    }

    .mobile-topbar {
        display: flex;
        align-items: center;
        gap: 14px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 72px;
        padding: 0 18px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: var(--white);
        z-index: 1000;
        box-shadow: 0 4px 16px rgba(232, 75, 138, 0.2);
    }

    .mobile-topbar strong {
        display: block;
        font-size: 16px;
        font-weight: 700;
    }

    .mobile-topbar span {
        display: block;
        color: rgba(255, 255, 255, 0.9);
        font-size: 12px;
        margin-top: 2px;
        font-weight: 500;
    }

    .hamburger {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.2);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
    }

    .menu-toggle:checked ~ .layout .sidebar {
        left: 0;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1050;
    }

    .menu-toggle:checked ~ .mobile-overlay {
        display: block;
    }

    .hero-section,
    .shop-header,
    .page-header {
        border-radius: 26px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .product-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .small-btn {
        width: 100%;
        text-align: center;
    }
}

.custom-header {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: var(--space-2xl);
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-soft);
}

.custom-header h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 var(--space-md);
    font-weight: 600;
}

.custom-process-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.custom-process-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--champagne);
}

.custom-process-card h3 {
    color: var(--burgundy);
    margin: 0 0 var(--space-md);
    font-weight: 600;
}

.custom-process-card ol {
    margin: 0;
    padding-left: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.builder-section {
    margin-top: var(--space-2xl);
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.builder-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.step-item {
    border: 1.5px solid rgba(216, 181, 109, 0.4);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    background: var(--gray-light);
    transition: all var(--transition-base);
    text-align: center;
}

.step-item:hover {
    border-color: #E84B8A;
    background: #FAE8F4;
}

.step-item span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: #E84B8A;
    border: 2px solid rgba(232, 75, 138, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto var(--space-sm);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(232, 75, 138, 0.15);
}

.step-item p {
    margin: 8px 0 0;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15px;
}

.step-item.active {
    background: linear-gradient(135deg, #E84B8A, #C41860);
    border-color: #E84B8A;
    box-shadow: 0 8px 20px rgba(232, 75, 138, 0.25);
}

.step-item.active span {
    background: #F8D9ED;
    color: #E84B8A;
    border-color: #E84B8A;
    transform: scale(1.1);
    font-size: 22px;
}

.step-item.active p {
    color: var(--white);
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group.full {
    width: 100%;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
}

.form-group select,
.form-group textarea,
.upload-box input {
    width: 100%;
    border: 1.5px solid rgba(232, 75, 138, 0.2);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group select:focus,
.form-group textarea:focus,
.upload-box input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 75, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.upload-box {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 22px;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-lavender), var(--accent-rose));
    border: 2px dashed rgba(232, 75, 138, 0.3);
    border-radius: 16px;
    padding: 26px;
}

.upload-box h3 {
    color: var(--primary);
    margin: 0 0 8px;
    font-weight: 700;
}

.upload-box p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

.warning-box {
    background: var(--accent-rose);
    border: 1px solid rgba(232, 75, 138, 0.2);
    color: var(--text-dark);
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    line-height: 1.6;
    font-weight: 600;
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.form-actions button {
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

@media (max-width: 950px) {
    .custom-header {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .custom-header h1 {
        font-size: 32px;
    }

    .builder-section {
        padding: 24px;
        border-radius: 26px;
    }

    .builder-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .upload-box {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }
}

.preview-header {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 32px;
    padding: 46px;
    box-shadow: var(--shadow-soft);
}

.preview-header h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.preview-warning {
    background: #fff7e6;
    border: 1px solid var(--border-gold);
    border-radius: 26px;
    padding: 26px;
}

.preview-warning h3 {
    color: var(--burgundy);
    margin-top: 0;
}

.preview-warning p {
    color: var(--burgundy-dark);
    line-height: 1.7;
    font-weight: bold;
}

.preview-workspace {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
}

.preview-board,
.preview-panel {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.preview-label {
    display: inline-block;
    background: var(--burgundy);
    color: var(--white);
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 26px;
}

.resin-preview {
    min-height: 480px;
    background: linear-gradient(135deg, var(--ivory), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.resin-shape {
    width: 250px;
    height: 330px;
    border-radius: 120px 120px 34px 34px;
    background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.85), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(249, 232, 232, 0.45));
    border: 2px solid rgba(216, 181, 109, 0.65);
    box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.9),
    0 24px 50px rgba(122, 30, 53, 0.16);
    position: relative;
    overflow: hidden;
}

.flower,
.petal,
.spark {
    position: absolute;
}

.flower {
    width: 54px;
    height: 54px;
    background: var(--burgundy);
    border-radius: 50% 50% 48% 48%;
    opacity: 0.85;
}

.flower::before,
.flower::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
    background: inherit;
    border-radius: 50%;
}

.flower::before {
    left: -20px;
    top: 8px;
}

.flower::after {
    right: -20px;
    top: 8px;
}

.flower-one {
    top: 92px;
    left: 92px;
}

.flower-two {
    top: 180px;
    left: 52px;
    transform: scale(0.72);
    background: #B75A70;
}

.flower-three {
    top: 215px;
    right: 48px;
    transform: scale(0.62);
    background: #D8B56D;
}

.petal {
    width: 70px;
    height: 22px;
    background: rgba(183, 90, 112, 0.38);
    border-radius: 50%;
}

.petal-one {
    top: 145px;
    right: 44px;
    transform: rotate(-28deg);
}

.petal-two {
    bottom: 70px;
    left: 70px;
    transform: rotate(22deg);
}

.spark {
    width: 8px;
    height: 8px;
    background: var(--champagne);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(216, 181, 109, 0.9);
}

.spark-one {
    top: 72px;
    right: 72px;
}

.spark-two {
    bottom: 110px;
    left: 118px;
}

.preview-base {
    margin-top: 18px;
    min-width: 260px;
    text-align: center;
    background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
    color: var(--champagne);
    padding: 14px 20px;
    border-radius: 18px;
    font-weight: bold;
    box-shadow: 0 12px 26px rgba(84, 19, 35, 0.2);
}

.preview-caption {
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    margin: 22px 0 0;
}

.preview-caption strong {
    color: var(--burgundy);
}

.preview-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.summary-card {
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 22px;
    background: var(--ivory);
}

.summary-card h3 {
    margin: 0 0 16px;
    color: var(--burgundy);
}

.summary-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(216, 181, 109, 0.35);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span {
    color: var(--text-muted);
}

.summary-row strong {
    color: var(--burgundy-dark);
    text-align: right;
}

.preview-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preview-options button {
    border: 1px solid var(--border-gold);
    background: var(--white);
    color: var(--burgundy);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: bold;
    cursor: pointer;
}

.preview-options button:hover {
    background: var(--burgundy);
    color: var(--white);
}

.small-note {
    margin-top: 14px !important;
    font-size: 13px;
}

.preview-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 950px) {
    .preview-header {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .preview-header h1 {
        font-size: 32px;
    }

    .preview-workspace {
        grid-template-columns: 1fr;
    }

    .preview-board,
    .preview-panel {
        padding: 24px;
        border-radius: 26px;
    }

    .resin-preview {
        min-height: 420px;
    }

    .resin-shape {
        width: 210px;
        height: 290px;
    }

    .preview-base {
        min-width: 220px;
    }

    .summary-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .summary-row strong {
        text-align: left;
    }

    .preview-actions {
        flex-direction: column;
    }
}

.ai-studio-header {
    display: grid;
    grid-template-columns: 1.3fr 0.75fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 32px;
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.ai-studio-header h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.ai-warning-card {
    background: #fff7e6;
    border: 1px solid var(--border-gold);
    border-radius: 26px;
    padding: 24px;
}

.ai-warning-card h3 {
    margin-top: 0;
    color: var(--burgundy);
}

.ai-warning-card p {
    color: var(--burgundy-dark);
    line-height: 1.7;
    font-weight: bold;
}

.ai-editor-shell {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 310px minmax(420px, 1fr) 330px;
    gap: 20px;
    align-items: stretch;
}

.ai-chat-panel,
.ai-canvas-area,
.ai-settings-panel {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.ai-chat-panel,
.ai-settings-panel {
    padding: 22px;
}

.panel-title {
    margin-bottom: 18px;
}

.panel-title h3 {
    color: var(--burgundy);
    margin: 0;
}

.panel-title span {
    color: var(--text-muted);
    font-size: 13px;
}

.chat-thread {
    height: 390px;
    overflow-y: auto;
    background: var(--ivory);
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 22px;
    padding: 14px;
}

.chat-message {
    padding: 12px 14px;
    border-radius: 18px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.chat-message strong {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.chat-message p {
    margin: 0;
    font-size: 14px;
}

.chat-message.ai {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid rgba(216, 181, 109, 0.35);
}

.chat-message.user {
    background: #E84B8A;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(232, 75, 138, 0.3);
}

.prompt-suggestions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.prompt-suggestions button {
    border: 1px solid var(--border-gold);
    background: var(--white);
    color: var(--burgundy);
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
}

.prompt-suggestions button:hover {
    background: var(--burgundy);
    color: var(--white);
}

.ai-chat-form {
    display: flex;
    gap: 8px;
}

.ai-chat-form input {
    flex: 1;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 12px 14px;
    background: var(--ivory);
}

.ai-chat-form button {
    border: none;
    border-radius: 999px;
    background: var(--burgundy);
    color: var(--white);
    padding: 0 18px;
    font-weight: bold;
    cursor: pointer;
}

.ai-canvas-area {
    overflow: hidden;
}

.canvas-toolbar {
    min-height: 70px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(216, 181, 109, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.canvas-toolbar strong {
    display: block;
    color: var(--burgundy-dark);
}

.canvas-toolbar span {
    color: var(--text-muted);
    font-size: 13px;
}

.canvas-actions {
    display: flex;
    gap: 8px;
}

.canvas-actions button {
    border: 1px solid var(--border-gold);
    background: var(--ivory);
    color: var(--burgundy);
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: bold;
    cursor: pointer;
}

.canvas-stage {
    min-height: 570px;
    background: linear-gradient(90deg, rgba(216, 181, 109, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(216, 181, 109, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--ivory), var(--blush));
    background-size: 28px 28px, 28px 28px, auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.canvas-product {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-resin-shape {
    width: 260px;
    height: 350px;
}

.ai-preview-base {
    min-width: 270px;
}

.ai-change-log {
    padding: 18px 22px;
    border-top: 1px solid rgba(216, 181, 109, 0.35);
    color: var(--text-muted);
    line-height: 1.6;
}

.ai-change-log strong {
    color: var(--burgundy);
}

.ai-settings-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vertical-actions {
    flex-direction: column;
}

.vertical-actions .btn {
    text-align: center;
}

@media (max-width: 1300px) {
    .ai-editor-shell {
        grid-template-columns: 1fr;
    }

    .chat-thread {
        height: 260px;
    }

    .ai-settings-panel {
        order: 3;
    }

    .ai-canvas-area {
        order: 2;
    }

    .ai-chat-panel {
        order: 1;
    }
}

@media (max-width: 950px) {
    .ai-studio-header {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .ai-studio-header h1 {
        font-size: 32px;
    }

    .canvas-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .canvas-actions {
        width: 100%;
        flex-direction: column;
    }

    .canvas-actions button {
        width: 100%;
    }

    .canvas-stage {
        min-height: 430px;
        padding: 22px;
    }

    .ai-resin-shape {
        width: 210px;
        height: 290px;
    }

    .ai-preview-base {
        min-width: 220px;
    }

    .ai-chat-form {
        flex-direction: column;
    }

    .ai-chat-form button {
        padding: 12px 18px;
    }
}

.address-header {
    display: grid;
    grid-template-columns: 1.3fr 0.75fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 32px;
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.address-header h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.address-layout {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.address-form,
.address-side-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.address-form h2 {
    color: var(--burgundy);
    margin-top: 0;
}

.form-group input {
    width: 100%;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.address-side-card h3 {
    color: var(--burgundy);
    margin-top: 0;
}

.mini-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-step {
    border: 1px solid rgba(216, 181, 109, 0.45);
    background: var(--ivory);
    color: var(--text-muted);
    padding: 13px 14px;
    border-radius: 16px;
    font-weight: bold;
}

.mini-step.done {
    background: rgba(216, 181, 109, 0.18);
    color: var(--burgundy-dark);
}

.mini-step.active {
    background: var(--burgundy);
    color: var(--white);
}

@media (max-width: 950px) {
    .address-header {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .address-header h1 {
        font-size: 32px;
    }

    .address-layout {
        grid-template-columns: 1fr;
    }

    .address-form,
    .address-side-card {
        padding: 24px;
        border-radius: 26px;
    }
}

.tracking-header {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 32px;
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.tracking-header h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.tracking-search {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 26px;
    padding: 24px;
}

.tracking-search label {
    display: block;
    color: var(--burgundy-dark);
    font-weight: bold;
    margin-bottom: 10px;
}

.tracking-search-row {
    display: flex;
    gap: 10px;
}

.tracking-search-row input {
    flex: 1;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 13px 16px;
    background: var(--ivory);
    color: var(--text-dark);
}

.tracking-search-row button {
    border: none;
    border-radius: 999px;
    padding: 0 20px;
    background: var(--burgundy);
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
}

.tracking-search p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.tracking-search strong {
    color: var(--burgundy);
}

.tracking-layout {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.tracking-main-card,
.tracking-info-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.tracking-main-card {
    padding: 30px;
}

.order-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.order-summary div {
    background: var(--ivory);
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 20px;
    padding: 18px;
}

.order-summary span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.order-summary strong {
    color: var(--burgundy-dark);
    line-height: 1.4;
}

.timeline {
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    position: relative;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 22px;
    width: 2px;
    height: calc(100% - 24px);
    background: rgba(216, 181, 109, 0.45);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ivory);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: bold;
    z-index: 1;
}

.timeline-content {
    background: var(--ivory);
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 22px;
    padding: 18px 20px;
}

.timeline-content h3 {
    margin: 0 0 8px;
    color: var(--burgundy);
}

.timeline-content p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.timeline-item.completed .timeline-marker {
    background: var(--champagne);
    color: var(--burgundy-dark);
    border-color: var(--champagne);
}

.timeline-item.completed .timeline-content {
    background: rgba(216, 181, 109, 0.14);
}

.timeline-item.current .timeline-marker {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
    box-shadow: 0 0 0 6px rgba(122, 30, 53, 0.12);
}

.timeline-item.current .timeline-content {
    border-color: var(--burgundy);
}

.tracking-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tracking-info-card {
    padding: 24px;
}

.tracking-info-card h3 {
    color: var(--burgundy);
    margin-top: 0;
}

.tracking-info-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.tracking-contact-btn {
    display: inline-block;
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .order-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    .tracking-header {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .tracking-header h1 {
        font-size: 32px;
    }

    .tracking-search-row {
        flex-direction: column;
    }

    .tracking-search-row button {
        padding: 13px 20px;
    }

    .tracking-layout {
        grid-template-columns: 1fr;
    }

    .tracking-main-card,
    .tracking-info-card {
        border-radius: 26px;
    }

    .tracking-main-card {
        padding: 22px;
    }

    .order-summary {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }

    .timeline-marker {
        width: 38px;
        height: 38px;
    }

    .timeline-item::before {
        left: 18px;
    }
}

.info-header {
    display: grid;
    grid-template-columns: 1.3fr 0.75fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 32px;
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.info-header h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.info-highlight {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 26px;
    padding: 24px;
}

.info-highlight h3 {
    color: var(--burgundy);
    margin-top: 0;
}

.info-highlight p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.warning-highlight {
    background: #fff7e6;
}

.warning-highlight p {
    color: var(--burgundy-dark);
    font-weight: bold;
}

.guide-layout {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-card,
.policy-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.large-guide {
    grid-column: span 2;
}

.guide-badge {
    display: inline-block;
    background: rgba(216, 181, 109, 0.18);
    color: var(--burgundy);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 14px;
}

.guide-card h2,
.policy-card h2 {
    color: var(--burgundy);
    margin: 0 0 14px;
    font-size: 23px;
}

.guide-card p,
.guide-card li,
.policy-card li {
    color: var(--text-muted);
    line-height: 1.7;
}

.guide-card ol,
.policy-card ul {
    margin-bottom: 0;
    padding-left: 22px;
}

.policy-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.policy-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 1100px) {
    .guide-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .large-guide {
        grid-column: span 2;
    }
}

@media (max-width: 950px) {
    .info-header {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .info-header h1 {
        font-size: 32px;
    }

    .guide-layout,
    .policy-grid {
        grid-template-columns: 1fr;
    }

    .large-guide {
        grid-column: span 1;
    }

    .guide-card,
    .policy-card {
        padding: 24px;
        border-radius: 26px;
    }
}

.sidebar-collapse-btn {
    position: absolute;
    top: 28px;
    right: -17px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
    background: var(--champagne);
    color: var(--burgundy-dark);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(84, 19, 35, 0.18);
    z-index: 20;
}

.sidebar-collapse-btn:hover {
    background: var(--white);
}

.menu a::before {
    display: none;
}

body.sidebar-collapsed .sidebar {
    width: 92px;
    padding: 28px 14px;
}

body.sidebar-collapsed .main-content {
    margin-left: 92px;
    width: calc(100% - 92px);
}

body.sidebar-collapsed .brand {
    justify-content: center;
    gap: 0;
}

body.sidebar-collapsed .brand > div:not(.brand-icon) {
    display: none;
}

body.sidebar-collapsed .brand-icon {
    width: 48px;
    height: 48px;
}

body.sidebar-collapsed .menu {
    align-items: center;
}

body.sidebar-collapsed .menu a {
    width: 54px;
    height: 54px;
    padding: 0;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.sidebar-collapsed .menu a::before {
    display: block;
    font-size: 22px;
    line-height: 1;
}

body.sidebar-collapsed .menu a:nth-child(1)::before {
    content: "⌂";
}

body.sidebar-collapsed .menu a:nth-child(2)::before {
    content: "▣";
}

body.sidebar-collapsed .menu a:nth-child(3)::before {
    content: "◇";
}

body.sidebar-collapsed .menu a:nth-child(4)::before {
    content: "✦";
}

body.sidebar-collapsed .menu a:nth-child(5)::before {
    content: "AI";
    font-size: 15px;
    font-weight: bold;
}

body.sidebar-collapsed .menu a:nth-child(6)::before {
    content: "▧";
}

body.sidebar-collapsed .menu a:nth-child(7)::before {
    content: "⌕";
}

body.sidebar-collapsed .menu a:nth-child(8)::before {
    content: "?";
    font-size: 20px;
    font-weight: bold;
}

body.sidebar-collapsed .menu a:nth-child(9)::before {
    content: "!";
    font-size: 20px;
    font-weight: bold;
}

body.sidebar-collapsed .menu a:nth-child(10)::before {
    content: "✉";
}

@media (max-width: 950px) {
    .sidebar-collapse-btn {
        display: none;
    }

    body.sidebar-collapsed .sidebar {
        width: 280px;
        padding: 28px 22px;
    }

    body.sidebar-collapsed .main-content {
        margin-left: 0;
        width: 100%;
    }

    body.sidebar-collapsed .brand > div:not(.brand-icon) {
        display: block;
    }

    body.sidebar-collapsed .menu a {
        width: auto;
        height: auto;
        padding: 13px 15px;
        font-size: 15px;
        display: block;
    }

    body.sidebar-collapsed .menu a::before {
        display: none;
    }
}

.contact-header {
    display: grid;
    grid-template-columns: 1.3fr 0.75fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 32px;
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.contact-header h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.contact-highlight,
.contact-form,
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.contact-highlight {
    padding: 24px;
}

.contact-highlight h3,
.contact-form h2,
.contact-info-card h3 {
    color: var(--burgundy);
    margin-top: 0;
}

.contact-highlight p,
.contact-info-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-layout {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 24px;
    align-items: start;
}

.contact-form {
    padding: 30px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-card {
    padding: 24px;
}

.success-box {
    background: rgba(216, 181, 109, 0.18);
    border: 1px solid var(--border-gold);
    color: var(--burgundy-dark);
    padding: 16px 18px;
    border-radius: 18px;
    line-height: 1.6;
    margin-bottom: 22px;
}

@media (max-width: 950px) {
    .contact-header {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .contact-header h1 {
        font-size: 32px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info-card {
        padding: 24px;
        border-radius: 26px;
    }
}

.product-stock {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
}

.product-stock strong {
    color: var(--burgundy);
}

.admin-sidebar {
    background: linear-gradient(180deg, #4A1020, var(--burgundy-dark));
}

.admin-header {
    display: grid;
    grid-template-columns: 1.3fr 0.75fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 32px;
    padding: 42px;
    box-shadow: var(--shadow-soft);
}

.admin-header h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.admin-note-card,
.admin-stat-card,
.admin-table-card,
.admin-side-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.admin-note-card {
    padding: 24px;
}

.admin-note-card h3 {
    color: var(--burgundy);
    margin-top: 0;
}

.admin-note-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.admin-stats-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.admin-stat-card {
    padding: 24px;
}

.admin-stat-card span {
    display: block;
    color: var(--text-muted);
    font-weight: bold;
    margin-bottom: 12px;
}

.admin-stat-card strong {
    color: var(--burgundy);
    font-size: 34px;
}

.admin-stat-card.warning strong {
    color: #B45309;
}

.admin-stat-card.wide {
    grid-column: span 2;
}

.admin-content-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.admin-table-card,
.admin-side-card {
    padding: 28px;
}

.admin-card-title h2,
.admin-side-card h2 {
    color: var(--burgundy);
    margin: 0 0 8px;
}

.admin-card-title p {
    color: var(--text-muted);
    margin-top: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(216, 181, 109, 0.35);
}

.admin-table th {
    color: var(--burgundy-dark);
    background: var(--ivory);
}

.admin-table td {
    color: var(--text-muted);
}

.stock-badge {
    display: inline-block;
    background: #fff7e6;
    color: var(--burgundy-dark);
    border: 1px solid var(--border-gold);
    padding: 7px 11px;
    border-radius: 999px;
    font-weight: bold;
}

.admin-side-card ul {
    color: var(--text-muted);
    line-height: 1.8;
    padding-left: 22px;
}

@media (max-width: 1200px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 950px) {
    .admin-header {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .admin-header h1 {
        font-size: 32px;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-stat-card.wide {
        grid-column: span 1;
    }

    .admin-table-card {
        overflow-x: auto;
    }

    .admin-table {
        min-width: 620px;
    }
}

.admin-products-card {
    margin-top: 28px;
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.admin-products-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-products-top h2 {
    color: var(--burgundy);
    margin: 0 0 8px;
}

.admin-products-top p {
    color: var(--text-muted);
    margin: 0;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.products-table {
    min-width: 960px;
}

.product-admin-name {
    display: block;
    color: var(--burgundy-dark);
    margin-bottom: 5px;
}

.product-admin-desc {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.status-badge {
    display: inline-block;
    background: rgba(216, 181, 109, 0.18);
    color: var(--burgundy);
    border: 1px solid var(--border-gold);
    padding: 7px 11px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 13px;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.table-actions a {
    text-decoration: none;
    color: var(--burgundy);
    background: var(--ivory);
    border: 1px solid var(--border-gold);
    padding: 8px 11px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 13px;
}

.table-actions a:hover {
    background: var(--burgundy);
    color: var(--white);
}

@media (max-width: 950px) {
    .admin-products-card {
        padding: 22px;
        border-radius: 26px;
    }

    .admin-products-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-products-top .btn {
        width: 100%;
    }
}

.admin-form-card {
    margin-top: 28px;
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.admin-product-form input,
.admin-product-form select,
.admin-product-form textarea {
    width: 100%;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.admin-product-form textarea {
    resize: vertical;
}

.admin-product-form button {
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

@media (max-width: 950px) {
    .admin-form-card {
        padding: 24px;
        border-radius: 26px;
    }
}

.table-actions form {
    margin: 0;
}

.table-action-btn {
    border: 1px solid var(--border-gold);
    background: var(--ivory);
    color: var(--burgundy);
    padding: 8px 11px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.table-action-btn:hover {
    background: var(--burgundy);
    color: var(--white);
}

.danger-action {
    color: #9F1239;
}

.danger-action:hover {
    background: #9F1239;
    color: var(--white);
}

.show-action {
    color: #166534;
}

.show-action:hover {
    background: #166534;
    color: var(--white);
}

.hidden-status {
    background: #F3F4F6;
    color: #6B7280;
    border-color: #D1D5DB;
}

.order-detail-layout {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.order-detail-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-detail-card,
.order-update-panel {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.order-detail-card h2,
.order-update-form h2 {
    color: var(--burgundy);
    margin-top: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.detail-item,
.detail-block {
    background: var(--ivory);
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 20px;
    padding: 18px;
}

.detail-item span,
.detail-block span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}

.detail-item strong {
    color: var(--burgundy-dark);
    line-height: 1.5;
}

.detail-block {
    margin-bottom: 14px;
}

.detail-block:last-child {
    margin-bottom: 0;
}

.detail-block p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.detail-block.compact {
    margin-top: 18px;
}

.order-update-form select,
.order-update-form input {
    width: 100%;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.order-update-form button {
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

@media (max-width: 1100px) {
    .order-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 950px) {
    .order-detail-card,
    .order-update-panel {
        padding: 24px;
        border-radius: 26px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.real-order-notice,
.sample-order-notice {
    border-radius: 18px;
    padding: 15px 18px;
    line-height: 1.6;
    font-weight: bold;
    margin-bottom: 24px;
}

.real-order-notice {
    background: rgba(216, 181, 109, 0.18);
    border: 1px solid var(--border-gold);
    color: var(--burgundy-dark);
}

.sample-order-notice {
    background: #fff7e6;
    border: 1px solid var(--border-gold);
    color: #92400E;
}

.error-box {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
    padding: 16px 18px;
    border-radius: 18px;
    line-height: 1.6;
    font-weight: bold;
    margin-bottom: 22px;
}

.revenue-stats-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.revenue-main-card {
    grid-column: span 2;
}

.revenue-main-card strong {
    font-size: 38px;
}

.revenue-layout {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.revenue-side-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.revenue-side-card h2 {
    color: var(--burgundy);
    margin-top: 0;
}

.revenue-mini-card {
    background: var(--ivory);
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 14px;
}

.revenue-mini-card span {
    display: block;
    color: var(--text-muted);
    font-weight: bold;
    margin-bottom: 8px;
}

.revenue-mini-card strong,
.revenue-money {
    color: var(--burgundy-dark);
    font-weight: bold;
}

.revenue-note {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .revenue-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .revenue-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 950px) {
    .revenue-stats-grid {
        grid-template-columns: 1fr;
    }

    .revenue-main-card,
    .admin-stat-card.wide {
        grid-column: span 1;
    }

    .revenue-side-card {
        padding: 24px;
        border-radius: 26px;
    }
}

.dashboard-stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.dashboard-revenue-breakdown {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.dashboard-revenue-breakdown .revenue-mini-card {
    margin-bottom: 0;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.dashboard-stock-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-stock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--ivory);
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 18px;
    padding: 14px;
}

.dashboard-stock-item strong {
    display: block;
    color: var(--burgundy-dark);
    margin-bottom: 4px;
}

.dashboard-stock-item span {
    color: var(--text-muted);
    font-size: 13px;
}

.dashboard-side-btn {
    display: inline-block;
    margin-top: 18px;
}

@media (max-width: 1200px) {
    .dashboard-stats-grid,
    .dashboard-revenue-breakdown {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    .dashboard-stats-grid,
    .dashboard-revenue-breakdown {
        grid-template-columns: 1fr;
    }
}

.inventory-stats-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.inventory-filter-card {
    margin-top: 24px;
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.inventory-filter-title h2 {
    color: var(--burgundy);
    margin: 0 0 8px;
}

.inventory-filter-title p {
    color: var(--text-muted);
    margin: 0 0 18px;
}

.inventory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inventory-filters a {
    text-decoration: none;
    color: var(--burgundy);
    background: var(--ivory);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: bold;
}

.inventory-filters a:hover,
.inventory-filters a.active {
    background: var(--burgundy);
    color: var(--white);
}

.inventory-table {
    min-width: 1100px;
}

.low-stock-badge {
    background: #fff7e6;
    color: #92400E;
    border-color: #FBBF24;
}

.out-stock-badge {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #FCA5A5;
}

.inventory-alert {
    display: inline-block;
    border-radius: 999px;
    padding: 7px 11px;
    font-weight: bold;
    font-size: 13px;
}

.inventory-alert.good {
    background: #DCFCE7;
    color: #166534;
}

.inventory-alert.low {
    background: #FEF3C7;
    color: #92400E;
}

.inventory-alert.out {
    background: #FEE2E2;
    color: #991B1B;
}

.inventory-update-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.inventory-update-form input {
    width: 92px;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 9px 12px;
    background: var(--ivory);
    color: var(--text-dark);
}

.inventory-update-form button {
    border: none;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: bold;
    cursor: pointer;
}

.inventory-update-form button:hover {
    background: var(--burgundy-dark);
}

@media (max-width: 1200px) {
    .inventory-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    .inventory-stats-grid {
        grid-template-columns: 1fr;
    }

    .inventory-filter-card {
        padding: 22px;
        border-radius: 26px;
    }

    .inventory-update-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .inventory-update-form input,
    .inventory-update-form button {
        width: 100%;
    }
}

.custom-order-stats-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.custom-orders-table {
    min-width: 1250px;
}

.custom-address-preview,
.custom-note-preview {
    max-width: 220px;
    display: block;
}

.custom-status-badge {
    max-width: 180px;
    white-space: normal;
    line-height: 1.4;
}

.custom-status-form {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 260px;
}

.custom-status-form select {
    flex: 1;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 9px 12px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
}

.custom-status-form button {
    border: none;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: bold;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.custom-status-form button:hover {
    background: var(--burgundy-dark);
}

@media (max-width: 1200px) {
    .custom-order-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    .custom-order-stats-grid {
        grid-template-columns: 1fr;
    }

    .custom-status-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-status-form select,
    .custom-status-form button {
        width: 100%;
    }
}

.internal-note-form textarea {
    width: 100%;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 15px;
    resize: vertical;
}

.internal-note-form button {
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.custom-note-preview {
    max-width: 230px;
    white-space: normal;
    line-height: 1.5;
}

.flower-condition-form select,
.flower-condition-form textarea {
    width: 100%;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.flower-condition-form textarea {
    resize: vertical;
}

.flower-condition-form button {
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.flower-condition-guide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 20px 0;
}

.flower-condition-guide div {
    background: var(--ivory);
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 18px;
    padding: 15px;
}

.flower-condition-guide strong {
    display: block;
    color: var(--burgundy);
    margin-bottom: 6px;
}

.flower-condition-guide span {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 14px;
}

.flower-condition-badge {
    display: inline-block;
    background: #DCFCE7;
    color: #166534;
    padding: 7px 11px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
}

.flower-condition-badge.warning {
    background: #FEF3C7;
    color: #92400E;
}

.flower-condition-badge.danger {
    background: #FEE2E2;
    color: #991B1B;
}

.flower-condition-badge.empty {
    background: #F3F4F6;
    color: #6B7280;
}

@media (max-width: 950px) {
    .flower-condition-guide {
        grid-template-columns: 1fr;
    }
}

.gallery-admin-form input,
.gallery-admin-form select {
    width: 100%;
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.gallery-admin-form button {
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.gallery-admin-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-admin-card,
.empty-gallery-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.gallery-admin-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.gallery-admin-top h3 {
    color: var(--burgundy);
    margin: 0 0 6px;
}

.gallery-admin-top p {
    color: var(--text-muted);
    margin: 0;
}

.gallery-before-after {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-image-box {
    min-height: 170px;
    background: linear-gradient(135deg, var(--ivory), var(--blush));
    border: 1px solid rgba(216, 181, 109, 0.45);
    border-radius: 22px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.gallery-image-box span {
    color: var(--burgundy);
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 8px;
}

.gallery-image-box p {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    margin: auto 0;
}

.gallery-image-box img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 16px;
}

.gallery-admin-footer {
    margin-top: 18px;
}

.gallery-admin-footer p {
    color: var(--text-muted);
    line-height: 1.6;
}

.gallery-admin-footer strong {
    color: var(--burgundy-dark);
}

.empty-gallery-card {
    grid-column: span 2;
    text-align: center;
}

.empty-gallery-card h3 {
    color: var(--burgundy);
}

.empty-gallery-card p {
    color: var(--text-muted);
}

@media (max-width: 1200px) {
    .gallery-admin-grid {
        grid-template-columns: 1fr;
    }

    .empty-gallery-card {
        grid-column: span 1;
    }
}

@media (max-width: 950px) {
    .gallery-before-after {
        grid-template-columns: 1fr;
    }

    .gallery-admin-card,
    .empty-gallery-card {
        padding: 22px;
        border-radius: 26px;
    }

    .gallery-image-box img {
        height: 180px;
    }
}

.gallery-hero {
    display: grid;
    grid-template-columns: 1.3fr 0.75fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--white), var(--blush));
    border: 1px solid var(--border-gold);
    border-radius: 32px;
    padding: 46px;
    box-shadow: var(--shadow-soft);
}

.gallery-hero h1 {
    color: var(--burgundy-dark);
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.gallery-hero-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 26px;
    padding: 26px;
}

.gallery-hero-card h3 {
    color: var(--burgundy);
    margin-top: 0;
}

.gallery-hero-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.public-gallery-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.public-gallery-card {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.public-gallery-cover {
    height: 320px;
    background: linear-gradient(135deg, var(--ivory), var(--blush));
    overflow: hidden;
}

.public-gallery-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-gallery-content {
    padding: 26px;
}

.gallery-tag {
    display: inline-block;
    background: rgba(216, 181, 109, 0.18);
    color: var(--burgundy);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 14px;
}

.public-gallery-content h2 {
    color: var(--burgundy);
    margin: 0 0 10px;
}

.gallery-desc {
    color: var(--text-muted);
    line-height: 1.7;
}

.public-before-after {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.public-image-mini {
    background: var(--ivory);
    border: 1px solid rgba(216, 181, 109, 0.4);
    border-radius: 18px;
    padding: 10px;
    min-height: 130px;
}

.public-image-mini span {
    display: block;
    color: var(--burgundy);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

.public-image-mini img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    border-radius: 13px;
}

.public-image-mini p {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    margin: 30px 0 0;
}

.gallery-card-footer {
    margin-top: 20px;
    border-top: 1px solid rgba(216, 181, 109, 0.35);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.gallery-card-footer span {
    color: var(--text-muted);
    font-weight: bold;
}

.gallery-card-footer a {
    color: var(--burgundy);
    font-weight: bold;
    text-decoration: none;
}

.empty-public-gallery {
    margin-top: 28px;
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 44px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(122, 30, 53, 0.08);
}

.empty-public-gallery h2 {
    color: var(--burgundy);
    margin-top: 0;
}

.empty-public-gallery p {
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 24px;
}

@media (max-width: 1200px) {
    .public-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 950px) {
    .gallery-hero {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .gallery-hero h1 {
        font-size: 32px;
    }

    .public-gallery-cover {
        height: 240px;
    }

    .public-before-after {
        grid-template-columns: 1fr;
    }

    .public-image-mini img {
        height: 180px;
    }

    .gallery-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .empty-public-gallery {
        padding: 30px;
        border-radius: 26px;
    }
}

.gallery-admin-form input[type="file"] {
    width: 100%;
    border: 1px dashed var(--champagne);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--text-dark);
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.current-image-path {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0 0;
}

.current-image-path span {
    color: var(--burgundy);
    font-weight: bold;
    word-break: break-all;
}

.gallery-preview-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 22px 0;
}

.gallery-preview-box {
    background: linear-gradient(135deg, var(--ivory), var(--blush));
    border: 1px solid rgba(216, 181, 109, 0.45);
    border-radius: 22px;
    padding: 12px;
    min-height: 180px;
}

.gallery-preview-box span {
    display: block;
    color: var(--burgundy);
    font-weight: bold;
    margin-bottom: 10px;
}

.gallery-preview-box img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
}

.gallery-preview-box p {
    color: var(--text-muted);
    text-align: center;
    margin-top: 54px;
}

@media (max-width: 950px) {
    .gallery-preview-row {
        grid-template-columns: 1fr;
    }

    .gallery-preview-box img {
        height: 200px;
    }
}

.bloomery-assistant {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1600;
    font-family: Arial, sans-serif;
}

.assistant-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    color: var(--champagne);
    box-shadow: 0 18px 36px rgba(84, 19, 35, 0.28);
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}

.assistant-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.assistant-panel {
    position: absolute;
    right: 0;
    bottom: 82px;
    width: 380px;
    height: 560px;
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(84, 19, 35, 0.26);
    overflow: hidden;
    display: none;
    flex-direction: column;
}

.assistant-panel.open {
    display: flex;
}

.assistant-header {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    color: var(--white);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.assistant-header strong {
    display: block;
    font-size: 17px;
}

.assistant-header p {
    margin: 4px 0 0;
    color: var(--champagne);
    font-size: 13px;
}

.assistant-close {
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: var(--champagne);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.assistant-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: linear-gradient(135deg, var(--ivory), var(--blush));
}

.assistant-message {
    margin-bottom: 14px;
    padding: 13px 15px;
    border-radius: 18px;
    line-height: 1.55;
}

.assistant-message strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

.assistant-message p {
    margin: 0;
    font-size: 14px;
}

.assistant-message.bot {
    background: var(--white);
    border: 1px solid rgba(216, 181, 109, 0.38);
    color: var(--text-dark);
}

.assistant-message.user {
    background: var(--burgundy);
    color: var(--white);
    margin-left: 36px;
}

.assistant-suggestions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 14px;
    border-top: 1px solid rgba(216, 181, 109, 0.35);
    background: var(--white);
}

.assistant-suggestions button {
    border: 1px solid var(--border-gold);
    background: var(--ivory);
    color: var(--burgundy);
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.assistant-suggestions button:hover {
    background: var(--burgundy);
    color: var(--white);
}

.assistant-form {
    display: flex;
    gap: 8px;
    padding: 14px;
    background: var(--white);
    border-top: 1px solid rgba(216, 181, 109, 0.35);
}

.assistant-form input {
    flex: 1;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 12px 14px;
    background: var(--ivory);
    color: var(--text-dark);
    font-size: 14px;
}

.assistant-form button {
    border: none;
    border-radius: 999px;
    background: var(--burgundy);
    color: var(--white);
    padding: 0 16px;
    font-weight: bold;
    cursor: pointer;
}

.assistant-form button:hover {
    background: var(--burgundy-dark);
}

@media (max-width: 950px) {
    .bloomery-assistant {
        right: 18px;
        bottom: 18px;
    }

    .assistant-toggle {
        width: 58px;
        height: 58px;
    }

    .assistant-panel {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 88px;
        width: auto;
        height: 70vh;
        border-radius: 24px;
    }

    .assistant-message.user {
        margin-left: 20px;
    }
}

.chatbot-table {
    min-width: 1100px;
}

.chatbot-keyword {
    display: block;
    max-width: 240px;
    color: var(--burgundy);
    background: rgba(216, 181, 109, 0.14);
    border: 1px solid rgba(216, 181, 109, 0.35);
    border-radius: 16px;
    padding: 10px 12px;
    line-height: 1.6;
    font-size: 13px;
}

.chatbot-answer-preview {
    display: block;
    max-width: 430px;
    color: var(--text-muted);
    line-height: 1.6;
}

.auth-body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(216, 181, 109, 0.28), transparent 34%),
    linear-gradient(135deg, var(--burgundy-dark), #2f6f7d);
    font-family: Arial, sans-serif;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.auth-shell {
    width: min(1060px, 100%);
    min-height: 650px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5D5E8 50%, #EFE1F8 100%);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 28px 80px rgba(232, 75, 138, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-form-side {
    position: relative;
    z-index: 1;
    padding: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s ease, transform 0.55s ease;
}

.login-side {
    grid-column: 1;
}

.register-side {
    grid-column: 2;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
}

.auth-register-mode .login-side {
    opacity: 0;
    transform: translateX(-40px);
    pointer-events: none;
}

.auth-register-mode .register-side {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.auth-brand-mini {
    position: absolute;
    top: 28px;
    left: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-brand-mini h2 {
    margin: 0;
    color: var(--burgundy);
    font-size: 21px;
}

.auth-brand-mini p {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-form {
    width: min(360px, 100%);
    text-align: center;
    margin-top: 82px;
}

.auth-form h1 {
    margin: 4px 0 8px;
    color: var(--text-dark);
    font-size: 42px;
}

.auth-subtitle {
    color: var(--text-muted);
    margin: 0 0 28px;
    line-height: 1.5;
}

.auth-input-group {
    margin-bottom: 15px;
}

.auth-input-group input {
    width: 100%;
    border: 1px solid rgba(124, 106, 106, 0.22);
    background: #F8F8F8;
    border-radius: 999px;
    padding: 15px 20px;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    text-align: center;
}

.auth-input-group input:focus {
    border-color: var(--champagne);
    background: var(--ivory);
}

.auth-main-btn,
.auth-switch-btn {
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.4px;
    transition: 0.2s;
}

.auth-main-btn {
    width: 100%;
    padding: 15px 20px;
    background: #2f8190;
    color: var(--white);
    margin-top: 8px;
}

.auth-main-btn:hover {
    background: var(--burgundy);
}

.auth-small-note {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-small-note strong {
    color: var(--burgundy);
}

.auth-overlay-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 50%;
    z-index: 5;
    overflow: hidden;
    background: linear-gradient(rgba(27, 35, 37, 0.55), rgba(27, 35, 37, 0.55)),
    radial-gradient(circle at 50% 35%, rgba(216, 181, 109, 0.24), transparent 18%),
    linear-gradient(135deg, #22424a, #2f8190);
    color: var(--white);
    transition: transform 0.6s ease, border-radius 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-register-mode .auth-overlay-panel {
    transform: translateX(-100%);
}

.auth-overlay-content {
    width: 76%;
    text-align: center;
    position: absolute;
    transition: opacity 0.45s ease, transform 0.55s ease;
}

.auth-overlay-content h2 {
    font-size: 42px;
    margin: 0 0 12px;
}

.auth-overlay-content p {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
    font-weight: bold;
}

.register-overlay {
    opacity: 1;
    transform: translateX(0);
}

.login-overlay {
    opacity: 0;
    transform: translateX(-40px);
    pointer-events: none;
}

.auth-register-mode .register-overlay {
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
}

.auth-register-mode .login-overlay {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.auth-social-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 32px 0;
}

.auth-social-row span {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.auth-switch-btn {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 13px 32px;
}

.auth-switch-btn:hover {
    background: var(--white);
    color: #2f8190;
}

.auth-alert {
    padding: 12px 14px;
    border-radius: 16px;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 18px;
    font-size: 14px;
}

.auth-alert.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.auth-alert.success {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #86EFAC;
}

@media (max-width: 900px) {
    .auth-page {
        padding: 18px;
    }

    .auth-shell {
        min-height: auto;
        display: flex;
        flex-direction: column;
        border-radius: 28px;
    }

    .auth-form-side {
        min-height: 620px;
        padding: 82px 26px 34px;
        grid-column: auto;
    }

    .register-side {
        display: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .auth-register-mode .login-side {
        display: none;
    }

    .auth-register-mode .register-side {
        display: flex;
    }

    .auth-overlay-panel {
        position: relative;
        left: auto;
        width: 100%;
        min-height: 230px;
        transform: none !important;
        padding: 32px 0;
    }

    .auth-overlay-content {
        position: relative;
        width: 86%;
    }

    .auth-overlay-content h2 {
        font-size: 32px;
    }

    .login-overlay,
    .register-overlay,
    .auth-register-mode .login-overlay,
    .auth-register-mode .register-overlay {
        display: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .register-overlay {
        display: block;
    }

    .auth-register-mode .login-overlay {
        display: block;
    }

    .auth-social-row {
        margin: 22px 0;
    }
}

.admin-users-table {
    min-width: 1100px;
}

.current-admin-label {
    display: inline-block;
    margin-top: 8px;
    background: rgba(216, 181, 109, 0.18);
    color: var(--burgundy);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: bold;
}

.activity-log-table {
    min-width: 1200px;
}

.activity-action-badge {
    display: inline-block;
    background: rgba(216, 181, 109, 0.18);
    color: var(--burgundy);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.activity-description {
    display: block;
    max-width: 360px;
    color: var(--text-muted);
    line-height: 1.6;
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(1)::before {
    content: "⌂";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(2)::before {
    content: "▣";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(3)::before {
    content: "⌕";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(4)::before {
    content: "✦";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(5)::before {
    content: "□";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(6)::before {
    content: "$";
    font-weight: bold;
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(7)::before {
    content: "▧";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(8)::before {
    content: "AI";
    font-size: 15px;
    font-weight: bold;
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(9)::before {
    content: "👤";
    font-size: 18px;
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(10)::before {
    content: "☷";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(11)::before {
    content: "⚿";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(12)::before {
    content: "↗";
}

body.sidebar-collapsed .admin-sidebar .menu a:nth-child(13)::before {
    content: "↩";
}

.custom-customer-box {
    margin-top: 28px;
    padding: 24px;
    border-radius: 28px;
    background: radial-gradient(circle at top left, rgba(216, 181, 109, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(216, 181, 109, 0.42);
    box-shadow: 0 18px 42px rgba(122, 30, 53, 0.08);
}

.custom-customer-box h2 {
    color: #7A1E35;
    margin: 0 0 8px;
}

.custom-customer-box .description {
    margin-bottom: 20px;
}

.custom-customer-box input,
.custom-customer-box textarea {
    width: 100%;
    border: 1px solid rgba(216, 181, 109, 0.55);
    background: #FFF9F0;
    color: #1F1519;
    border-radius: 20px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
}

.custom-customer-box input:focus,
.custom-customer-box textarea:focus {
    border-color: #7A1E35;
    background: #FFFFFF;
}

.portfolio-check.compact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #FFF9F0;
    border: 1px solid rgba(216, 181, 109, 0.36);
    border-radius: 18px;
    padding: 13px 14px;
    color: #7C6A6A;
    line-height: 1.5;
    font-weight: 800;
    text-align: left;
}

.portfolio-check.compact input {
    margin-top: 4px;
    accent-color: #7A1E35;
}

.real-ai-preview-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.real-preview-box {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(216, 181, 109, 0.42);
    border-radius: 26px;
    padding: 16px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.real-preview-box h3 {
    color: #7A1E35;
    margin: 0;
}

.real-preview-box img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: 20px;
    background: #FFF9F0;
    border: 1px solid rgba(216, 181, 109, 0.3);
}

.real-preview-box.result {
    background: radial-gradient(circle at top right, rgba(216, 181, 109, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.real-preview-empty {
    flex: 1;
    background: #FFF9F0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #7C6A6A;
    line-height: 1.7;
    border: 1px dashed rgba(216, 181, 109, 0.6);
    border-radius: 20px;
    padding: 24px;
    font-weight: 900;
}

.real-ai-edit-form {
    margin-top: 18px;
    background: #FFF9F0;
    border: 1px solid rgba(216, 181, 109, 0.36);
    border-radius: 24px;
    padding: 18px;
}

.real-ai-edit-form label {
    display: block;
    color: #7A1E35;
    font-weight: 900;
    margin-bottom: 10px;
}

.real-ai-edit-form textarea {
    width: 100%;
    border: 1px solid rgba(216, 181, 109, 0.55);
    background: #FFFFFF;
    color: #1F1519;
    border-radius: 20px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    resize: vertical;
    margin-bottom: 14px;
}

.real-ai-edit-form textarea:focus {
    border-color: #7A1E35;
}

@media (max-width: 1100px) {
    .real-ai-preview-grid {
        grid-template-columns: 1fr;
    }

    .real-preview-box img,
    .real-preview-empty {
        height: auto;
        min-height: 260px;
    }
}

.real-ai-canvas-area {
    overflow: visible;
}

.real-ai-toolbar {
    border-bottom: 1px solid rgba(216, 181, 109, 0.32);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 240, 0.92));
}

.real-ai-toolbar strong {
    color: #7A1E35;
    font-size: 22px;
}

.real-ai-toolbar span {
    color: #7C6A6A;
    margin-top: 4px;
}

.real-ai-toolbar .canvas-actions a {
    border: 1px solid rgba(216, 181, 109, 0.52);
    background: #FFF9F0;
    color: #7A1E35;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 900;
}

.real-ai-workspace {
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    background: linear-gradient(rgba(216, 181, 109, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 181, 109, 0.08) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(249, 232, 236, 0.9), transparent 42%),
    #FFF9F0;
    background-size: 38px 38px, 38px 38px, auto, auto;
}

.real-ai-image-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(216, 181, 109, 0.42);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 18px 42px rgba(122, 30, 53, 0.08);
    min-width: 0;
}

.real-ai-image-card.result {
    background: radial-gradient(circle at top right, rgba(216, 181, 109, 0.16), transparent 36%),
    rgba(255, 255, 255, 0.96);
}

.real-ai-image-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.real-ai-image-head h3 {
    color: #7A1E35;
    font-size: 28px;
    margin: 0;
}

.real-ai-image-head span {
    background: #FFF7E8;
    color: #7A1E35;
    border: 1px solid rgba(216, 181, 109, 0.42);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    font-size: 13px;
}

.real-ai-image-frame {
    width: 100%;
    height: clamp(360px, 44vw, 560px);
    background: #FFF9F0;
    border: 1px solid rgba(216, 181, 109, 0.34);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.real-ai-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #FFF9F0;
}

.modern-ai-edit-form {
    margin: 0;
    border-radius: 0 0 30px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 232, 0.92));
    border-top: 1px solid rgba(216, 181, 109, 0.32);
    padding: 26px;
}

.modern-ai-prompt-head {
    margin-bottom: 16px;
}

.modern-ai-prompt-head h3 {
    color: #7A1E35;
    font-size: 28px;
    margin: 0 0 8px;
}

.modern-ai-prompt-head p {
    color: #7C6A6A;
    line-height: 1.6;
    margin: 0;
}

.ai-preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.ai-preset-chip {
    border: 1px solid rgba(216, 181, 109, 0.52);
    background: #FFF9F0;
    color: #7A1E35;
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.ai-preset-chip:hover,
.ai-preset-chip.active {
    background: #7A1E35;
    color: #F7DFA8;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(122, 30, 53, 0.16);
}

.modern-ai-edit-form textarea {
    width: 100%;
    border: 1px solid rgba(216, 181, 109, 0.55);
    background: #FFFFFF;
    color: #1F1519;
    border-radius: 24px;
    padding: 16px 18px;
    font-size: 15px;
    outline: none;
    resize: vertical;
    min-height: 130px;
    margin-bottom: 16px;
}

.modern-ai-edit-form textarea:focus {
    border-color: #7A1E35;
    box-shadow: 0 0 0 4px rgba(122, 30, 53, 0.08);
}

.modern-ai-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modern-ai-actions .btn {
    min-width: 220px;
    text-align: center;
}

@media (max-width: 1200px) {
    .real-ai-workspace {
        grid-template-columns: 1fr;
    }

    .real-ai-image-frame {
        height: clamp(320px, 58vw, 520px);
    }
}

@media (max-width: 800px) {
    .real-ai-workspace,
    .modern-ai-edit-form {
        padding: 18px;
    }

    .real-ai-image-card {
        padding: 16px;
        border-radius: 24px;
    }

    .real-ai-image-head {
        flex-direction: column;
    }

    .real-ai-image-head h3,
    .modern-ai-prompt-head h3 {
        font-size: 24px;
    }

    .modern-ai-actions {
        flex-direction: column;
    }

    .modern-ai-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

.auth-brand-logo-only {
    left: 50% !important;
    transform: translateX(-50%);
    justify-content: center;
    gap: 0;
}

.auth-brand-logo-only > div:not(.auth-logo-box) {
    display: none !important;
}

.auth-logo-box {
    width: 150px !important;
    height: 150px !important;
    flex: 0 0 150px !important;
    border-radius: 34px !important;
    padding: 10px;
    overflow: hidden;
    background: #FFF9F0;
    border: 1px solid rgba(216, 181, 109, 0.52);
    box-shadow: 0 18px 42px rgba(122, 30, 53, 0.14);
}

.auth-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.auth-logo-box span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7A1E35;
    font-size: 58px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .auth-brand-logo-only {
        top: 24px;
    }

    .auth-logo-box {
        width: 120px !important;
        height: 120px !important;
        flex-basis: 120px !important;
        border-radius: 28px !important;
    }

    .auth-logo-box span {
        font-size: 46px;
    }

    .auth-form {
        margin-top: 68px;
    }
}

.brand-logo-only {
    justify-content: center !important;
    min-height: 120px;
    padding: 16px 0 24px !important;
    margin-bottom: 14px;
}

.brand-logo-only .brand-logo-box {
    flex: 0 0 104px !important;
    width: 104px !important;
    height: 104px !important;
    border-radius: 30px !important;
    padding: 8px;
    overflow: hidden;
    background: #FFF9F0;
    border: 1px solid rgba(216, 181, 109, 0.58);
    box-shadow: 0 18px 38px rgba(216, 181, 109, 0.18);
}

.brand-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-logo-box span {
    width: 100%;
    height: 100%;
    color: #541323;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 900;
}

.brand-logo-only .brand-text,
.brand-logo-only > div:not(.brand-icon) {
    display: none !important;
}

body.sidebar-collapsed .brand-logo-only {
    min-height: 82px;
    padding: 10px 0 16px !important;
}

body.sidebar-collapsed .brand-logo-only .brand-logo-box {
    flex-basis: 58px !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 20px !important;
    padding: 5px;
}

body.sidebar-collapsed .brand-logo-box span {
    font-size: 28px;
}

.mobile-brand-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 16px;
    background: #FFF9F0;
    border: 1px solid rgba(216, 181, 109, 0.58);
    overflow: hidden;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mobile-brand-logo span {
    color: #7A1E35;
    font-size: 22px;
    font-weight: 900;
}

.mobile-topbar-title strong {
    color: #7A1E35;
}

@media (max-width: 950px) {
    .brand-logo-only {
        justify-content: flex-start !important;
        min-height: 100px;
        padding: 14px 10px 18px !important;
    }

    .brand-logo-only .brand-logo-box {
        flex-basis: 86px !important;
        width: 86px !important;
        height: 86px !important;
        border-radius: 26px !important;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(216, 181, 109, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(216, 181, 109, 0);
    }
}

.hero-section,
.page-header,
.shop-header {
    animation: fadeInUp 0.6s ease-out;
}

.filter-pill,
.pagination-btn,
.pagination-numbers a {
    animation: scaleIn 0.24s ease-out;
}

a {
    transition: color var(--transition-base);
}

button,
input,
select,
textarea,
a {
    transition: all var(--transition-base);
}

.loading {
    animation: shimmer 1.5s infinite;
}

:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 2px;
    border-radius: 4px;
}
