 :root{
  --burgundy:#941435;--burgundy-dark:#701027;--green:#4CC08F;--yellow:#FFD728;
  --ink:#252329;--muted:#77737a;--paper:#fbf9f7;--line:#ece7e4;--white:#fff;
  --shadow:0 18px 55px rgba(45,20,29,.12);font-family:"DM Sans",Arial,sans-serif
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink)}
button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}.site-header{height:82px;padding:0 max(5vw,22px);display:flex;align-items:center;justify-content:space-between;background:#fff}
.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--burgundy);position:relative;display:block;overflow:hidden}
.brand-mark span{position:absolute;width:13px;height:30px;background:var(--yellow);transform:rotate(38deg);left:13px;top:5px;border-radius:8px}
.brand-mark i{position:absolute;width:9px;height:24px;background:var(--green);transform:rotate(38deg);left:23px;top:12px;border-radius:8px}
.brand-copy{display:grid;line-height:1}.brand-copy strong{font-size:18px;letter-spacing:1.8px;color:var(--burgundy);font-weight:800}.brand-copy small{font-size:8px;letter-spacing:1.7px;margin-top:6px;color:#777}
.header-actions{display:flex;align-items:center;gap:24px}.nav-link{font-size:13px;font-weight:700}.button{border:0;border-radius:9px;padding:13px 19px;font-weight:700;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:12px;transition:.2s}
.button:hover{transform:translateY(-1px)}.button-outline{border:1px solid #ded5d7;background:#fff;color:var(--burgundy)}.button-primary{background:var(--burgundy);color:#fff}.button-primary:hover{background:var(--burgundy-dark)}.button-light{background:var(--yellow);color:#35121c;margin-top:13px}.button-small{padding:9px 13px}
.hero{background:var(--burgundy);color:#fff;min-height:440px;padding:70px max(8vw,25px);display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}
.hero-copy{max-width:550px;position:relative;z-index:1}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:800;color:var(--green)}.hero h1{font-size:clamp(40px,6vw,68px);line-height:1.04;letter-spacing:-2.5px;margin:17px 0}.hero h1 em{font-style:normal;color:var(--yellow)}.hero p{color:#f0dfe4;line-height:1.7;max-width:410px;font-size:15px}.hero-art{width:330px;height:300px;position:relative;margin-right:8vw}.orb{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.24)}.orb-one{width:280px;height:280px;right:0;top:10px}.orb-two{width:205px;height:205px;right:38px;top:48px;background:rgba(255,255,255,.06)}.spark{position:absolute;right:95px;top:62px;font-size:125px;color:var(--yellow);text-shadow:0 8px 35px rgba(0,0,0,.12)}.art-label{position:absolute;right:-12px;bottom:23px;font-size:11px;letter-spacing:3px;line-height:1.6;color:#f3dce2}.art-label b{color:var(--green);font-size:16px}
.catalog-section{padding:76px max(7vw,22px) 90px;max-width:1500px;margin:auto}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.section-heading h2{font-size:34px;letter-spacing:-1px;margin:8px 0 0}.section-heading .eyebrow{color:var(--burgundy)}.count-label,.muted{color:var(--muted);font-size:12px}.category-filters{display:flex;gap:9px;flex-wrap:wrap;margin:25px 0}.filter-chip{border:1px solid var(--line);background:#fff;border-radius:30px;padding:10px 16px;font-size:12px;font-weight:700;color:#68636a;cursor:pointer}.filter-chip.active{background:var(--burgundy);border-color:var(--burgundy);color:#fff}
.status-line{font-size:13px;color:var(--muted);padding:10px 0}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-image{height:190px;background:#f5f1ef;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.image-placeholder{font-size:45px;color:#d8cbd0}.product-info{padding:17px}.product-category{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--burgundy);font-weight:800}.product-info h3{font-size:15px;margin:8px 0 5px}.product-brand{font-size:11px;color:var(--muted)}.product-description{font-size:12px;color:#777;line-height:1.55;min-height:38px;margin:12px 0}.product-price{font-weight:800;color:var(--burgundy);font-size:17px}.price-request{font-size:12px;color:var(--muted);font-weight:700}
.site-footer{border-top:1px solid var(--line);padding:25px max(5vw,22px);display:flex;justify-content:space-between;align-items:center;background:#fff;color:var(--muted);font-size:11px}.brand-footer .brand-mark{width:34px;height:34px}.brand-footer .brand-copy strong{font-size:15px}
.modal{position:fixed;inset:0;z-index:20;display:none;align-items:center;justify-content:flex-end}.modal.open{display:flex}.modal-backdrop{position:absolute;inset:0;background:rgba(25,13,18,.62);backdrop-filter:blur(3px)}.admin-panel{position:relative;background:#fff;height:100%;width:min(760px,100%);overflow:auto;padding:42px clamp(20px,5vw,48px);box-shadow:var(--shadow)}.close-button{position:absolute;right:20px;top:17px}.icon-button{border:0;background:#f4eff0;border-radius:50%;width:35px;height:35px;font-size:24px;cursor:pointer;color:var(--burgundy)}
.admin-panel h2{font-size:30px;margin:8px 0}.admin-panel h3{font-size:17px;margin:24px 0 15px}.stack-form,.admin-form{display:grid;gap:15px;margin-top:25px}.stack-form label,.admin-form label,.category-form label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#514b50}.stack-form input,.admin-form input:not([type=checkbox]):not([type=file]),.admin-form select,.admin-form textarea,.category-form input{border:1px solid #e4dcde;border-radius:8px;padding:12px;background:#fff;min-width:0;color:var(--ink);outline:none}.stack-form input:focus,.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus,.category-form input:focus{border-color:var(--burgundy);box-shadow:0 0 0 3px rgba(148,20,53,.08)}.form-message{font-size:12px;min-height:16px;color:var(--burgundy)}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:25px 0}.tab-button{padding:12px 16px;background:none;border:0;border-bottom:2px solid transparent;font-weight:700;color:var(--muted);cursor:pointer}.tab-button.active{border-color:var(--burgundy);color:var(--burgundy)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.admin-form textarea{resize:vertical}.inline-options{display:flex;gap:20px;flex-wrap:wrap}.check-label{display:flex!important;align-items:center;gap:8px!important;font-weight:600!important}.check-label input{accent-color:var(--burgundy)}.form-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-list-heading{display:flex;justify-content:space-between;align-items:center;margin-top:28px}.admin-list-heading h3{margin-bottom:12px}.text-button{border:0;background:none;color:var(--burgundy);font-weight:700;cursor:pointer}.admin-list{display:grid;gap:8px}.admin-row{border:1px solid var(--line);border-radius:9px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-row-main{min-width:0}.admin-row strong{display:block;font-size:13px}.admin-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.row-actions{display:flex;gap:7px;flex-shrink:0}.mini-button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:7px 9px;font-size:11px;font-weight:700;cursor:pointer}.mini-button.danger{color:#b42342}.category-form{display:flex;align-items:end;gap:10px}.category-form label{flex:1}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);background:#242126;color:#fff;padding:12px 18px;border-radius:9px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:40;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}
[hidden]{display:none!important}
@media(max-width:950px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-art{margin-right:0;transform:scale(.85)}}
@media(max-width:680px){.site-header{height:70px;padding:0 17px}.nav-link{display:none}.header-actions{gap:8px}.button{padding:11px 13px}.hero{min-height:390px;padding:55px 24px}.hero-art{position:absolute;right:-105px;bottom:-70px;opacity:.45;transform:scale(.8)}.hero-copy{max-width:100%}.hero h1{font-size:45px}.catalog-section{padding:52px 17px 65px}.section-heading h2{font-size:27px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-image{height:145px}.product-info{padding:12px}.product-info h3{font-size:13px}.product-description{font-size:11px}.site-footer{padding:20px 17px}.brand-footer .brand-copy small{font-size:7px}.admin-panel{padding:45px 18px 30px}.form-grid{grid-template-columns:1fr}.category-form{align-items:stretch;flex-direction:column}.category-form .button{width:100%}.admin-row{align-items:flex-start}.row-actions{flex-direction:column}}

.whatsapp-order{width:100%;margin-top:13px;background:#25D366;color:#fff;font-size:12px;padding:11px 10px}.whatsapp-order:hover{background:#1eaf54;color:#fff}

/* Official ETINCELL STORE logo */
.brand{display:flex;align-items:center;gap:0;min-width:0}
.brand-logo{display:block;width:auto;height:52px;max-width:min(220px,42vw);object-fit:contain;border-radius:4px}
.brand-footer .brand-logo{height:42px;max-width:190px}
@media(max-width:680px){.brand-logo{height:43px;max-width:180px}.brand-footer .brand-logo{height:38px}}


/* Product detail view and prominent WhatsApp ordering */
.product-image.product-open{width:100%;border:0;padding:0;cursor:pointer;color:inherit}
.product-title-link{border:0;background:none;padding:0;text-align:left;font:inherit;font-weight:700;color:inherit;cursor:pointer}
.product-title-link:hover{color:var(--burgundy);text-decoration:underline}
.whatsapp-order{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-height:54px;margin-top:13px;padding:13px 15px;background:#25D366;color:#fff;border-radius:12px;font-size:14px;font-weight:800;line-height:1.25;text-decoration:none;box-shadow:0 4px 10px rgba(37,211,102,.16)}
.whatsapp-order:hover{background:#1eaf54;color:#fff}
.whatsapp-icon{width:21px;height:21px;flex:0 0 21px;fill:currentColor}
.whatsapp-arrow{margin-left:auto;font-size:17px}
.product-detail-modal{position:fixed;inset:0;z-index:30;display:none;align-items:center;justify-content:center;padding:22px}
.product-detail-modal.open{display:flex}
.detail-backdrop{position:absolute;inset:0;background:rgba(25,13,18,.68);backdrop-filter:blur(4px)}
.product-detail-panel{position:relative;z-index:1;width:min(760px,100%);max-height:min(92vh,900px);overflow:auto;background:#fff;border-radius:20px;box-shadow:var(--shadow)}
.detail-close{position:absolute;right:15px;top:15px;z-index:2;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.12)}
.detail-image{height:clamp(220px,38vh,360px);background:#f5f1ef;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:20px 20px 0 0}
.detail-image img{width:100%;height:100%;object-fit:contain}
.detail-content{padding:26px clamp(20px,4vw,38px) 32px}
.detail-content h2{font-size:clamp(22px,4vw,30px);margin:9px 0 5px;color:var(--ink)}
.detail-price{font-size:22px;font-weight:800;color:var(--burgundy);margin:16px 0 26px}
.detail-description-section{border-top:1px solid var(--line);padding-top:22px;margin-top:8px}
.detail-description-section h3{display:flex;align-items:center;gap:12px;font-size:20px;margin:0 0 20px;color:var(--ink)}
.detail-description-section h3 span{font-size:25px}
.detail-description{font-size:16px;line-height:1.9;color:#454047;white-space:pre-wrap;overflow-wrap:anywhere}
.detail-order{margin-top:28px}
.detail-whatsapp{min-height:58px;font-size:16px;justify-content:center}
body.modal-open{overflow:hidden}
@media(max-width:680px){.product-detail-modal{padding:0;align-items:flex-end}.product-detail-panel{width:100%;max-height:94vh;border-radius:20px 20px 0 0}.detail-image{height:250px;border-radius:20px 20px 0 0}.detail-content{padding:22px 20px 28px}.detail-description{font-size:15px;line-height:1.85}.detail-description-section h3{font-size:18px}.whatsapp-order{font-size:13px;min-height:52px}.detail-whatsapp{font-size:15px}}


/* Catalogue search, product photo gallery and customer order form */
.catalog-search{margin:18px 0 8px;max-width:620px}
.search-box{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 14px;min-height:52px;box-shadow:0 4px 15px rgba(45,20,29,.035)}
.search-box:focus-within{border-color:var(--burgundy);box-shadow:0 0 0 3px rgba(148,20,53,.08)}
.search-box>span{font-size:27px;color:var(--burgundy);line-height:1}
.search-box input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;padding:12px 0;color:var(--ink);font-size:14px}
.search-box button{border:0;background:#f3edef;color:var(--burgundy);border-radius:50%;width:28px;height:28px;font-size:20px;cursor:pointer}
.detail-gallery{display:flex;gap:9px;overflow-x:auto;padding:12px 20px;background:#fff;border-bottom:1px solid var(--line)}
.gallery-thumb{flex:0 0 66px;width:66px;height:66px;padding:3px;border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden;cursor:pointer}
.gallery-thumb.active{border:2px solid var(--burgundy)}
.gallery-thumb img{width:100%;height:100%;object-fit:contain}
.order-modal{z-index:50;justify-content:center;padding:18px}
.order-panel{position:relative;z-index:1;width:min(620px,100%);max-height:94vh;overflow:auto;background:#fff;border-radius:18px;padding:30px clamp(18px,4vw,34px);box-shadow:var(--shadow)}
.order-panel h2{font-size:26px;margin:8px 0 5px;color:var(--ink)}
.order-panel .stack-form{gap:13px;margin-top:18px}
.order-panel .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.order-panel .stack-form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#514b50}
.order-panel .stack-form input:not([type=radio]){width:100%;min-width:0;border:1px solid #e4dcde;border-radius:9px;padding:12px;background:#fff;color:var(--ink)}
.order-panel .stack-form input:focus{outline:0;border-color:var(--burgundy);box-shadow:0 0 0 3px rgba(148,20,53,.08)}
.order-panel .full-field{grid-column:1/-1}
.delivery-options{display:grid;gap:10px;border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.delivery-options legend{font-size:12px;font-weight:800;padding:0 5px;color:#514b50}
.delivery-options label{display:flex!important;align-items:center;gap:9px!important;font-size:13px!important;font-weight:600!important}
.delivery-options input{accent-color:var(--burgundy)}
.order-submit{width:100%;margin-top:4px}
.form-hint{font-size:11px;color:var(--muted);line-height:1.5;margin:0}
@media(max-width:600px){.catalog-search{margin:15px 0}.search-box{min-height:48px}.order-modal{padding:0;align-items:flex-end}.order-panel{width:100%;max-height:94vh;border-radius:18px 18px 0 0;padding:34px 18px 24px}.order-panel .form-grid{grid-template-columns:1fr}.order-panel .full-field{grid-column:auto}}

/* Panier — ajout fonctionnel sans modifier le thème existant */
.cart-header-button{gap:8px;white-space:nowrap}
.cart-floating-button{position:fixed;right:22px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:50;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border:0;border-radius:999px;background:var(--burgundy);color:#fff;font:700 14px/1 "DM Sans",sans-serif;box-shadow:0 8px 24px rgba(40,10,20,.25);cursor:pointer}
.cart-floating-button:active{transform:translateY(1px)}
.cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:20px;background:var(--burgundy);color:#fff;font-size:11px}
.add-cart-button{width:100%;margin-top:13px;min-height:43px}
.detail-add-cart{margin:0 0 10px;min-height:54px}
.cart-modal{position:fixed;inset:0;z-index:60;display:none;align-items:stretch;justify-content:flex-end}
.cart-modal.open{display:flex}
.cart-backdrop{position:absolute;inset:0;background:rgba(25,13,18,.62);backdrop-filter:blur(3px)}
.cart-panel{position:relative;z-index:1;width:min(520px,100%);height:100%;overflow:auto;background:#fff;padding:42px clamp(20px,4vw,34px);box-shadow:var(--shadow)}
.cart-panel h2{font-size:29px;margin:8px 0 24px}
.cart-items{display:grid;gap:12px}
.cart-empty{padding:30px 12px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px}
.cart-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.cart-item-info{display:grid;gap:5px;min-width:0}
.cart-item-info strong{font-size:13px;overflow-wrap:anywhere}
.cart-item-info small{font-size:12px;color:var(--muted)}
.cart-item-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.cart-item-actions span{min-width:17px;text-align:center;font-size:13px;font-weight:700}
.cart-item-actions .mini-button{padding:7px 9px}
.cart-footer{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.cart-total-line{display:flex;justify-content:space-between;align-items:center;font-size:14px}
.cart-total-line strong{font-size:18px;color:var(--burgundy)}
.cart-checkout{width:100%;margin-top:14px}
.cart-checkout:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:680px){.cart-header-button{font-size:11px;padding:9px 10px}.cart-panel{padding:44px 18px 28px}.cart-item{align-items:flex-start;flex-direction:column}.cart-item-actions{width:100%;justify-content:flex-end}.cart-floating-button{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));min-height:50px;padding:0 20px}}
