/* ========================================================================== 
 * PDO-011 LOT 3 — Catalogue / catégories WooCommerce
 * ======================================================================= */
.pdo-catalog-main { padding: 34px 0 10px; background: #fff; }
.pdo-catalog-breadcrumb { margin-bottom: 18px; color: #69727c; font-size: .8rem; }
.pdo-catalog-breadcrumb nav { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.pdo-catalog-breadcrumb a { color: #69727c; text-decoration: none; }
.pdo-catalog-breadcrumb span { color: #9ca4ab; }
.pdo-catalog-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 26px; }
.pdo-catalog-title-line { display: flex; align-items: baseline; gap: 18px; }
.pdo-catalog-title-line h1 { margin: 0; color: var(--pdo-color-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; line-height: 1.05; }
.pdo-catalog-total { color: #6c747d; font-size: .88rem; }
.pdo-catalog-intro { max-width: 700px; margin-top: 10px; color: #4e5963; font-size: .92rem; }
.pdo-catalog-intro p { margin: 0; }
.pdo-catalog-toolbar { display: flex; align-items: center; gap: 12px; }
.pdo-catalog-ordering .woocommerce-ordering { margin: 0; }
.pdo-catalog-ordering select, .pdo-catalog-filter-trigger { min-height: 48px; border: 1px solid #cfd6dc; border-radius: 8px; background: #fff; color: var(--pdo-color-navy); font-weight: 700; }
.pdo-catalog-ordering select { min-width: 200px; padding: 0 42px 0 16px; }
.pdo-catalog-filter-trigger { min-width: 142px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.pdo-catalog-filter-trigger > span:not(.pdo-icon) { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--pdo-color-gold); color: #fff; font-size: .7rem; }
.pdo-catalog-filter-trigger .pdo-icon { width: 20px; height: 20px; }

/* Woo hook before loop : notices uniquement ; result count/order sont rendus dans notre toolbar. */
.pdo-catalog-main > .woocommerce-notices-wrapper, .pdo-catalog-main .woocommerce-notices-wrapper { margin-bottom: 18px; }
.pdo-catalog-main .woocommerce-result-count { display: none; }
.pdo-catalog-main > .pdo-container > .woocommerce-ordering { display: none; }

.pdo-catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 38px; align-items: start; }
.pdo-catalog-sidebar { position: sticky; top: 22px; }
.admin-bar .pdo-catalog-sidebar { top: 54px; }
.pdo-catalog-sidebar__backdrop { display: none; }
.pdo-catalog-sidebar__panel { border: 1px solid #dfe3e6; border-radius: 10px; background: #fff; box-shadow: 0 6px 22px rgba(7,26,45,.035); overflow: hidden; }
.pdo-catalog-filter__head { min-height: 54px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e6e9eb; color: var(--pdo-color-navy); text-transform: uppercase; font-size: .78rem; letter-spacing: .03em; }
.pdo-catalog-filter__close { display: none; width: 36px; height: 36px; place-items: center; border: 0; background: transparent; cursor: pointer; }
.pdo-filter-group { border-bottom: 1px solid #e8ebed; }
.pdo-filter-group summary { min-height: 48px; padding: 0 15px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #182635; font-size: .84rem; font-weight: 750; cursor: pointer; }
.pdo-filter-group summary::-webkit-details-marker { display: none; }
.pdo-filter-group summary .pdo-icon { width: 15px; height: 15px; transition: transform .18s ease; }
.pdo-filter-group[open] summary .pdo-icon { transform: rotate(180deg); }
.pdo-filter-group__body { padding: 0 15px 15px; }
.pdo-filter-categories { display: grid; gap: 8px; }
.pdo-filter-categories a { display: flex; justify-content: space-between; gap: 8px; color: #394653; font-size: .81rem; text-decoration: none; }
.pdo-filter-categories a:hover, .pdo-filter-categories a.is-current { color: var(--pdo-color-gold-strong); font-weight: 700; }
.pdo-filter-categories small { color: #818b94; }
.pdo-filter-widget .woocommerce-widget-layered-nav-list, .pdo-filter-widget ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.pdo-filter-widget .woocommerce-widget-layered-nav-list__item { font-size: .81rem; }
.pdo-filter-widget .woocommerce-widget-layered-nav-list__item a { color: #394653; text-decoration: none; }
.pdo-filter-widget .woocommerce-widget-layered-nav-list__item.chosen a { color: var(--pdo-color-gold-strong); font-weight: 750; }
.pdo-filter-widget .count { color: #8b949d; }
.pdo-filter-widget--price .price_slider_wrapper { padding-top: 8px; }
.pdo-filter-widget--price .price_slider { margin-bottom: 18px; background: #d9dee2; }
.pdo-filter-widget--price .ui-slider-range, .pdo-filter-widget--price .ui-slider-handle { background: var(--pdo-color-navy) !important; }
.pdo-filter-widget--price .price_slider_amount { display: grid; gap: 8px; font-size: .78rem; }
.pdo-filter-widget--price .price_slider_amount .button { min-height: 36px; border: 0; border-radius: 6px; background: var(--pdo-color-navy); color: #fff; font-size: .75rem; }
.pdo-catalog-filter__actions { padding: 15px; }
.pdo-catalog-filter__actions .pdo-button { width: 100%; justify-content: center; min-height: 42px; font-size: .76rem; }

.pdo-catalog-products .products { margin: 0 !important; padding: 0 !important; list-style: none; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; }
.pdo-catalog-products .products::before, .pdo-catalog-products .products::after { display: none !important; }
.pdo-product-card { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; min-width: 0; border: 1px solid #e2e5e7; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 7px 24px rgba(7,26,45,.055); transition: transform .18s ease, box-shadow .18s ease; }
.pdo-product-card:hover { transform: translateY(-2px); box-shadow: 0 13px 34px rgba(7,26,45,.1); }
.pdo-product-card__media { position: relative; aspect-ratio: 1 / .88; overflow: hidden; background: #f4f3f0; }
.pdo-product-card__media > a { display: block; width: 100%; height: 100%; }
.pdo-product-card__image { width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; transition: transform .28s ease; }
.pdo-product-card:hover .pdo-product-card__image { transform: scale(1.015); }
.pdo-product-card__badges { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; align-items: flex-start; flex-direction: column; gap: 5px; pointer-events: none; }
.pdo-product-badge { display: inline-flex; min-height: 27px; align-items: center; padding: 0 10px; border-radius: 4px; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.pdo-product-badge--new { background: var(--pdo-color-navy); }
.pdo-product-badge--recommended { background: #c69c5b; }
.pdo-product-badge--sale { background: #c24747; }
.pdo-product-badge--discount { background: #141b22; }
.pdo-product-card__favorite { position: absolute; z-index: 3; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d7dde1; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--pdo-color-navy); cursor: pointer; }
.pdo-product-card__favorite .pdo-icon { width: 21px; height: 21px; }
.pdo-product-card__favorite.is-active, .pdo-product-card__favorite-label.is-active { color: #b8893b; }
.pdo-product-card__favorite.is-active svg, .pdo-product-card__favorite-label.is-active svg { fill: currentColor; }
.pdo-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 13px 14px 14px; }
.pdo-product-card__brand { color: #68727c; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.pdo-product-card__title { margin: 5px 0 5px !important; padding: 0 !important; font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem !important; line-height: 1.18; font-weight: 500; color: var(--pdo-color-navy); }
.pdo-product-card__title a { text-decoration: none; }
.pdo-product-card__specs { min-height: 38px; margin: 0 0 8px; color: #56616b; font-size: .76rem; line-height: 1.45; }
.pdo-product-card__meta-row { min-height: 22px; display: flex; align-items: center; }
.pdo-product-availability { font-size: .7rem; font-weight: 750; }
.pdo-product-availability.is-stock { color: #2f7d4a; }
.pdo-product-availability.is-order { color: #9a6e28; }
.pdo-product-availability.is-unavailable { color: #8a5050; }
.pdo-product-card__price { margin: 5px 0 14px; color: var(--pdo-color-navy); font-size: 1.14rem; font-weight: 800; }
.pdo-product-card__price del { margin-left: 5px; color: #7f878e; font-size: .78rem; font-weight: 500; }
.pdo-product-card__price ins { text-decoration: none; color: #c24747; }
.pdo-product-card__price .amount { white-space: nowrap; }
.pdo-product-card__actions { margin-top: auto; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 8px; align-items: center; }
.pdo-product-card__cart { min-height: 43px; margin: 0 !important; padding: 8px 12px !important; border: 0 !important; border-radius: 6px !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; background: #caa05f !important; color: #fff !important; font-size: .76rem !important; font-weight: 750 !important; text-decoration: none; text-align: center; }
.pdo-product-card__cart .pdo-icon { width: 18px; height: 18px; }
.pdo-product-card__cart--options { background: var(--pdo-color-navy) !important; }
.pdo-product-card__favorite-label { min-height: 40px; padding: 4px; border: 0; background: transparent; color: #34414d; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .7rem; cursor: pointer; }
.pdo-product-card__favorite-label .pdo-icon { width: 18px; height: 18px; }
.pdo-product-card a.added_to_cart { display: none !important; }

.pdo-catalog-products .woocommerce-pagination { margin: 38px 0 18px; }
.pdo-catalog-products .woocommerce-pagination ul.page-numbers { border: 0; display: flex; justify-content: center; gap: 7px; }
.pdo-catalog-products .woocommerce-pagination ul.page-numbers li { border: 0; }
.pdo-catalog-products .woocommerce-pagination .page-numbers a, .pdo-catalog-products .woocommerce-pagination .page-numbers span { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d9dee2; border-radius: 6px; background: #fff; color: var(--pdo-color-navy); }
.pdo-catalog-products .woocommerce-pagination .page-numbers .current { border-color: var(--pdo-color-navy); background: var(--pdo-color-navy); color: #fff; }

@media (max-width: 1260px) {
	.pdo-catalog-layout { grid-template-columns: 220px minmax(0,1fr); gap: 24px; }
	.pdo-catalog-products .products { gap: 18px 14px; }
	.pdo-product-card__actions { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.pdo-catalog-main { padding-top: 22px; }
	.pdo-catalog-header { align-items: stretch; flex-direction: column; gap: 18px; }
	.pdo-catalog-title-line { align-items: flex-start; flex-direction: column; gap: 5px; }
	.pdo-catalog-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
	.pdo-catalog-ordering select, .pdo-catalog-filter-trigger { width: 100%; min-width: 0; }
	.pdo-catalog-layout { display: block; }
	.pdo-catalog-sidebar { position: fixed; inset: 0; z-index: 10050; pointer-events: none; }
	.pdo-catalog-sidebar__backdrop { display: block; position: absolute; inset: 0; background: rgba(4,17,29,.56); opacity: 0; transition: opacity .2s ease; }
	.pdo-catalog-sidebar__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(92vw, 390px); overflow-y: auto; border: 0; border-radius: 0; transform: translateX(-102%); transition: transform .22s ease; box-shadow: var(--pdo-shadow-lg); }
	.pdo-catalog-sidebar.is-open { pointer-events: auto; }
	.pdo-catalog-sidebar.is-open .pdo-catalog-sidebar__backdrop { opacity: 1; }
	.pdo-catalog-sidebar.is-open .pdo-catalog-sidebar__panel { transform: translateX(0); }
	.pdo-catalog-filter__head { position: sticky; top: 0; z-index: 3; min-height: 64px; background: #fff; }
	.pdo-catalog-filter__close { display: grid; }
	.pdo-catalog-products .products { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
	.pdo-catalog-main .pdo-container { width: min(calc(100% - 20px), var(--pdo-container)); }
	.pdo-catalog-breadcrumb { font-size: .72rem; }
	.pdo-catalog-title-line h1 { font-size: 2rem; }
	.pdo-catalog-intro { font-size: .84rem; }
	.pdo-catalog-toolbar { gap: 8px; }
	.pdo-catalog-ordering select, .pdo-catalog-filter-trigger { min-height: 44px; font-size: .77rem; }
	.pdo-catalog-products .products { grid-template-columns: 1fr; gap: 14px; }
	.pdo-product-card__media { aspect-ratio: 1 / .78; }
	.pdo-product-card__body { padding: 12px; }
	.pdo-product-card__title { font-size: 1.18rem !important; }
	.pdo-product-card__specs { min-height: 0; }
	.pdo-product-card__actions { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
}

/* ========================================================================== 
 * PDO-011 LOT 3.3 — Catalogue structurel sans données produit
 * ======================================================================= */
.pdo-catalog-heading { min-width: 0; }
.pdo-catalog-filter__empty { margin: 0; padding: 18px 15px; color: #6b7580; font-size: .78rem; line-height: 1.5; }
.pdo-catalog-filter__actions { display: grid; gap: 8px; }
.pdo-catalog-filter__reset { width: 100%; justify-content: center; min-height: 42px; }
.pdo-catalog-filter__results { display: none; width: 100%; justify-content: center; min-height: 44px; border: 0; cursor: pointer; }

.pdo-catalog-empty { min-height: 330px; padding: clamp(34px, 5vw, 64px); border: 1px solid #e2e6e9; border-radius: 12px; background: #faf9f6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pdo-catalog-empty__icon { width: 44px; height: 44px; margin-bottom: 16px; color: var(--pdo-color-gold-strong); }
.pdo-catalog-empty h2 { margin: 0 0 10px; color: var(--pdo-color-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 500; }
.pdo-catalog-empty > p { max-width: 620px; margin: 0 0 22px; color: #59636d; font-size: .92rem; line-height: 1.6; }
.pdo-catalog-empty--with-children { align-items: stretch; text-align: left; }
.pdo-catalog-empty--with-children > h2,
.pdo-catalog-empty--with-children > p { max-width: none; }
.pdo-catalog-child-grid { width: 100%; margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pdo-catalog-child-card { min-height: 88px; padding: 18px; border: 1px solid #dfe4e8; border-radius: 9px; background: #fff; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; color: var(--pdo-color-navy); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.pdo-catalog-child-card:hover { transform: translateY(-1px); border-color: #c9b183; box-shadow: 0 8px 24px rgba(7,26,45,.06); }
.pdo-catalog-child-card strong { grid-column: 1; font-size: .95rem; }
.pdo-catalog-child-card > span:not(.pdo-icon) { grid-column: 1; color: #7a838c; font-size: .72rem; }
.pdo-catalog-child-card .pdo-icon { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--pdo-color-gold-strong); }

.pdo-catalog-seo { margin-top: clamp(46px, 7vw, 78px); padding: clamp(34px, 5vw, 54px) 0; border-top: 1px solid #e6e8e9; }
.pdo-catalog-seo__inner { max-width: 920px; color: #4e5963; font-size: .92rem; line-height: 1.75; }
.pdo-catalog-seo__inner > :first-child { margin-top: 0; }
.pdo-catalog-seo__inner > :last-child { margin-bottom: 0; }
.pdo-catalog-seo__inner h2,
.pdo-catalog-seo__inner h3 { color: var(--pdo-color-navy); font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }

@media (max-width: 900px) {
	.pdo-catalog-toolbar--filters-only { grid-template-columns: 1fr; }
	.pdo-catalog-toolbar--filters-only .pdo-catalog-filter-trigger { width: 100%; }
	.pdo-catalog-sidebar__panel { display: flex; flex-direction: column; }
	.pdo-catalog-filter__actions { position: sticky; bottom: 0; z-index: 4; margin-top: auto; padding: 12px 15px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e5e8ea; background: rgba(255,255,255,.98); }
	.pdo-catalog-filter__results { display: inline-flex; }
}

@media (max-width: 620px) {
	.pdo-catalog-empty { min-height: 270px; padding: 28px 20px; }
	.pdo-catalog-child-grid { grid-template-columns: 1fr; }
	.pdo-catalog-child-card { min-height: 76px; padding: 15px; }
	.pdo-catalog-seo { margin-top: 40px; padding: 30px 0; }
}


/* 0.8.52-dev — Prix catalogue contextualisé : TTC particulier / PRO HT + TTC. */
.pdo-product-card__price .pdo-product-price-display--compact {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 6px;
	margin: 0;
}
.pdo-product-card__price .pdo-product-price-display--compact .pdo-product-price-prefix {
	width: 100%;
	color: #68737d;
	font-size: .68rem;
	font-weight: 650;
}
.pdo-product-card__price .pdo-product-price-display--compact strong {
	font-size: inherit;
	font-weight: 800;
}
.pdo-product-card__price .pdo-product-price-display--compact strong em {
	font-size: .65em;
	font-style: normal;
	font-weight: 750;
}
.pdo-product-card__price .pdo-product-price-display--compact > small:last-child {
	color: #68737d;
	font-size: .68rem;
	font-weight: 650;
}
