* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f0f0f;
    color: #fff
}

header {
    padding: 22px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    opacity: .85;
    font-weight: bold;
    font-size: 14px
}

nav a:hover {
    opacity: 1
}

.badge {
    display: inline-block;
    min-width: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #c6363c;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-left: 6px
}

.wrap {
    max-width: 1100px;
    margin: 30px auto 80px auto;
    padding: 0 20px
}

.card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    padding: 40px;
    display: flex;
    gap: 60px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35)
}

.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center
}

.product-image img {
    width: 420px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 55px rgba(0, 0, 0, .55))
}

.details {
    flex: 1
}

.details h1 {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 10px
}

.accent {
    width: 110px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, #c6363c, #1f3c88);
    margin: 18px 0 22px
}

.details p {
    opacity: .85;
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.6
}

.price {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px
}

.controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0 18px
}

select,
input {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    outline: none;
    min-width: 160px
}

input {
    min-width: 120px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

button,
.btn {
    padding: 13px 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block
}

#addBtn {
    background: #fff;
    color: #000
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent
}

#msg {
    margin-top: 14px;
    font-weight: bold;
    opacity: .95
}

@media (max-width: 900px) {
    header {
        padding: 18px 18px
    }

    .card {
        flex-direction: column;
        padding: 26px
    }
}
