:root {
    --accent: #a92d57;
    --accent-dark: #7e1f40;
    --bg-soft: #f8f5f6;
    --text-main: #1f1f23;
    --border-soft: rgba(169, 45, 87, 0.14);
    --shadow-soft: 0 18px 40px rgba(24, 24, 31, 0.08);
    --radius-lg: 28px;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
    background: #fff;
}

.navbar {
    backdrop-filter: blur(10px);
}

.brand-logo,
.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--accent-dark);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.hero-section {
    background:
        radial-gradient(circle at top right, rgba(255, 204, 112, 0.35), transparent 28%),
        linear-gradient(135deg, #fff7ee 0%, #fff 40%, #fff5f8 100%);
}

.hero-card,
.content-card,
.constructor-summary,
.auth-card,
.info-panel,
.detail-image-card,
.product-card,
.category-card,
.metric-card {
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.hero-card {
    min-height: 460px;
    position: relative;
    padding: 36px;
    background: linear-gradient(135deg, #fff 0%, #fff5f8 55%, #fff0c8 100%);
    overflow: hidden;
}

.hero-logo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hero-floating-card {
    position: absolute;
    right: 30px;
    top: 310px;
    width: 240px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
}

.hero-floating-card.second {
    top: auto;
    bottom: 40px;
    left: 30px;
    right: auto;
}

.section-kicker {
    color: white;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8);
}

.section-title {
    font-weight: 800;
    font-size: 24px;
    color: rgb(0, 0, 0);
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -4px -4px 4px rgba(0, 0, 0, 0.8); */
}

.category-card,
.category-card-home {
    display: block;
    min-height: 170px;
    padding: 26px;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(180deg, #fff 0%, #fff9fb 100%);
}

.category-card-home {
    height: 200px;
    padding: 20px;
}

.category-card[style*="height: 250px"] {
    height: 250px !important;
}

.category-card-home .category-content,
.category-card .category-content {
    color: inherit;
}

.category-card-home .category-content h5,
.category-card .category-content h3 {
    font-size: 22px;
    color: rgb(0, 0, 0);
    /* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9), -1px -1px 1px rgba(0, 0, 0, 0.9); */
    /* text-shadow: 2px 2px 4px rgba(245, 242, 242, 0.8), -1px -1px 2px rgba(245, 242, 242, 0.8);  */
    text-shadow: 1px 0px 0px #ffffff, -1px 0px 0px #ffffff, 0px 1px 0px #ffffff, 0px -1px 0px #ffffff;
    /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%) */
}

.category-card-home .category-content p,
.category-card .category-content p {
    font-size: 16px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    /* text-shadow: 2px 2px 4px rgba(245, 242, 242, 0.8), -1px -1px 2px rgba(245, 242, 242, 0.8);  */
    /* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9), -1px -1px 1px rgba(0, 0, 0, 0.9); */
    text-shadow: 1px 0px 0px #ffffff, -1px 0px 0px #ffffff, 0px 1px 0px #ffffff, 0px -1px 0px #ffffff;
}

.category-bg {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.category-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.category-content {
    position: relative;
    z-index: 2;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.9);
    top:90px;
    padding: 0px 0px 0px 10px;
    border-radius: 5px;
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 45px rgba(24, 24, 31, 0.12);
}

.category-card p {
    margin-bottom: 0;
    color: #6f7280;
}

.feature-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.feature-list li {
    margin-bottom: 0.7rem;
}

.feature-list.compact li {
    margin-bottom: 0.45rem;
}

.metric-card {
    padding: 24px;
    height: 100%;
}

.metric-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.metric-label {
    color: #6f7280;
}

.product-card-top {
    height: 140px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(135deg, #fff1c7, #ffd8e5, #fff6f8);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.price-tag,
.price-big {
    font-weight: 800;
    color: var(--accent-dark);
}

.price-big {
    font-size: 2rem;
}

.page-header {
    background: linear-gradient(135deg, #fffaf2 0%, #fff 48%, #fff6f8 100%);
    border-bottom: 1px solid rgba(169, 45, 87, 0.08);
}

.content-card,
.constructor-summary,
.auth-card,
.info-panel,
.detail-image-card {
    padding: 28px;
}

.auth-card {
    max-width: 480px;
}

.auth-card-wide {
    max-width: 760px;
}

.placeholder-product {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-dark);
    background: linear-gradient(135deg, #fff0c6 0%, #ffdfe7 100%);
    border-radius: 24px;
}

.status-pill {
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.status-new { background: #eef2ff; color: #3644d9; }
.status-in_progress { background: #fff4db; color: #8b5e00; }
.status-confirmed { background: #e5f7ed; color: #14733c; }
.status-ready { background: #e8fbff; color: #006a80; }
.status-completed { background: #ecfdf3; color: #0f8a46; }
.status-canceled { background: #fdecec; color: #af2222; }

.constructor-header {
    background: linear-gradient(135deg, #fff3d8 0%, #fff 48%, #ffe7f0 100%);
}

.summary-note {
    background: var(--bg-soft);
    border-radius: 20px;
    padding: 18px;
    color: #616572;
}

.site-footer {
    background: #fffafc;
    border-top: 1px solid rgba(169, 45, 87, 0.08);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
}

.profile-card {
    top: 88px;
}

textarea.form-control {
    min-height: 110px;
}

@media (max-width: 992px) {
    .hero-card {
        min-height: auto;
        padding-bottom: 180px;
    }

    .hero-floating-card {
        width: calc(100% - 60px);
        right: 30px;
        left: 30px;
        top: 20px;
    }

    .hero-floating-card.second {
        left: 30px;
        right: 30px;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .brand-logo,
    .footer-logo {
        width: 44px;
        height: 44px;
    }

    .hero-logo {
        width: 160px;
        height: 160px;
    }

    .content-card,
    .constructor-summary,
    .auth-card,
    .detail-image-card,
    .product-card,
    .category-card {
        border-radius: 22px;
    }
}
.catalog-product-image-wrap {
    width: 100%;
    height: 220px !important;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    display: block;
    flex-shrink: 0;
}

.catalog-product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-card {
    overflow: hidden;
}
