.single-wrapper {
    margin-top: 35px;
    margin-bottom: 70px;
}

.single-container {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    padding: 0 15px;
}

/* breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

.breadcrumb a {
    text-decoration: none;
    color: #0072FF;
    font-weight: 600;
}

.breadcrumb .active {
    color: #111827;
    font-weight: 700;
}

/* layout */
.single-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 35px;
    margin-bottom: 45px;
}

/* left */
.single-image {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.single-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* gallery */
.single-gallery {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.single-gallery img {
    width: 75px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
    transition: 0.2s ease;
}

.single-gallery img:hover {
    border-color: rgba(0, 114, 255, 0.5);
    transform: scale(1.03);
}

/* right info */
.single-category {
    font-size: 13px;
    font-weight: 700;
    color: #0072FF;
    background: rgba(0, 114, 255, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 12px;
}

.single-title {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.3;
}

.single-price {
    font-size: 22px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

/* actions */
.single-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.btn-buy {
    background: #0072FF;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s ease;
}

.btn-ker {
    background: #fff;
    color: #005ad1;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s ease;
    border: 1px solid #005ad1;
}

.btn-buy:hover {
    background: #005ad1;
}

.btn-demo {
    background: #111827;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s ease;
}

.btn-demo:hover {
    background: #000;
}

/* info box */
.single-info-box {
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
}

.info-row .value {
    font-size: 13px;
    font-weight: 800;
    color: #111827;
}

/* section */
.single-section {
    margin-top: 45px;
}

.section-title {
    font-size: 18px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 14px;
}

/* description */
.single-description {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 22px;
    font-size: 14px;
    line-height: 1.8;
    color: #374151;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* related */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.see-all {
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    color: #0072FF;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.related-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    transition: 0.2s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 114, 255, 0.35);
}

.related-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.related-body {
    padding: 14px;
}

.related-cat {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    display: block;
    margin-bottom: 6px;
}

.related-name {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-name:hover {
    color: #0072FF;
}

.related-price {
    font-size: 13px;
    font-weight: 900;
    color: #0072FF;
}

/* responsive */
@media (max-width: 992px) {
    .single-grid {
        grid-template-columns: 1fr;
    }

    .single-image img {
        height: 340px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    .single-container{
        padding: 0;
    }
    .single-title {
        font-size: 22px;
    }
    .single-wrapper{
        margin-top: 6px;
    }
    .single-image img {
        width: 100%;
        height: auto;
    }
}
