/* ------------------------------ ส่วนหลัก ------------------------------*/
body {
    font-family: 'Anuphan', sans-serif;
    margin: 0;
    background-color: #f2f2f2;
}

.cart-layout {
    max-width: 100vw;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.cart-items,
.cart-summary {
    background: white;
    padding: 30px;
}

.cart-summary {
    height: fit-content;
    position: sticky;
    top: 20px;
}

@media (max-width: 767.98px) {
    .col-lg-3.col-md-4.mb-4 {
        /* นี่คือคลาสของ Sidebar Filters */
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background-color: #fff;
        z-index: 1050;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        padding: 15px;
        /* เพิ่ม 2 บรรทัดนี้ */
        display: none;
        /* ซ่อน sidebar บนมือถือโดยค่าเริ่มต้น */
        visibility: hidden;
        /* ซ่อนจากการมองเห็นโดยสมบูรณ์ */
    }

    .col-lg-3.col-md-4.mb-4.show-filter-overlay {
        transform: translateX(0);
        /* เพิ่ม 2 บรรทัดนี้ */
        display: block;
        /* แสดง sidebar เมื่อมี class นี้ */
        visibility: visible;
        /* แสดงให้เห็น */
    }

    #filterToggleBtn {
        display: block !important;
        margin-bottom: 15px;
    }
}

/* แสดง sidebar บนหน้าจอคอมพิวเตอร์ปกติ (หน้าจอตั้งแต่ 768px ขึ้นไป) */
@media (min-width: 768px) {
    .col-lg-3.col-md-4.mb-4 {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        z-index: auto;
        box-shadow: none;
        transform: none;
        transition: none;
        display: block !important;
        padding: 0;
        visibility: visible;
        /* ตรวจสอบให้แน่ใจว่าแสดงผลบน Desktop */
    }

    #filterToggleBtn {
        display: none !important;
    }
}

/* เพิ่ม CSS สำหรับ Overlay Backdrop */
.filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* สีดำโปร่งแสง */
    z-index: 1040;
    /* ต่ำกว่า sidebar แต่สูงกว่าเนื้อหาหลัก */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.filter-backdrop.show-filter-overlay {
    opacity: 1;
    visibility: visible;
}

/* เพิ่ม CSS เพื่อบล็อกการ Scroll ของ Body เมื่อ Overlay เปิดอยู่ */
body.no-scroll {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    main.container {
        padding-top: 20px !important;
        margin-left: 33px !important;
    }

    main.container h1 {
        font-size: 1.7rem !important;
    }

    main.container p {
        font-size: 0.8rem !important;
        margin-left: 2px !important;
        margin-right: 70px !important;
        margin-top: 0px !important;
    }
}





/* ------------------------------ หน้ารายละเอียดสินค้า ------------------------------*/
/* โครงสร้างหลักของหน้า Cart */
.cart-layout {
    display: flex;
    gap: 30px;
}

/* ส่วนของรายการสินค้าในตะกร้า */
.cart-items {
    flex: 2;
}

.cart-items h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2c3e50;
}

.cart-items p {
    text-align: center;
    color: #7f8c8d;
}

.cart-items .btn-continue-shopping {
    text-align: center;
    margin-top: 20px;
}

.cart-items .btn-continue-shopping a {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
}

.cart-form .cart-total {
    text-align: right;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 20px;
}

.cart-form .cart-total .total-amount {
    color: #000;
}

.cart-form .action-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.cart-form .action-buttons .btn-continue {
    background: #8f959bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
}

/* รายละเอียดสินค้าแต่ละชิ้น */
.cart-item-detail {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-item-detail .remove-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fee;
    color: #e74c3c;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
}

.cart-item-detail .product-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid #f0f0f0;
}

.cart-item-detail .item-details {
    flex: 1;
}

.cart-item-detail .item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.cart-item-detail .item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
}

/* ส่วนควบคุมจำนวนสินค้า */
.quantity-control {
    display: flex;
    align-items: center;
    margin-left: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
}

.quantity-control button {
    width: 35px;
    height: 35px;
    border: none;
    color: black;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    background: transparent;
}

.quantity-control input[type="number"] {
    width: 40px;
    height: 35px;
    line-height: 35px;
    border: none;
    text-align: center;
    font-size: 1rem;
    background: transparent;
    margin: 0 5px;
}

.cart-item-detail .item-total-price {
    margin-left: auto;
    font-weight: bold;
    color: #2c3e50;
}

/* ลบปุ่มลูกศรใน input number */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    /* สำหรับ Firefox */
}

/* ส่วนสรุปคำสั่งซื้อ */
.cart-summary {
    flex: 1;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
}

.cart-summary h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.cart-summary .summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cart-summary .subtotal-price {
    font-weight: bold;
}

.cart-summary .total-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.cart-summary .total-price {
    color: #000;
}

.cart-summary .shipping-note {
    display: block;
    text-align: right;
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.checkout-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #ffb5a4ff, #ffb5a4ff);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 154, 86, 0.4);
}

/* ส่วนหัวเรื่องสินค้าแนะนำ */
.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 2em;
    color: #333;
}

/* Media Queries สำหรับการแสดงผลบนมือถือ */
@media (max-width: 788px) {
    .cart-layout {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .cart-item-detail {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 10px;
    }

    .cart-item-detail .product-image {
        margin-bottom: 15px;
    }

    .cart-item-detail .item-name {
        margin-bottom: 5px;
    }

    .cart-item-detail .item-price {
        margin-bottom: 15px;
    }

    .quantity-control {
        margin-left: 0;
    }
}

/* Container สำหรับสินค้าแนะนำ */
.other-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* กล่องสินค้าแต่ละชิ้น */
.other-product-card {
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.other-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* รูปภาพสินค้า */
.other-product-card .product-image {
    width: 80%;
    height: 300px;
    object-fit: cover;
}

/* รายละเอียดสินค้า */
.other-product-card .product-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.other-product-card .product-name {
    font-weight: 600;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

/* ราคา */
.other-product-card .product-price {
    font-size: 1em;
    font-weight: bold;
    color: #d32f2f;
    text-align: center;
}

.other-product-card .discounted-price {
    color: black;
    margin-right: 10px;
}

.other-product-card .original-price {
    color: #333;
    text-decoration: line-through;
    font-weight: normal;
}

/* Media Queries สำหรับหน้าจอโทรศัพท์ */
@media (max-width: 768px) {
    .other-products-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-left: 20px;
        padding-right: 20px;
    }

    .other-product-card {
        flex: 0 0 auto;
        width: 60%;
        max-width: 250px;
        margin-right: 15px;
    }
}




/* ------------------------------ หน้าดำเนินการชำระเงิน ------------------------------*/

/* Container สำหรับข้อความส่วนหัว */
.payment-heading-container {
    text-align: center;
}

/* สไตล์สำหรับหัวข้อหลัก */
.payment-heading {
    color: #ffb5a3;
    margin: 0;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.main_checkout {
    max-width: 1700px;
    margin: 1rem auto 0px auto;
    background: #ffffff;
    overflow: hidden;
    padding-left: 30px;
}

/* ส่วนหัวเรื่องของสินค้าในตะกร้า */
.checkout-cart-title {
    color: #2d3748;
    margin: 0 0 24px 0;
    font-size: 20px;
    font-weight: 600;
}

/* กล่องข้อความเมื่อตะกร้าว่าง */
.cart-empty-message {
    padding: 20px;
    background: #fef5e7;
    border: 1px solid #f6e05e;
    color: #744210;
}

.cart-empty-message p {
    margin: 0;
}

.cart-empty-message a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}

/* รายการสินค้าในตะกร้า */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* ใช้ gap แทน margin-bottom */
}

/* กล่องสินค้าแต่ละชิ้น */
.checkout-cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

/* รูปภาพสินค้า */
.checkout-cart-item .product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* รายละเอียดสินค้า */
.checkout-cart-item .item-details {
    flex: 1;
}

.checkout-cart-item .item-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 16px;
    margin-bottom: 4px;
}

.checkout-cart-item .item-info {
    color: #718096;
    font-size: 14px;
}

/* ราคารวมของสินค้าแต่ละชิ้น */
.checkout-cart-item .item-total-price {
    font-weight: 700;
    color: #2d3748;
    font-size: 18px;
}

/* ส่วนหัวข้อสรุปคำสั่งซื้อ */
.order-summary-title {
    color: #2d3748;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
}

/* Container ของราคาสินค้าทั้งหมด */
.summary-details {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

/* แถวแสดงราคาสินค้า */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* ข้อความแสดงรายละเอียดราคา */
.summary-label {
    color: #718096;
}

/* ตัวเลขราคา */
.summary-price {
    color: #2d3748;
    font-weight: 500;
}

/* ส่วนหัวข้อข้อมูลลูกค้า */
.customer-info-title {
    color: #2d3748;
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
}

/* Container สำหรับแต่ละ Field */
.form-field-group {
    margin-bottom: 16px;
}

/* Label ของ Field */
.form-label {
    display: block;
    margin-bottom: 6px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
}

.form-label .required-star {
    color: #e53e3e;
}

/* Input Field ทั่วไป */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

/* สไตล์เมื่อ Input ถูก Focus */
.form-input:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    outline: none;
    /* ลบ outline ที่มากับ browser */
}

/* กล่องข้อความเมื่อลูกค้าเข้าสู่ระบบแล้ว */
.logged-in-message {
    padding: 16px;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    margin-bottom: 20px;
}

.logged-in-message p {
    margin: 0;
    color: #22543d;
    font-weight: 500;
    font-size: 14px;
}

/* Input Field แบบ Read-only (เมื่อเข้าสู่ระบบแล้ว) */
.form-input.readonly {
    background: #f7fafc;
    color: #4a5568;
    cursor: not-allowed;
}

.form-input.readonly:focus {
    border-color: #e2e8f0;
    box-shadow: none;
}

/* Container สำหรับแต่ละกลุ่มฟอร์ม */
.form-group {
    margin-bottom: 16px;
}

/* Label สำหรับฟอร์ม */
.form-label {
    display: block;
    margin-bottom: 6px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
}

/* สัญลักษณ์ดาวสีแดงสำหรับฟิลด์ที่จำเป็น */
.required-star {
    color: #e53e3e;
}

/* Input field ทั่วไป (สำหรับวันที่และอื่นๆ) */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

/* สไตล์เมื่อ input ได้รับการโฟกัส */
.form-input:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    outline: none;
    /* ลบเส้นกรอบสีน้ำเงินที่เบราว์เซอร์สร้างขึ้น */
}

/* Dropdown list (select box) */
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
    appearance: none;
    /* ซ่อนลูกศร default ของเบราว์เซอร์ */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234a5568" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    /* เพิ่มพื้นที่สำหรับลูกศร */
}

/* Container สำหรับฟอร์ม */
.form-group {
    margin-bottom: 16px;
}

/* Label สำหรับ field */
.form-label {
    display: block;
    margin-bottom: 6px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
}

/* Textarea สำหรับข้อความ */
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
    resize: vertical;
    font-family: inherit;
    /* ใช้ font ของหน้าหลัก */
    box-sizing: border-box;
}

/* สไตล์เมื่อ textarea ได้รับการโฟกัส */
.form-textarea:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    outline: none;
}

/* หัวข้อส่วนการ์ดอวยพร */
.card-selection-section h4 {
    margin-top: 24px;
    margin-bottom: 16px;
}

/* Checkbox สำหรับการ์ดอวยพร */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Checkbox input */
.form-check-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Label สำหรับ checkbox */
.form-check-label {
    font-size: 16px;
    color: #4a5568;
}

/* Radio button สำหรับการเลือกรูปแบบการ์ด */
.form-check-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 16px;
    margin-top: 10px;
    gap: 8px;
}

/* ข้อความอธิบายขนาดการ์ด */
.card-size-info {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
}

/* ดาวสีแดงในข้อความอธิบาย */
.card-size-info .required-star {
    color: red;
}

/* Container สำหรับตัวเลือกทั้งหมด */
.shipping-options-container {
    margin-bottom: 20px;
}

/* Label สำหรับหัวข้อหลัก */
.shipping-options-label {
    display: block;
    margin-bottom: 12px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
}

/* Container ของปุ่ม radio */
.shipping-radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Style ของแต่ละปุ่ม radio ที่เป็น label */
.radio-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
}

/* สไตล์เมื่อปุ่มถูกเลือก */
.radio-option.selected {
    border-color: #3182ce;
    background: #ebf8ff;
}

/* ซ่อน input radio เริ่มต้นและจัดตำแหน่งใหม่ */
.radio-option input[type="radio"] {
    margin-right: 8px;
    accent-color: #3182ce;
}

/* ข้อความในปุ่ม radio */
.radio-option-text {
    font-size: 13px;
    font-weight: 500;
}

/* สีข้อความสำหรับสถานะปกติ */
.radio-option .radio-option-text {
    color: #4a5568;
}

/* สีข้อความสำหรับสถานะที่ถูกเลือก */
.radio-option.selected .radio-option-text {
    color: #2b6cb0;
}

/* สไตล์เมื่อ hover */
.radio-option:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.radio-option.selected {
    background: #ebf8ff !important;
    border: 2px solid #3182ce !important;
}

.radio-option.selected span {
    color: #2b6cb0 !important;
    font-weight: 500;
}

.radio-option:not(.selected) {
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
}

.radio-option:not(.selected) span {
    color: #4a5568 !important;
}

/* Container สำหรับฟอร์มทั้งหมด */
#receiver-fields {
    margin-bottom: 20px;
}

/* Container สำหรับแต่ละกลุ่มฟอร์ม (label + input) */
.form-group {
    margin-bottom: 16px;
}

/* Label สำหรับหัวข้อฟอร์ม */
.form-label {
    display: block;
    margin-bottom: 6px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
}

/* Input ทั่วไป */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

/* Textarea */
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

/* สไตล์เมื่อ input หรือ textarea ถูกโฟกัส */
.form-input:focus,
.form-textarea:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    outline: none;
    /* เพื่อลบ outline ที่เบราว์เซอร์สร้างขึ้น */
}

/* กล่องข้อความแจ้งค่าบริการ */
#shipping_fee_notice {
    display: none;
    padding: 20px;
    background: #fef5e7;
    border: 1px solid #f6e05e;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* ข้อความในกล่องแจ้งค่าบริการ */
#shipping_fee_notice p {
    margin: 0;
    color: #744210;
    font-size: 13px;
    font-weight: 500;
}

/* Container สำหรับยอดรวมสุทธิ */
.total-summary {
    display: flex;
    justify-content: space-between;
    margin: 24px 0px;
    align-items: center;
}

/* Label สำหรับ "ยอดรวมสุทธิ" */
.total-summary-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 18px;
}

/* แสดงราคาสุทธิ */
.total-summary-amount {
    font-weight: 700;
    color: #3182ce;
    font-size: 20px;
}

/* ปุ่มดำเนินการสั่งซื้อ */
.checkout-button {
    width: 100%;
    padding: 16px;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    /* เพิ่ม border-radius เพื่อให้เข้ากับสไตล์อื่นๆ */
}

/* สไตล์พื้นหลังของปุ่ม (ไล่โทนสี) */
.checkout-button-bg {
    background: linear-gradient(135deg, #ffb5a4ff 0%, #ffb5a4ff 100%);
    box-shadow: 0 4px 14px rgba(72, 187, 120, 0.3);
}

/* สไตล์เมื่อ hover บนปุ่ม */
.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

/* สำหรับมือถือ */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .img_01 {
        margin-bottom: 15px;
    }

    .cart-item-img {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .cart-item-total {
        align-self: flex-end;
        font-size: 16px;
        margin-top: 8px;
    }

    .price_all_pro01 {
        margin-left: -1rem;
    }
}




/* ------------------------------ หน้าจ่ายเงิน ------------------------------*/
/* Container สำหรับ card หลัก */
.payment-card-container {
    font-family: Anuphan, sans-serif;
    max-width: 600px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* สไตล์สำหรับหัวข้อหลัก */
.payment-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

/* สไตล์สำหรับข้อความปกติ */
.payment-text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #555;
}

/* สไตล์สำหรับตัวเลขและรหัสคำสั่งซื้อ */
.order-id-strong {
    color: #007bff;
}

.total-amount-strong {
    color: #e53935;
    font-size: 1.75rem;
}

/* ปุ่มและแท็บ */
.nav-tabs .nav-link.active {
    /* เพิ่มสไตล์สำหรับแท็บที่ถูกเลือก */
    font-weight: bold;
    color: #ffb5a3;
    border-color: #ffb5a3 #ffb5a3 #fff;
}

/* สไตล์ปุ่ม PromptPay */
.btn-promptpay {
    background-color: #28a745;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-promptpay:hover {
    background-color: #218838;
}

/* สไตล์สำหรับ Modal (Pop-up) */
.modal-body.text-center img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}




/* ------------------------------ หน้าหลักที่มี Filter ------------------------------*/
