:root {
    --cs1-bg: #f5f7fb;
    --cs1-card: #ffffff;
    --cs1-text: #162033;
    --cs1-muted: #6c778b;
    --cs1-line: #e6ebf2;
    --cs1-accent: #0f172a;
    --cs1-soft: linear-gradient(135deg, #e7f0fd 0%, #f7fbff 55%, #fff4e8 100%);
}

body {
    background: radial-gradient(circle at top left, rgba(172, 203, 238, .35), transparent 30%), var(--cs1-bg);
    color: var(--cs1-text);
}

.cs1-header {
    background: transparent;
}

.cs1-nav-shell {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230,235,242,.9);
}

.cs1-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a, #334155);
    color: #fff;
    font-weight: 700;
    letter-spacing: .06em;
}

.cs1-brand-text {
    font-weight: 700;
    letter-spacing: .03em;
}

.cs1-search-box .form-control,
.cs1-search-box .btn,
.product-card,
.cs1-announcement,
.cs1-hero,
.good-card .card,
.modal-content {
    border-radius: 1.5rem !important;
}

.cs1-hero {
    background: var(--cs1-soft);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
}

.cs1-eyebrow,
.cs1-section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #52607a;
}

.cs1-eyebrow::before,
.cs1-section-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: #94a3b8;
}

.cs1-hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 1rem 0;
}

.cs1-hero-copy p,
.cs1-section-subtitle,
.cs1-footer-copy {
    color: var(--cs1-muted);
}

.cs1-hero-panel {
    display: grid;
    gap: 1rem;
}

.cs1-stat-card {
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
}

.cs1-stat-card span,
.product-stock,
.product-group-tag,
.product-tip {
    color: var(--cs1-muted);
}

.cs1-stat-card strong {
    display: block;
    font-size: 1.8rem;
    margin-top: .25rem;
}

.cs1-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: .75rem 0;
}

.product-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .12) !important;
}

.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.product-image-wrap img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f8fafc;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
}

.product-tip {
    font-size: .92rem;
    background: #f8fafc;
    border: 1px solid var(--cs1-line);
    border-radius: 999px;
    padding: .45rem .85rem;
    display: inline-block;
}

.cs1-footer {
    border-top: 1px solid var(--cs1-line);
    background: rgba(255,255,255,.7);
}

.cs1-footer-brand {
    font-size: 1.2rem;
    font-weight: 800;
}

.good-card .card,
.modal-content {
    border: 1px solid rgba(230,235,242,.95);
    box-shadow: 0 18px 50px rgba(15,23,42,.08);
}

@media (max-width: 991px) {
    .cs1-search-box {
        margin-top: 1rem;
    }
}
