html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul[class] {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

body {
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #4D311D;
}

.container {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 10px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 20px 0;
  line-height: 30px;
}

.logo__inner {
  display: flex;
  align-items: center;
}

.address__line {
  margin-left: 50px;
}

.address__line.clocks {
  font-size: 14px;
  line-height: 19px;
}

.menu__list {
  display: flex;
  padding: 0 20px;
}

.menu__item+.menu__item {
  margin-left: 80px;
}

.menu__link {
  transition: all 0.2s ease;
  color: #4D311D;
  text-decoration: none;
  white-space: nowrap;
}

.menu__link:hover {
  color: #D8A05A;
}

.social__inner {
  display: flex;
}

.social__link+.social__link {
  margin-left: 15px;
}

.social__link {
  transition: all 0.2s ease;
  width: 28px;
  height: 28px;
}

.whatsapp {
  background-image: url(/media/whatsapp_icon.svg);
}

.whatsapp:hover {
  background-image: url(/media/whatsapp_icon_hover.svg);
}

.vk {
  background-image: url(/media/vk_icon.svg);
}

.vk:hover {
  background-image: url(/media/vk_icon_hover.svg);
}

.telegram {
  background-image: url(/media/telegram_icon.svg);
}

.telegram:hover {
  background-image: url(/media/telegram_icon_hover.svg);
}

.login {
  margin-left: 50px;
}

.login__link {
  transition: all 0.2s ease;
  text-decoration: none;
  color: #4D311D;
}

.login__link:hover {
  color: #D8A05A;
}

.user-menu__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #4D311D;
  border-radius: 50%;
  background: #fff;
  color: #4D311D;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
}

.user-menu__toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.user-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 18, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10000;
  pointer-events: none;
}

.user-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.user-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(330px, 88vw);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 10001;
  padding: 18px 16px;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
}

.user-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.user-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-drawer__title {
  font-size: 22px;
  font-weight: 700;
  color: #4D311D;
}

.user-drawer__close {
  border: none;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  color: #4D311D;
  cursor: pointer;
  padding: 0 4px;
}

.user-drawer__nav,
.user-drawer__auth {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-drawer__auth {
  padding-top: 12px;
  border-top: 1px solid #ece4da;
}

.user-drawer__link {
  text-decoration: none;
  color: #4D311D;
  font-size: 18px;
  line-height: 1.3;
  padding: 8px 0;
}

.user-drawer__link:hover {
  color: #D8A05A;
}

.user-drawer__link--accent {
  font-weight: 700;
}

.header__bottom {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(/media/header__bottom.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 650px;
}

.header__title,
.about__title {
  font-size: 96px;
  font-weight: 400;
  line-height: 131px;
  padding: 115px 0 35px 0;
  color: white;
  text-align: center;
}

.header__subtitle,
.about__subtitle {
  font-size: 64px;
  font-weight: 200;
  line-height: 87px;
  color: white;
  text-align: center;
}

.catalog__title {
  font-size: 36px;
  font-weight: 500;
  line-height: 49px;
  text-align: center;
  margin: 40px 0;
}

.catalog__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin: 20px 0;
  column-gap: 20px;
  row-gap: 30px;
}

.catalog__item {
  background-color: #FFFDF8;
  padding: 20px;
  margin-bottom: 0;
  flex: 1 1 320px;
  max-width: 390px;
  min-width: 280px;
}

.item__img {
  width: 100%;
  height: clamp(210px, 16vw, 232px);
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.img__link {
  position: relative;
  display: block;
  overflow: hidden;
}

.img__link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.img__link:hover::after {
  opacity: 1;
}

.item__name {
  margin: 15px 0 10px;
  font-size: 24px;
  font-weight: 500;
  line-height: 33px;
  min-height: 66px;
  max-width: none;
}

.item__link {
  color: #4D311D;
  text-decoration: none;
  transition: all 0.3s;
}

.item__link:hover {
  color: #D8A05A;
}

.item__subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  color: #735341;
  margin-bottom: 15px;
  width: 100%;
}

.item__price {
  font-size: 24px;
  font-weight: 500;
  line-height: 33px;
  margin-bottom: 20px;
  width: 100%;
}

.about-page__hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(/media/adout_back.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 435px;
  display: flex;
  align-items: center;
}

.about-page__hero-content {
  text-align: center;
  color: #fff;
  padding: 40px 0;
}

.about-page__title {
  font-size: 96px;
  font-weight: 400;
  line-height: 131px;
  margin-bottom: 40px;
}

.about-page__subtitle {
  font-size: 56px;
  font-weight: 300;
  line-height: 76px;
}

.about-page__content {
  padding: 80px 0 50px;
}

.about-page__section--story,
.about-page__section--products {
  display: flex;
  justify-content: space-between;
}

.about-page__section--story+.about-page__section--products {
  margin-top: 80px;
}

.about-page__text h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 65px;
  margin-bottom: 33px;
  color: #4D311D;
  width: 756px;
}

.about-page__text p {
  font-size: 24px;
  font-weight: 500;
  line-height: 33px;
  color: #4D311D;
  margin-bottom: 18px;
  width: 756px;
}

p.about-page__text-li{
  margin-bottom: 5px;
}

.about-page__list {
  margin: 0 0 18px;
  padding: 0;
}

.about-page__list li {
  font-size: 24px;
  line-height: 33px;
  color: #4D311D;
  margin-bottom: 6px;
}

.about-page__list li::before {
  content: "- ";
}

.about-page__image-wrap {
  border-radius: 17px;
  overflow: hidden;
}

.about-page__image {
  width: 665px;
  height: 435px;
  object-fit: cover;
}

.basket__button,
.qty__btn,
.btn--primary {
  cursor: pointer;
}

.basket__button {
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  padding: 9px 19px;
  color: #D8A05A;
  background-color: white;
  border: 1px solid #D8A05A;
  transition: all 0.3s;
}

.basket__button:hover {
  color: white;
  background-color: #D8A05A;
}

.footer__inner {
  display: flex;
  padding: 25px 0;
  border-top: 1px solid #EBEBEB;
}

.footer__logo img {
  width: 230px;
  height: 195px;
  margin-right: 150px;
}

.footer__df {
  display: flex;
  flex-direction: column;
  width: 330px;
}

.footer__df+.footer__df {
  margin-left: 50px;
}

.footer__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer__item {
  color: #4D311D;
  text-decoration: none;
  transition: all 0.3s;
}

.footer__item:hover {
  color: #D8A05A;
}

.footer__catalog__item {
  font-size: 16px;
  line-height: 22px;
}

.footer__item__container {
  display: flex;
  align-items: flex-start;
}

.footer__contact__item {
  font-size: 16px;
  line-height: 22px;
  margin-left: 5px;
  margin-bottom: 7px;
}

.sitefooter {
  background-color: #D8A05A;
  padding: 30px 0;
}

.row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
}

.row__link {
  text-decoration: none;
  color: #4D311D;
  transition: all 0.3s;
}

.row__link:hover {
  color: #866235;
}

.product__inner {
  display: flex;
  margin-bottom: 20px;
}

.product__img img {
  margin-right: 60px;
  border-radius: 20px;
  width: 780px;
  height: 520px;
  object-fit: cover;
}

.product__text {
  width: 750px;
}

.product__link {
  font-weight: 500;
  font-size: 15px;
  color: #B0A384;
  text-decoration: none;
}

.product__link:hover {
  color: #D8A05A;
}

.product__title h2 {
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: 72px;
  line-height: 81px;
  margin: 15px 0 15px;
}

.product__ct-wt {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: #B0A384;
}

.product__subtitle {
  font-size: 16px;
  font-weight: 400;
  width: 560px;
  margin: 20px 0;
}

.structure {
  margin-top: 20px;
}

.product__group--price {
  display: flex;
  flex-direction: column;
}

.product__price {
  font-size: 32px;
  font-weight: 400;
  color: #D8A05A;
}

.qty {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  margin-top: 10px;
}

.qty__btn {
  padding: 6px 12px;
  color: #D8A05A;
  background-color: white;
  border: 1px solid #D8A05A;
  border-radius: 10px;
  transition: all 0.3s;
}

.qty__btn:hover {
  background-color: #D8A05A;
  color: #FFFFFF;
}

.qty__input {
  font-family: "Nunito", sans-serif;
  text-align: center;
  background-color: #F6F6F6;
  border: none;
  border-radius: 10px;
  width: 36px;
  height: 50px;
  padding: 14px 0;
  margin: 0 25px;
}

.btn--primary {
  font-size: 14px;
  font-weight: 700;
  color: white;
  background-color: #D8A05A;
  border: 1px solid #D8A05A;
  border-radius: 30px;
  margin-left: 50px;
  padding: 9px 19px;
  transition: all 0.3s;
}

.btn--primary:hover {
  color: #D8A05A;
  background-color: white;
}

.more {
  margin: 100px 0 30px;
}

.more__title {
  font-family: "EB Garamond", serif;
  font-size: 44px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 30px;
}

.error-message {
  color: red;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.profile {
  margin: 40px 0;
}

.profile__title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #4D311D;
  text-align: center;
}

.profile__subtitle {
  font-size: 24px;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #4D311D;
}

.profile__info {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.6;
  color: #735341;
}

.profile__field {
  margin-bottom: 10px;
}

.profile__label {
  display: block;
  margin-bottom: 10px;
  color: #4D311D;
}

.profile__input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #D8A05A;
  border-radius: 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.profile__submit-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #D8A05A;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.profile__submit-btn:hover {
  background-color: #B67A3E;
}

.profile__link {
  display: block;
  text-align: center;
  font-size: 18px;
  color: #4D311D;
  text-decoration: none;
  margin-top: 30px;
}

.profile__link:hover {
  text-decoration: underline;
}

.cart {
  margin: 10px;
}

.cart__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
}

.cart__header {
  font-weight: bold;
  background: #f8f8f8;
}

.cart__img {
  width: 85px;
  border-radius: 5px;
}

.cart__col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cart__col--product {
  flex: 3;
  justify-content: flex-start;
  gap: 10px;
}

.cart__col--price,
.cart__col--actions {
  flex: 1;
}

.cart__col--qty {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.qty-btn {
  color: #4D311D;
  padding: 5px 12px;
  font-size: 18px;
  background-color: #e5e7eb;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.qty-btn:hover {
  background-color: #d1d5db;
}

.table__qty {
  font-size: 16px;
  width: 40px;
  text-align: center;
}

.cart__qty-input {
  width: 45px;
  text-align: center;
  border: 1px solid #D8A05A;
  border-radius: 10px;
  padding: 5px 7px;
  font-size: 16px;
  color: #4D311D;
  background: #fff;
}

.cart__remove-btn {
  background-color: #f87171;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.cart__remove-btn:hover {
  background-color: #ef4444;
}

.cart__total {
  padding: 20px;
  background: #f8f8f8;
  font-size: 18px;
  font-weight: 600;
  text-align: right;
  border-radius: 8px;
}

.cart__checkout {
  margin-top: 12px;
}

.cart__checkout-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: #D8A05A;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.cart__checkout-btn:hover {
  background-color: #B67A3E;
}

.checkout {
  margin: 20px 0 40px;
}

.checkout__title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
}

.checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.checkout__form,
.checkout__summary,
.orders__card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

.checkout__label {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
}

.checkout__input,
.checkout__textarea,
.checkout__select {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #D8A05A;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  color: #4D311D;
}

.checkout__textarea {
  resize: vertical;
}

.checkout__submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  background-color: #D8A05A;
  color: #fff;
  padding: 12px 18px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.checkout__submit:hover {
  background-color: #B67A3E;
}

.checkout__summary h3 {
  margin-bottom: 12px;
}

ul.checkout__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding: 0;
}

.checkout__item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
}

.checkout__total {
  border-top: 1px solid #ececec;
  padding-top: 12px;
  font-size: 20px;
  font-weight: 700;
}

.orders {
  margin: 20px 0 40px;
}

.orders__title {
  font-size: 36px;
  margin-bottom: 20px;
}

.orders__success {
  background: #e9f8ec;
  border: 1px solid #86cf95;
  color: #1c6d2e;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 15px;
}

.orders__catalog-link {
  display: inline-block;
  margin-top: 10px;
  color: #4D311D;
  font-weight: 700;
}

.orders__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.orders__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.orders__head h3 {
  font-size: 24px;
}

.orders__status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #f8f1e9;
  color: #6f4d2e;
}

.orders__meta {
  margin-top: 5px;
  font-size: 15px;
}

.orders__items {
  margin-top: 12px;
  border-top: 1px solid #ececec;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.orders__item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
}

.orders__actions {
  margin-top: 12px;
}

.orders__cancel-btn {
  border: 1px solid #c75c5c;
  background: transparent;
  color: #9f3434;
  border-radius: 50px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.orders__cancel-btn:hover {
  background: #c75c5c;
  color: #fff;
}

.admin-order-form {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.admin-order-form select {
  min-width: 180px;
  padding: 8px 10px;
  border: 1px solid #D8A05A;
  border-radius: 8px;
}

.admin-product-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.admin-product-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
}

.admin-product-form .catalog-btn {
  width: fit-content;
}

.admin-products-page {
  margin: 20px 0 50px;
}

.admin-products-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4D311D 0%, #6f4d2e 100%);
  color: #fff;
}

.admin-products-title {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
}

.admin-products-subtitle {
  margin-top: 10px;
  max-width: 800px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.admin-products-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.admin-products-back:hover {
  background: rgba(255, 255, 255, 0.15);
}

.admin-products-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-products-stat {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 14px;
  padding: 14px 16px;
}

.admin-products-stat__label {
  display: block;
  font-size: 13px;
  color: #8f7155;
}

.admin-products-stat__value {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  color: #4D311D;
}

.admin-products-create {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(77, 49, 29, 0.08);
  margin-bottom: 18px;
}

.admin-products-create h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #4D311D;
}

.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-product-card {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(77, 49, 29, 0.08);
}

.admin-product-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-product-card__head h3 {
  margin: 0;
  font-size: 22px;
  color: #4D311D;
}

.admin-product-card__id {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9d7a5b;
  font-weight: 700;
}

.admin-product-card__img {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5d4c3;
  background: #f4efe8;
}

.admin-product-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-product-field span {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8d6d52;
  font-weight: 700;
}

.admin-product-field--wide {
  grid-column: 1 / -1;
}

.admin-product-form input,
.admin-product-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9bf9e;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: #4D311D;
  background: #fffefb;
}

.admin-product-form input[type="file"] {
  padding: 8px;
  background: #fff;
  cursor: pointer;
}

.admin-product-form input[type="file"]::file-selector-button {
  border: 1px solid #cfa57e;
  border-radius: 999px;
  padding: 7px 12px;
  margin-right: 10px;
  background: #f8efe5;
  color: #5f3f28;
  font-weight: 700;
  cursor: pointer;
}

.admin-product-form input:focus,
.admin-product-form textarea:focus {
  outline: none;
  border-color: #b97c3c;
  box-shadow: 0 0 0 3px rgba(217, 160, 90, 0.25);
}

.admin-product-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

.admin-product-delete {
  margin-top: 10px;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: #D8A05A;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}

.admin-btn:hover {
  background: #bf853f;
  transform: translateY(-1px);
}

.admin-btn--danger {
  background: #de5a5a;
}

.admin-btn--danger:hover {
  background: #c94747;
}

.admin-btn--ghost {
  background: #fff;
  color: #5f3f28;
  border: 1px solid #cfa57e;
}

.admin-btn--ghost:hover {
  background: #f5e8da;
  color: #5f3f28;
}

.admin-dashboard-page {
  margin: 20px 0 50px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-dashboard-card {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(77, 49, 29, 0.08);
}

.admin-dashboard-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #4D311D;
}

.admin-dashboard-card p {
  margin-bottom: 14px;
  color: #735341;
  line-height: 1.4;
}

.admin-dashboard-card--wide {
  grid-column: 1 / -1;
}

.admin-dashboard-statuses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-dashboard-status {
  border: 1px solid #e7d3c0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fffdf8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-dashboard-status span {
  font-size: 13px;
  color: #8f7155;
}

.admin-dashboard-status strong {
  font-size: 24px;
  color: #4D311D;
}

.admin-orders-page {
  margin: 20px 0 50px;
}

.admin-users-page {
  margin: 20px 0 50px;
}

.admin-users-notice {
  background: #e9f8ec;
  border: 1px solid #86cf95;
  color: #1c6d2e;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 15px;
}

.admin-users-notice--error {
  background: #fff2f2;
  border-color: #f2a6a6;
  color: #9e2f2f;
}

.admin-users-reset-link {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

.admin-users-reset-link p {
  margin-bottom: 8px;
  font-size: 15px;
}

.admin-users-reset-link input {
  width: 100%;
  border: 1px solid #d9bf9e;
  border-radius: 8px;
  padding: 10px 12px;
  color: #4D311D;
}

.admin-password-reset-requests {
  margin-bottom: 16px;
}

.admin-password-reset-requests__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.admin-password-reset-requests__head h2 {
  margin: 0;
}

.admin-password-reset-requests__head p {
  margin: 6px 0 0;
  color: #735341;
  line-height: 1.4;
}

.admin-password-reset-requests__badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fdf2e6;
  color: #8d5e31;
  font-weight: 700;
  border: 1px solid #e8c89e;
}

.admin-password-reset-requests__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-password-reset-request {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #ead8c6;
  border-radius: 12px;
  padding: 12px;
  background: #fffdf8;
}

.admin-password-reset-request__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-password-reset-request__meta strong {
  font-size: 16px;
  color: #4D311D;
}

.admin-password-reset-request__meta span {
  font-size: 13px;
  color: #8d6d52;
}

.admin-password-reset-request__actions {
  flex: 0 0 auto;
}

.admin-users-filter {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-users-filter__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-users-filter__field--search {
  grid-column: span 2;
}

.admin-users-filter__field span {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8d6d52;
  font-weight: 700;
}

.admin-users-filter input,
.admin-users-filter select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9bf9e;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: #4D311D;
  background: #fffefb;
}

.admin-users-filter__actions {
  display: flex;
  gap: 8px;
  align-items: end;
}

.admin-users-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
}

.admin-users-list {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(77, 49, 29, 0.08);
}

.admin-users-list h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.admin-users-list__item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  color: #4D311D;
  border: 1px solid #ead8c6;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  background: #fffdf9;
}

.admin-users-list__item strong {
  display: block;
  font-size: 17px;
}

.admin-users-list__item span {
  display: block;
  font-size: 13px;
  color: #7b5f45;
}

.admin-users-list__meta {
  text-align: right;
}

.admin-users-list__item--active {
  border-color: #c9955d;
  background: #fdf2e6;
}

.admin-users-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-users-card {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(77, 49, 29, 0.08);
}

.admin-users-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.admin-users-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-users-card__tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.admin-user-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-user-metrics__item {
  border: 1px solid #ead8c6;
  border-radius: 12px;
  padding: 10px;
  background: #fffdf8;
}

.admin-user-metrics__item span {
  display: block;
  font-size: 12px;
  color: #8d6d52;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.admin-user-metrics__item strong {
  margin-top: 4px;
  display: block;
  font-size: 18px;
}

.admin-user-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-user-actions__form {
  border: 1px solid #ead8c6;
  border-radius: 12px;
  background: #fffdf8;
  padding: 10px;
}

.admin-user-actions__form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #5f3f28;
}

.admin-user-actions__form select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d9bf9e;
  border-radius: 10px;
  padding: 10px 12px;
  color: #4D311D;
  background: #fff;
}

.admin-user-actions__hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #8d6d52;
}

.admin-user-orders {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-user-orders__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  border: 1px solid #ead8c6;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fffdf9;
}

.admin-user-addresses {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-user-addresses li {
  list-style: none;
  border: 1px solid #ead8c6;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fffdf9;
}

.admin-user-addresses strong,
.admin-user-addresses span {
  display: block;
}

.admin-user-addresses span {
  font-size: 13px;
  color: #8d6d52;
  margin-top: 3px;
}

.admin-user-reset-form {
  max-width: 560px;
}

.admin-orders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.admin-order-card {
  background: #fff;
  border: 1px solid #ead8c6;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(77, 49, 29, 0.08);
}

.admin-order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.admin-order-card__id {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9d7a5b;
  font-weight: 700;
}

.admin-order-card__title {
  margin: 0;
  font-size: 24px;
  color: #4D311D;
}

.admin-order-meta-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.admin-order-meta-grid p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffdf8;
  border: 1px solid #eddcca;
  color: #4D311D;
  line-height: 1.35;
}

.admin-order-meta-grid p span {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8f7155;
  font-weight: 700;
}

.admin-order-meta-grid__wide {
  grid-column: 1 / -1;
}

.admin-order-update {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e7d3c0;
  background: #fffdf8;
}

.admin-order-update__label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8f7155;
  font-weight: 700;
}

.admin-order-update__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.admin-order-update__select {
  min-width: 230px;
  border: 1px solid #d9bf9e;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #4D311D;
}

.admin-order-update__select:focus {
  outline: none;
  border-color: #b97c3c;
  box-shadow: 0 0 0 3px rgba(217, 160, 90, 0.25);
}

.admin-order-items {
  margin-top: 14px;
  border-top: 1px solid #ecdac8;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-order-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  color: #4D311D;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal__content {
  background: #fff;
  padding: 40px;
  width: 420px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: modalFade 0.25s ease;
}

@keyframes modalFade {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal__close {
  position: absolute;
  right: 20px;
  top: 12px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #4D311D;
  transition: 0.3s;
}

.modal__close:hover {
  color: #D8A05A;
}

.modal__title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 25px;
}

.modal__form label {
  display: block;
  margin-bottom: 20px;
  font-size: 18px;
  color: #4D311D;
}

.modal__form input {
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  font-size: 18px;
  border-radius: 12px;
  border: 1px solid #D8A05A;
}

.modal__submit {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  background: #D8A05A;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.modal__submit:hover {
  background: white;
  color: #D8A05A;
  border: 1px solid #D8A05A;
}

.modal__switch {
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
  color: #4D311D;
}

.modal__error-message {
  color: red;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.modal__notice {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 700;
}

.modal__notice--success {
  background: #e9f8ec;
  border: 1px solid #86cf95;
  color: #1c6d2e;
}

.modal__notice--error {
  background: #fff2f2;
  border: 1px solid #f2a6a6;
  color: #9e2f2f;
}

.modal__hint {
  color: #735341;
  text-align: center;
  margin-bottom: 16px;
}

.modal__hint--visible {
  display: block;
}

.switch__btn {
  background: none;
  border: none;
  color: #D8A05A;
  cursor: pointer;
  padding: 0;
}

.switch__btn:hover {
  text-decoration: underline;
}

.catalog-page__title {
  font-size: 36px;
  font-weight: 500;
  margin: 10px 0 15px;
}

.catalog-page__inner {
  display: flex;
  margin-bottom: 50px;
}

.catalog-filter {
  width: 280px;
  margin-right: 60px;
}

.catalog-filter-form {
  position: sticky;
  top: 20px;
}

.catalog-filter input[type="checkbox"] {
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  width: 19px;
  height: 19px;
  border: none;
  border-radius: 5px;
  background-color: rgba(68, 45, 13, 0.078);
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  box-shadow: inset 0 2px 3px rgba(68, 45, 13, 0.078);
}

.catalog-filter input[type="checkbox"]:checked {
  background-color: #D8A05A;
}

.catalog-filter input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.catalog-filter input[type="checkbox"]:checked::after {
  opacity: 1;
}

.filter-block {
  margin-bottom: 15px;
}

.filter-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 15px;
}

.catalog-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-search__label {
  font-size: 14px;
  color: #7a634e;
}

.catalog-search input[type="search"] {
  width: 100%;
  padding: 8px 10px;
  color: #4D311D;
  border: 1px solid #D8A05A;
  border-radius: 8px;
  font-family: inherit;
  font-size: 18px;
  background: #fff;
}

.catalog-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.catalog-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  margin-left: 8px;
  cursor: pointer;
  background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234D311D' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 5l10 10M15 5L5 15'/%3E%3C/svg%3E");
}

.catalog-search input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.filter-block label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
  cursor: pointer;
}

.price-range {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}

.catalog-price-inputs {
  display: flex;
  gap: 10px;
}

.catalog-price-inputs input {
  width: 100%;
  padding: 6px 8px;
  color: #4D311D;
  border: 1px solid #D8A05A;
  border-radius: 8px;
}

.catalog-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-content {
  flex: 1;
}

.catalog-sort {
  display: flex;
  align-items: center;
  margin: 0 0 20px 20px;
}

.catalog-sort select {
  margin-left: 10px;
  padding: 5px 35px 7px 15px;
  font-size: 18px;
  font-weight: 500;
  color: #4D311D;
  border: 1px solid #4D311D;
  border-radius: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(/media/arrow.svg);
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px 9px;
}

.catalog-btn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 30px;
  border: none;
  background: #D8A05A;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.catalog-btn:hover {
  background: #fff;
  color: #D8A05A;
  border: 1px solid #D8A05A;
}

.catalog-btn--ghost {
  background: #fff;
  color: #D8A05A;
  border: 1px solid #D8A05A;
}

.catalog-btn--ghost:hover {
  background: #D8A05A;
  color: #fff;
}

.catalog-empty {
  width: 100%;
  font-size: 20px;
  text-align: center;
  padding: 30px 0;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.pagination a {
  margin: 0 8px;
  text-decoration: none;
  color: #4D311D;
}

.pagination a.active {
  font-weight: 700;
}

@media (max-width: 1470px) {
  .container {
    max-width: 100%;
    margin: 0;
    padding: 0 16px;
  }

  .menu__item+.menu__item {
    margin-left: 34px;
  }

  .address__line {
    margin-left: 24px;
  }

  .login {
    margin-left: 20px;
  }

  .menu__list {
    padding: 0 12px;
  }

  .header__bottom {
    height: 600px;
  }

  .footer__logo img {
    margin-right: 90px;
  }
}

@media (max-width: 1225px) {
  .container {
    max-width: 100%;
    padding: 0 16px;
  }

  .header__inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
    text-align: center;
  }

  .logo__inner {
    width: 100%;
    justify-content: center;
  }

  .logo {
    width: 105px;
    height: auto;
  }

  .menu__list {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 0;
  }

  .menu__item+.menu__item {
    margin-left: 0;
  }

  .social__inner {
    width: 100%;
    justify-content: center;
  }

  .address__line,
  .login {
    margin-left: 10px;
  }

  .header__title,
  .about__title,
  .about-page__title {
    font-size: 76px;
    line-height: 1.1;
  }

  .header__subtitle,
  .about__subtitle,
  .about-page__subtitle {
    font-size: 44px;
    line-height: 1.2;
  }

  .about-page__text h2 {
    width: auto;
    font-size: 42px;
    line-height: 1.2;
  }

  .about-page__text p {
    width: auto;
    font-size: 22px;
    line-height: 1.45;
  }

  .about-page__image {
    width: 100%;
    max-width: 560px;
    height: auto;
  }

  .product__inner {
    gap: 28px;
  }

  .product__img img {
    width: 620px;
    height: 420px;
    margin-right: 0;
  }

  .product__text {
    width: auto;
  }

  .product__subtitle {
    width: auto;
  }

  .footer__logo img {
    margin-right: 50px;
  }

  .footer__df {
    width: auto;
    min-width: 220px;
  }

  .footer__df+.footer__df {
    margin-left: 28px;
  }

  .footer__logo img {
    width: 200px;
    height: auto;
  }

  .admin-users-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-users-filter__field--search {
    grid-column: 1 / -1;
  }

  .admin-user-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .header__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 0;
    text-align: left;
  }

  .logo__inner {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  .address__line {
    margin-left: 14px;
  }

  .menu,
  .login {
    display: none;
  }

  .social__inner {
    width: auto;
    margin-left: 14px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
  }

  .social__link+.social__link {
    margin-left: 10px;
  }

  .user-menu__toggle {
    display: inline-flex;
  }

  .user-drawer {
    display: flex;
  }

  .user-drawer-overlay {
    display: block;
  }

  .catalog-page__inner {
    flex-direction: column;
  }

  .catalog-filter {
    width: 100%;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .catalog-filter-form {
    position: static;
  }

  .catalog-sort {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 8px;
  }

  .catalog-sort select {
    margin-left: 0;
  }

  .about-page__section--story,
  .about-page__section--products {
    flex-direction: column;
    gap: 24px;
  }

  .about-page__section--products .about-page__image-wrap {
    order: -1;
  }

  .about-page__section--story+.about-page__section--products {
    margin-top: 48px;
  }

  .product__inner {
    flex-direction: column;
  }

  .product__img img {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .checkout__layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer__logo img {
    margin-right: 20px;
    margin-bottom: 8px;
    width: 130px;
    height: auto;
  }

  .footer__df {
    min-width: 170px;
  }

  .footer__df+.footer__df {
    margin-left: 10px;
  }

  .footer__company {
    text-align: center;
  }

  .admin-products-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-products-stats,
  .admin-products-grid,
  .admin-dashboard-grid,
  .admin-dashboard-statuses {
    grid-template-columns: 1fr;
  }

  .admin-users-layout {
    grid-template-columns: 1fr;
  }

  .admin-users-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-users-filter__actions {
    grid-column: 1 / -1;
  }

  .admin-order-meta-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-update__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-order-update__select {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .header__bottom {
    height: 440px;
  }

  .header__title,
  .about__title,
  .about-page__title {
    font-size: 56px;
    padding-top: 72px;
    padding-bottom: 18px;
  }

  .header__subtitle,
  .about__subtitle,
  .about-page__subtitle {
    font-size: 32px;
  }

  .catalog__item {
    width: 100%;
    max-width: 380px;
    min-width: 0;
    padding: 16px;
  }

  .item__img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .item__name,
  .item__subtitle,
  .item__price {
    width: auto;
    max-width: none;
  }

  .item__name {
    height: auto;
  }

  .about-page__content {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .about-page__text h2 {
    font-size: 34px;
  }

  .about-page__text p,
  .about-page__list li {
    font-size: 20px;
    line-height: 1.45;
  }

  .product__title h2 {
    font-size: 54px;
    line-height: 1.15;
  }

  .btn--primary {
    margin-left: 0;
    margin-top: 10px;
  }

  .qty {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cart__header {
    display: none;
  }

  .cart__row {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .cart__col {
    flex: 1 1 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .cart__col--qty {
    justify-content: flex-start;
  }

  .orders__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .orders__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .admin-products-title,
  .admin-dashboard-card h2,
  .admin-order-card__title,
  .admin-users-list h2,
  .admin-users-card h2 {
    font-size: 28px;
  }

  .footer__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
    align-items: start;
    text-align: left;
  }

  .footer__logo {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
  }

  .footer__logo img {
    width: 110px;
    margin-right: 0;
    margin-bottom: 0;
  }

  .footer__df {
    width: auto;
    min-width: 0;
  }

  .footer__df+.footer__df {
    margin-left: auto;
  }

  .footer__item__container {
    align-items: flex-start;
  }

  .footer__title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .footer__item {
    font-size: 13px;
    line-height: 1.35;
  }

  .footer__contact__item {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (max-width: 600px) {

  .menu__link {
    font-size: 18px;
  }

  .header__bottom {
    height: 360px;
  }

  .header__title,
  .about__title,
  .about-page__title {
    font-size: 46px;
    line-height: 1.15;
  }

  .header__subtitle,
  .about__subtitle,
  .about-page__subtitle {
    font-size: 26px;
  }

  .product__title h2 {
    font-size: 42px;
  }

  .about-page__text h2 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .about-page__text p,
  .about-page__list li {
    font-size: 18px;
  }

  .about-page__image {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .checkout__title,
  .orders__title,
  .catalog-page__title {
    font-size: 30px;
  }

  .admin-users-filter {
    grid-template-columns: 1fr;
  }

  .admin-users-filter__field--search,
  .admin-users-filter__actions {
    grid-column: auto;
  }

  .admin-user-orders__item {
    grid-template-columns: 1fr;
  }

  .admin-password-reset-requests__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-password-reset-request {
    flex-direction: column;
  }

  .admin-password-reset-request__actions {
    width: 100%;
  }

  .admin-password-reset-request__actions .admin-btn {
    width: 100%;
  }

  .admin-product-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .logo {
    width: 80px;
    height: auto;
  }

  .address__line {
    font-size: 12px;
    line-height: 1.3;
  }

  .address__line.clocks {
    font-size: 12px;
  }

  .social__link {
    display: none;
  }

  .header__title,
  .about__title,
  .about-page__title {
    font-size: 38px;
    padding-top: 58px;
    padding-bottom: 14px;
  }

  .header__subtitle,
  .about__subtitle,
  .about-page__subtitle {
    font-size: 22px;
  }

  .catalog__item {
    max-width: none;
    padding: 14px;
  }

  .item__name {
    font-size: 21px;
    line-height: 1.25;
  }

  .item__price {
    font-size: 22px;
  }
  
  .product__link {
      display: none;
  }
  
  .product__inner {
      gap: 10px;
  }
  
  .product__title h2 {
      margin: 10px 0;
  }
  
  .modal__content {
    width: min(420px, 94vw);
    padding: 24px 16px;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 10px;
  }

  .header__bottom {
    height: 320px;
  }

  .header__title,
  .about__title,
  .about-page__title {
    font-size: 34px;
  }

  .header__subtitle,
  .about__subtitle,
  .about-page__subtitle {
    font-size: 20px;
    line-height: 1.25;
  }

  .menu__link {
    font-size: 17px;
  }

  .catalog__title,
  .catalog-page__title,
  .checkout__title,
  .orders__title {
    font-size: 28px;
  }

  .about-page__text h2 {
    font-size: 27px;
  }

  .about-page__text p,
  .about-page__list li {
    font-size: 17px;
  }

  .product__title h2 {
    font-size: 36px;
  }

  .qty__input {
    margin: 0 10px;
  }

  .admin-btn,
  .catalog-btn,
  .checkout__submit,
  .profile__submit-btn {
    font-size: 15px;
  }
}