/* =========================================================
   Catalogue : catégories, marques, boutique, recherche
   ========================================================= */
.adp-cat {
	--a-gold: #b0925b; --a-gold-dark: #967a48; --a-ink: #1c1b19; --a-text: #3b3a37; --a-muted: #7a766f; --a-line: #e6e0d6;
	--a-cream: #fbfaf8; --a-sand: #f3efe9;
	background: var(--a-cream); color: var(--a-text); font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.adp-cat *, .adp-cat *::before, .adp-cat *::after { box-sizing: border-box; }
:where(.adp-cat) a { color: inherit; text-decoration: none; }
:where(.adp-cat) p, :where(.adp-cat) h1, :where(.adp-cat) h2 { margin: 0; }
:where(.adp-cat) ul { list-style: none; margin: 0; padding: 0; }
.adp-catalog-page .site-main, .adp-catalog-page #content { max-width: none; padding: 0; margin: 0; }
.adp-catalog-page .page-header, .adp-catalog-page .woocommerce-products-header { display: none; }
.adp-cw { max-width: 1320px; margin: 0 auto; padding: 0 48px; }

/* ---------- En-tête compact ---------- */
.adp-cat__hero { position: relative; background: radial-gradient(120% 160% at 90% 0%, #3a2e22 0%, #1b1611 58%); color: #f4efe6; }
.adp-cat__hero-in { position: relative; padding-top: 22px; padding-bottom: 30px; }
.adp-cat__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #bfb5a6; margin-bottom: 22px; }
.adp-cat__crumbs a:hover { color: var(--a-gold); }
.adp-cat__crumbs span[aria-current] { color: #fff; }
.adp-cat__headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.adp-cat__headrow > div:first-child { max-width: 720px; }
.adp-cat__kicker { display: inline-block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--a-gold); font-weight: 500; margin-bottom: 6px; }
.adp-cat__title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; color: #fff; }
.adp-cat__desc { margin-top: 10px !important; font-size: 14.5px; line-height: 1.65; color: #d6ccbd; font-weight: 300; }
.adp-cat__bmeta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 14px 0 0; }
.adp-cat__bmeta dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #a79c8b; }
.adp-cat__bmeta dd { margin: 0; color: #f4efe6; font-size: 14px; }
.adp-cat__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.adp-cat__stats > * { font-size: 12.5px; letter-spacing: .04em; padding: 7px 13px; border: 1px solid rgba(239, 232, 220, .28); color: #e9e2d6; }
.adp-cat__stats a:hover { border-color: var(--a-gold); color: #fff; }
.adp-cat__stats strong { color: #fff; font-weight: 600; margin-right: 3px; }

/* ---------- Sous-catégories ---------- */
.adp-cat__chips { background: #fff; border-bottom: 1px solid var(--a-line); position: relative; z-index: 5; }
.adp-cat__chips ul { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.adp-cat__chips ul::-webkit-scrollbar { display: none; }
.adp-cat__chips a {
	display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 9px 16px; border: 1px solid var(--a-line); font-size: 13.5px; color: var(--a-ink);
	background: var(--a-cream); transition: border-color .2s, background .2s, color .2s;
}
.adp-cat__chips a small { font-size: 11px; color: var(--a-muted); background: #fff; padding: 1px 7px; border-radius: 10px; }
.adp-cat__chips a:hover { border-color: var(--a-gold); color: var(--a-gold-dark); }
.adp-cat__chips a.is-active { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }
.adp-cat__chips a.is-active small { background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- Corps ---------- */
.adp-cat__body { padding: 34px 0 80px; }
.adp-cat__bar { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--a-line); margin-bottom: 26px; }
.adp-cat__filterbtn {
	display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--a-ink); background: transparent; color: var(--a-ink);
	font-family: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border-radius: 0; transition: background .2s, color .2s;
}
.adp-cat__filterbtn svg { width: 18px; height: 18px; }
.adp-cat__filterbtn i { width: 7px; height: 7px; border-radius: 50%; background: var(--a-gold); }
.adp-cat__filterbtn:hover, .adp-cat__filterbtn[aria-expanded="true"] { background: var(--a-ink) !important; color: #fff !important; }
.adp-cat__count { flex: 1; font-size: 13.5px; color: var(--a-muted); }
.adp-cat__sort .woocommerce-ordering { margin: 0; float: none; }
.adp-cat__sort select {
	appearance: none; -webkit-appearance: none; border: 1px solid var(--a-line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%231c1b19' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
	padding: 11px 40px 11px 16px; font-family: inherit; font-size: 13.5px; color: var(--a-ink); border-radius: 0; cursor: pointer; min-width: 230px;
}

.adp-cat__filterbtn b { min-width: 20px; height: 20px; border-radius: 10px; background: var(--a-gold); color: #fff; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }

.adp-cat__active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 22px; }
.adp-cat__active a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: #fff; border: 1px solid var(--a-line); font-size: 12.5px; color: var(--a-ink); }
.adp-cat__active a span { color: var(--a-muted); }
.adp-cat__active a svg { width: 10px; height: 10px; }
.adp-cat__active a:hover { border-color: var(--a-ink); }
.adp-cat__active .adp-cat__clear, .adp-cat__ffoot .adp-cat__clear { border: 0; background: none; padding: 6px 2px; color: #7d1f24; text-decoration: underline; text-underline-offset: 3px; }

.adp-cat__filters { background: #fff; border: 1px solid var(--a-line); margin-bottom: 26px; animation: adpCatIn .3s ease; }
.adp-cat__filters[hidden] { display: none; }
@keyframes adpCatIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.adp-cat__fhead { display: none; }
.adp-cat__fbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 36px; padding: 22px 24px; }
.adp-cat__fgroup p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--a-muted); margin-bottom: 10px !important; }
.adp-cat__fgroup ul { display: flex; flex-wrap: wrap; gap: 7px; }
.adp-cat__fgroup a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--a-line); font-size: 13px; color: var(--a-ink); background: var(--a-cream); transition: border-color .2s, background .2s, color .2s; }
.adp-cat__fgroup a small { font-size: 11px; color: var(--a-muted); }
.adp-cat__fgroup a:hover { border-color: var(--a-gold); color: var(--a-gold-dark); }
.adp-cat__fgroup a.is-active { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }
.adp-cat__fgroup a.is-active small { color: #d9d2c6; }
.adp-cat__ffoot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--a-line); }
.adp-cat__ffoot .adp-cat__btn { margin: 0; border: 0; cursor: pointer; font-family: inherit; }

.adp-cat__related { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.adp-cat__related a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid var(--a-line); font-size: 13.5px; color: var(--a-ink); }
.adp-cat__related small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--a-gold-dark); }
.adp-cat__related em { font-style: normal; font-size: 11.5px; color: var(--a-muted); }
.adp-cat__related a:hover { border-color: var(--a-gold); }

.adp-cat__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.adp-cat__grid .adp-pc { animation: adpCatIn .5s both; }
.adp-cat__grid .adp-pc:nth-child(4n+2) { animation-delay: .05s; }
.adp-cat__grid .adp-pc:nth-child(4n+3) { animation-delay: .1s; }
.adp-cat__grid .adp-pc:nth-child(4n+4) { animation-delay: .15s; }

.adp-cat__pages { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.adp-cat__pages .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--a-line); background: #fff; font-size: 14px; color: var(--a-ink); transition: border-color .2s, background .2s, color .2s; }
.adp-cat__pages .page-numbers svg { width: 14px; height: 14px; }
.adp-cat__pages a.page-numbers:hover { border-color: var(--a-gold); color: var(--a-gold-dark); }
.adp-cat__pages .page-numbers.current { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }
.adp-cat__pages .dots { border: 0; background: none; }

.adp-cat__empty { text-align: center; background: #fff; border: 1px solid var(--a-line); padding: 48px 24px; }
.adp-cat__empty-t { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; color: var(--a-ink); margin-bottom: 8px !important; }
.adp-cat__empty-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.adp-cat__btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 0; padding: 14px 24px; background: var(--a-ink); color: #fff !important; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.adp-cat__btn svg { width: 14px; height: 14px; }
.adp-cat__btn:hover { background: var(--a-gold-dark); }
.adp-cat__btn.is-ghost { background: transparent; color: var(--a-ink) !important; box-shadow: inset 0 0 0 1px var(--a-ink); }
.adp-cat__btn.is-ghost:hover { background: var(--a-ink); color: #fff !important; }
.adp-cat__sugg-h { margin-top: 28px !important; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--a-muted); }
.adp-cat__sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px !important; }
.adp-cat__sugg a { display: inline-block; padding: 7px 13px; border: 1px solid var(--a-line); background: var(--a-cream); font-size: 13px; color: var(--a-ink); }
.adp-cat__sugg a:hover { border-color: var(--a-gold); }
.adp-cat__sugg-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; color: var(--a-ink); margin: 44px 0 18px !important; }

.adp-cat__about { background: #fff; padding: 64px 0; border-top: 1px solid var(--a-line); }
.adp-cat__about h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 30px; color: var(--a-ink); margin-bottom: 16px; }
.adp-cat__about div { columns: 2; column-gap: 48px; font-size: 14.5px; line-height: 1.85; }
.adp-cat__about p { margin-bottom: 1em; }

.adp-cat__trust { background: #15130f; color: #cfc6b8; }
.adp-cat__trust ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.adp-cat__trust li { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-right: 1px solid rgba(194, 163, 107, .18); font-size: 13px; }
.adp-cat__trust li:last-child { border-right: 0; }
.adp-cat__trust svg { width: 28px; height: 28px; color: var(--a-gold); flex: 0 0 auto; }
.adp-cat__trust strong { display: block; color: #f4efe6; font-weight: 500; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .adp-cw { padding: 0 32px; } .adp-cat__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
	.adp-cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.adp-cat__about div { columns: 1; }
	.adp-cat__trust ul { grid-template-columns: 1fr 1fr; }
	.adp-cat__trust li:nth-child(2) { border-right: 0; }
}
@media (max-width: 640px) {
	.adp-cw { padding: 0 16px; }
	.adp-cat__hero-in { padding-top: 14px; padding-bottom: 20px; }
	.adp-cat__crumbs { margin-bottom: 12px; font-size: 11.5px; }
	.adp-cat__desc { font-size: 13.5px; }
	.adp-cat__stats > * { padding: 5px 10px; font-size: 11.5px; }
	.adp-cat__chips ul { padding: 12px 0; }
	.adp-cat__body { padding-top: 20px; }
	.adp-cat__bar { flex-wrap: wrap; gap: 10px; }
	.adp-cat__count { order: 3; flex-basis: 100%; }
	.adp-cat__filterbtn { padding: 10px 14px; }
	.adp-cat__sort { flex: 1; }
	.adp-cat__sort select { width: 100%; min-width: 0; }
	.adp-cat__grid { gap: 10px; }
	/* Filtres en panneau plein écran */
	.adp-cat__filters { position: fixed; inset: 0; z-index: 100000; margin: 0; border: 0; display: flex; flex-direction: column; animation: none; }
	.adp-cat__filters[hidden] { display: none; }
	.adp-cat__fhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--a-line); }
	.adp-cat__fhead p { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; color: var(--a-ink); }
	.adp-cat__fclose { width: 40px; height: 40px; border: 0; background: none; color: var(--a-ink); padding: 10px; cursor: pointer; }
	.adp-cat__fclose svg { width: 18px; height: 18px; }
	.adp-cat__fbody { flex: 1; overflow-y: auto; grid-template-columns: 1fr; padding: 18px 16px; gap: 22px; }
	.adp-cat__ffoot { padding: 12px 16px; justify-content: space-between; }
	.adp-cat__ffoot .adp-cat__btn { flex: 1; justify-content: center; }
	.adp-cat__trust li { border-right: 0; border-bottom: 1px solid rgba(194, 163, 107, .18); padding: 16px 4px; }
}
