/* Scoped to group creation and detail; ordinary Woo checkout is untouched. */
.rf-group-create,.refarm-groupbuy-card,.rf-group-journey{box-sizing:border-box;max-width:1080px;margin:24px auto;padding:24px;border:1px solid #d3e2d7;border-radius:20px;background:#fff;color:#203d2c;line-height:1.7;overflow-wrap:anywhere}
.rf-group-create *,.refarm-groupbuy-card *,.rf-group-journey *{box-sizing:border-box}
.rf-group-create h2,.refarm-groupbuy-card h3{font-size:clamp(24px,4vw,32px);line-height:1.35;margin:0 0 16px;color:#203d2c}
.rf-group-create .refarm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.rf-group-create label,.refarm-groupbuy-card form label{display:block;font-weight:600;margin:16px 0}
.rf-group-create input:not([type=hidden]):not([type=checkbox]),.rf-group-create textarea,.rf-group-create select,.refarm-groupbuy-card form input:not([type=hidden]):not([type=checkbox]),.refarm-groupbuy-card textarea,.refarm-groupbuy-card select{display:block;width:100%;min-height:48px;margin-top:8px;padding:12px;border:1px solid #9dad9f;border-radius:10px;background:#fff;color:#203d2c;font:inherit}
.rf-group-create input[type=checkbox],.refarm-groupbuy-card input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin-right:8px}
.rf-group-create button,.refarm-groupbuy-card button,.refarm-groupbuy-card .rfsc-button{display:inline-block;min-height:48px;max-width:100%;padding:12px 20px;border:0;border-radius:12px;background:#246b42;color:#fff;font:inherit;font-weight:700;white-space:normal;cursor:pointer;text-decoration:none}
.rf-group-create button:hover,.refarm-groupbuy-card button:hover{background:#194d2f}
.rf-group-create :focus-visible,.refarm-groupbuy-card :focus-visible,.rf-group-journey :focus-visible{outline:3px solid #a66300;outline-offset:3px}
.refarm-groupbuy-card>dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:8px 16px;padding:18px;border-radius:12px;background:#f0f7f2}
.refarm-groupbuy-card dd{margin:0}
.refarm-groupbuy-card .refarm-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.refarm-groupbuy-card .refarm-offers article{min-width:0;padding:20px;border:1px solid #d3e2d7;border-radius:16px;background:#fff}
.refarm-groupbuy-card .refarm-offers article>strong{font-size:21px}
.refarm-groupbuy-card .refarm-my-quote,.refarm-groupbuy-card .refarm-group-preparation,.refarm-groupbuy-card .refarm-group-payment-rules{padding:18px;margin:18px 0;border-radius:12px;background:#f0f7f2}
.refarm-groupbuy-card .refarm-my-quote h5{font-size:17px;margin:0 0 8px}
.refarm-groupbuy-card .refarm-my-quote p{font-size:14px}
.refarm-groupbuy-card .refarm-message{padding:16px;border-left:4px solid #a66300;background:#fff8ea;margin:16px 0}
.rf-group-journey ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.rf-group-journey li{padding:12px;border:1px solid #d3e2d7;border-radius:12px;color:#405b48;font-weight:600}
.rf-group-journey li[aria-current=step]{background:#e6f3ea;border:2px solid #246b42;color:#194d2f}
.rf-group-journey li span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e5eae6;margin-right:8px}
.rf-group-journey li small{display:block;font-size:13px}.rf-group-journey p{margin-bottom:0;font-size:14px}
@media(max-width:640px){.rf-group-create,.refarm-groupbuy-card,.rf-group-journey{padding:16px;margin:16px auto;border-radius:14px}.rf-group-create .refarm-grid,.refarm-groupbuy-card .refarm-offers{grid-template-columns:minmax(0,1fr)}.rf-group-journey ol{grid-template-columns:repeat(2,minmax(0,1fr))}.rf-group-create button,.refarm-groupbuy-card button,.refarm-groupbuy-card .rfsc-button{width:100%}.refarm-groupbuy-card>dl{padding:12px;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}}
