/* Orus Bijoux - retouches graphiques (30/11/2026). Charge apres les feuilles du theme. */

/* 1. Une seule regle d'espacement : entre sections = --ot-sec, a l'interieur d'un bloc = --ot-block. */
body.orus-theme{--ot-sec:56px;--ot-block:28px;
--o-sx:var(--ot-sec);--o-sec-l:var(--ot-sec);--o-sec-m:var(--ot-sec);--o-sec-s:var(--ot-sec);--o-sm:var(--ot-sec);
--o-ss:var(--ot-block);--o-step-g:var(--ot-block)}
@media (max-width:1024px){body.orus-theme{--ot-sec:44px;--ot-block:24px}}
@media (max-width:760px){body.orus-theme{--ot-sec:36px;--ot-block:20px}}
.orus-theme .o-hero__t,.orus-theme .o-band__t{padding-top:var(--ot-sec);padding-bottom:var(--ot-sec)}
.orus-theme .o-reviews{padding-top:var(--ot-block)}
.orus-theme .o-avis{padding-top:16px;padding-bottom:8px}

/* 2. Fil d'Ariane : meme distance du menu sur toutes les pages. */
.orus-theme .o-wrap:has(>.o-crumbs),.orus-theme .o-cat-head:has(>.o-crumbs),.orus-theme .o-page-pad:has(.o-crumbs){padding-top:12px}
.orus-theme .o-maison .o-page-pad:has(.o-crumbs){padding-top:var(--ot-sec)}
.orus-theme .o-landing-crumbs{padding-top:12px;padding-bottom:12px}

/* 3. « Lire la suite » : coupure nette, sans fondu. */
.orus-theme .o-more.is-folded:after{content:none}
.orus-theme .o-cat-story.is-folded .o-cat-story__body,.orus-theme .o-cat-story--long.is-folded .o-cat-story__intro{-webkit-mask-image:none;mask-image:none}

/* 4. Boutons : plus fins, texte centre ; 44 px sur ecran tactile. */
.orus-theme :is(.o-btn,.o-btn2,.o-btnw,.o-btn2w,.single_add_to_cart_button,#place_order,.checkout-button,.orus-form__submit,.orus-withdrawal__button,.o-ac-form__acts .button,td.actions .button,.coupon .button,.return-to-shop a.button){
min-height:42px !important;padding:9.25px 22px 6.75px !important;letter-spacing:.16em !important;line-height:1.3 !important;align-items:center;align-content:center;justify-content:center;box-sizing:border-box}
.orus-theme .o-giftbox__add{min-height:42px !important;padding-top:2.5px;padding-bottom:0}
.orus-theme :is(.o-consent,.o-cdlg) .o-cbtn{font-size:13px}
.orus-theme .o-cartp table.shop_table.cart td.actions .coupon .button{height:42px !important;display:inline-flex}
.orus-theme .o-btnsm{min-height:34px !important}
.orus-theme :is(.o-consent,.o-cdlg) button{min-height:40px}
.orus-theme .o-ft-newsrow :is(input,button),.orus-theme .coupon .input-text{min-height:42px;height:42px}
.orus-theme .o-chip{min-height:38px}
@media (max-width:1024px),(pointer:coarse){
.orus-theme :is(.o-btn,.o-btn2,.o-btnw,.o-btn2w,.single_add_to_cart_button,#place_order,.checkout-button,.orus-form__submit,.orus-withdrawal__button,.o-ac-form__acts .button,td.actions .button,.coupon .button,.return-to-shop a.button){min-height:44px !important;padding-left:18px !important;padding-right:18px !important}
.orus-theme .o-giftbox__add,.orus-theme .o-btnsm,.orus-theme :is(.o-consent,.o-cdlg) button,.orus-theme .o-chip{min-height:44px !important}
.orus-theme .o-ft-newsrow :is(input,button),.orus-theme .coupon .input-text{min-height:44px;height:44px}
.orus-theme .o-cartp table.shop_table.cart td.actions .coupon .button{height:44px !important}
}

/* 5. En-tete : liens discrets ; le menu tient sur une ligne sur les petits ecrans d'ordinateur. */
.orus-theme .o-header .o-hbtn{font-size:var(--ot-small)}
@media (min-width:761px) and (max-width:1100px){
.orus-theme .o-nav .o-nav__list{gap:12px;padding-left:10px;padding-right:10px}
.orus-theme .o-nav .o-nav__top{font-size:11.5px;letter-spacing:.04em}
}
@media (min-width:761px) and (max-width:880px){.orus-theme .o-nav .o-nav__list{flex-wrap:wrap;row-gap:0;column-gap:14px}}

/* Noms des bijoux sur les cartes : plus fins sur telephone. */
@media (max-width:760px){.orus-theme .o-cell__name{font-size:var(--ot-small)}}

/* 6. Panier rempli sur telephone : le tableau ne depasse plus a droite. */
@media (max-width:760px){
.orus-theme .o-cartp .o-cartp__grid{grid-template-columns:minmax(0,1fr) !important}
.orus-theme .o-cartp .o-cartp__grid>*{min-width:0}
.orus-theme .o-cartp .woocommerce-cart-form,.orus-theme .o-cartp .woocommerce-cart-form :is(table,tbody,tr,td){min-width:0;max-width:100%;box-sizing:border-box}
.orus-theme .o-cartp table.shop_table.cart tr.cart_item{grid-template-columns:72px minmax(0,1fr) auto !important}
.orus-theme .o-cartp table.shop_table.cart td.actions,.orus-theme .o-cartp table.shop_table.cart td.actions .coupon{width:100%;flex-wrap:wrap}
.orus-theme .o-cartp table.shop_table.cart td.actions .coupon :is(.input-text,.button){max-width:100%;min-width:0;flex:1 1 100%}
}

/* 7. Fenetre et cloche de notifications (Shopimind) : sous le bandeau cookies, compactes, dans le style du site. */
body:has(#orus-consent:not([hidden])) #spm_msg_push_notification,body:has(#orus-consent:not([hidden])) #spmWebPushIcon{display:none !important}
#spm_msg_push_notification{top:auto !important;bottom:12px !important;left:12px !important;right:auto !important;width:min(360px,calc(100% - 24px)) !important;font-family:var(--o-sans) !important}
#spm_msg_push_notification *{font-family:var(--o-sans) !important}
div:has(>#spmWebPushIcon){transform:scale(.72);transform-origin:left bottom}
@media (max-width:760px){body:has(.o-pdp-bar) #spm_msg_push_notification{bottom:80px !important}}

/* 8. Bandeau cookies sur telephone : il laisse voir la page. */
@media (max-width:760px){
.orus-theme #orus-consent{max-height:70vh;overflow-y:auto}
.orus-theme #orus-consent p{font-size:13px;line-height:1.45}
}

/* 9. Pied de page : texte secondaire. */
.orus-theme .o-footer :is(a.o-flink,.o-ft-brand p,.o-ft-newstext){font-size:var(--ot-small)}

/* 10. Mes commandes sur telephone : les cartes prennent toute la largeur. */
.orus-theme .o-account :is(.o-acmain,.o-ocards,.o-ocard){width:100%;box-sizing:border-box}
.orus-theme .o-account .o-ocards{grid-column:1/-1}

/* 11. La cloche de notifications ne couvre plus le panier, la commande ni l'espace client. */
body:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) :is(div:has(>#spmWebPushIcon),#spm_msg_push_notification){display:none !important}

/* 12. Cas restants : blocs vides, titres colles a leur contenu, dernier bloc avant les avis. */
.orus-theme .o-page-pad:not(:has(*)){display:none}
.orus-theme .o-compat-banner p:empty,.orus-theme .o-prose p:empty{display:none}
.orus-theme .o-cat-head{padding-bottom:var(--ot-block)}
.orus-theme .o-ground+.o-page-pad{padding-top:0}
.orus-theme #o-produits .woocommerce-pagination{margin-bottom:0}
.orus-theme .o-cat-story,.orus-theme .o-cat-story--short{margin-top:var(--ot-block);padding-top:var(--ot-sec);padding-bottom:var(--ot-sec)}
.orus-theme .o-cat-story+.o-section,.orus-theme .o-section:has(.o-cat-story)+.o-section{padding-top:0}
.orus-theme #o-produits>.o-cat-story:last-child{padding-bottom:0}
.orus-theme main.o-main>:last-child,.orus-theme main.o-main>article:last-child>:last-child{padding-bottom:var(--ot-block);margin-bottom:0}
.orus-theme main.o-main>.o-pdp:last-child{padding-bottom:var(--ot-block)}
.orus-theme main.o-main .o-pdp>:last-child>:last-child{margin-bottom:0;padding-bottom:0}
.orus-theme .o-empty--box{margin-bottom:0}
.orus-theme .o-wrap:has(>.o-cat-story:last-child)+.o-section{padding-top:0}
.orus-theme .o-cartp-empty{margin-bottom:0}

/* 13. Tablette : le logo ne touche plus les liens de droite ; les trois atouts de « La Maison » ne se chevauchent plus. */
@media (min-width:761px) and (max-width:1000px){
.orus-theme .o-header .o-hlab{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.orus-theme .o-header .o-hbtn{min-width:var(--o-touch);justify-content:center}
}
@media (min-width:761px) and (max-width:1200px){.orus-theme .o-maison__pts{grid-template-columns:minmax(0,1fr) !important;gap:16px}}
/* Texte en minuscules : il se centre un peu plus haut que les capitales. */
.orus-theme button.button[name=apply_coupon]:not(#place_order){padding-top:7.5px !important;padding-bottom:8.5px !important}
.orus-theme :is(.o-consent,.o-cdlg) .o-cbtn{padding-top:0;padding-bottom:2.4px}
