.elementor-972 .elementor-element.elementor-element-59920fc4{--display:flex;--min-height:100vh;}@media(min-width:768px){.elementor-972 .elementor-element.elementor-element-59920fc4{--content-width:90vw;}}/* Start custom CSS for shortcode, class: .elementor-element-b99e202 */:root {
    --ywraq-accent: #0e2c49;
    --ywraq-accent-dark: #0e2c49;
    --ywraq-accent-light: #0e2c49;
    --ywraq-text: #1a1a2e;
    --ywraq-text-soft: #4a5568;
    --ywraq-text-mute: #a0aec0;
    --ywraq-border: #e9ecef;
    --ywraq-bg-soft: #f8f9fb;
    --ywraq-radius: 0px;
    --ywraq-radius-sm: 8px;
    --ywraq-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --ywraq-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 主容器 */
.woocommerce.ywraq-wrapper {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ywraq-text);
}
.ywraq-form-table-wrapper { margin-top: 1rem; }
.ywraq-form-table-wrapper.wide { gap: 2rem; align-items: flex-start; }
.ywraq-form-table-wrapper.wide form#yith-ywraq-form,
.ywraq-form-table-wrapper.wide .yith-ywraq-mail-form-wrapper {
    flex-basis: calc(50% - 1rem) !important;
    margin: 0 !important;
}

/* 产品表格容器 */
form#yith-ywraq-form {
    background: #fff;
    border-radius: var(--ywraq-radius);
    box-shadow: var(--ywraq-shadow);
    overflow: hidden;
    border: 1px solid var(--ywraq-border);
}
#yith-ywraq-form > table { margin: 0 !important; }

/* 表格本体 */
table.shop_table.cart#yith-ywrq-table-list {
    border: none !important;
    border-collapse: collapse;
    border-spacing: 0;
    background: transparent;
    border-radius: var(--ywraq-radius);
    overflow: hidden;
}
table.shop_table.cart thead th {
    background: var(--ywraq-bg-soft);
    color: var(--ywraq-text);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--ywraq-border);
    text-align: left;
}
table.shop_table.cart thead th:first-child { border-top-left-radius: var(--ywraq-radius); }
table.shop_table.cart thead th:last-child { border-top-right-radius: var(--ywraq-radius); }
table.shop_table.cart tbody td {
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
    background: #fff;
}
table.shop_table.cart tbody tr { transition: var(--ywraq-transition); }
table.shop_table.cart tbody tr:hover td { background: var(--ywraq-bg-soft); }
table.shop_table.cart tbody tr:last-child td { border-bottom: none; }

/* 移除按钮 */
.product-remove a.yith-ywraq-item-remove.remove {
    width: 30px; height: 30px;
    border-radius: 50%;
    color: var(--ywraq-text-soft) !important;
    font-size: 1.15rem; font-weight: 400; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none !important;
    transition: var(--ywraq-transition);
    border: 1px solid transparent;
}
.product-remove a.yith-ywraq-item-remove.remove:hover {
    color: red !important;
    background: transparent;
}

/* 缩略图 */
.product-thumbnail a { display: inline-block; line-height: 0; }
.product-thumbnail img {
    width: 76px; height: 76px;
    object-fit: cover;
    border-radius: var(--ywraq-radius-sm);
    border: 1px solid var(--ywraq-border);
    background: #fff;
    padding: 0;
    transition: var(--ywraq-transition);
}
.product-thumbnail a:hover img {
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

/* 产品名称 */
.product-name a {
    color: var(--ywraq-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--ywraq-transition);
    line-height: 1.45;
    display: inline-block;
}
.product-name a:hover { color: var(--ywraq-accent); }
.product-name {
    color: var(--ywraq-text-soft);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* 数量输入框 - 胶囊样式 */
.product-quantity .quantity {
    display: inline-flex;
    align-items: center;
    background: var(--ywraq-bg-soft);
    border: 1px solid var(--ywraq-border);
    border-radius: 10px;
    padding: 2px;
    transition: var(--ywraq-transition);
}
.product-quantity .quantity:hover {
    border-color: var(--ywraq-accent);
    background: #fff;
}
.product-quantity .quantity input.qty {
    width: 52px; height: 36px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-size: 0.95rem; font-weight: 600;
    color: var(--ywraq-text);
    border-radius: 10px;
    padding: 0 !important;
    -moz-appearance: textfield;
}
.product-quantity .quantity input.qty::-webkit-outer-spin-button,
.product-quantity .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 小计 */
.product-subtotal {
    font-weight: 700;
    color: var(--ywraq-text);
    font-size: 1rem;
    white-space: nowrap;
}
.product-subtotal .amount { color: var(--ywraq-accent); }

/* 底部操作行 */
table.shop_table.cart .actions {
    background: var(--ywraq-bg-soft) !important;
    padding: 1rem 1.25rem !important;
    border-top: 1px solid var(--ywraq-border);
}
input[name="update_raq"] {
    background: var(--ywraq-accent) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.65rem 1.5rem !important;
    border-radius: var(--ywraq-radius-sm) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--ywraq-transition) !important;
    box-shadow: none;
    text-shadow: none;
}
input[name="update_raq"]:hover {
    background: var(--ywraq-accent-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(91, 61, 163, 0.25);
}

/* 空列表提示 */
.ywraq-form-table-wrapper > p {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ywraq-text-mute);
    font-size: 1rem;
    background: #fff;
    border-radius: var(--ywraq-radius);
    border: 1px dashed var(--ywraq-border);
}

/* 询价表单 */
.yith-ywraq-mail-form-wrapper {
    background: #fff;
    border-radius: var(--ywraq-radius);
    box-shadow: var(--ywraq-shadow);
    padding: 2rem !important;
    margin-top: 1.5rem;
    border: 1px solid var(--ywraq-border);
}
.yith-ywraq-mail-form-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ywraq-text);
    margin: 0 0 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ywraq-border);
    position: relative;
    line-height: 1.3;
}
.yith-ywraq-mail-form-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--ywraq-accent);
    border-radius: 2px;
}
#yith-ywraq-mail-form .form-row {
    margin: 0 0 1.25rem;
    padding: 0 !important;
    float: none !important;
}
#yith-ywraq-mail-form .form-row-wide { width: 100%; }
#yith-ywraq-mail-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ywraq-text-soft);
    margin-bottom: 0.5rem;
    letter-spacing: 0.2px;
}
#yith-ywraq-mail-form .required {
    color: #e53e3e;
    border-bottom: none !important;
    text-decoration: none !important;
    margin-left: 2px;
}
#yith-ywraq-mail-form input[type="text"],
#yith-ywraq-mail-form input[type="email"],
#yith-ywraq-mail-form textarea {
    width: 100%;
    outline: none !important;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--ywraq-border);
    border-radius: var(--ywraq-radius-sm);
    background: #fff;
    color: var(--ywraq-text);
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.5;
    transition: var(--ywraq-transition);
    box-sizing: border-box;
    margin: 0;
}
#yith-ywraq-mail-form textarea {
    resize: vertical;
    min-height: 130px;
    font-family: inherit;
}
#yith-ywraq-mail-form input::placeholder,
#yith-ywraq-mail-form textarea::placeholder {
    color: var(--ywraq-text-mute);
}

/* 隐私同意区 */
.ywraq-privacy-wrapper {
    background: var(--ywraq-accent-light);
    border-radius: var(--ywraq-radius-sm);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-left: 3px solid var(--ywraq-accent);
}
.ywraq-privacy-wrapper #rqa_privacy_description_row {
    font-size: 0.85rem;
    color: var(--ywraq-text-soft);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
#rqa_privacy_row {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    margin: 0 !important;
}
#rqa_privacy_row input[type="checkbox"] {
    width: 18px; height: 18px;
    flex-shrink: 0;
    accent-color: var(--ywraq-accent);
    cursor: pointer;
    display: inline-block !important;
}
#rqa_privacy_row label {
    margin: 0 !important;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ywraq-text-soft);
    cursor: pointer;
    display: inline !important;
    vertical-align: middle !important;
    padding: 0 !important;
}
#rqa_privacy_row label a {
    color: var(--ywraq-accent);
    text-decoration: underline;
}

/* 提交按钮 */
.raq-send-request,
#yith-ywraq-mail-form .button.raq-send-request {
    background: linear-gradient(135deg, var(--ywraq-accent) 0%, #7b4cc4 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.95rem 2rem !important;
    border-radius: var(--ywraq-radius-sm) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--ywraq-transition) !important;
    box-shadow: 0 4px 14px rgba(91, 61, 163, 0.28) !important;
    text-shadow: none;
    width: 100%;
    display: inline-block;
    line-height: 1.4;
    height: auto !important;
}
.raq-send-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(91, 61, 163, 0.38) !important;
    background: linear-gradient(135deg, var(--ywraq-accent-dark) 0%, #6b3bb4 100%) !important;
}
.raq-send-request:active { transform: translateY(0); }

/* 提示信息 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: var(--ywraq-radius-sm) !important;
    border-left: 4px solid var(--ywraq-accent) !important;
    box-shadow: var(--ywraq-shadow);
    margin-bottom: 1.5rem !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .woocommerce.ywraq-wrapper {
        margin: 1.25rem auto;
        padding: 0 0.75rem;
    }
    table.shop_table_responsive tbody tr {
        border: 1px solid var(--ywraq-border);
        border-radius: var(--ywraq-radius-sm);
        margin-bottom: 0.75rem;
        display: block;
        padding: 0.5rem 0;
        background: #fff;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    }
    table.shop_table_responsive tbody tr td {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f1f3f5;
    }
    table.shop_table_responsive tbody tr td:last-child { border-bottom: none; }
    .product-thumbnail img { width: 60px; height: 60px; }
    .ywraq-form-table-wrapper.wide { display: block !important; }
    .ywraq-form-table-wrapper.wide form#yith-ywraq-form,
    .ywraq-form-table-wrapper.wide .yith-ywraq-mail-form-wrapper {
        margin-bottom: 1.25rem !important;
    }
}
@media (max-width: 480px) {
    .yith-ywraq-mail-form-wrapper { padding: 1.25rem !important; }
    .yith-ywraq-mail-form-wrapper h3 {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .ywraq-form-table-wrapper.wide {
        flex-direction: column;
        display: flex;
    }
    .ywraq-form-table-wrapper.wide form#yith-ywraq-form,
    .ywraq-form-table-wrapper.wide .yith-ywraq-mail-form-wrapper {
        flex-basis: 100% !important;
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }
}/* End custom CSS */