/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://photocreanomade.fr
Description: Thème enfant de Twenty Twenty-Five personnalisé pour PhotoCréaNomade.
Author: Atrabile.com
Author URI: https://atrabile.com
Template: twentytwentyfive
Version: 1.0.0
Text Domain: twentytwentyfive-child
*/

/* Reset de Twentytwentyfive */

:where(.wp-site-blocks :focus) { outline-style: unset !important; outline-width: 0px; }
:where(.wp-site-blocks) > * { margin-block-start: 0 !important; }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

[id] { scroll-margin-top: 90px; }

.is-position-sticky {z-index:51}

/* RT Carousel */

.rt-carousel-controls__btn {position: absolute; top: 50%; z-index: 50; border: none}

.rt-carousel-controls__btn {
	background-color: #0000007a;
}

.rt-carousel-controls__btn:hover {
	background-color: var(--wp--preset--color--pcn-dark) !important;
	border: none !important;
}
.rt-carousel-controls__btn path {
	fill: #ffffff;
}
.rt-carousel-controls__btn--prev {left: 0}
.rt-carousel-controls__btn--next {right: 0}

/* Woocommerce */

.wc-block-product-gallery-thumbnails__thumbnail img,
.wc-block-components-product-image.wp-block-woocommerce-product-image img {border-radius:20px}

.quantity.wc-block-components-quantity-selector {display: flex; height: 100%;}

.wc-block-cart__submit-button,
.wc-block-components-totals-coupon__button,
.wc-block-components-checkout-place-order-button--full-width {border-radius:50px}

.wc-block-components-totals-coupon__button {padding:0.75rem;}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {text-decoration:none !important;font-weight:600}
.woocommerce-account .woocommerce-MyAccount-navigation li { padding: 0.5em 0 !important;}