* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  color: #1f1f1f;
  background: #f4f5f7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 1240px;
  max-width: 94%;
  margin: 0 auto;
}

/* Header styles are now handled by Tailwind CSS */

/* Breadcrumb styles are now handled by Tailwind CSS */

main {
  padding-bottom: 40px;
}

.footer {
  margin-top: 50px;
  background: #f7f7f7;
  border-top: 1px solid #e3e3e3;
}

.footer__top {
  padding: 36px 0;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer__col h4 {
  margin: 0 0 14px;
  font-size: 15px;
  color: #1d1d1d;
}

.footer__link {
  display: block;
  font-size: 13px;
  color: #4d4d4d;
  margin-bottom: 10px;
}

.footer__contact .footer__link {
  margin-top: 6px;
}

.footer__phone {
  font-weight: 700;
  font-size: 14px;
  color: #2c2c2c;
  margin-bottom: 4px;
}

.footer__note {
  font-size: 12px;
  color: #6d6d6d;
}

.footer__divider {
  height: 1px;
  background: #e1e1e1;
  margin: 12px 0;
}

.footer__label {
  font-size: 12px;
  color: #6d6d6d;
  margin: 0 0 4px;
}

.footer__value {
  font-size: 13px;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.footer__address {
  font-size: 13px;
  color: #4d4d4d;
  line-height: 1.5;
  margin-bottom: 14px;
}

.footer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e5e5e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: #333;
}

.footer__bottom {
  background: #ededed;
  border-top: 1px solid #d9d9d9;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  font-size: 12px;
  color: #5a5a5a;
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom-links a {
  color: inherit;
}

.chat-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #c9dcff;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-bubble svg {
  width: 22px;
  height: 22px;
  stroke: #4c6cff;
  stroke-width: 2;
  fill: none;
}

.card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  background: #ffffff;
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

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

.card__image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 270px;
}

.card__left img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.card__caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: #f5d000;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.card__caption span {
  display: block;
}

.card__right {
  display: flex;
  flex-direction: column;
}

.product h1 {
  font-size: 20px;
  margin: 0 0 10px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.meta {
  color: #6d6d6d;
  font-size: 13px;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.meta__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta__label {
  color: #9a9a9a;
}

.meta__icon {
  width: 14px;
  height: 14px;
  stroke: #9a9a9a;
  stroke-width: 2;
  fill: none;
}

.payment-info {
  background: #f5d000;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.payment-info__title {
  font-weight: 700;
  margin-bottom: 4px;
}

.payment-info__content p {
  margin: 0;
}

.payment-info__icon {
  width: 18px;
  height: 18px;
  stroke: #111;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.payment-block {
  font-size: 13px;
  color: #5f5f5f;
  margin-bottom: 16px;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.payment-block h3 {
  font-size: 13px;
  margin: 0 0 6px;
  color: #3a3a3a;
}

.payment-block__content p {
  margin: 0;
}

.payment-block__icon {
  width: 16px;
  height: 16px;
  stroke: #7f7f7f;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.cta {
  width: 100%;
  border: none;
  background: #f5d000;
  color: #1a1a1a;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #caa900;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta__icon {
  width: 16px;
  height: 16px;
  stroke: #1a1a1a;
  stroke-width: 2;
  fill: none;
}

.helper {
  font-size: 12px;
  color: #7a7a7a;
  margin: 0 0 10px;
  line-height: 1.4;
}

.receiver {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #efefef;
}

.receiver h2 {
  margin: 0 0 18px;
  color: #f5d000;
  font-size: 15px;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 14px;
}

label span {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dedede;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  background: #fafafa;
}

@media (max-width: 900px) {
  .card {
    grid-template-columns: 1fr;
  }
}

/* ========== Адаптация: планшеты и телефоны ========== */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  main {
    padding-bottom: 32px;
  }

  .card {
    padding: 20px;
    gap: 20px;
  }

  .card__image {
    height: 220px;
  }

  .card__caption {
    left: 14px;
    bottom: 14px;
    font-size: 14px;
  }

  .product h1 {
    font-size: 18px;
  }

  .price {
    font-size: 24px;
  }

  .footer__top {
    padding: 28px 0;
  }

  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 16px;
  }

  .footer__col h4 {
    font-size: 14px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
  }

  .footer__bottom-links {
    justify-content: flex-start;
  }

  .chat-bubble {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }

  .chat-bubble svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  main {
    padding-bottom: 24px;
  }

  .card {
    padding: 16px;
    gap: 16px;
  }

  .card__image {
    height: 200px;
  }

  .card__caption {
    left: 12px;
    bottom: 12px;
    font-size: 13px;
  }

  .product h1 {
    font-size: 17px;
  }

  .price {
    font-size: 22px;
  }

  .payment-info,
  .payment-block {
    padding: 12px 14px;
    font-size: 12px;
  }

  .cta {
    padding: 12px 14px;
    font-size: 14px;
  }

  .receiver {
    padding: 16px;
  }

  .receiver h2 {
    font-size: 14px;
  }

  .footer__columns {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 12px;
  }

  .footer__top {
    padding: 24px 0;
  }

  .footer__bottom-inner {
    padding: 10px 12px;
    font-size: 11px;
  }

  .chat-bubble {
    width: 48px;
    height: 48px;
    right: 12px;
    bottom: 12px;
  }

  .chat-bubble svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .card {
    padding: 14px;
  }

  .card__image {
    height: 180px;
  }

  .chat-bubble {
    width: 46px;
    height: 46px;
    right: 10px;
    bottom: 10px;
  }
}
