/* Textile eCommerce Development page — scoped to .tx */
.tx{overflow-x:hidden;color:#191233}
.tx a{color:inherit}
.tx-wrap{position:relative;max-width:1240px;margin:0 auto}
.tx-wrap--narrow{max-width:820px}
.tx-wrap--faq{max-width:1000px}
.tx-center{text-align:center}

/* Sections */
.tx-sec{position:relative;background:#FFFFFF;padding:clamp(50px,6vw,96px) clamp(18px,4vw,48px)}
.tx-sec--sm{padding-top:clamp(32px,4vw,56px);padding-bottom:clamp(32px,4vw,56px)}
.tx-sec--tint{background:#F7F5FC;border-top:1px solid #DCD4F2;border-bottom:1px solid #DCD4F2}
.tx-sec--dark{background:#191233;color:#F7F5FC;overflow:hidden}
.tx-sec--cta{background:#EEEAFA;border-top:1px solid #DCD4F2}
.tx-pattern{position:absolute;inset:0;opacity:.5;pointer-events:none;background-image:repeating-linear-gradient(90deg,rgba(168,139,255,.18) 0 1px,transparent 1px 32px),repeating-linear-gradient(0deg,rgba(247,245,252,.07) 0 1px,transparent 1px 32px)}

/* Hero */
.tx-hero{position:relative;background:#191233;color:#F7F5FC;padding:clamp(48px,7vw,100px) clamp(18px,4vw,48px);overflow:hidden}
.tx-crumbs{font-size:13px;color:#B9B0D6;margin:0 0 26px}
.tx-crumbs a{color:#D6D0EA;text-decoration:none}
.tx-crumbs a:hover{color:#FFFFFF;text-decoration:underline}
.tx-crumbs span{margin:0 6px;opacity:.6}
.tx-h1{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(32px,5.2vw,60px);line-height:1.02;letter-spacing:-.035em;margin:16px 0 18px;max-width:20ch}
.tx-lead{font-size:clamp(16px,1.5vw,19px);line-height:1.6;color:#D6D0EA;margin:0 0 30px;max-width:62ch}
.tx-facts{list-style:none;margin:40px 0 0;padding:24px 0 0;border-top:1px solid rgba(247,245,252,.18);display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;font-size:14px;color:#D6D0EA}
.tx-facts strong{display:block;font-family:'Bricolage Grotesque',sans-serif;font-size:24px;color:#FFFFFF;letter-spacing:-.02em}

/* Type */
.tx-eyebrow{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#6C3FD1}
.tx-eyebrow--light{color:#A88BFF}
.tx-h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:clamp(26px,3.6vw,42px);line-height:1.06;letter-spacing:-.03em;margin:12px 0 16px}
.tx-h2--sm{font-size:clamp(22px,2.6vw,30px);margin-top:0}
.tx-h3{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:21px;line-height:1.2;margin:0 0 10px}
.tx-h3--sm{font-size:18px}
.tx-intro{font-size:17px;line-height:1.65;color:#4A4660;margin:0 0 36px;max-width:64ch}
.tx-intro--light{color:#D6D0EA}
.tx-text{font-size:15px;line-height:1.65;color:#3E3A52;margin:0 0 14px}
.tx-text:last-child{margin-bottom:0}
.tx-text--lg{font-size:16.5px;line-height:1.7}
.tx-text--light{color:#D6D0EA}
.tx-text a,.tx-note a,.tx-more a{font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Buttons */
.tx-btns{display:flex;flex-wrap:wrap;gap:12px}
.tx-btns--center{justify-content:center;margin-top:28px}
.tx-btn{display:inline-block;font-weight:700;font-size:15px;padding:16px 28px;border-radius:2px;text-decoration:none;transition:background .15s,color .15s}
.tx .tx-btn--primary{background:#6C3FD1;color:#FFFFFF}
.tx .tx-btn--primary:hover{background:#8B63E8}
.tx .tx-btn--ghost{border:1px solid rgba(247,245,252,.4);color:#F7F5FC}
.tx .tx-btn--ghost:hover{background:#F7F5FC;color:#191233}
.tx .tx-btn--dark{border:1px solid #191233;color:#191233}
.tx .tx-btn--dark:hover{background:#191233;color:#FFFFFF}

/* Quick answer */
.tx-answer{background:#FFFFFF;border-left:4px solid #6C3FD1;padding:24px 28px}
.tx-answer__q{font-family:'Bricolage Grotesque',sans-serif;font-size:19px;font-weight:700;margin:0 0 8px}
.tx-answer p{font-size:16.5px;line-height:1.7;color:#3E3A52;margin:0}

/* Products */
.tx-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.tx-product{background:#EEEAFA;border-top:3px solid #6C3FD1;padding:28px 24px;scroll-margin-top:96px}
.tx-product:target{outline:2px solid #6C3FD1;outline-offset:2px}
.tx-ticks{list-style:none;margin:16px 0 0;padding:0}
.tx-ticks li{position:relative;padding-left:22px;font-size:14.5px;line-height:1.55;color:#2A2640;margin:0 0 9px}
.tx-ticks li:before{content:"";position:absolute;left:2px;top:7px;width:9px;height:5px;border-left:2px solid #6C3FD1;border-bottom:2px solid #6C3FD1;transform:rotate(-45deg)}
.tx-also{margin:28px 0 0;font-size:15px;line-height:2.2;color:#2A2640}
.tx-chip{display:inline-block;background:#FFFFFF;border:1px solid #DCD4F2;font-size:13.5px;font-weight:600;padding:4px 12px;margin:0 4px 0 6px;line-height:1.6}

/* Features */
.tx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.tx-feature{border:1px solid rgba(247,245,252,.18);padding:22px;border-radius:3px}
.tx-num{display:block;font-family:'Bricolage Grotesque',sans-serif;font-size:13px;font-weight:700;color:#A88BFF;margin:0 0 10px}
.tx-more{margin:30px 0 0;font-size:15.5px;line-height:1.6;color:#D6D0EA}
.tx-more--dark{color:#3E3A52}

/* Split + boxes */
.tx-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:clamp(28px,4vw,64px);align-items:start}
.tx-box{background:#F7F5FC;border:1px solid #DCD4F2;padding:28px 26px}
.tx-compare{list-style:none;margin:14px 0 0;padding:0}
.tx-compare li{font-size:14.5px;line-height:1.5;color:#2A2640;padding:9px 0;border-bottom:1px solid #DCD4F2}
.tx-compare li:last-child{border-bottom:0}
.tx-compare li:nth-child(even){padding-bottom:14px;font-weight:600}
.tx-compare span{display:inline-block;min-width:56px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#8A84A3;margin-right:8px}
.tx-compare li:nth-child(even) span{color:#6C3FD1}
.tx-linklist{list-style:none;margin:14px 0 0;padding:0}
.tx-linklist li{border-bottom:1px solid #DCD4F2}
.tx-linklist a{display:block;padding:11px 0;font-size:15px;font-weight:600;text-decoration:none}
.tx-linklist a:after{content:" →";color:#6C3FD1}
.tx-linklist a:hover{color:#6C3FD1}

/* Table */
.tx-table-wrap{overflow-x:auto;border:1px solid #DCD4F2;background:#FFFFFF}
.tx-table{width:100%;min-width:760px;border-collapse:collapse;font-size:14.5px;line-height:1.55}
.tx-table th,.tx-table td{text-align:left;vertical-align:top;padding:16px 18px;border-bottom:1px solid #DCD4F2}
.tx-table thead th{background:#191233;color:#F7F5FC;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.tx-table tbody th{font-family:'Bricolage Grotesque',sans-serif;font-size:16px}
.tx-table tbody tr:last-child th,.tx-table tbody tr:last-child td{border-bottom:0}
.tx-table td:nth-child(2){font-weight:700;color:#6C3FD1;white-space:nowrap}
.tx-note{font-size:14.5px;line-height:1.6;color:#4A4660;margin:18px 0 0}

/* Stores */
.tx-stores{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.tx-store{border:1px solid #DCD4F2;background:#FFFFFF;display:flex;flex-direction:column}
.tx-store img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;border-bottom:1px solid #DCD4F2;background:#EEEAFA}
.tx-store__body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.tx-store__meta{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6C3FD1;margin:0 0 8px}
.tx-link{margin-top:auto;padding-top:6px;font-size:14.5px;font-weight:700;text-decoration:none;color:#6C3FD1 !important}
.tx-link:hover{text-decoration:underline}

/* Steps */
.tx-steps{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.tx-step{background:#FFFFFF;border:1px solid #DCD4F2;padding:22px}
.tx-step .tx-num{color:#6C3FD1}

/* Reads */
.tx-reads{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.tx-read{display:block;background:#FFFFFF;border:1px solid #DCD4F2;padding:20px;font-family:'Bricolage Grotesque',sans-serif;font-size:17px;font-weight:700;line-height:1.3;text-decoration:none}
.tx-read span{display:block;font-family:inherit;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#6C3FD1;margin:0 0 8px}
.tx-read:hover{border-color:#6C3FD1}

/* FAQ (uses .bq-faq styles from inc/faq-css.php) */
.tx-faqs{border-top:1px solid #DCD4F2;margin-top:24px}
.tx-faq{border-bottom:1px solid #DCD4F2}

@media (max-width:600px){
  .tx-btn{width:100%;text-align:center}
  .tx-answer{padding:20px}
}
@media (prefers-reduced-motion:reduce){.tx-btn{transition:none}}
