﻿/* CONTENU.CSS : styles des pages standard de contenu (hors-showroom) */

/* image d'entête de page */
.page-header.intrinsic { padding-bottom: 33.3333333%; /* 1920:640 */ background: var(--gris-2); }


/* événements et communiqués de presse (liste/fiche) */
.event-links a[target] { display: inline-block; margin-top: 0.5em; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.event-map.intrinsic, .news-list .img-wrapper { padding-bottom: 56.25%; }
.news-list article { height: 100%; }
.news-list a.img-wrapper:hover .fit { transform: scale(1.05); }


/* listes de brochures (archives des catalogues) et documents (manuels/garanties) */
.brochure-list a, .document-list a { height: 100%; background-color: var(--gris-1); }
.brochure-list a:hover, .document-list a:hover { background-color: var(--gris-2); }
.brochure-list .attLinkpdf:before { min-width: auto; width: 56px; margin-right: 1rem; }
.brochure-list img { width: 56px; }
.brochure-list h4 { line-height: 1; }


/* vêtements (apparel) */

/* liste */
.apparel-list article { height: 100%; }
.apparel-list .img-wrapper, .apparel-detail .img-wrapper { padding-bottom: 93%; }
.apparel-list a.img-wrapper:hover .fit { transform: scale(1.05); }
.apparel-list i, .apparel-detail table i { font-style: normal; opacity: 0.66; text-decoration: line-through; text-decoration-thickness: 2px; }

/* fiche */
.apparel-detail table, .apparel-detail .bt-action { width: 100%; max-width: 30rem; }
.apparel-detail th { background: var(--noir); }
.apparel-detail .styled-input, .apparel-cart .styled-input { display: inline-block; width: 4em; padding-left: 0; padding-right: 0; font-size: inherit; text-align: center; }
.apparel-detail figcaption { font-weight: 300; }
.apparel-detail figcaption i { vertical-align: middle; font-size: 150%; }

/* panier */
.apparel-cart { width: 100%; }
.apparel-cart th { text-align: left; }
.apparel-cart .text-center, .apparel-cart .text-end { padding-right: 0; }
.apparel-cart .styled-input { width: 3em; }
.sandbox a.apparel-cart-refresh { display: block; padding: 0 0.25em 0 0; font-size: 150%; text-decoration: none; }
.sandbox a.apparel-cart-refresh:hover { color: var(--orange); }
.apparel-cart-nav a { height: 100%; }
/* largeur des colonnes */
#cart-col-name { width: 33.43465%; }
#cart-col-nbr, #cart-col-size, #cart-col-price, #cart-col-qty, #cart-col-total { width: 11.85410%; }
#cart-col-del, #cart-col-ref { width: 3.64742%; }
/* sous-totaux, totaux, taxes */
.cart-subtotal-row { background: var(--gris-4); color: var(--gris-2); }
.cart-subtotal-row:nth-child(odd) { background: var(--gris-3); }
.cart-subtotal-row .no-wrap { color: var(--blanc); }
.cart-total-row td { background-color: var(--noir); color: var(--blanc); text-transform: uppercase; }


/* media queries */
@media (max-width: 74.99875rem) { /* XL- */
	.apparel-detail figcaption { font-size: 0.875rem; }
}

@media (max-width: 47.99875rem) { /* MD- */
	.cart-hide-md { display: none; }
	.sandbox .apparel-cart { width: calc(100% + (var(--compound-gutter) * 2)); margin-left: calc(var(--compound-gutter) * -1); margin-right: calc(var(--compound-gutter) * -1); }
}

@media (max-width: 35.99875rem) { /* SM- */
	.page-header.intrinsic { padding-bottom: 50%; }
	.apparel-detail figcaption { font-size: 0.75rem; }
	.apparel-cart .styled-input { width: 2em; }
}