.container-boutique-param {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
}

.boutique-param-container {
    display: flex;
    gap: 20px;
    padding: 20px 9.4% 0 9.4%;
    box-sizing: border-box;
    width: 100%;
}

.container-boutique {
    align-items: flex-start;
    padding-top: 10px;
}

.card-vetement {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 5px;
    width: 20%;
    margin: 10px;
}

.card-img-container {
    width: 100%;
    display: flex;
}

.card-img-container:hover {
    cursor: pointer;
}

.card-img-container > img {
    transition: 0.3s;
}

.card-img-container:hover > img {
    filter: brightness(80%);
}

.card-img {
    width: 100%;
}

.card-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.card-price {
    font-weight: bold;
}

.card-price-button {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-button {
    color: var(--white);
    background: var(--black);
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-decoration: none;
}

.card-button:hover {
    color: var(--gold);
}

.input-vetement-wrapper {
    width: 100%;
    position: relative;
}

.card-input {
    border-right: solid 1px gray;
    border-top: solid 1px gray;
    border-bottom: solid 1px gray;
    border-left: none;
    height: 100%;
    width: 100%;
    min-width: 40px;
    padding: 5px 20px 5px 5px;
    box-sizing: border-box;
}

.input-vetement-up,
.input-vetement-down {
    position: absolute;
    right: 0;
    font-size: 1.25rem !important;
}

.input-vetement-up:hover,
.input-vetement-down:hover {
    color: var(--gold);
    cursor: pointer;
}

.input-vetement-up {
    top: 0;
}

.input-vetement-down {
    bottom: 0;
}

.input-vetement-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.input-vetement {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 110px;
}

.vetement-stock-warning {
    font-size: 0.7rem;
    color: rgb(228, 75, 75);
    width: fit-content;
}

.vetement-stock {
    font-size: 0.7rem;
    width: fit-content;
}

.input-vetement input::-webkit-outer-spin-button,
.input-vetement input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.input-vetement input[type=number] {
    appearance: textfield;
}

/* Menu filtre */

.filtre-menu-container {
    visibility: hidden;
    opacity: 0;
    padding: 0 9.4% 0 9.4%;
    height: 0;
    transition: 0.5s padding;
}

.filtre-menu-active {
    visibility: visible;
    opacity: 1;
    height: fit-content;
    padding: 20px 9.4% 0 9.4%;
}

.filtre-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.filtre-form button,
.filtre-form a {
    width: 100px;
    box-sizing: border-box;
    font-size: 0.7rem;
}

.filtre-tile-container {
    display: flex;
    gap: 20px;
}

.filtre-tile {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filtre-tile input{
    border: solid 1px var(--gray);
    border-radius: none;
    padding: 5px 10px;
}

/* Page choix declinaison */

.declinaison-page {
    padding: 26px 9.4% 40px 9.4%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgb(249, 249, 249) 0, var(--white) 300px);
}

.declinaison-back-link {
    width: fit-content;
}

.declinaison-card {
    border: solid 1px rgb(216, 216, 216);
    display: grid;
    grid-template-columns: minmax(320px, 44%) 1fr;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--white);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.declinaison-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgb(245, 245, 245), rgb(235, 235, 235));
}

.declinaison-image-frame {
    width: 100%;
    max-width: 470px;
    aspect-ratio: 4 / 5;
    background-color: var(--white);
    border: solid 1px rgb(216, 216, 216);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.declinaison-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.declinaison-details {
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}

.declinaison-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(90, 90, 90);
    font-weight: 700;
}

.declinaison-title {
    font-size: 2rem;
    line-height: 1.1;
}

.declinaison-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.declinaison-price {
    font-size: 1.6rem;
    font-weight: 700;
}

.declinaison-rating {
    font-size: 0.88rem;
    border: solid 1px rgb(214, 214, 214);
    padding: 6px 12px;
    background-color: rgb(248, 248, 248);
}

.declinaison-description {
    font-size: 1.05rem;
    line-height: 1.5;
}

.declinaison-size-help {
    color: rgb(80, 80, 80);
    font-size: 0.95rem;
}

.declinaison-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.declinaison-size-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 270px;
    overflow-y: auto;
    padding-right: 4px;
}

.declinaison-size-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: solid 1px rgb(210, 210, 210);
    padding: 12px 14px;
    gap: 20px;
    transition: 0.2s;
}

.declinaison-size-item:hover {
    border-color: var(--gold);
    background-color: rgb(251, 250, 243);
    transform: translateX(2px);
    cursor: pointer;
}

.declinaison-size-item input[type=radio] {
    width: 16px;
    height: 16px;
}

.declinaison-size-name {
    font-weight: 700;
}

.declinaison-size-item-disabled {
    opacity: 0.55;
    background-color: rgb(245, 245, 245);
}

.declinaison-size-item-disabled:hover {
    border-color: rgb(210, 210, 210);
    background-color: rgb(245, 245, 245);
    transform: none;
    cursor: not-allowed;
}

.declinaison-size-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.declinaison-action-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.declinaison-qty-label {
    font-size: 0.9rem;
    font-weight: 700;
}

.declinaison-action-row .input-vetement {
    width: 130px;
    min-height: 42px;
}

.declinaison-action-row .input-vetement-wrapper {
    height: 100%;
}

.declinaison-action-row .card-input {
    height: 100%;
    border-left: solid 1px gray;
    padding: 8px 28px 8px 10px;
    text-align: center;
}

.declinaison-action-row .input-vetement-up,
.declinaison-action-row .input-vetement-down {
    right: 2px;
    font-size: 1.08rem !important;
    line-height: 1;
}

.declinaison-action-row .input-vetement-up {
    top: 4px;
}

.declinaison-action-row .input-vetement-down {
    bottom: 4px;
}

.declinaison-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
}

.declinaison-submit .material-symbols-outlined {
    font-size: 1.2rem;
}

.declinaison-comments {
    border: solid 1px rgb(220, 220, 220);
    background-color: var(--white);
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.declinaison-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: solid 1px rgb(228, 228, 228);
}

.declinaison-comments-header p {
    color: rgb(76, 76, 76);
    font-size: 0.95rem;
}

.declinaison-comment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.declinaison-comment-item {
    border: solid 1px rgb(229, 229, 229);
    border-left: solid 4px var(--gold);
    padding: 14px 16px;
    background-color: rgb(252, 252, 252);
}

.declinaison-comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: rgb(90, 90, 90);
}

.declinaison-comment-meta strong {
    font-size: 0.95rem;
    color: var(--black);
}

.declinaison-comment-item p {
    line-height: 1.45;
}

.declinaison-comment-empty {
    border: dashed 1px rgb(188, 188, 188);
    background-color: rgb(250, 250, 250);
    padding: 14px;
}

/* Page details article */

.vetement-detail-page {
    padding: 26px 9.4% 40px 9.4%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgb(249, 249, 249) 0, var(--white) 300px);
}

.vetement-detail-card {
    display: grid;
    grid-template-columns: minmax(320px, 44%) 1fr;
    border: solid 1px rgb(216, 216, 216);
    background-color: var(--white);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.vetement-detail-media {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-right: solid 1px rgb(216, 216, 216);
    background: linear-gradient(135deg, rgb(245, 245, 245), rgb(235, 235, 235));
}

.vetement-detail-image-frame {
    width: 100%;
    max-width: 470px;
    aspect-ratio: 4 / 5;
    background-color: var(--white);
    border: solid 1px rgb(216, 216, 216);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.vetement-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vetement-detail-info {
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vetement-detail-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vetement-detail-price {
    font-size: 1.6rem;
    font-weight: 700;
}

.vetement-detail-note-badge {
    font-size: 0.88rem;
    border: solid 1px rgb(214, 214, 214);
    padding: 6px 12px;
    background-color: rgb(248, 248, 248);
}

.vetement-detail-warning {
    color: rgb(172, 34, 34);
}

.vetement-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.vetement-detail-panel {
    border: solid 1px rgb(220, 220, 220);
    background-color: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.vetement-detail-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vetement-detail-form input,
.vetement-detail-form textarea {
    border: solid 1px rgb(188, 188, 188);
    padding: 10px 12px;
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    border-radius: 0;
    background-color: var(--white);
}

.vetement-detail-form textarea {
    min-height: 120px;
    resize: vertical;
}

.vetement-detail-form-inline {
    margin-top: 8px;
}

.vetement-detail-form button,
.vetement-detail-form-inline button {
    width: fit-content;
}

.vetement-detail-quota {
    color: rgb(172, 34, 34);
    font-weight: 700;
}

.vetement-detail-comments {
    border: solid 1px rgb(220, 220, 220);
    background-color: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.vetement-comment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vetement-comment-item {
    border: solid 1px rgb(229, 229, 229);
    border-left: solid 4px var(--gold);
    padding: 14px 16px;
    background-color: rgb(252, 252, 252);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vetement-comment-valid {
    background-color: #faf1d7;
}

.vetement-comment-admin {
    background-color: #dff3df;
    border-left-color: rgb(88, 130, 92);
    margin-left: 24px;
}

.vetement-comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: rgb(90, 90, 90);
}

.declinaison-page .validate-button-black,
.declinaison-page .validate-button-white-outline,
.declinaison-page .card-input,
.declinaison-page .declinaison-image-frame,
.declinaison-page .declinaison-comment-item,
.declinaison-page .declinaison-comment-empty,
.vetement-detail-page .validate-button-black,
.vetement-detail-page .validate-button-white-outline,
.vetement-detail-page .vetement-detail-image-frame,
.vetement-detail-page .vetement-detail-panel,
.vetement-detail-page .vetement-detail-comments,
.vetement-detail-page .vetement-comment-item,
.vetement-detail-page .vetement-detail-note-badge,
.vetement-detail-page .vetement-detail-form input,
.vetement-detail-page .vetement-detail-form textarea {
    border-radius: 0;
}