.toggle-switch{position:relative;display:inline-block;width:56px;height:28px;cursor:pointer}.toggle-switch__checkbox{position:absolute;width:0;height:0;opacity:0}.toggle-switch__track{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;border:1px solid rgba(0,0,0,.2);border-radius:14px;background-color:#fff}.toggle-switch__knob{position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:50%;background-color:#000;transition:transform .25s ease}.toggle-switch__checkbox:checked~.toggle-switch__knob{transform:translate(28px)}.toggle-switch__label{position:absolute;top:50%;transform:translateY(-50%);font-size:14px;font-weight:700;line-height:1}.toggle-switch__label_type_f{left:10px;color:#fff}.toggle-switch__label_type_c{left:38px;color:#00000080}.toggle-switch__checkbox:checked~.toggle-switch__label_type_f{color:#00000080}.toggle-switch__checkbox:checked~.toggle-switch__label_type_c{color:#fff}.header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 0}.header__info{display:flex;align-items:center;gap:24px}.header__logo-link{display:flex}.header__logo-link:hover{opacity:.6}.header__logo{width:89px;height:40px}.header__date-and-location{margin:0;font-size:20px;font-weight:700;line-height:24px}.header__user-container{display:flex;align-items:center;gap:20px}.header__add-clothes-button{padding:0;border:none;background-color:transparent;font-family:inherit;font-size:20px;font-weight:700;line-height:24px;cursor:pointer}.header__add-clothes-button:hover{opacity:.6}.header__user-link{display:flex;align-items:center;gap:20px;text-decoration:none;color:inherit}.header__user-link:hover{opacity:.6}.header__username{margin:0;font-size:20px;font-weight:700;line-height:24px}.header__avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.header__avatar_type_placeholder{display:flex;align-items:center;justify-content:center;box-sizing:border-box;background-color:#0000001a;font-size:20px;font-weight:700}.header__auth-button{padding:0;border:none;background-color:transparent;font-family:inherit;font-size:20px;font-weight:700;line-height:24px;cursor:pointer}.header__auth-button:hover{opacity:.6}@media screen and (max-width: 767px){.header{flex-wrap:wrap;row-gap:16px;padding:20px 0}.header__info{gap:16px}.header__user-container{flex-wrap:wrap;row-gap:16px}}.weather-card{display:flex;align-items:center;height:80px;border-radius:16px;background-size:cover;background-position:center}.weather-card__temperature{margin:0 0 0 24px;font-size:36px;font-weight:700;line-height:40px;color:#fff}.card{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1 / 1;margin:0;box-sizing:border-box;background-color:#f1f1f1;border:1px solid rgba(0,0,0,.1);border-radius:20px}.card__name{position:absolute;top:12px;left:50%;transform:translate(-50%);max-width:calc(100% - 32px);box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;padding:2px 16px;background-color:#fff;border-radius:4px;font-size:16px;font-weight:500;line-height:20px}.card__like-button{position:absolute;top:14px;right:16px;width:20px;height:20px;padding:0;border:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") center / contain no-repeat;cursor:pointer}.card__like-button:hover{opacity:.6}.card__like-button_active{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")}.card__image{width:60%;height:60%;object-fit:contain;cursor:pointer}.card__image:hover{opacity:.8}.main{flex-grow:1}.main__clothes{margin-top:32px}.main__weather-text{margin:0;font-size:20px;font-weight:700;line-height:24px}.main__cards{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.sidebar{display:flex;flex-direction:column;align-items:flex-start;gap:24px;flex-shrink:0}.sidebar__user-info{display:flex;align-items:center;gap:20px}.sidebar__avatar{width:56px;height:56px;border-radius:50%;object-fit:cover}.sidebar__avatar_type_placeholder{display:flex;align-items:center;justify-content:center;box-sizing:border-box;background-color:#0000001a;font-size:24px;font-weight:700}.sidebar__username{margin:0;font-size:20px;font-weight:700;line-height:24px}.sidebar__button{padding:0;border:none;background-color:transparent;font-family:inherit;font-size:16px;font-weight:700;line-height:20px;cursor:pointer}.sidebar__button:hover{opacity:.6}.clothes-section{flex-grow:1}.clothes-section__header{display:flex;align-items:center;gap:20px}.clothes-section__title{margin:0;font-size:16px;font-weight:700;line-height:20px}.clothes-section__add-button{padding:0;border:none;background-color:transparent;color:#00000080;font-family:inherit;font-size:16px;font-weight:400;line-height:20px;cursor:pointer}.clothes-section__add-button:hover{color:#000}.clothes-section__items{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.profile{display:flex;align-items:flex-start;gap:100px;flex-grow:1;padding:8px 0 0}@media screen and (max-width: 767px){.profile{flex-direction:column;gap:32px}}.footer{display:flex;align-items:center;justify-content:space-between;padding:64px 0 32px}.footer__author,.footer__year{margin:0;font-size:16px;font-weight:400;line-height:20px}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:none;align-items:center;justify-content:center;padding:16px;background-color:#0000004d}.modal_is-opened{display:flex}.modal__container{position:relative;box-sizing:border-box;width:100%;max-width:496px;padding:28px;border-radius:20px;background-color:#fff}.modal__close-button{position:absolute;top:20px;right:20px;width:20px;height:20px;padding:0;border:none;background:transparent url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3cpath%20d='M3%203%20L17%2017%20M17%203%20L3%2017'%20stroke='%237e7e7e'%20stroke-width='2.5'%20stroke-linecap='round'%20/%3e%3c/svg%3e") center / contain no-repeat;cursor:pointer}.modal__close-button:hover{opacity:.6}.modal__title{margin:0;font-size:16px;font-weight:700;line-height:20px}.modal__form{display:flex;flex-direction:column;gap:24px;margin-top:24px}.modal__label{display:flex;flex-direction:column;gap:8px;font-size:16px;font-weight:700;line-height:20px}.modal__input{padding:0 0 4px;border:none;border-bottom:1px solid #000000;outline:none;font-family:inherit;font-size:16px;font-weight:400;line-height:20px}.modal__input::placeholder{color:#00000080}.modal__input:invalid:not(:placeholder-shown){border-bottom-color:#f0552b;color:#f0552b}.modal__label:has(.modal__input:invalid:not(:placeholder-shown)){color:#f0552b}.modal__radio-fieldset{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;border:none}.modal__legend{padding:0;font-size:16px;font-weight:700;line-height:20px}.modal__label_type_radio{flex-direction:row;align-items:center;gap:8px;font-weight:400;color:#00000080}.modal__label_type_radio:hover,.modal__label_type_radio:has(.modal__radio-input:checked){color:#000}.modal__radio-input{margin:0;accent-color:#000000}.modal__button-container{display:flex;align-items:center;gap:16px}.modal__submit-button{align-self:flex-start;padding:12px 16px;border:none;border-radius:4px;background-color:#000;color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:20px;cursor:pointer}.modal__submit-button:hover{background-color:#000c}.modal__secondary-button{padding:0;border:none;background-color:transparent;color:#00000080;font-family:inherit;font-size:16px;font-weight:700;line-height:20px;cursor:pointer}.modal__secondary-button:hover{color:#000}.modal__container_type_preview{max-width:498px;padding:0}.modal__close-button_type_preview{top:-40px;right:-40px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%3e%3cpath%20d='M3%203%20L17%2017%20M17%203%20L3%2017'%20stroke='%23ffffff'%20stroke-width='2.5'%20stroke-linecap='round'%20/%3e%3c/svg%3e")}.modal__card-image{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover;border-radius:20px 20px 0 0}.modal__card-caption{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 28px 24px}.modal__card-info{display:flex;flex-direction:column;gap:8px}.modal__card-name,.modal__card-weather{margin:0;font-size:16px;font-weight:700;line-height:20px}.modal__delete-button{padding:0;border:none;background-color:transparent;color:#f0552b;font-family:inherit;font-size:16px;font-weight:700;line-height:20px;cursor:pointer}.modal__delete-button:hover{opacity:.6}@media screen and (max-width: 640px){.modal__close-button_type_preview{top:-40px;right:0}}.modal__container_type_confirmation{max-width:670px;display:flex;flex-direction:column;align-items:center;gap:24px;padding:60px 28px;text-align:center}.modal__confirmation-text{margin:0;max-width:400px;font-size:20px;font-weight:700;line-height:24px}.modal__confirm-button{padding:0;border:none;background-color:transparent;color:#f0552b;font-family:inherit;font-size:16px;font-weight:700;line-height:20px;cursor:pointer}.modal__confirm-button:hover{opacity:.6}.modal__cancel-button{padding:0;border:none;background-color:transparent;font-family:inherit;font-size:16px;font-weight:700;line-height:20px;cursor:pointer}.modal__cancel-button:hover{opacity:.6}.page{max-width:1440px;min-height:100vh;margin:0 auto;display:flex;flex-direction:column}.page__content{display:flex;flex-direction:column;flex-grow:1;padding:0 40px}@media screen and (max-width: 767px){.page__content{padding:0 16px}}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}@font-face{font-family:Cabinet Grotesk;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/CabinetGrotesk-Regular-BLnZls-E.woff2) format("woff2")}@font-face{font-family:Cabinet Grotesk;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/CabinetGrotesk-Medium-eM6zIJLo.woff2) format("woff2")}@font-face{font-family:Cabinet Grotesk;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/CabinetGrotesk-Bold-ChXdH3YW.woff2) format("woff2")}body{margin:0;background-color:#fff;color:#000;font-family:Cabinet Grotesk,Arial,Helvetica,sans-serif}
