/*========product-page.css(需搭配 /commmon.css )========*/
/*--重設空隙--*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif; 
}

/*--(主標題)--*/
header {
    background-color: bisque;
    text-align: left;
    color: rgb(21, 192, 183);
    height: 50px;
    width: 100%;
    line-height: 50px;
    position: relative; 
}

header h1 a,
header h1 a:visited,
header h1 a:hover,
header h1 a:active {
    color: rgb(21, 192, 183);
    text-decoration: none;
}

a {text-decoration: none;}
a:hover {text-decoration: none;}

/* ----漢堡選單---- */

/* 隱藏選擇框 */
#menu-toggle {
    display: none;
}

/* 漢堡選單 */
.menu-icon {
    font-size: 30px;
    cursor: pointer;
    padding: 0 15px;
    line-height: 50px;
    color: rgb(21, 192, 183);
    position: absolute;
    right: 5vw;
    top: 0;
}

/* 選單預設不顯示 */
.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: bisque;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* 點開選單 */
#menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
}

/* 手機 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        width: 200px;
    }

    .nav-links li {
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
}

/* 桌機 */
@media (min-width: 769px) {
    .nav-links {
        flex-direction: row;
        gap: 2rem;
        padding: 10px 20px;
    }

    .nav-links li {
        padding: 0;
    }
}

/*以上內容為標題樣式 有改動全部都要重新貼過去*/

.container-product {
    background-color:#ddd
}

/*圖片*/
.product-image {
    text-align:center;
}

/*名稱及定價*/
.container-product-nameprice {
    text-align:center;
    background-color: #ddd
}

.product-illustrate {
    text-align:center;
}


.Create-order {
    text-align:center;
    color:rgb(0, 0, 0);
    background-color: #f0f0f0;
}

.Create-order h2 {
    text-align:center;
    color:red
}

/*下單輸入*/
.container-Create-order {
    max-width: 400px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/*間距*/
.order-form {
    display: flex;
    flex-direction: column;
}

/*項目文字*/
.order-form label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #b80000;
    font-weight: 500;
}

/*輸入框*/
.order-form input {
    width: 100%;
    margin-top: 5px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fcfcfc;
    box-sizing: border-box; /* 確保寬度包含內邊距 */
    transition: all 0.2s ease;
}

/*輸入框選中*/
.order-form input:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
}

/* 移除原本混亂的換行 */
.order-form br {
    display: none;
}

/* 按鈕美化 */
.submit-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-btn:hover {
    opacity: 0.8;
}






