/* Cylocybe Contact - /contact page, in the site design language (reuses the theme CSS vars w/ fallbacks). */

body.cyc-contact-page{
	/* The theme's brand :root vars + body font are gated to cart/checkout, so /contact would otherwise lose
	   Anton + the brand palette + body font. Mirror the theme :root here so the page matches the rest of the site. */
	--cyc-ink:#fff;--cyc-soft:#cfc6dc;--cyc-mute:#aba1bd;--cyc-orange:#ff9a52;
	--cyc-hair:rgba(255,255,255,.10);--cyc-panel:#0c0810;
	--cyc-anton:"Anton","Impact",sans-serif;--cyc-san:"Helvetica Neue",Arial,sans-serif;
	color:var(--cyc-soft);
	background-color:#070509;
	background-image:linear-gradient(rgba(6,4,9,.9),rgba(6,4,9,.95)),url("/wp-content/uploads/2020/09/gymnopilus.webp");
	background-position:center top;background-size:cover;background-attachment:fixed;background-repeat:no-repeat;
}
.cyc-contact-main{min-height:60vh;font-family:var(--cyc-san)}
.cyc-contact__h,.cyc-contact__doneh{font-family:var(--cyc-anton)!important}
.cyc-contact{width:100%;max-width:640px;margin-left:auto;margin-right:auto;padding:8vh 1.2rem 14vh;box-sizing:border-box}

.cyc-contact__head{text-align:center;margin:0 0 3.2vh}
.cyc-contact__eye{font-size:var(--hero-eye-size,.72rem);letter-spacing:var(--hero-eye-track,.24em);text-transform:uppercase;font-weight:700;color:var(--cyc-orange,#ff9a52);margin:0 0 .8rem}
.cyc-contact__h{font-family:var(--cyc-anton,"Anton",sans-serif);font-weight:400;font-size:clamp(2.4rem,6vw,4rem);line-height:1.02;letter-spacing:.01em;color:var(--cyc-ink,#fff);margin:0 0 1rem}
.cyc-contact__lede{font-size:1.05rem;line-height:1.6;color:var(--cyc-soft,#cfc6dc);max-width:34rem;margin:0 auto}

.cyc-contact__card{
	background:rgba(255,255,255,.02);border:1px solid var(--cyc-hair,rgba(255,255,255,.14));border-radius:16px;
	padding:2.2rem;box-shadow:0 30px 80px rgba(0,0,0,.45);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
@media(max-width:560px){.cyc-contact__card{padding:1.4rem}}

.cyc-contact__who{display:flex;align-items:center;gap:.6rem;margin:0 0 1.4rem;padding:.7rem .9rem;border:1px solid rgba(124,196,142,.34);background:rgba(74,179,107,.08);border-radius:10px;color:var(--cyc-soft,#cfc6dc);font-size:.9rem}
.cyc-contact__whodot{width:9px;height:9px;border-radius:50%;background:#5fd07f;flex:none;box-shadow:0 0 0 3px rgba(74,179,107,.2)}

.cyc-contact__field{margin:0 0 1.3rem}
.cyc-contact__row{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
@media(max-width:560px){.cyc-contact__row{grid-template-columns:1fr}}
.cyc-contact__label{display:block;font-weight:700;font-size:.92rem;color:var(--cyc-ink,#fff);margin:0 0 .5rem}
.cyc-contact__opt,.cyc-contact__sub{color:var(--cyc-mute,#aba1bd);font-weight:400}
.cyc-contact__sub{display:block;font-size:.78rem;margin:.4rem 0 0;line-height:1.4}

.cyc-contact__input{
	width:100%;box-sizing:border-box;background:rgba(0,0,0,.34);border:1px solid var(--cyc-hair,rgba(255,255,255,.18));
	border-radius:10px;color:var(--cyc-ink,#fff);font:inherit;font-size:1.02rem;padding:.85rem 1rem;transition:border-color .15s,background .15s;
}
.cyc-contact__input::placeholder{color:var(--cyc-mute,#aba1bd);opacity:.85}
.cyc-contact__input:focus{outline:none;border-color:var(--cyc-orange,#ff9a52);background:rgba(0,0,0,.45)}
.cyc-contact__textarea{resize:vertical;min-height:9rem;line-height:1.55}

.cyc-contact__selwrap{position:relative}
.cyc-contact__selwrap::after{content:"";position:absolute;right:1rem;top:50%;width:9px;height:9px;border-right:2px solid var(--cyc-soft,#cfc6dc);border-bottom:2px solid var(--cyc-soft,#cfc6dc);transform:translateY(-70%) rotate(45deg);pointer-events:none}
.cyc-contact__select{-webkit-appearance:none;appearance:none;width:100%;box-sizing:border-box;background:rgba(0,0,0,.34);border:1px solid var(--cyc-hair,rgba(255,255,255,.18));border-radius:10px;color:var(--cyc-ink,#fff);font:inherit;font-size:1.02rem;padding:.85rem 2.4rem .85rem 1rem;cursor:pointer}
.cyc-contact__select:focus{outline:none;border-color:var(--cyc-orange,#ff9a52)}
.cyc-contact__select option{color:#111;background:#fff}

.cyc-contact__hint{margin:.7rem 0 0;padding:.8rem .95rem;border-left:3px solid var(--cyc-orange,#ff9a52);background:rgba(255,154,82,.08);border-radius:0 8px 8px 0;color:var(--cyc-soft,#cfc6dc);font-size:.88rem;line-height:1.5}

/* Honeypots: kept in the layout but pushed off-screen (NOT display:none, which some bots skip). */
.cyc-contact__hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}

.cyc-contact__err{margin:0 0 1rem;padding:.8rem 1rem;border:1px solid rgba(255,120,120,.4);background:rgba(255,90,90,.08);border-radius:10px;color:#ff9a9a;font-size:.9rem}

.cyc-contact__go{display:block;width:100%;box-sizing:border-box;background:#2f6bff;color:#fff;border:0;border-radius:10px;padding:1.05rem 1rem;font:inherit;font-weight:800;font-size:.95rem;letter-spacing:.04em;cursor:pointer;transition:filter .15s,opacity .15s}
.cyc-contact__go:hover{filter:brightness(1.08)}
.cyc-contact__go:disabled{opacity:.6;cursor:default}
.cyc-contact__fine{margin:1.1rem 0 0;font-size:.78rem;line-height:1.5;color:var(--cyc-mute,#aba1bd);text-align:center}

/* Success state */
.cyc-contact__donecard{text-align:center;background:rgba(255,255,255,.02);border:1px solid rgba(124,196,142,.4);border-radius:16px;padding:3rem 2rem;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.cyc-contact__tick{display:inline-flex;width:64px;height:64px;border-radius:50%;background:rgba(74,179,107,.16);border:1px solid rgba(124,196,142,.5);margin:0 0 1.2rem;position:relative}
.cyc-contact__tick::after{content:"";position:absolute;left:22px;top:18px;width:14px;height:26px;border-right:3px solid #6fe39a;border-bottom:3px solid #6fe39a;transform:rotate(45deg)}
.cyc-contact__doneh{font-family:var(--cyc-anton,"Anton",sans-serif);font-weight:400;font-size:2rem;color:var(--cyc-ink,#fff);margin:0 0 .8rem}
.cyc-contact__donep{font-size:1rem;line-height:1.6;color:var(--cyc-soft,#cfc6dc);max-width:30rem;margin:0 auto}

/* ===================== guided flow components (match the My Account / checkout language) ===================== */
.cyc-contact__flow{margin:0}
.cyc-contact__flow .cyc-contact__field{margin:0 0 1.3rem}
.cyc-contact__req{color:var(--cyc-orange,#ff9a52)}

/* radio rendered as selectable pills (like the payment-method chips) */
.cyc-contact__opts{display:flex;flex-wrap:wrap;gap:.6rem}
.cyc-contact__opt-btn{flex:1 1 12rem;text-align:left;background:rgba(0,0,0,.34);border:1px solid var(--cyc-hair,rgba(255,255,255,.18));border-radius:10px;color:var(--cyc-soft,#cfc6dc);font:inherit;font-size:.95rem;padding:.8rem 1rem;cursor:pointer;transition:border-color .12s,background .12s,color .12s}
.cyc-contact__opt-btn:hover{border-color:rgba(255,154,82,.5)}
.cyc-contact__opt-btn.is-on{border-color:var(--cyc-orange,#ff9a52);background:rgba(255,154,82,.1);color:var(--cyc-ink,#fff);font-weight:600}

/* order cards (mirror the My Account order cards: thumbnail + code/meta + status pill) */
.cyc-contact__orders{display:flex;flex-direction:column;gap:.7rem}
.cyc-contact__order{display:flex;align-items:center;gap:.9rem;text-align:left;width:100%;box-sizing:border-box;background:rgba(255,255,255,.02);border:1px solid var(--cyc-hair,rgba(255,255,255,.14));border-radius:12px;padding:.7rem .8rem;cursor:pointer;color:inherit;transition:border-color .12s,background .12s}
.cyc-contact__order:hover{border-color:rgba(255,154,82,.45)}
.cyc-contact__order.is-on{border-color:var(--cyc-orange,#ff9a52);background:rgba(255,154,82,.08)}
.cyc-contact__othumb{flex:none;width:54px;height:54px;border-radius:8px;border:1px solid var(--cyc-hair,rgba(255,255,255,.14));background:#0c0c0c center/cover no-repeat}
.cyc-contact__obody{display:flex;flex-direction:column;gap:.18rem;min-width:0}
.cyc-contact__onum{font-weight:700;color:var(--cyc-ink,#fff);font-size:1rem;letter-spacing:.02em}
.cyc-contact__ometa{color:var(--cyc-mute,#aba1bd);font-size:.82rem}
.cyc-contact__ostatus{align-self:flex-start;font-size:.62rem;letter-spacing:.07em;text-transform:uppercase;font-weight:700;padding:.18rem .55rem;border-radius:999px;background:rgba(255,255,255,.06);color:var(--cyc-soft,#cfc6dc);border:1px solid var(--cyc-hair,rgba(255,255,255,.14));margin-top:.1rem}

/* product (line-item) cards */
.cyc-contact__products{display:flex;flex-direction:column;gap:.5rem}
.cyc-contact__product{display:flex;align-items:center;gap:.7rem;text-align:left;width:100%;box-sizing:border-box;background:rgba(255,255,255,.02);border:1px solid var(--cyc-hair,rgba(255,255,255,.14));border-radius:10px;padding:.5rem .65rem;cursor:pointer;color:inherit;transition:border-color .12s,background .12s}
.cyc-contact__product:hover{border-color:rgba(255,154,82,.45)}
.cyc-contact__product.is-on{border-color:var(--cyc-orange,#ff9a52);background:rgba(255,154,82,.08)}
.cyc-contact__pthumb{flex:none;width:40px;height:40px;border-radius:6px;border:1px solid var(--cyc-hair,rgba(255,255,255,.14));background:#0c0c0c center/cover no-repeat}
.cyc-contact__pname{color:var(--cyc-ink,#fff);font-size:.92rem;font-weight:600}
.cyc-contact__pqty{color:var(--cyc-mute,#aba1bd);font-weight:400}

/* evidence / photo upload (the file input is visually hidden; the label is the button) */
.cyc-contact__file{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;cursor:pointer}
.cyc-contact__file input[type=file]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);opacity:0}
.cyc-contact__filebtn{display:inline-flex;align-items:center;gap:.5rem;background:rgba(0,0,0,.34);border:1px dashed var(--cyc-hair,rgba(255,255,255,.28));border-radius:10px;color:var(--cyc-soft,#cfc6dc);font-weight:600;font-size:.9rem;padding:.7rem 1.1rem;transition:border-color .12s,color .12s,background .12s}
.cyc-contact__filebtn::before{content:"";width:15px;height:15px;flex:none;background:no-repeat center/contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9a52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E")}
.cyc-contact__file:hover .cyc-contact__filebtn{border-color:var(--cyc-orange,#ff9a52);color:var(--cyc-ink,#fff)}
.cyc-contact__filehave{font-size:.84rem;color:#6fe39a;word-break:break-all}
