* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: rgb(8, 12, 23);
    font-family: "Inter", system-ui, sans-serif;
    color: #94a3b8;
    line-height: 1.5;
}

a {
    color: inherit;
}

main {
    padding: 20px;
}

/* ===================== Breadcrumbs ===================== */
.flex_item {
    display: flex;
    gap: 5px;
    font-size: 13px;
    margin-bottom: 20px;
    color: #94a3b8;
}

.flex_item a:hover {
    color: #3b82f6;
}

/* ===================== Product Display Container ===================== */
.product_detail_display_container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ===================== Product Image ===================== */
.img_product {
    background: rgba(11, 17, 30, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(29, 40, 57, 0.5);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 420px;
    flex: 1;
}

.img_product img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.img_product:hover img {
    transform: scale(1.04);
}

/* ===================== Product Details ===================== */
.product_details_spec {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Product name & price */
.product_name_price_comp_name p:first-child {
    color: #3b82f6;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.product_name_price_comp_name h1 {
    font-size: 28px;
    color: #fff;
    margin: 6px 0;
}

.old_new_price {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.new_p {
    font-size: 20px;
    color: #3b82f6;
    font-weight: 700;
}

.old_p {
    font-size: 16px;
    color: #64748b;
    text-decoration: line-through;
}

/* Product description */
.product_name_price_comp_name p:last-child {
    font-size: 14px;
    color: #cbd5e1;
}

/* ===================== Specifications ===================== */
.specs {
    margin-top: 12px;
}

.specs h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}

.specs ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #94a3b8;
}

.specs li svg {
    flex-shrink: 0;
}

/* ===================== Quantity & Add to Cart ===================== */
.quantity_add_to_cart {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Quantity */
.quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity span:first-child {
    font-size: 14px;
}

.quantity_bth {
    display: flex;
    align-items: center;
    border: 1px solid rgba(60, 131, 246, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.quantity_bth button {
    background: rgba(59, 130, 245, 0.1);
    border: none;
    color: #3b82f6;
    width: 28px;
    height: 28px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity_bth button:hover {
    background: rgba(59, 130, 245, 0.2);
}

.quantity_bth span {
    width: 28px;
    text-align: center;
}

/* Add to Cart button */
.quantity_add_to_cart > button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity_add_to_cart > button:hover {
    background: #2563eb;
}

.quantity_add_to_cart svg {
    width: 16px;
    height: 16px;
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
    .product_detail_display_container {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .product_detail_display_container {
        flex-direction: column;
        gap: 20px;
    }

    .img_product {
        max-width: 100%;
        padding: 14px;
    }

    .img_product img {
        max-width: 260px;
    }
}
