

/* Product detail title/button restore */
.product-detail-page h1,
.product-detail-card h1,
.product-detail-info h1{
    font-size:18px !important;
    line-height:1.25 !important;
    font-weight:700 !important;
    margin:0 0 12px 0 !important;
}

.product-detail-cart-row button,
.product-detail-cart-form button[type="submit"]{
    height:42px !important;
    min-height:42px !important;
    padding:0 18px !important;
    border-radius:8px !important;
    border:0 !important;
    background:var(--yellow) !important;
    color:var(--dark) !important;

    font-family:inherit !important;
    font-size:15px !important;
    font-weight:800 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
    line-height:1 !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    cursor:pointer !important;
    box-shadow:none !important;
}

.product-detail-cart-row button:hover,
.product-detail-cart-form button[type="submit"]:hover{
    background:var(--yellow) !important;
    color:var(--dark) !important;
    filter:brightness(.96) !important;
}

@media(max-width:768px){
    .product-detail-page h1,
    .product-detail-card h1,
    .product-detail-info h1{
        font-size:17px !important;
        line-height:1.25 !important;
    }
}

/* Product detail add-to-cart CTA final override */
.product-detail-page .product-detail-cart-form .product-detail-cart-row button,
.product-detail-page .product-detail-cart-form button[type="submit"],
.product-detail-card .product-detail-cart-form .product-detail-cart-row button,
.product-detail-card .product-detail-cart-form button[type="submit"],
.product-detail-info .product-detail-cart-form button[type="submit"]{
    appearance:none !important;
    -webkit-appearance:none !important;

    height:42px !important;
    min-height:42px !important;
    width:auto !important;
    min-width:128px !important;
    padding:0 20px !important;

    border:0 !important;
    border-radius:8px !important;
    outline:0 !important;

    background:var(--yellow, #fbbf24) !important;
    background-color:var(--yellow, #fbbf24) !important;
    color:var(--dark, #111827) !important;

    font-family:inherit !important;
    font-size:15px !important;
    font-weight:800 !important;
    line-height:1 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
    text-decoration:none !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;

    cursor:pointer !important;
    box-shadow:none !important;
}

.product-detail-page .product-detail-cart-form .product-detail-cart-row button:hover,
.product-detail-page .product-detail-cart-form button[type="submit"]:hover,
.product-detail-card .product-detail-cart-form .product-detail-cart-row button:hover,
.product-detail-card .product-detail-cart-form button[type="submit"]:hover,
.product-detail-info .product-detail-cart-form button[type="submit"]:hover{
    background:var(--yellow, #fbbf24) !important;
    background-color:var(--yellow, #fbbf24) !important;
    color:var(--dark, #111827) !important;
    filter:brightness(.96) !important;
}

.product-detail-page .product-detail-cart-form .product-detail-cart-row button:active,
.product-detail-page .product-detail-cart-form button[type="submit"]:active{
    transform:translateY(1px) !important;
}

/* Product detail title size final adjustment */
.product-detail-page h1,
.product-detail-card h1,
.product-detail-info h1{
    font-size:23px !important;
    line-height:1.24 !important;
    font-weight:700 !important;
    margin:0 0 12px 0 !important;
}

@media(max-width:768px){
    .product-detail-page h1,
    .product-detail-card h1,
    .product-detail-info h1{
        font-size:20px !important;
        line-height:1.25 !important;
    }
}

/* Product detail desktop title and quantity input adjustment */
@media(min-width:769px){
    .product-detail-page h1,
    .product-detail-card h1,
    .product-detail-info h1{
        font-size:25px !important;
        line-height:1.24 !important;
        font-weight:700 !important;
        margin:0 0 12px 0 !important;
    }
}

.product-detail-cart-row input[type="number"],
.product-detail-cart-form input[type="number"]{
    width:104px !important;
    height:46px !important;
    min-height:46px !important;
    border:1px solid #d8e1ec !important;
    border-radius:10px !important;
    padding:0 12px !important;
    font-size:16px !important;
    font-weight:700 !important;
    box-sizing:border-box !important;
}

/* Product detail price/code spacing and quantity font adjustment */
.product-detail-meta .price-row{
    margin-top:14px !important;
    padding-top:16px !important;
}

.product-detail-price-meta{
    font-size:34px !important;
    line-height:1.1 !important;
    font-weight:900 !important;
}

.product-detail-cart-row input[type="number"],
.product-detail-cart-form input[type="number"]{
    font-size:18px !important;
    font-weight:800 !important;
    width:108px !important;
    height:48px !important;
    min-height:48px !important;
}

@media(max-width:768px){
    .product-detail-price-meta{
        font-size:29px !important;
    }

    .product-detail-cart-row input[type="number"],
    .product-detail-cart-form input[type="number"]{
        font-size:17px !important;
        width:102px !important;
        height:46px !important;
        min-height:46px !important;
    }
}

/* Product detail price centered without box */
.product-detail-meta .price-row{
    margin-top:14px !important;
    padding-top:16px !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
}

.product-detail-price-meta{
    display:inline-block !important;
    min-width:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    text-align:center !important;

    font-size:34px !important;
    line-height:1.1 !important;
    font-weight:900 !important;
    color:#111827 !important;
}

@media(max-width:768px){
    .product-detail-price-meta{
        min-width:0 !important;
        font-size:29px !important;
        padding:0 !important;
    }
}

/* Product detail price to quantity spacing */
.product-detail-cart-form{
    margin-top:26px !important;
}

.product-detail-cart-row{
    gap:14px !important;
}

.product-detail-cart-row label{
    margin-right:6px !important;
}

/* Product detail quantity input center text */
.product-detail-cart-row input[type="number"],
.product-detail-cart-form input[type="number"]{
    text-align:center !important;
    text-align-last:center !important;
}

/* Product detail price left aligned with manufacturer / SKU rows */
.product-detail-meta .meta-row.price-row,
.product-detail-meta .price-row,
.product-detail-info .product-detail-meta .meta-row.price-row,
.product-detail-info .product-detail-meta .price-row{
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    width:100% !important;
    text-align:left !important;
    box-sizing:border-box !important;
}

.product-detail-meta .meta-row.price-row .product-detail-price-meta,
.product-detail-meta .price-row .product-detail-price-meta,
.product-detail-info .product-detail-price-meta{
    display:inline-block !important;
    width:auto !important;
    margin-left:0 !important;
    margin-right:0 !important;
    text-align:left !important;
}

/* Product detail quantity control exact cart visual */
.product-detail-page .product-detail-cart-row{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    flex-wrap:wrap !important;
}

.product-detail-page .product-detail-qty-control,
.product-detail-card .product-detail-qty-control,
.product-detail-info .product-detail-qty-control{
    display:inline-flex !important;
    align-items:center !important;
    border:1px solid #dbe3ed !important;
    border-radius:12px !important;
    overflow:hidden !important;
    background:#ffffff !important;
    box-shadow:none !important;
    width:auto !important;
    height:auto !important;
}

.product-detail-page .product-detail-qty-control .product-detail-qty-btn,
.product-detail-card .product-detail-qty-control .product-detail-qty-btn,
.product-detail-info .product-detail-qty-control .product-detail-qty-btn,
.product-detail-page .product-detail-cart-form .product-detail-qty-control button.product-detail-qty-btn{
    width:34px !important;
    min-width:34px !important;
    max-width:34px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#f8fafc !important;
    color:#111827 !important;
    cursor:pointer !important;
    font-size:18px !important;
    font-weight:800 !important;
    line-height:1 !important;
    box-shadow:none !important;
    filter:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.product-detail-page .product-detail-qty-control .product-detail-qty-btn:hover,
.product-detail-card .product-detail-qty-control .product-detail-qty-btn:hover,
.product-detail-info .product-detail-qty-control .product-detail-qty-btn:hover{
    background:#eef2f7 !important;
    color:#111827 !important;
    filter:none !important;
    box-shadow:none !important;
}

.product-detail-page .product-detail-qty-control input[type="number"],
.product-detail-card .product-detail-qty-control input[type="number"],
.product-detail-info .product-detail-qty-control input[type="number"],
.product-detail-page .product-detail-cart-form .product-detail-qty-control input[type="number"]{
    min-width:38px !important;
    width:38px !important;
    max-width:38px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#ffffff !important;
    color:#111827 !important;
    text-align:center !important;
    text-align-last:center !important;
    font-size:15px !important;
    font-weight:800 !important;
    line-height:34px !important;
    box-shadow:none !important;
    box-sizing:border-box !important;
}

.product-detail-page .product-detail-qty-control input[type="number"]::-webkit-outer-spin-button,
.product-detail-page .product-detail-qty-control input[type="number"]::-webkit-inner-spin-button{
    -webkit-appearance:none !important;
    margin:0 !important;
}

.product-detail-page .product-detail-qty-control input[type="number"]{
    -moz-appearance:textfield !important;
}

/* Submit button only */
.product-detail-page .product-detail-cart-form > .product-detail-cart-row > button[type="submit"],
.product-detail-card .product-detail-cart-form > .product-detail-cart-row > button[type="submit"],
.product-detail-info .product-detail-cart-form > .product-detail-cart-row > button[type="submit"]{
    height:42px !important;
    min-height:42px !important;
    min-width:128px !important;
    padding:0 20px !important;
    border-radius:8px !important;
    background:var(--yellow, #fbbf24) !important;
    background-color:var(--yellow, #fbbf24) !important;
    color:var(--dark, #111827) !important;
    font-size:15px !important;
    font-weight:800 !important;
}

/* Product detail quantity input wider */
.product-detail-page .product-detail-qty-control input[type="number"],
.product-detail-card .product-detail-qty-control input[type="number"],
.product-detail-info .product-detail-qty-control input[type="number"],
.product-detail-page .product-detail-cart-form .product-detail-qty-control input[type="number"]{
    min-width:50px !important;
    width:50px !important;
    max-width:50px !important;
}

/* Product detail related heading real final */
.product-detail-page .section-title.related-products-heading,
.product-detail-content .section-title.related-products-heading,
.section-title.related-products-heading{
    display:block !important;
    width:100% !important;
    margin:24px 0 16px 0 !important;
    padding:0 0 10px 0 !important;
    border-bottom:2px solid #2563eb !important;
    background:transparent !important;
    box-sizing:border-box !important;
    text-align:left !important;
}

.product-detail-page .section-title.related-products-heading span,
.product-detail-content .section-title.related-products-heading span,
.section-title.related-products-heading span,
.section-title.related-products-heading::before,
.section-title.related-products-heading::after{
    display:none !important;
    content:none !important;
}

.product-detail-page .section-title.related-products-heading h2,
.product-detail-content .section-title.related-products-heading h2,
.section-title.related-products-heading h2{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    color:#2563eb !important;
    font-family:inherit !important;
    font-size:16px !important;
    line-height:1.35 !important;
    font-weight:400 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
    text-align:left !important;
}

/* Product detail description/specs inside main card */
.product-detail-card .detail-tabs{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) !important;
    gap:18px !important;
    align-items:start !important;
    width:100% !important;
    box-sizing:border-box !important;
    margin:18px 0 0 0 !important;
    padding:18px 0 0 0 !important;
    border-top:1px solid #e5edf5 !important;
}

.product-detail-card .detail-tabs .plain-card{
    width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    margin:0 !important;
    padding:18px !important;
    border:1px solid #e5edf5 !important;
    border-radius:16px !important;
    background:#ffffff !important;
    box-shadow:none !important;
}

.product-detail-card .detail-tabs .plain-card h2{
    margin:0 0 12px 0 !important;
    padding:0 !important;
    color:#111827 !important;
    font-size:18px !important;
    line-height:1.3 !important;
    font-weight:800 !important;
}

.product-detail-card .detail-tabs .plain-card p,
.product-detail-card .detail-tabs .plain-card pre{
    margin:0 !important;
}

.product-detail-card .detail-tabs .technical-specs{
    white-space:pre-wrap !important;
    word-break:break-word !important;
    overflow-x:auto !important;
    font-family:inherit !important;
}

@media(max-width:900px){
    .product-detail-card .detail-tabs{
        grid-template-columns:1fr !important;
    }
}

/* Product detail tabs no top gray line */
.product-detail-card .detail-tabs{
    border-top:0 !important;
    padding-top:0 !important;
}

