/* ===== Enquiry Styles (follow old version) ===== */

/* ---------- Enquiry wrap inner padding ---------- */
.enquiry_wrap_in {
    padding: 30px;
}

/* ---------- Liveprint enquiry button state ---------- */
.add_cart.enquiried {
    background: none !important;
}
.add_cart.enquiried .fa-check {
    color: #28a745;
}

/* ---------- Badge (header cart icon) ---------- */
.mini-cart-items.enquiry-badge {
    position: absolute;
    color: #fff;
    background: #ff6600;
    border-radius: 50%;
    font-size: 11px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    top: -8px;
    right: -8px;
    z-index: 10;
}

/* ---------- Quickview Enquiry sidebar ---------- */
.quickview-enquiry {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30000;
    /* 需高於 mobile-discover-quickview / mobile-product-quickview（z-index:20001），否則從快速預覽加入後側欄會被抽屜蓋住 */
    width: 400px;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    -webkit-transition: all .5s;
    transition: all .5s;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,.15);
}
.quickview-enquiry.active {
    transform: translateX(0);
}
.quickview-enquiry::-webkit-scrollbar { width: 4px; }
.quickview-enquiry::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #535353;
}
.quickview-enquiry .head {
    position: relative;
    text-align: center;
    border-bottom: 3px solid #efefef;
    padding: 15px 10px;
}
.quickview-enquiry .head .return-hd {
    display: inline-block;
    padding: 0 10px 0 4px;
    font-size: 24px;
    position: absolute;
    left: 0;
    cursor: pointer;
}
.quickview-enquiry .head .title {
    font-size: 24px;
    font-weight: bold;
}
.quickview-enquiry .content {
    padding: 15px;
}
.quickview-enquiry .tab-cart .tb-title,
.quickview-enquiry .tab-contact .tb-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}
.quickview-enquiry .item-list .riy-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}
.quickview-enquiry .item-list .riy-item .inquiry-list-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    border: 1px solid #f5f5f5;
}
.quickview-enquiry .item-list .riy-item .iy-info {
    flex: 1;
    min-width: 0;
}
.quickview-enquiry .item-list .riy-item .iy-info .name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    color: #333;
    max-width: 192px;
}
.quickview-enquiry .item-list .riy-item .iy-info .model {
    display: block;
    font-size: 12px;
    color: #999;
    margin: 4px 0;
}
.quickview-enquiry .item-list .riy-item .iy-info .quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.quickview-enquiry .item-list .riy-item .iy-info .quantity b {
    font-size: 13px;
    color: #333;
}
.quickview-enquiry .item-list .riy-item .iy-info .quantity .quantityzzx {
    width: 60px;
    height: 30px;
    text-align: center;
    padding: 2px 4px;
    font-size: 13px;
}
.quickview-enquiry .item-list .riy-item .removep {
    position: absolute;
    top: 10px;
    right: 0;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
}
.quickview-enquiry .item-list .riy-item .removep:hover {
    color: #ff6600;
}
.quickview-enquiry .empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

/* Sidebar contact form */
.quickview-enquiry .tab-contact {
    margin-top: 20px;
}
.quickview-enquiry .tab-contact .input {
    margin-bottom: 10px;
}
.quickview-enquiry .tab-contact .input input,
.quickview-enquiry .tab-contact .input textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}
.quickview-enquiry .tab-contact .input input:focus,
.quickview-enquiry .tab-contact .input textarea:focus {
    outline: none;
    border-color: #ff6600;
}
.quickview-enquiry .btnd {
    margin-top: 20px;
    text-align: center;
}
.quickview-enquiry .btnd .btn-riy {
    width: 100%;
    padding: 12px;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}
.quickview-enquiry .btnd .btn-riy:hover {
    background-color: #e55c00;
}
.quickview-enquiry .tab-contact .input input.error,
.quickview-enquiry .tab-contact .input textarea.error {
    border-color: #ff6600;
}

/* ---------- Header cart hover dropdown ---------- */
.cart-dropdown {
    position: relative;
}

.cart-dropdown .enquiry_incontainer {
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    z-index: 9991;
    width: 310px;
    padding: 12px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
    margin-top: 10px;
}
.cart-dropdown .enquiry_incontainer .riy-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-dropdown .enquiry_incontainer .riy-item .inquiry-list-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 8px;
    border: 1px solid #f5f5f5;
}
.cart-dropdown .enquiry_incontainer .riy-item .iy-info {
    flex: 1;
    min-width: 0;
}
.cart-dropdown .enquiry_incontainer .riy-item .iy-info .name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #333;
}
.cart-dropdown .enquiry_incontainer .riy-item .iy-info .model {
    font-size: 11px;
    color: #999;
}
.cart-dropdown .enquiry_incontainer .riy-item .iy-info .quantity {
    font-size: 12px;
    color: #666;
}

/* ---------- Floating enquiry button ---------- */
.quick_enquiry {
    position: fixed;
    z-index: 1030;
    bottom: 5px;
    right: 5px;
    transition: all 1s;
    cursor: pointer;
}
.quick_enquiry .hk_close {
    position: absolute;
    right: 10px;
    top: -40px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    height: 30px;
    text-align: center;
    width: 30px;
    line-height: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 0px 6px 0px #b2b2b2;
}
.quick_enquiry .hk_close:hover {
    background: #efefef;
}
.quick_enquiry .hk-icon-hide {
    display: none;
}
.quick_enquiry .enquiry-img {
    max-width: 180px;
    max-height: 180px;
}

/* ---------- do-quick-enquiry 浮層卡片 (60 秒後滑入) ---------- */
.do-quick-enquiry {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 200px;
    min-height: 250px;
    z-index: 1009;
    background: #fff100;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 1px 3px 5px #999;
    font-size: 16px;
    font-style: oblique;
    text-align: center;
    font-weight: bold;
    color: #000;
    display: none;
}
.do-quick-enquiry .contact-us {
    margin-top: -50px;
}
.do-quick-enquiry a {
    font-weight: bold;
}
.do-quick-enquiry .btn-primary {
    width: 100%;
    display: block;
    font-size: 20px;
    border-radius: 30px;
    font-weight: bold;
    color: #fff;
    background-color: #f60;
    border-color: #f60;
}
.do-quick-enquiry .btn-white {
    background: #fff;
    padding: 6px 12px;
    width: 80%;
    display: block;
    border-radius: 30px;
    margin: 10px auto 0;
    font-weight: bold;
    color: #000;
    white-space: nowrap;
}
.do-quick-enquiry .lie {
    margin-top: 20px;
}
.do-quick-enquiry .li-icon {
    width: 26px;
    height: 26px;
    display: inline-block !important;
    vertical-align: bottom;
}
.do-quick-enquiry .was {
    color: #1ACE16;
}
.do-quick-enquiry .btn-close {
    font-weight: bold;
    font-style: normal;
    position: absolute;
    right: -10px;
    top: -45px;
    font-size: 20px;
}
.do-quick-enquiry .btn-close:hover {
    color: #f60;
}
.do-quick-enquiry .btn-white:hover {
    opacity: 0.8;
}
@keyframes move-to-top {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
.moveUp {
    animation: move-to-top 2s forwards;
}

/* ---------- Modal overlay ---------- */
.quick_enquiry_mask {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    left: 0;
    top: 0px;
    transform: translateY(200px) translateX(-200px);
}
.quick_enquiry_mask.active {
    visibility: visible;
    z-index: 119929;
    transform: translateY(0) translateX(0);
    transition: opacity 0.5s, transform 0.5s;
}

/* Close button (outer) */
.quick_enquiry_close {
    position: absolute;
    z-index: 2001;
    right: 2px;
    top: 2px;
    cursor: pointer;
}
.quick_enquiry_close img {
    width: 50px;
}

/* ---------- Modal container ---------- */
.ut_modal {
    width: 100%;
    max-width: 830px;
    z-index: 1111199;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 45%;
    transform: translateY(-40%);
    border-radius: 6px;
}
.ut_modal_content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}
.ut_modal_content .error,
.quick_for_case .error {
    border: 1px solid #ff6600;
}

/* ---------- Title area ---------- */
.quick_enquiry_mask .position-relative {
    background-color: #F0F0F0;
    margin: -30px -30px 17px;
    padding: 30px 30px 1px;
    border-radius: 10px 10px 0 0;
}
.quick_enquiry_mask .quick_enquiry_close {
    right: -60px;
    top: -34px;
}
.quick_enquiry_mask .title-posin {
    color: #000;
    font-size: 30px;
    font-weight: bold;
    margin: 0 0 0 10px;
}
.quick_enquiry_mask .title-posin img {
    padding-right: 10px;
    vertical-align: middle;
}
.quick_enquiry_mask .title-desc {
    margin: 5px 0 40px 10px;
    font-size: 14px;
}
.quick_enquiry_mask img.mos {
    width: 71%;
    display: inline-block;
    float: right;
    margin-right: -69px;
    margin-top: -220px;
}

/* ---------- Form ---------- */
.quick_enquiry_mask .form-control {
    box-shadow: none;
    border-radius: 0;
}
.quick_enquiry_mask .control-label {
    font-weight: normal;
    font-size: 14px;
    color: #AEAEAE;
}
.quick_enquiry_mask .quick_f .control-label {
    font-weight: normal;
    font-size: 13px;
    color: #AEAEAE;
}
.quick_enquiry_mask .form-group {
    margin-bottom: 3px;
}
.quick_enquiry_mask .form-group.required .control-label:after {
    content: ' *';
    color: #F00;
    font-weight: bold;
}
.quick_enquiry_mask textarea {
    resize: none;
}

/* File upload zone */
.quick_enquiry_mask .col-sm-5.col-md-5 {
    display: flex;
    flex-direction: column;
}
.quick_enquiry_mask .file_zone {
    background-color: #F7F7F7;
    border: 2px dashed #D4D4D4 !important;
    position: relative;
    flex: 1;
    min-height: 410px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.quick_enquiry_mask .file_zone.dz-started {
    justify-content: flex-start;
    padding: 10px;
}
.quick_enquiry_mask .file_zone.dz-drag-hover {
    border-color: #FF6600 !important;
    background-color: #FFF3E6;
}
.quick_enquiry_mask .file_zone .upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quick_enquiry_mask .dropzone .dz-button {
    display: none !important;
}
.quick_enquiry_mask .dropzone .dz-message {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.quick_enquiry_mask .file_zone.dz-started.dropzone {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
}
.quick_enquiry_mask .file_zone.dz-started.dropzone .dz-message {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    margin: 4px;
    order: 10;
}
.quick_enquiry_mask .file_zone.dz-started.dropzone .dz-message .upload-placeholder .select_file,
.quick_enquiry_mask .file_zone.dz-started.dropzone .dz-message .upload-placeholder .desc {
    display: none;
}
.dz-started .select_file,
.dz-started .desc {
    display: none;
}
.quick_enquiry_mask .file_zone.dz-started.dropzone .dz-message .upload-placeholder .add_more {
    margin-bottom: 0;
    border: none;
    width: auto;
    height: auto;
    line-height: 1;
    font-size: 40px;
}
.quick_enquiry_mask .file_zone.dz-started.dropzone .dz-message .upload-placeholder .add_more:hover {
    border: none;
}
.quick_enquiry_mask .dropzone .dz-preview {
    position: relative;
    border-radius: 50%;
    margin: 10px;
    min-height: 100px;
    width: 100px;
    flex-shrink: 0;
}
.quick_enquiry_mask .dropzone .dz-preview .dz-image {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    overflow: hidden;
}
.quick_enquiry_mask .dropzone .dz-preview .dz-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.quick_enquiry_mask .dropzone .dz-preview .dz-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    font-size: 14px;
    color: #666;
    border: 1px solid #ddd;
    padding: 0;
}
.quick_enquiry_mask .dropzone .dz-preview .dz-remove:hover {
    background: #FF6600;
    color: #fff;
    border-color: #FF6600;
}
.quick_enquiry_mask .dropzone .dz-preview .dz-error-message,
.quick_enquiry_mask .dropzone .dz-preview .dz-success-mark,
.quick_enquiry_mask .dropzone .dz-preview .dz-error-mark {
    display: none !important;
}
.quick_enquiry_mask .dropzone .upload-placeholder .add_more {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    color: #999;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}
.quick_enquiry_mask .dropzone .upload-placeholder .add_more:hover {
    border-color: #FF6600;
    color: #FF6600;
}
.quick_enquiry_mask .dropzone .upload-placeholder .select_file {
    color: #AEAEAE;
    font-size: 14px;
    margin-bottom: 5px;
}
.quick_enquiry_mask .dropzone .upload-placeholder .desc {
    font-size: 12px;
    color: #BEBEBE;
    line-height: 1.6;
}

/* Option checkbox */
.quick_enquiry_mask .enquiry-option {
    margin-bottom: 10px;
}
.quick_enquiry_mask .enquiry-option .option-checkbox {
    display: flex;
    align-items: center;
    font-weight: normal;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}
.quick_enquiry_mask .enquiry-option .option-checkbox input[type="checkbox"] {
    margin-right: 6px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ---------- Submit button ---------- */
.quick_enquiry_mask .enquiry-submit {
    width: 100%;
    max-width: 380px;
    padding: 12px;
    background-color: #FF6600;
    border: unset;
    color: #fff;
    border-radius: 30px;
    margin-top: 15px;
}
.quick_enquiry_mask .enquiry-submit:hover {
    background-color: #e55c00;
}
.quick_enquiry_mask .enquiry-submit:disabled {
    opacity: 0.6;
}

/* ---------- Close button (inner) ---------- */
.quick_enquiry_mask .btn-close {
    cursor: pointer;
    color: #FFF;
    font-size: 42px;
    padding: 0 6px;
}

/* ---------- Success message ---------- */
.quick_enquiry_mask .send_success {
    display: none;
    text-align: center;
    padding: 50px 20px;
    font-size: 18px;
    color: #4CAF50;
}
.quick_enquiry_mask .send_success .success-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

/* ---------- Loading ---------- */
.quick_enquiry_mask .ajax_loader {
    display: none;
    text-align: center;
    padding: 20px;
}
.quick_enquiry_mask .ajax_loader img {
    width: 32px;
    height: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .quick_enquiry_mask {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .quick_enquiry_mask img.mos {
        display: none;
    }
    /* 需比 public.css 的 form .row > [class*="col-"] (0,2,1) 更高權重，否則手機端 padding 被清零 */
    .quick_enquiry_mask .ut_modal_content .quick_f {
        padding: 0 15px;
    }
    .quick_enquiry_mask textarea.form-control {
        height: 60px;
    }
}

/* ---------- Enquiry Page (/enquiry) ---------- */
.enquiry-page {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0 6px 4px rgb(0 0 0 / 10%);
    padding: 30px;
}
.enquiry-page .enq-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
}
.enquiry-page .form-section {
    margin-bottom: 20px;
}
.enquiry-page .form-section .form-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}
.enquiry-page .form-group {
    margin-bottom: 12px;
}
.enquiry-page .form-group label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 3px;
}
.enquiry-page .form-group input,
.enquiry-page .form-group textarea,
.enquiry-page .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.enquiry-page .form-group input:focus,
.enquiry-page .form-group textarea:focus,
.enquiry-page .form-group select:focus {
    outline: none;
    border-color: #ff6600;
}
.enquiry-page .form-group input.error,
.enquiry-page .form-group textarea.error {
    border-color: #ff6600;
}
.enquiry-page .submit-btn {
    width: 100%;
    padding: 14px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}
.enquiry-page .submit-btn:hover {
    background: #e55c00;
}
.enquiry-page .submit-btn:disabled {
    opacity: 0.6;
}
.enquiry-page .other-contact {
    margin-top: 40px;
    padding: 20px 0 0;
    border-top: 1px solid #eee;
}
.enquiry-page .other-contact .contact-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}
.enquiry-page .other-contact .contact-items {
    display: flex;
    gap: 30px;
}
.enquiry-page .other-contact .contact-items a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    gap: 5px;
}
.enquiry-page .other-contact .contact-items a:hover {
    color: #ff6600;
}
.enquiry-page .other-contact .contact-items a img {
    width: 40px;
    height: 40px;
}
.enquiry-imgbak {
    position: absolute;
    z-index: -2;
}

/* ---------- Woocommerce Checkout Styles (enquiry page) ---------- */
.order-review #order-review .enquiry-list {
    width: 90%;
    max-height: 560px;
    overflow-y: auto;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: bold;
}
.order-review #order-review .select-total {
    font-size: 14px;
    line-height: 28px;
    padding: 10px 40px;
    display: inline-block;
    float: right;
}
.order-review .product-thumbnail {
    padding: 20px 20px 20px 0;
}
.order-review .product-total {
    width: 110px;
    text-align: center;
}
.order-review .product-quantity .quantityzzx {
    display: inline-block;
    width: 50px;
    padding: 5px;
    margin: -5px 6px 0;
    height: 30px;
}
.order-review .product-quantity a {
    font-size: 20px;
    padding: 5px;
    border: 1px solid #999;
    width: 25px;
    height: 25px;
    line-height: 13px;
    border-radius: 50%;
    display: inline-block;
}
.order-review .product-quantity a:hover {
    color: #2a6496;
    border: 1px solid #2a6496;
}
.order-review .product-remove .removep {
    display: inline-block;
    border-radius: 30px !important;
    background: #fff;
    font-size: 16px;
    color: inherit;
    padding: 3px;
    height: 25px;
    width: 25px;
}
.order-review .product-remove .removep:hover {
    color: #2a6496;
}
.order-review .cart_item td {
    border-bottom: 1px solid #d0d0d0;
}
.order-review .cart_item:last-child td {
    border-bottom: none;
}
.woocommerce input.button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    font-family: inherit;
    text-decoration: none;
    overflow: visible;
    padding: 0.618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #ebe9eb;
    border-radius: 30px;
    margin:30px;
    margin-left:0px;
    border: 0;
    white-space: nowrap;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    text-shadow: none;
}
.woocommerce form .form-row .required {
    color: red;
    font-weight: 700;
    border: 0;
}
.woocommerce-checkout {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0 6px 4px rgb(0 0 0 / 10%);
    padding: 30px;
}
.woocommerce-checkout .enq_title {
    margin-bottom: 40px;
}
.woocommerce-checkout .enq_title img {
    margin-right: 14px;
    vertical-align: top;
}
.woocommerce-checkout .product-quantity {
    width: 128px;
}
.woocommerce-checkout .cart_item:last .border-bottom {
    border: unset;
}
.woocommerce-checkout #customer_details {
    border-left: 1px solid #EBEBEB;
    margin-left: -30px;
    padding-left: 30px;
}
/* col-4 從舊站 BS3 移植（BS3 中為無樣式普通區塊），BS4 下 .col-4 是任何視口都生效的 33.33% 柵格，
   必須固定為 100% 寬，否則 PC/手機都會被壓窄 */
.woocommerce-checkout #customer_details .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
}
.order-review #order-review .enquiry-list::-webkit-scrollbar {
    width: 12px;
    height: 1px;
}
.order-review #order-review .enquiry-list::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #535353;
}
.order-review #order-review .enquiry-list::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 5px;
    background: #EDEDED;
}
.woocommerce-checkout .upload_files .file_zone {
    background-color: #F7F7F7;
    border: 2px dashed #D4D4D4 !important;
    position: relative;
    height: 172px;
    overflow-y: auto;
    overflow-x: hidden;
}
.woocommerce-checkout .upload_files .file_zone::-webkit-scrollbar {
    width: 12px;
    height: 1px;
}
.woocommerce-checkout .upload_files .file_zone::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #535353;
}
.woocommerce-checkout .upload_files .dropzone .dz-preview .dz-image {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.woocommerce-checkout .upload_files .dropzone .dz-preview.dz-image-preview {
    border-radius: 20px;
}
.woocommerce-checkout .upload_files .file_zone::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 5px;
    background: #EDEDED;
}
.woocommerce-checkout .upload_files .dropzone .up_img {
    padding: 30px 0;
    text-align: center;
    background-image: url(/image/icon/add_file.png);
    height: 200px;
    background-repeat: no-repeat;
    background-position: center;
}
.woocommerce-checkout .dropzone .dz-message {
    margin: 30px 0;
    display: flex;
    align-items: center;
}
.woocommerce-checkout .select_file {
    margin: 0;
    text-align: left;
    font-size: 20px;
    color: #BABABA;
    font-weight: bold;
}
.woocommerce-checkout .desc {
    text-align: left;
    font-size: 14px;
    color: #BABABA;
    margin-top: 15px;
}
.woocommerce-checkout .dropzone {
    padding: 5px 20px;
}
.woocommerce-checkout .dropzone .dz-preview .dz-remove {
    display: none;
}
.dropzone .dz-preview:hover .dz-remove {
    display: block;
}
.woocommerce-checkout .dropzone.dz-clickable .add_more {
    display: none;
}
.woocommerce-checkout .dropzone.dz-clickable.dz-started .add_more {
    display: block;
    font-size: 14px;
    color: #BEBEBE;
    text-align: center;
    width: 100%;
    bottom: -10px;
    position: absolute;
    cursor: pointer;
    text-decoration-line: underline;
}
.btn-primarys {
    background: #3991DB !important;
    color: #FFF !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    border-radius: 30px;
    margin-top:30px;
    width: 100%;
    border: none;
    outline: none;
    box-shadow: none;
}
.btn-primarys:hover {
    background: #26769A !important;
    border: none;
}
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}
.btn-loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.woocommerce-checkout .form-row {
    margin-bottom: 10px;
   
}
.woocommerce-checkout .form-row .input-text {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.woocommerce-checkout .form-row .input-text:focus {
    outline: none;
    border-color: #ff6600;
}
.woocommerce-checkout .form-row select {
    width: 100%;
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
}
.woocommerce-checkout .form-row select:focus {
    outline: none;
    border-color: #ff6600;
}
.woocommerce-checkout .form-row select::-ms-expand {
    display: none;
}
.woocommerce-checkout .form-row #billing_htk_field {
    position: relative;
}
.woocommerce-checkout .form-row #billing_htk_field::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
    font-size: 12px;
}
.woocommerce-checkout .form-row-wide {
    width: 100%;
}
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48%;
    float: left;
}
.woocommerce-checkout .form-row-last {
    float: right;
}
.woocommerce-checkout .form-row textarea.input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}
.woocommerce-checkout .cart_empty {
    padding: 30px;
    text-align: center;
    font-size: 12pt;
    font-weight: bold;
}
.woocommerce-checkout .enquiry_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.woocommerce-checkout .text-24 {
    font-size: 24px;
    font-weight: bold;
}
.woocommerce-checkout .text_center {
    text-align: center;
}
.woocommerce-checkout .clear {
    clear: both;
}
.woocommerce-checkout .clearfix {
    clear: both;
}
.enq_contact {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-top: 20px;
}
.enq_contact .title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}
.enq_contact .top-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.enq_contact .top-icon img {
    width: 100%;
    height: 100%;
}
.enq_contact .icon-name {
    text-align: center;
    font-size: 12px;
    color: #333;
}
@media (max-width: 768px) {
    .woocommerce-checkout {
        padding: 10px;
    }
    .woocommerce-checkout .enq_title {
        margin: 20px 0;
    }
    #enquiry-form #payment {
        padding-bottom: 20px;
    }
    .woocommerce-checkout #customer_details {
        border-left: unset;
        margin-left: 0;
        padding-left: 0;
    }
    .woocommerce-checkout .dropzone {
        padding: 5px 12px;
    }
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
    }
    .enquiry_wrap_in {
        padding: 10px;
    }
    /* ===== order-review 手機端對齊正式站 igpgift.com（舊站 style.css ≤767px 規則） ===== */
    .order-review #order-review .enquiry-list {
        width: 100%;
    }
    .order-review #order-review .select-total {
        padding: 10px 0;
        display: block;
    }
    .order-review .product-total {
        width: auto;
    }
    .order-review .product-thumbnail {
        width: 60px;
        padding-right: 10px;
    }
    .order-review .product-quantity .quantityzzx {
        margin-top: 0;
    }
    /* ===== mobile-add 手機附件上傳區（對齊正式站 woocommerce-layout.css ≤768px） ===== */
    .mobile-add {
        width: 100%;
        text-align: right;
    }
    .mobile-add-file {
        text-align: left;
        padding: 15px;
        border-radius: 6px;
        color: #858585;
        font-size: 14px;
        text-decoration: underline;
    }
    .mobile-add .files {
        font-size: 12px;
        color: #999;
        width: 60%;
        float: right;
        margin-top: -36px;
    }
    /* ===== 標題手機版縮放（對齊正式站） ===== */
    .woocommerce-checkout .enquiry_title {
        text-align: center;
    }
    .woocommerce-checkout .text-24 {
        font-size: 18px !important;
        line-height: 38px;
    }
    html[lang="en"] .woocommerce-checkout .text-24 {
        font-size: 15px !important;
    }
    /* ===== enq_contact 手機版（對齊正式站） ===== */
    .enq_contact {
        text-align: center;
        margin: 40px 15px 20px;
        font-size: 13px;
    }
    .enq_contact .title {
        color: #666;
        padding: 15px;
    }
}

/* ---------- Enquiry Success Page (/enquiry/success) ---------- */
.thank_gray_div {
    background-color: #f2f2f2;
}
.thank_gray_div svg {
    margin-top: 10px;
    margin-bottom: -10px;
}
.liveprint-background {
    background: #222;
    margin: 60px 0 150px;
}
.liveprint-center {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    position: relative;
    max-width: 1580px;
}
.liveprint-center img {
    max-width: 50%;
}
.liveprint-center .img-left-1 {
    max-width: 30%;
    position: absolute;
    left: 9%;
    top: 5%;
}
.liveprint-center .img-left-2 {
    position: absolute;
    right: 46%;
    bottom: -18%;
    max-width: 48%;
}
.liveprint-center .rposi-abs {
    position: absolute;
    right: 8%;
    top: 0;
}
.liveprint-center .buttons {
    position: absolute;
    left: 10%;
    bottom: 20%;
    width: 30%;
}
.liveprint-center .buttons .btn-primary {
    margin-right: 2%;
    width: 46%;
    line-height: 28px;
    font-weight: bold;
    font-size: 18px;
}
.mobile-show {
    display: none;
}
.mobile-hide {
    display: block;
}
.thanks_container {
    margin-top: 3%;
    display: flex;
    align-items: center;
}
.thanks_container .hotline {
    max-width: 490px;
    width: 100%;
    margin: 20px auto;
    display: flex;
    align-items: center;
}
.thanks_container .hotline .area {
    font-size: 20px;
    font-weight: bold;
}
.thanks_container .hotline .contact {
    text-align: left;
    line-height: 30px;
    padding-left: 20px;
    border-left: 1px solid #999;
}
.thanks_container .thank_img img {
    width: 100%;
    max-width: 719px;
}
.thanks_container .thank_text {
    text-align: center;
}
.thanks_container .thank_text h2 {
    font-size: 50px;
    font-weight: bold !important;
    margin-bottom: 20px;
}
.thanks_container .thank_text p {
    font-size: 16px;
    font-weight: bold;
}
.thanks_container .enq_no {
    display: inline-block;
    background-color: #FF7315;
    color: #fff;
    padding: 5px 30px;
    font-size: 23px;
    font-weight: bold;
    border-radius: 25px;
    margin-bottom: 20px;
}
.thanks_container .iconNewicon-25,
.thanks_container .iconNewicon-24 {
    color: #fff;
    background-color: #07D559;
    width: 25px;
    height: 25px;
    font-size: 16px !important;
    text-align: center;
    border-radius: 20px;
    line-height: 25px;
    margin-left: 5px;
}
@media (max-width: 768px) {
    .thanks_container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .thanks_container .thank_text {
        order: 2;
        margin-top: 5%;
        width: 100%;
    }
    .thanks_container .hotline {
        flex-wrap: wrap;
        justify-content: center;
    }
    .thanks_container .thank_text h2 {
        font-size: 35px;
    }
    .thanks_container .hotline .contact {
        border-left: unset;
    }
    .liveprint-center {
        width: 100%;
    }
    .liveprint-center .buttons .btn-primary {
        font-size: 16px;
    }
    .mobile-show {
        display: block;
        text-align: center;
    }
    .mobile-hide {
        display: none;
    }
}
