.wsfp-form-box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:20px;padding:22px;margin:18px 0}.wsfp-form-head h3{margin:0 0 4px;font-size:32px;line-height:1.2}.wsfp-form-head p{margin:0 0 18px;color:#64748b}.wsfp-repeater-item{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;margin-bottom:16px}.wsfp-repeater-header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #e5e7eb}.wsfp-repeater-toggle{background:none;border:none;font-size:26px;cursor:pointer}.wsfp-repeater-body{padding:20px}.wsfp-section{margin:0 0 20px;padding:18px;border:1px solid #dbe4ef;border-radius:18px;background:#fff}.wsfp-section-head h4{margin:0 0 6px;font-size:24px}.wsfp-section-head p{margin:0 0 16px;color:#64748b}.wsfp-field{margin-bottom:18px}.wsfp-field label{display:block;font-weight:600;margin-bottom:10px;font-size:18px}.wsfp-field input[type=text],.wsfp-field input[type=email],.wsfp-field input[type=number],.wsfp-field select,.wsfp-field textarea{width:100%;border:1px solid #d1d5db;border-radius:16px;padding:12px 14px}.wsfp-field textarea{min-height:120px}.wsfp-choice{display:block;margin-bottom:10px}.wsfp-add-more{background:#1e293b;color:#fff;border:none;border-radius:999px;padding:14px 20px;font-weight:700;cursor:pointer;box-shadow:0 10px 24px rgba(15,23,42,.16)}.wsfp-upload{border:1px dashed #cbd5e1;border-radius:16px;padding:14px}.wsfp-upload-preview{margin-top:10px}.wsfp-upload-preview img{max-width:120px;border-radius:10px;display:block}.wsfp-upload-remove{margin-top:10px;border:none;background:#fee2e2;color:#991b1b;border-radius:12px;padding:8px 12px;cursor:pointer}.wsfp-is-hidden{display:none!important}.req{color:#dc2626}@media (max-width:767px){.wsfp-form-head h3{font-size:26px}.wsfp-section-head h4{font-size:20px}}

.wsfp-save-continue{margin-top:12px;margin-inline-start:10px}.wsfp-save-message{margin-top:8px;color:#1d6f42;font-size:13px}

.wsfp-save-continue{margin-inline-start:12px;border-radius:14px!important;padding:12px 18px!important;background:#fff!important;border:1px solid #cbd5e1!important;color:#0f172a!important;box-shadow:0 8px 24px rgba(15,23,42,.06)}.wsfp-save-icon{margin-inline-end:8px}.wsfp-save-message{margin-top:10px;color:#0f766e;font-weight:600}.wsfp-summary-table-wrap{margin-top:10px}.wsfp-summary-card{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff;margin-top:12px}.wsfp-summary-title{padding:10px 14px;background:#f8fafc;font-weight:700;border-bottom:1px solid #e5e7eb}.wsfp-summary-table{width:100%;border-collapse:collapse}.wsfp-summary-table th,.wsfp-summary-table td{padding:10px 12px;border-bottom:1px solid #edf2f7;text-align:left;vertical-align:top}.woocommerce-mini-cart .wsfp-summary-table-wrap{display:none}
.wsfp-save-continue{display:inline-flex!important;align-items:center;gap:8px}
.wsfp-draft-modal{position:fixed;inset:0;z-index:99999}.wsfp-draft-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.45)}.wsfp-draft-dialog{position:relative;max-width:460px;margin:10vh auto;background:#fff;border-radius:20px;padding:24px;box-shadow:0 24px 80px rgba(15,23,42,.24)}.wsfp-draft-close{position:absolute;top:12px;right:14px;border:none;background:none;font-size:28px;cursor:pointer}.wsfp-draft-dialog h3{margin:0 0 8px}.wsfp-draft-dialog p{margin:0 0 16px;color:#64748b}.wsfp-draft-dialog label{display:block;font-weight:600;margin-bottom:8px}.wsfp-draft-email{width:100%;border:1px solid #d1d5db;border-radius:14px;padding:12px 14px}.wsfp-draft-actions{display:flex;gap:10px;margin-top:16px}.wsfp-draft-feedback{margin-top:12px;padding:10px 12px;border-radius:12px;background:#ecfeff;color:#155e75}.woocommerce table.shop_table .wsfp-summary-table-wrap{margin-top:8px}.woocommerce table.shop_table .wsfp-summary-card{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}.woocommerce table.shop_table .wsfp-summary-title{font-size:14px}.woocommerce table.shop_table .wsfp-summary-table th,.woocommerce table.shop_table .wsfp-summary-table td{font-size:13px;padding:8px 10px}.wsfp-summary-table td:last-child{word-break:break-word}.woocommerce-cart .wc-item-meta,.woocommerce-checkout-review-order .wc-item-meta{display:none!important}.wsfp-summary-card .wsfp-summary-table tbody tr:nth-child(odd){background:#fafcff}

.wsfp-summary-table-wrap{margin-top:12px;display:grid;gap:12px}
.wsfp-summary-card{border:1px solid #e2e8f0;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.wsfp-summary-title{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-weight:700;color:#0f172a}
.wsfp-summary-section{padding:0 0 10px}
.wsfp-summary-section + .wsfp-summary-section{border-top:1px dashed #e2e8f0}
.wsfp-summary-section-title{padding:12px 16px 8px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#475569}
.wsfp-summary-table{width:100%;border-collapse:separate;border-spacing:0;padding:0 12px 12px}
.wsfp-summary-table tbody tr:nth-child(odd){background:#fcfdff}
.wsfp-summary-table th,.wsfp-summary-table td{padding:10px 14px;border-top:1px solid #edf2f7;vertical-align:top}
.wsfp-summary-table tr:first-child th,.wsfp-summary-table tr:first-child td{border-top:none}
.wsfp-summary-table th{width:32%;font-weight:700;color:#0f172a;background:#f8fafc}
.wsfp-summary-table td{color:#334155;word-break:break-word}
.woocommerce-cart .wsfp-summary-table-wrap,.woocommerce-checkout-review-order-table .wsfp-summary-table-wrap,.woocommerce-table--order-details .wsfp-summary-table-wrap{margin-top:14px}
.woocommerce-cart .wsfp-summary-card,.woocommerce-checkout-review-order-table .wsfp-summary-card,.woocommerce-table--order-details .wsfp-summary-card{max-width:100%}
.woocommerce-mini-cart .wsfp-summary-table-wrap{display:none}
@media (max-width:767px){.wsfp-summary-table th,.wsfp-summary-table td{display:block;width:100%}.wsfp-summary-table th{padding-bottom:6px}.wsfp-summary-table td{padding-top:0}}

.woocommerce .wc-item-meta li:has(.wsfp-summary-table-wrap){display:block;width:100%;}
.woocommerce .wc-item-meta .wsfp-summary-table-wrap{margin-top:8px;}
.cart_item .wsfp-summary-table-wrap,.woocommerce-checkout-review-order-table .wsfp-summary-table-wrap{margin-top:10px;}

.woocommerce .wc-item-meta li:has(.wsfp-summary-table-wrap){display:none!important;}
.woocommerce-cart .product-name .wsfp-summary-table-wrap, .woocommerce-checkout-review-order .product-name .wsfp-summary-table-wrap, .woocommerce-checkout-review-order-table .product-name .wsfp-summary-table-wrap{display:block!important;margin-top:14px;}
.woocommerce-cart .product-name .wsfp-summary-card, .woocommerce-checkout-review-order .product-name .wsfp-summary-card, .woocommerce-checkout-review-order-table .product-name .wsfp-summary-card{border:1px solid #dbe4f0;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06);overflow:hidden;}
.woocommerce-cart .product-name .wsfp-summary-title, .woocommerce-checkout-review-order .product-name .wsfp-summary-title, .woocommerce-checkout-review-order-table .product-name .wsfp-summary-title{padding:14px 18px;background:linear-gradient(180deg,#f8fbff,#f4f7fb);font-size:14px;}
.woocommerce-cart .product-name .wsfp-summary-section-title, .woocommerce-checkout-review-order .product-name .wsfp-summary-section-title, .woocommerce-checkout-review-order-table .product-name .wsfp-summary-section-title{padding-top:14px;}

/* v3.2.5 pro summary */
.wsfp-summary-table-wrap{display:grid;gap:14px;margin-top:14px}
.wsfp-summary-card{border:1px solid #dbe4f0;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.wsfp-summary-title{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;background:linear-gradient(180deg,#f8fbff,#f3f7fc);border-bottom:1px solid #dbe4f0;font-weight:800;color:#0f172a}
.wsfp-summary-section{padding:0 14px 14px}
.wsfp-summary-section + .wsfp-summary-section{border-top:1px dashed #dbe4f0}
.wsfp-summary-section-title{padding:14px 2px 10px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#475569}
.wsfp-summary-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e8eef5;border-radius:14px;overflow:hidden;background:#fff}
.wsfp-summary-table th,.wsfp-summary-table td{padding:12px 14px;border-top:1px solid #edf2f7;vertical-align:top}
.wsfp-summary-table tr:first-child th,.wsfp-summary-table tr:first-child td{border-top:none}
.wsfp-summary-table th{width:34%;background:#f8fafc;font-weight:700;color:#0f172a}
.wsfp-summary-table td{color:#334155;word-break:break-word}
.wsfp-summary-context-admin-order .wsfp-summary-card,.wsfp-summary-context-account-order .wsfp-summary-card,.wsfp-summary-context-email .wsfp-summary-card{margin-top:12px}
.wsfp-file-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#eef6ff;border:1px solid #cfe3ff;color:#0f4c81;font-weight:600;text-decoration:none}
.wsfp-file-badge:before{content:'📎'}
.woocommerce-cart .product-name .wsfp-summary-table-wrap,
.woocommerce-checkout-review-order-table .product-name .wsfp-summary-table-wrap,
.woocommerce-table--order-details .product-name .wsfp-summary-table-wrap,
.woocommerce .wc-item-meta .wsfp-summary-table-wrap{display:block!important;max-width:100%;margin-top:14px}
.woocommerce .wc-item-meta .wsfp-summary-table-wrap .wsfp-summary-card{margin-top:8px}
.woocommerce .wc-item-meta li:has(.wsfp-summary-table-wrap){display:block!important;width:100%}
.woocommerce-cart .wc-item-meta,.woocommerce-checkout-review-order .wc-item-meta,.woocommerce .wc-item-meta{display:block!important;margin-top:10px}
.wsfp-summary-context-meta .wsfp-summary-title{font-size:13px;padding:12px 14px}
.wsfp-summary-context-meta .wsfp-summary-table th,.wsfp-summary-context-meta .wsfp-summary-table td{padding:10px 12px;font-size:13px}
@media (max-width:767px){.wsfp-summary-table th,.wsfp-summary-table td{display:block;width:100%}.wsfp-summary-table th{padding-bottom:6px}.wsfp-summary-table td{padding-top:0}}

/* v3.2.6 visibility fix */
.woocommerce-checkout-review-order-table .product-name .wsfp-summary-table-wrap,.woocommerce-cart-form .product-name .wsfp-summary-table-wrap,.woocommerce-cart .product-name .wsfp-summary-table-wrap{display:block!important;visibility:visible!important;opacity:1!important;}
.woocommerce-checkout-review-order-table .product-name .wsfp-summary-card,.woocommerce-cart-form .product-name .wsfp-summary-card,.woocommerce-cart .product-name .wsfp-summary-card{margin-top:12px;}


:root{
  --wsfp-form-bg:#ffffff;
  --wsfp-form-text:#111827;
  --wsfp-label-color:#111827;
  --wsfp-border-color:#dbe2ea;
  --wsfp-button-bg:#111827;
  --wsfp-button-text:#ffffff;
  --wsfp-button-secondary-bg:#f3f4f6;
  --wsfp-button-secondary-text:#111827;
}
.wsfp-form-box{background:var(--wsfp-form-bg);color:var(--wsfp-form-text);border-color:var(--wsfp-border-color)}
.wsfp-form-box label,.wsfp-section-head h4{color:var(--wsfp-label-color)}
.wsfp-form-box input,.wsfp-form-box select,.wsfp-form-box textarea,.wsfp-upload{border-color:var(--wsfp-border-color)}
.wsfp-save-continue,.wsfp-btn-secondary,.wsfp-draft-cancel{background:var(--wsfp-button-secondary-bg)!important;color:var(--wsfp-button-secondary-text)!important;border:1px solid var(--wsfp-border-color)!important;border-radius:12px!important;padding:12px 16px!important;font-weight:600!important;box-shadow:none!important}
.single_add_to_cart_button,.wsfp-btn-primary,.wsfp-draft-submit{background:var(--wsfp-button-bg)!important;color:var(--wsfp-button-text)!important;border:1px solid var(--wsfp-button-bg)!important;border-radius:12px!important;padding:12px 18px!important;font-weight:700!important;box-shadow:none!important}
.wsfp-draft-modal{position:fixed;inset:0;z-index:99999}
.wsfp-draft-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(3px)}
.wsfp-draft-dialog{position:relative;max-width:580px;margin:8vh auto;background:#fff;border-radius:24px;padding:28px;border:1px solid #e5e7eb;box-shadow:0 28px 80px rgba(15,23,42,.22)}
.wsfp-draft-badge{display:inline-block;margin-bottom:10px;padding:6px 10px;background:#eef2ff;color:#3730a3;border-radius:999px;font-size:12px;font-weight:700}
.wsfp-draft-dialog h3{margin:0 0 10px;font-size:24px;line-height:1.2;color:#111827}
.wsfp-draft-dialog p{margin:0 0 18px;color:#64748b;font-size:16px;line-height:1.7}
.wsfp-draft-dialog label{display:block;margin:0 0 10px;font-weight:700;color:#111827}
.wsfp-draft-email{width:100%;height:56px;border:1px solid #dbe2ea;border-radius:16px;padding:0 16px;font-size:16px;box-sizing:border-box}
.wsfp-draft-actions{display:flex;gap:12px;align-items:center;margin-top:18px}
.wsfp-draft-feedback{margin-top:14px;padding:12px 14px;border-radius:14px;background:#f8fafc;color:#0f172a;border:1px solid #e2e8f0}
.wsfp-draft-close{position:absolute;top:18px;right:18px;background:#f8fafc;border:1px solid #e5e7eb;width:40px;height:40px;border-radius:999px;font-size:24px;line-height:1;color:#111827;cursor:pointer}
.wsfp-summary-table-wrap{margin-top:12px}
.wsfp-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.06);margin-top:14px}
.wsfp-summary-title{padding:14px 18px;background:#0f172a;color:#fff;font-weight:700;font-size:15px}
.wsfp-summary-section{padding:0 18px 18px}
.wsfp-summary-section-title{font-weight:700;color:#0f172a;padding:16px 0 10px;font-size:14px}
.wsfp-summary-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}
.wsfp-summary-table th,.wsfp-summary-table td{padding:11px 12px;border-bottom:1px solid #e5e7eb;vertical-align:top;font-size:13px;line-height:1.55}
.wsfp-summary-table tr:last-child th,.wsfp-summary-table tr:last-child td{border-bottom:none}
.wsfp-summary-table th{width:34%;background:#f8fafc;color:#334155;font-weight:700;text-align:left}
.wsfp-summary-table td{background:#fff;color:#111827;word-break:break-word}
.wsfp-file-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#3730a3!important;text-decoration:none;font-weight:700;font-size:12px}
.woocommerce-cart .wsfp-summary-card,.woocommerce-checkout .wsfp-summary-card,.woocommerce-order .wsfp-summary-card,.woocommerce-account .wsfp-summary-card{max-width:760px}
@media (max-width: 767px){.wsfp-draft-dialog{margin:4vh 14px;padding:22px;border-radius:20px}.wsfp-draft-actions{flex-direction:column}.wsfp-draft-actions .button{width:100%}.wsfp-summary-table th,.wsfp-summary-table td{display:block;width:auto}.wsfp-summary-table th{border-bottom:none}}

/* v3.3.2 global style + validation + summary overrides */
.wsfp-form-notice{display:none;margin:0 0 16px;padding:14px 16px;border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:14px;font-weight:600}
.wsfp-draft-dialog{max-width:560px;padding:28px 28px 24px;border-radius:24px;border:1px solid #e5e7eb;box-shadow:0 30px 80px rgba(15,23,42,.22)}
.wsfp-draft-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:700;margin-bottom:12px}
.wsfp-draft-dialog h3{margin:0 0 10px;font-size:22px;line-height:1.2;color:#111827}
.wsfp-draft-dialog p{margin:0 0 18px;color:#64748b;font-size:15px;line-height:1.7}
.wsfp-draft-dialog label{display:block;margin-bottom:10px;font-weight:700;color:#111827}
.wsfp-draft-email{width:100%;height:52px;padding:0 16px;border:1px solid #dbe2ea;border-radius:16px;background:#fff;color:#111827;box-shadow:inset 0 1px 1px rgba(15,23,42,.02)}
.wsfp-draft-actions{display:flex;gap:10px;margin-top:18px}
.wsfp-btn-primary,.wsfp-btn-secondary{min-height:44px;padding:0 18px;border-radius:14px;font-weight:700}
.wsfp-draft-submit.wsfp-btn-primary{background:var(--wsfp-button-bg,#111827);color:var(--wsfp-button-text,#fff);border:none}
.wsfp-draft-cancel.wsfp-btn-secondary,.wsfp-save-continue.wsfp-btn-secondary{background:var(--wsfp-button-secondary-bg,#f3f4f6);color:var(--wsfp-button-secondary-text,#111827);border:1px solid var(--wsfp-border-color,#dbe2ea)}
.wsfp-draft-feedback{margin-top:14px;padding:12px 14px;border-radius:14px;background:#f8fafc;color:#0f172a}

.woocommerce .wc-item-meta .wsfp-summary-table-wrap,.woocommerce .wc-item-meta li:has(.wsfp-summary-table-wrap){display:block!important;width:100%!important;max-width:100%!important}
.woocommerce .wc-item-meta .wsfp-summary-table-wrap{margin-top:12px!important}
.woocommerce .wc-item-meta li:has(.wsfp-summary-table-wrap)::marker{display:none}
.wsfp-summary-context-meta,.wsfp-summary-context-cart,.wsfp-summary-context-checkout,.wsfp-summary-context-account-order,.wsfp-summary-context-admin-order{max-width:100%}
.wsfp-summary-card{max-width:100%!important}
.wsfp-summary-title{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#0f172a!important;color:#fff!important;padding:14px 18px!important;font-size:15px!important;font-weight:800!important}
.wsfp-summary-section{padding:0 18px 18px!important}
.wsfp-summary-section + .wsfp-summary-section{border-top:1px dashed #dbe2ea}
.wsfp-summary-section-title{padding:16px 0 10px!important;font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:#64748b!important;font-weight:800!important}
.wsfp-summary-table{width:100%!important;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid #e5e7eb!important;border-radius:14px;overflow:hidden;background:#fff}
.wsfp-summary-table th,.wsfp-summary-table td{padding:12px 14px!important;border-top:1px solid #e5e7eb!important;vertical-align:top!important;font-size:13px!important;line-height:1.65!important}
.wsfp-summary-table tr:first-child th,.wsfp-summary-table tr:first-child td{border-top:none!important}
.wsfp-summary-table th{width:34%!important;background:#f8fafc!important;color:#334155!important;font-weight:700!important;text-align:left!important}
.wsfp-summary-table td{background:#fff!important;color:#111827!important;word-break:break-word}
.wsfp-summary-table td a{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;text-decoration:none;font-weight:700;font-size:12px}
.woocommerce-cart .product-name,.woocommerce-checkout-review-order-table .product-name,.woocommerce-table--order-details .product-name{overflow:visible}


/* v3.3.4.2 upload box responsive fix */
.wsfp-upload{display:block;width:100%;max-width:100%;overflow:hidden;padding:14px}
.wsfp-upload .wsfp-file-input{display:block;width:100%;max-width:100%;box-sizing:border-box;font:inherit;line-height:1.35;padding:10px 12px;background:#fff;border:1px solid #cbd5e1;border-radius:16px}
.wsfp-upload .wsfp-file-input::file-selector-button{margin-inline-end:12px;padding:9px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#0f172a;font:inherit;font-weight:600;cursor:pointer}
.wsfp-upload .wsfp-file-input::-webkit-file-upload-button{margin-inline-end:12px;padding:9px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#0f172a;font:inherit;font-weight:600;cursor:pointer}
.wsfp-upload-preview{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.wsfp-upload-preview span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:600;max-width:100%;word-break:break-word}
.wsfp-upload-remove{display:inline-flex;align-items:center;justify-content:center}
@media (max-width:767px){
  .wsfp-upload{padding:12px}
  .wsfp-upload .wsfp-file-input{font-size:14px;padding:10px;border-radius:14px}
  .wsfp-upload .wsfp-file-input::file-selector-button,
  .wsfp-upload .wsfp-file-input::-webkit-file-upload-button{display:block;width:100%;margin:0 0 10px 0;text-align:center}
}
