/*
Theme Name: Catashopi Theme
Theme URI: https://catashopi.com
Author: Catashopi
Description: Thème officiel mobile-first pour la plateforme Catashopi.
Version: 1.5.2
Text Domain: catashopi-theme
*/

body { margin: 0; background: var(--color-background, #faf9f6); }


/* Catashopi — administrative shop suspension */
.catashopi-shop-suspended-page{min-height:68vh;display:flex;align-items:center;padding:72px 0}
.catashopi-suspended-card{width:min(620px,100%);margin:0 auto;text-align:center;padding:52px 32px;border:1px solid var(--cat-border,#e4e7ec);border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(16,24,40,.08)}
.catashopi-suspended-icon{width:58px;height:58px;margin:0 auto 18px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fef3f2;color:#b42318;font-size:25px;font-weight:800}
.catashopi-suspended-label{display:block;margin-bottom:9px;color:#b42318;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.catashopi-suspended-card h1{margin:0 0 13px;font-size:32px;line-height:1.18}
.catashopi-suspended-card p{max-width:500px;margin:0 auto 26px;color:#667085;font-size:15px;line-height:1.75}
.catashopi-suspended-card .catashopi-button{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:11px;text-decoration:none;font-weight:700}
.catashopi-suspended-card .catashopi-button-primary{background:#111827;color:#fff}
@media (max-width:640px){.catashopi-shop-suspended-page{min-height:64vh;padding:42px 0}.catashopi-suspended-card{padding:38px 22px;border-radius:18px}.catashopi-suspended-card h1{font-size:27px}}


/* Catashopi seller-closed state */
.catashopi-shop-state-page .catashopi-container {
    display: flex;
    justify-content: center;
    padding-top: 72px;
    padding-bottom: 72px;
}
.catashopi-shop-state-card {
    width: min(620px, 100%);
    padding: 56px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}
.catashopi-shop-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 28px;
}
.catashopi-shop-state-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}
.catashopi-shop-state-card h1 {
    margin: 0 auto 16px;
    max-width: 520px;
}
.catashopi-shop-state-card p {
    margin: 0 auto 28px;
    max-width: 500px;
}


/* Catashopi landing page */
.catashopi-landing{background:#fff;color:#101828}
.catashopi-landing .catashopi-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.catashopi-landing-hero{padding:86px 0 92px;background:linear-gradient(180deg,#fff 0%,#fafafa 100%);overflow:hidden}
.catashopi-landing-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:70px;align-items:center}
.catashopi-hero-copy{max-width:610px}
.catashopi-landing-eyebrow,.catashopi-section-kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#f97316}
.catashopi-hero-copy h1{margin:16px 0 22px;font-size:clamp(42px,5.2vw,68px);line-height:1.03;letter-spacing:-.045em}
.catashopi-hero-copy h1 span{color:#f97316}
.catashopi-hero-copy>p{max-width:590px;margin:0;color:#667085;font-size:19px;line-height:1.7}
.catashopi-hero-actions{display:flex;align-items:center;gap:25px;margin-top:30px;flex-wrap:wrap}
.catashopi-landing .catashopi-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:12px;text-decoration:none;font-weight:800}
.catashopi-landing .catashopi-btn-primary{background:#111827;color:#fff}
.catashopi-landing-text-link{color:#344054;font-weight:700;text-decoration:none}.catashopi-landing-text-link span{margin-left:7px}
.catashopi-hero-trust{display:flex;gap:22px;flex-wrap:wrap;margin-top:27px;color:#667085;font-size:13px}.catashopi-hero-trust span{display:flex;align-items:center;gap:7px}.catashopi-inline-icon{width:16px;height:16px;color:#16a34a}
.catashopi-hero-dashboard{position:relative;min-height:500px;padding:30px;border:1px solid #e4e7ec;border-radius:28px;background:#f8fafc;box-shadow:0 30px 70px rgba(16,24,40,.12)}
.catashopi-mock-top{display:flex;justify-content:space-between;font-size:14px;font-weight:800}.catashopi-mock-top b{font-size:11px;color:#16a34a}
.catashopi-mock-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.catashopi-mock-stats>div,.catashopi-mock-order{background:#fff;border:1px solid #eaecf0;border-radius:14px;padding:16px}.catashopi-mock-stats small,.catashopi-mock-order small{display:block;color:#667085;font-size:11px}.catashopi-mock-stats strong{display:block;font-size:26px;margin:6px 0}.catashopi-mock-stats em{font-size:10px;color:#16a34a;font-style:normal}
.catashopi-mock-order{display:flex;align-items:center;gap:12px;margin-top:12px}.catashopi-mock-avatar{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#fff1e8;color:#f97316;font-size:11px;font-weight:800}.catashopi-mock-order div{flex:1}.catashopi-mock-order b{font-size:12px}.catashopi-mock-order>strong{font-size:10px;padding:6px 8px;border-radius:7px;background:#fff7ed;color:#c2410c}
.catashopi-mock-phone{position:absolute;right:-22px;bottom:-54px;width:205px;height:375px;padding:18px 13px;border:6px solid #111827;border-radius:30px;background:#fff;box-shadow:0 25px 55px rgba(16,24,40,.22)}.catashopi-phone-notch{width:65px;height:8px;margin:0 auto 18px;border-radius:10px;background:#111827}.catashopi-phone-brand{font-weight:800;font-size:14px;margin-bottom:13px}.catashopi-phone-search{padding:8px;border-radius:8px;background:#f2f4f7;color:#98a2b3;font-size:8px}.catashopi-phone-products{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}.catashopi-phone-products span{height:75px;border-radius:8px;background:#f2f4f7}.catashopi-phone-bottom{position:absolute;left:13px;right:13px;bottom:14px;padding:9px;border-radius:9px;background:#16a34a;color:#fff;text-align:center;font-size:8px;font-weight:800}
.catashopi-landing-section{padding:105px 0}.catashopi-soft-section{background:#fafafa}.catashopi-section-heading{max-width:760px;margin:0 auto 52px;text-align:center}.catashopi-section-heading h2,.catashopi-orders-section h2,.catashopi-landing-cta h2{margin:13px 0 14px;font-size:clamp(31px,4vw,48px);line-height:1.1;letter-spacing:-.035em}.catashopi-section-heading p,.catashopi-section-lead{margin:0;color:#667085;font-size:17px;line-height:1.7}
.catashopi-local-proof{text-align:center;border-top:1px solid #f2f4f7;border-bottom:1px solid #f2f4f7}.catashopi-local-proof h2{margin:12px 0;font-size:36px}.catashopi-city-list{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:28px}.catashopi-city-list span{padding:9px 13px;border:1px solid #eaecf0;border-radius:999px;background:#fff;color:#475467;font-size:13px}
.catashopi-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.catashopi-feature-card,.catashopi-audience-card{padding:30px;border:1px solid #eaecf0;border-radius:18px;background:#fff}.catashopi-feature-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#fff1e8;color:#f97316}.catashopi-feature-icon svg{width:23px;height:23px}.catashopi-feature-card h3,.catashopi-step h3,.catashopi-audience-card h3{margin:22px 0 8px;font-size:17px}.catashopi-feature-card p,.catashopi-step p,.catashopi-audience-card p{margin:0;color:#667085;font-size:14px;line-height:1.7}
.catashopi-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.catashopi-step{position:relative;padding:28px;border:1px solid #eaecf0;border-radius:18px;background:#fff}.catashopi-step-number{display:block;margin-bottom:24px;font-size:12px;font-weight:800;color:#98a2b3}
.catashopi-split-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:start}.catashopi-split-section .catashopi-section-heading{text-align:left;margin:0}.catashopi-audience-grid{display:grid;gap:14px}.catashopi-audience-card{display:flex;gap:18px}.catashopi-audience-card h3{margin:2px 0 5px}
.catashopi-orders-section{background:#fff7ed}.catashopi-orders-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}.catashopi-orders-section p{max-width:560px;color:#667085;font-size:17px;line-height:1.7}.catashopi-orders-section .catashopi-btn{margin-top:15px}.catashopi-orders-mock{padding:24px;border:1px solid #ead9c7;border-radius:20px;background:#fff;box-shadow:0 20px 45px rgba(16,24,40,.08)}.catashopi-orders-head{display:flex;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid #eaecf0}.catashopi-orders-head span{font-size:12px;color:#667085}.catashopi-orders-row{display:grid;grid-template-columns:.7fr 1fr .8fr .8fr;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #f2f4f7;font-size:12px}.catashopi-orders-row span{color:#667085}.catashopi-orders-row strong{padding:6px 8px;border-radius:7px;background:#fff7ed;color:#c2410c;text-align:center;font-size:10px}.catashopi-orders-row em{text-align:right;font-style:normal;font-weight:800}
.catashopi-faq-wrap{max-width:850px}.catashopi-faq-list{border-top:1px solid #eaecf0}.catashopi-faq-list details{border-bottom:1px solid #eaecf0}.catashopi-faq-list summary{display:flex;justify-content:space-between;gap:20px;padding:22px 4px;cursor:pointer;list-style:none;font-weight:750}.catashopi-faq-list summary::-webkit-details-marker{display:none}.catashopi-faq-list summary span{font-size:22px;color:#98a2b3}.catashopi-faq-list p{max-width:760px;padding:0 45px 22px 4px;margin:0;color:#667085;line-height:1.7}
.catashopi-landing-cta{padding:80px 0;background:#fff1e8}.catashopi-landing-cta .catashopi-container{display:flex;justify-content:space-between;align-items:center;gap:40px}.catashopi-landing-cta h2{margin-bottom:8px}.catashopi-landing-cta p{margin:0;color:#667085}
.catashopi-landing .catashopi-landing-hero picture{display:block}.catashopi-landing .catashopi-landing-hero picture img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:24px}
@media(max-width:900px){.catashopi-landing-hero-grid,.catashopi-split-section,.catashopi-orders-grid{grid-template-columns:1fr;gap:45px}.catashopi-feature-grid{grid-template-columns:1fr 1fr}.catashopi-steps{grid-template-columns:1fr 1fr}.catashopi-hero-dashboard{max-width:620px;margin:auto}.catashopi-landing-cta .catashopi-container{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.catashopi-landing .catashopi-container{width:min(100% - 28px,1180px)}.catashopi-landing-hero{padding:55px 0 70px}.catashopi-hero-copy h1{font-size:42px}.catashopi-hero-copy>p{font-size:16px}.catashopi-feature-grid,.catashopi-steps{grid-template-columns:1fr}.catashopi-landing-section{padding:72px 0}.catashopi-hero-dashboard{min-height:430px;padding:20px}.catashopi-mock-phone{position:relative;right:auto;bottom:auto;margin:25px auto -45px;width:190px}.catashopi-orders-row{grid-template-columns:.6fr 1fr}.catashopi-orders-row strong,.catashopi-orders-row em{display:none}.catashopi-landing-cta{padding:60px 0}}
/* Mobile landing: center the actual CTA buttons without changing desktop. */
@media(max-width:640px){
  .catashopi-landing .catashopi-hero-actions .catashopi-btn{
    margin-left:auto;
    margin-right:auto;
  }
  .catashopi-landing .catashopi-orders-section .catashopi-btn{
    display:flex;
    width:max-content;
    margin-left:auto;
    margin-right:auto;
  }
  .catashopi-landing .catashopi-landing-cta .catashopi-container{
    align-items:center;
    text-align:center;
  }
  .catashopi-landing .catashopi-landing-cta .catashopi-btn{
    margin-left:auto;
    margin-right:auto;
  }
}

.catashopi-landing .catashopi-feature-icon svg{width:var(--catashopi-icon-size,23px);height:var(--catashopi-icon-size,23px);stroke-width:var(--catashopi-icon-stroke,1.8)}

/* Catashopi landing presentation controls — defaults preserve the approved design. */

/* Approved landing refinement: center all card content in Features and How it works. */
.catashopi-landing .catashopi-feature-card,
.catashopi-landing .catashopi-step{
  text-align:center;
}
.catashopi-landing .catashopi-feature-card .catashopi-feature-icon,
.catashopi-landing .catashopi-step .catashopi-feature-icon{
  margin-left:auto;
  margin-right:auto;
}
.catashopi-landing .catashopi-feature-card h3,
.catashopi-landing .catashopi-feature-card p,
.catashopi-landing .catashopi-step h3,
.catashopi-landing .catashopi-step p{
  text-align:center;
}

.catashopi-landing .catashopi-feature-grid.catashopi-icons-align-left .catashopi-feature-icon,
.catashopi-landing .catashopi-steps.catashopi-icons-align-left .catashopi-feature-icon{margin-left:0;margin-right:auto}
.catashopi-landing .catashopi-feature-grid.catashopi-icons-align-center .catashopi-feature-icon,
.catashopi-landing .catashopi-steps.catashopi-icons-align-center .catashopi-feature-icon{margin-left:auto;margin-right:auto}
.catashopi-landing .catashopi-feature-grid.catashopi-icons-align-right .catashopi-feature-icon,
.catashopi-landing .catashopi-steps.catashopi-icons-align-right .catashopi-feature-icon{margin-left:auto;margin-right:0}
.catashopi-landing .catashopi-steps .catashopi-step-number{
  text-align:center;
  opacity:var(--catashopi-step-number-opacity,.85);
  font-size:var(--catashopi-step-number-size,14px);
}
.catashopi-landing .catashopi-btn-primary{
  background:var(--catashopi-button-bg,#111827);
  color:var(--catashopi-button-text,#fff);
}
.catashopi-landing .catashopi-feature-icon svg{width:var(--catashopi-icon-size,23px);height:var(--catashopi-icon-size,23px);stroke-width:var(--catashopi-icon-stroke,1.8)}

.catashopi-landing .catashopi-hero-copy h1 .catashopi-landing-eyebrow{
  color:#f97316;
  display:inline;
  letter-spacing:normal;
  text-transform:none;
  font-size:inherit;
  font-weight:inherit;
}

/* Public shop catalogue: align heading with the product grid on desktop. */
@media (min-width: 768px) {
    .catashopi-public-shop [data-catashopi-shop-catalogue] .catashopi-section-heading-row {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 28px;
        text-align: left;
    }
}

/* Public shop catalogue: keep the catalogue title left and product count right on mobile. */
@media (max-width: 767px) {
    .catashopi-public-shop [data-catashopi-shop-catalogue] .catashopi-section-heading-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 24px;
        text-align: left;
    }

    .catashopi-public-shop [data-catashopi-shop-catalogue] .catashopi-section-heading-row > div {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
    }

    .catashopi-public-shop [data-catashopi-shop-catalogue] .catashopi-section-heading-row .catashopi-count {
        flex: 0 0 auto;
        margin-left: auto;
    }
}
