/*
Theme Name: Tchamex
Description: Le thème marketplace et communauté de TCMAMEXPRESS. Responsive, compatible WooCommerce et Tchamex Marketplace.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
Author: Tchamex
License: GPL-2.0-or-later
Text Domain: tchamex
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready, wide-blocks
*/
:root{--tchamex-primary:#613be7;--ink:#211936;--muted:#7b7489;--line:#eeebf3;--paper:#fbfafd;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{letter-spacing:-.035em;line-height:1.14}a{color:var(--tchamex-primary);text-decoration:none}a:hover{color:#4423b0}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.container{max-width:1320px;margin:0 auto;padding:0 36px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;clip:auto;z-index:999999;background:#fff;padding:15px}.topbar{background:#241735;color:#e6daff;font-size:10px;letter-spacing:.4px}.topbar .container{display:flex;justify-content:space-between;gap:20px;padding-top:8px;padding-bottom:8px}.topbar a{color:#e6daff}.topbar-right{display:flex;gap:25px}.site-header{background:#fff;position:sticky;top:0;z-index:100;border-bottom:1px solid var(--line)}.admin-bar .site-header{top:32px}.header-main{display:flex;gap:35px;align-items:center;padding-top:23px;padding-bottom:23px}.brand-link{display:flex;align-items:center;gap:10px;color:var(--ink);flex-shrink:0}.brand-link:hover{color:var(--ink)}.brand-symbol{display:flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:11px;background:var(--tchamex-primary);color:#fff;transform:rotate(-7deg)}.brand-symbol svg{width:23px;height:23px;transform:rotate(7deg)}.brand-name{font-size:18px;letter-spacing:-.8px;font-weight:900;line-height:1.1}.brand-name b{color:var(--tchamex-primary)}.brand-subtitle{font-size:8px;letter-spacing:2.1px;color:#8e849b;display:block;font-weight:500;margin-top:5px}.custom-logo-link img{max-width:220px;max-height:48px;object-fit:contain;width:auto}.header-search{position:relative;flex:1;display:flex;min-width:150px}.header-search input{width:100%;border:1px solid #e5dfef;background:#f9f7fc;padding:13px 58px 13px 20px;border-radius:10px;font-size:12px;color:var(--ink)}.header-search button{position:absolute;right:5px;top:5px;bottom:5px;background:var(--tchamex-primary);color:white;border:0;border-radius:7px;width:39px;display:grid;place-items:center}.header-search svg{width:18px;height:18px}.header-actions{display:flex;gap:23px;align-items:center}.header-action{display:flex;gap:7px;align-items:center;font-size:11px;line-height:1.5;color:#584d6a;position:relative}.header-action svg{width:21px;height:21px;color:#3f3157}.header-action strong{display:block;font-size:11px;color:var(--ink)}.cart-count{background:#f0e9ff;color:var(--tchamex-primary);font-size:10px;min-width:19px;height:19px;border-radius:50%;display:grid;place-items:center;position:absolute;left:12px;top:-8px;border:2px solid #fff}.nav-row{display:flex;align-items:center;gap:32px;min-height:47px;font-size:11px;border-top:1px solid #f6f3f9}.category-label{font-weight:750;color:var(--ink);display:flex;align-items:center;gap:11px;padding-right:30px;border-right:1px solid var(--line)}.category-label svg{width:17px;height:17px}.primary-nav{flex:1}.primary-nav ul{display:flex;gap:30px;list-style:none;margin:0;padding:0}.primary-nav li{position:relative}.primary-nav a{color:#635773;font-weight:550}.primary-nav a:hover{color:var(--tchamex-primary)}.primary-nav .sub-menu{display:none;position:absolute;left:0;top:100%;background:#fff;box-shadow:0 10px 30px #22153812;border:1px solid var(--line);border-radius:10px;min-width:190px;padding:15px;z-index:10;flex-direction:column;gap:10px}.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{display:flex}.seller-link{color:var(--tchamex-primary);font-weight:750;white-space:nowrap}.seller-link svg{width:13px;height:13px;vertical-align:middle}.mobile-menu-toggle{display:none;border:0;background:#f1ebff;color:var(--tchamex-primary);border-radius:8px;padding:7px;line-height:1}.mobile-menu-toggle svg{width:22px;height:22px}.home-intro{padding-top:28px}.hero-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:24px}.category-sidebar{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px 15px;display:flex;flex-direction:column;gap:3px}.category-sidebar h2{font-size:12px;letter-spacing:0;margin:0 12px 13px}.category-sidebar a{display:flex;align-items:center;gap:12px;padding:10px 12px;color:#61566e;font-size:11px;border-radius:8px}.category-sidebar a:hover{background:#f7f2ff;color:var(--tchamex-primary)}.category-sidebar svg{width:17px;height:17px;flex-shrink:0;color:#86789c}.category-sidebar a span{margin-left:auto;font-size:15px;color:#c6bcd5}.category-sidebar .all-categories{border-top:1px solid var(--line);margin-top:7px;padding-top:15px;color:var(--tchamex-primary);font-weight:700}.hero{position:relative;background:#eee7fd;border-radius:var(--radius);min-height:355px;overflow:hidden;display:flex;align-items:center}.hero:before{content:"";width:480px;height:480px;border:1px solid #cbb6f44d;border-radius:50%;position:absolute;right:-10px;top:-90px}.hero:after{content:"";width:330px;height:330px;border:1px solid #cbb6f44d;border-radius:50%;position:absolute;right:62px;top:-15px}.hero-copy{z-index:2;position:relative;width:56%;padding:40px}.eyebrow{font-size:9px;letter-spacing:2px;text-transform:uppercase;font-weight:800;color:var(--tchamex-primary);display:flex;align-items:center;gap:7px}.eyebrow:before{content:"";width:6px;height:6px;background:var(--tchamex-primary);border-radius:50%}.hero h1{font-size:43px;letter-spacing:-2.4px;margin:18px 0 17px;max-width:430px;font-weight:850;line-height:1.09}.hero h1 em{font-style:normal;color:var(--tchamex-primary)}.hero p{font-size:11px;color:#7c6b93;max-width:270px;margin:0 0 25px;line-height:1.8}.button,.wp-element-button,button[type=submit],.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--tchamex-primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:8px;padding:12px 19px;font-size:11px;font-weight:700;line-height:1.5;text-decoration:none}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#4822c1;color:white}.button svg{width:15px;height:15px}.button.outline{background:white;border:1px solid #e5dfef;color:#534363}.hero-art{position:absolute;right:0;top:0;height:100%;width:48%;z-index:1}.hero-product{position:absolute;filter:drop-shadow(0 20px 16px #64459926);object-fit:contain}.hero-product.headphones{width:81%;right:8%;top:1%;transform:rotate(-12deg)}.hero-product.bag{width:49%;right:3%;bottom:-13%;transform:rotate(12deg)}.hero-sticker{position:absolute;left:4%;bottom:14%;font-size:9px;line-height:1.4;background:white;border:1px solid #fff9;border-radius:10px;padding:11px 14px;box-shadow:0 8px 20px #64459912;transform:rotate(-7deg)}.hero-sticker strong{display:block;font-size:14px;color:#402660}.hero-spark{position:absolute;right:13%;top:14%;color:#9472ce;font-size:32px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;background:white;border:1px solid var(--line);border-radius:13px;padding:20px 27px;margin:24px 0 35px}.benefit{display:flex;gap:13px;align-items:center}.benefit svg{width:24px;height:24px;color:var(--tchamex-primary);flex-shrink:0}.benefit strong{display:block;font-size:10px;color:#3c2e4e}.benefit span{display:block;font-size:9px;color:#a196ad}.home-section{margin-bottom:40px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{font-size:24px;margin:0 0 5px;letter-spacing:-.9px}.section-heading p{margin:0;color:#998ca5;font-size:10px}.section-heading>a{font-size:10px;font-weight:700}.universe-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.universe-card{display:block;text-align:center;color:#4e425d;font-size:10px;font-weight:650}.universe-card .universe-art{aspect-ratio:1.18;border:1px solid #efeaf5;background:#f1ecfb;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;overflow:hidden;transition:transform .2s}.universe-card:nth-child(2) .universe-art{background:#f8eddf}.universe-card:nth-child(3) .universe-art{background:#e6f0ef}.universe-card:nth-child(4) .universe-art{background:#f8e7e9}.universe-card:nth-child(5) .universe-art{background:#f1efdb}.universe-card:nth-child(6) .universe-art{background:#e9eefa}.universe-art img{width:85%;height:85%;object-fit:contain;transition:transform .25s}.universe-card:hover img{transform:scale(1.08) rotate(-4deg)}.editorial-banners{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;margin:35px 0}.editorial-card{border-radius:16px;min-height:190px;position:relative;overflow:hidden;padding:30px;background:#e5f0eb}.editorial-card .eyebrow{font-size:8px;color:#598875}.editorial-card h2{font-size:26px;max-width:240px;margin:13px 0;letter-spacing:-1px}.editorial-card a{font-size:10px;font-weight:750;color:#385f50}.editorial-card img{position:absolute;right:15px;top:-12px;width:41%;height:110%;object-fit:contain;transform:rotate(8deg);pointer-events:none}.editorial-card.community{background:#f6e9df}.editorial-card.community .eyebrow{color:#a97b5c}.editorial-card.community a{color:#77553c}.community-visual{position:absolute;right:28px;top:38px;transform:rotate(6deg);width:125px;height:120px}.community-bubble{background:#fff8;border:1px solid white;padding:13px 19px;border-radius:14px;color:#c48663;font-size:23px;position:absolute;right:0;top:15px;box-shadow:0 10px 20px #9c65400a}.community-bubble.small{font-size:16px;right:70px;top:75px;background:#fff}.community-ring{width:75px;height:75px;border:1px solid #dfc9b7;position:absolute;border-radius:50%;left:-5px;top:-10px}.vendor-banner{background:#2c1d40;color:#fff;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:30px 38px;margin:40px 0}.vendor-banner h2{font-size:26px;margin:0 0 8px;letter-spacing:-1px}.vendor-banner p{color:#b7a6c9;font-size:11px;margin:0}.vendor-banner .button{background:#fff;color:#392850;flex-shrink:0}.site-footer{border-top:1px solid var(--line);background:#fff;margin-top:50px}.footer-grid{display:grid;grid-template-columns:1.8fr 1fr 1fr 1.2fr;gap:40px;padding-top:40px;padding-bottom:35px}.footer-grid p{color:#a195ac;font-size:10px;max-width:250px}.footer-grid h3{font-size:11px;letter-spacing:0;margin:0 0 16px}.footer-grid ul{padding:0;margin:0;list-style:none}.footer-grid li{margin:7px 0;font-size:10px}.footer-grid li a{color:#8e819c}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;padding-bottom:18px;font-size:9px;color:#a396b0}.footer-menu{display:flex;gap:15px;margin:0;padding:0;list-style:none}.footer-menu a{color:#897c97}.page-main{padding-top:40px;padding-bottom:35px;min-height:45vh}.page-header{margin-bottom:30px}.page-header h1{font-size:36px;letter-spacing:-1.7px;margin:0 0 10px}.entry-content{line-height:1.8}.entry-content>p,.entry-content>h2,.entry-content>h3,.entry-content>ul{max-width:850px}.entry-content:after{content:"";display:table;clear:both}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-card{background:#fff;border:1px solid var(--line);padding:25px;border-radius:16px}.post-card h2{font-size:20px}.post-card p{font-size:13px;color:var(--muted)}.woocommerce .woocommerce-breadcrumb{font-size:11px;color:#9789a4}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:12px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;padding:0 16px 18px}.woocommerce ul.products li.product a img{width:calc(100% + 32px);max-width:none;margin:0 -16px 16px;aspect-ratio:1.1;object-fit:contain;background:#f4f0f9}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;padding:0;line-height:1.4;margin-bottom:10px}.woocommerce ul.products li.product .price{font-size:18px;font-weight:750;color:var(--ink)}.woocommerce ul.products li.product .button{font-size:11px;margin-top:12px;padding:8px 12px}.woocommerce span.onsale{background:var(--tchamex-primary);border-radius:8px;padding:4px 9px;font-size:10px;min-height:auto;line-height:1.7;min-width:auto;margin:10px!important}.woocommerce div.product p.price{color:var(--tchamex-primary)}.woocommerce div.product div.images img{border-radius:18px}.woocommerce div.product div.summary h1{font-size:32px;letter-spacing:-1px}.woocommerce div.product form.cart .button{padding:12px 20px}.woocommerce input,.woocommerce textarea,.woocommerce select{border:1px solid #ded5e9;padding:10px;border-radius:7px}.woocommerce table.shop_table{background:white;border:1px solid var(--line);border-radius:12px}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--tchamex-primary)}.woocommerce-MyAccount-navigation ul{list-style:none;padding:15px;background:white;border:1px solid var(--line);border-radius:14px}.woocommerce-MyAccount-navigation li a{display:block;padding:10px 15px;font-size:13px;border-radius:7px}.woocommerce-MyAccount-navigation .is-active a{background:#eee6ff}.woocommerce form .form-row label{font-size:12px}.woocommerce-error,.woocommerce-info,.woocommerce-message{border-radius:10px;font-size:13px}.woocommerce .star-rating{color:#bd8c33}.woocommerce ul.products li.product .star-rating{font-size:11px}.woocommerce-tabs{background:white;padding:20px;border-radius:16px}.wp-block-image img,.post-thumbnail img{border-radius:16px}.alignwide{max-width:1100px}.alignfull{width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ffb36b;outline-offset:3px}.tchamex-bottom-nav{display:none}.comment-list{list-style:none;padding:0}.comment-body{padding:20px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:15px}.comment-form textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:15px}#reply-title{font-size:22px}.no-woocommerce{padding:35px;background:white;border:1px solid var(--line);border-radius:16px}
.header-search button{padding:0}.tcmx-app a.button.secondary{background:#efedf8;color:#38256d}
@media(min-width:1440px){.container{max-width:1400px}.hero{min-height:390px}.hero h1{font-size:49px}.hero-copy{padding:45px}}
@media(max-width:1100px){.header-main{gap:22px}.header-action span:not(.cart-count){display:none}.hero-layout{grid-template-columns:180px minmax(0,1fr);gap:18px}.hero-copy{padding:30px}.hero h1{font-size:37px}.hero p{max-width:200px}.primary-nav ul{gap:22px}.benefits{padding:18px;gap:14px}.universe-grid{gap:12px}.editorial-card{padding:25px}.community-visual{right:10px;opacity:.8}.footer-grid{gap:25px}}
@media(max-width:800px){.container{padding-left:20px;padding-right:20px}.header-main{flex-wrap:wrap;gap:15px;padding-top:15px;padding-bottom:15px}.brand-name{font-size:16px}.brand-subtitle{font-size:7px}.header-actions{margin-left:auto;gap:18px}.header-search{order:3;flex-basis:100%}.mobile-menu-toggle{display:inline-flex}.nav-row{display:none;flex-direction:column;align-items:stretch;padding-top:12px;padding-bottom:15px;gap:16px}.nav-row.is-open{display:flex}.category-label{display:none}.primary-nav ul{flex-direction:column;gap:10px}.primary-nav .sub-menu{position:static;border:0;box-shadow:none;display:flex;padding:7px 15px}.topbar .container{font-size:8px;padding-top:7px;padding-bottom:7px}.topbar-right{gap:12px}.topbar-right a:first-child{display:none}.hero-layout{display:block}.category-sidebar{display:none}.hero{min-height:325px}.hero-copy{padding:30px;width:59%}.hero h1{font-size:35px;letter-spacing:-1.8px}.hero-art{width:47%}.hero-sticker{font-size:7px;bottom:18%;left:0}.hero-sticker strong{font-size:12px}.hero-product.headphones{top:8%;width:95%}.hero-product.bag{width:65%;bottom:-3%}.benefits{grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:28px}.benefit strong{font-size:10px}.universe-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:20px}.universe-art{aspect-ratio:1.5!important}.editorial-card h2{font-size:21px;max-width:170px}.editorial-banners{gap:15px;grid-template-columns:1fr 1fr}.editorial-card{min-height:185px;padding:22px}.editorial-card img{right:-18px;width:45%;opacity:.65}.community-visual{right:-40px;opacity:.5}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-bottom{font-size:8px}.vendor-banner{padding:25px}.vendor-banner h2{font-size:22px}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.post-grid{grid-template-columns:repeat(2,1fr)}.admin-bar .site-header{top:46px}}
@media(max-width:520px){.container{padding-left:16px;padding-right:16px}.topbar-right{display:none}.topbar .container{justify-content:center}.header-main{gap:13px}.brand-link{gap:8px}.brand-name{font-size:15px}.brand-symbol{height:32px;width:32px;border-radius:9px}.header-actions{gap:15px}.header-action svg{width:20px;height:20px}.header-actions .header-wishlist{display:none}.header-search input{padding-top:11px;padding-bottom:11px}.home-intro{padding-top:16px}.hero{min-height:330px;align-items:flex-start}.hero-copy{padding:26px 22px;width:69%}.hero .eyebrow{font-size:7px;letter-spacing:1.1px}.hero h1{font-size:32px;letter-spacing:-1.8px;max-width:220px;margin-top:17px}.hero p{font-size:10px;max-width:175px;margin-bottom:20px}.hero-copy .button{font-size:10px;padding:10px 13px}.hero-art{width:46%;right:-20px;top:34px;height:90%}.hero-product.headphones{width:112%;top:6%;right:-3%}.hero-product.bag{width:85%;right:1%;bottom:-2%}.hero-sticker{bottom:26%;left:13%;padding:7px 9px;font-size:6px}.hero-sticker strong{font-size:10px}.hero-spark{font-size:20px;top:5%}.benefits{gap:15px;padding:17px;margin-top:16px}.benefit{gap:9px}.benefit svg{width:20px;height:20px}.benefit strong{font-size:9px}.benefit span{font-size:8px}.section-heading h2{font-size:22px}.section-heading p{font-size:9px}.section-heading>a{font-size:9px;white-space:nowrap}.universe-grid{gap:12px}.universe-card{font-size:9px}.universe-art{border-radius:13px!important;aspect-ratio:1.2!important}.editorial-banners{grid-template-columns:1fr}.editorial-card{min-height:170px}.editorial-card h2{font-size:25px;max-width:220px}.editorial-card img{width:42%;right:0;opacity:1}.community-visual{right:25px;opacity:1}.vendor-banner{flex-direction:column;align-items:flex-start;padding:26px}.vendor-banner h2{font-size:24px;max-width:250px}.footer-grid{gap:25px;padding-top:30px}.footer-grid .footer-brand{grid-column:1/-1}.footer-grid .footer-support{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:8px;padding-bottom:85px}.tchamex-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;background:#fffc;backdrop-filter:blur(12px);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:9px 7px max(10px,env(safe-area-inset-bottom))}.tchamex-bottom-nav a{font-size:8px;color:#877796;display:grid;justify-items:center;gap:3px}.tchamex-bottom-nav svg{width:20px;height:20px}.page-main{padding-top:25px}.page-header h1{font-size:29px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce ul.products li.product{padding-left:12px;padding-right:12px}.woocommerce ul.products li.product a img{width:calc(100% + 24px);margin-left:-12px;margin-right:-12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px}.woocommerce ul.products li.product .price{font-size:16px}.post-grid{grid-template-columns:1fr}.woocommerce div.product div.summary h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.universe-art img{transition:none}.universe-card:hover img{transform:none}}
