@charset "UTF-8";
/* ------------ *Default ------------- */
/* Flex Class */
.fx-column {display: -webkit-box;display: -ms-flexbox;display: flex;-ms-flex-wrap: nowrap;flex-wrap: nowrap;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;}
.flex-center {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;}
.fx-between {-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;}
.align-start {-webkit-box-align: start;-ms-flex-align: start;align-items: flex-start;}
.align-center {-webkit-box-align: center;-ms-flex-align: center;align-items: center;}
.align-end {-webkit-box-align: end;-ms-flex-align: end;align-items: flex-end;}
.fx-start {-webkit-box-pack: start;-ms-flex-pack: start;justify-content: flex-start;}
.fx-center {-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;}
.fx-end {-webkit-box-pack: end;-ms-flex-pack: end;justify-content: flex-end;}
.fx {display: -webkit-box;display: -ms-flexbox;display: flex;}
.fx-wrap {-ms-flex-wrap: wrap;flex-wrap: wrap;}
/* Flex Class End */

/* Reserved Class */
.no-scroll {overflow: hidden;}
.text-left {text-align: left;}
.text-center {text-align: center;}
.text-right {text-align: right;}
.symbol-rub {font-family: -apple-system,system-ui,Arial,Helvetica,sans-serif;}
.text-crop {white-space: nowrap;overflow: hidden;-o-text-overflow: ellipsis;text-overflow: ellipsis;}
/* Reserved Class End*/

.i-gift {
  display: block !important;
  margin: 0 auto !important;
  width: 70px !important;
  height: 70px !important;
  background: url(../img/icons/bear.gif) center/contain no-repeat !important;
}

/* Icons END */

/* Style Default*/
a, button, .speed {-webkit-transition: all .2s;-o-transition: all .2s;transition: all .2s;}
button {border: 0;padding: 0;cursor: pointer;background: none;}
* {-webkit-box-sizing: border-box;box-sizing: border-box;}
* {outline: none;}
/* Style Default End */

html, body {
  overscroll-behavior: contain;
}

body {
  color: #fff;
  font-size: 16px;
  font-weight: normal;
  background: #17212b;
  font-family: 'Google Sans', sans-serif;
}

.wrapper {
  overflow: hidden;
  min-height: 100%;
}

.container {
  max-width: 600px;
}

.main {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
}

/* Title */

.title p {
  margin-top: 2px;
  font-weight: bold;
}

.title__h1 {
  font-size: 21px;
  display: flex;           /* чтобы текст и иконка выровнялись */
  align-items: center;     /* вертикальное выравнивание */
  gap: 8px;                /* расстояние между текстом и иконкой */
}

.title--green span {
  color: #408f33;
}

.title--red span {
  color: #b64545;
}

.orange {
  color: #f6cc5b;
}

.blue {
  color: #359aff;
}

.green {
  color: #56af48;
}

/* ------------ *Header ------------- */

.header {
  padding: 35px 0 30px;
}

.header__up .title i {
  margin-left: 7px;
  width: 24px;height: 23px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

/* Body */

.header__body {
  margin-top: 18px;
}

.header__box {
  padding: 20px 15px;
  position: relative;
  border-radius: 20px;
}

.header__box--1 {
  padding-right: 80px;
  width: calc(100% - 5px);
  background: url(../img/bg/present-bg.png) center/cover no-repeat;
}

.header__box--1:after {
  top: 50%;right: 5px;
  width: 70px;height: 64px;
  background: url(../img/icons/swap.gif) center/contain no-repeat;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.header__box > span {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.header__box > span span {
  color: #f5c857;
}

.header__box p {
  color: #8a8a8a;
  font-size: 12px;
  margin-top: 7px;
  line-height: 1.2;
}

.header__box p a {
  color: #359aff;
  font-size: 12px;
}

.header__box strong {
  display: block;
  font-size: 14px;
  font-weight: normal;
}

/* ------------- *Main --------------- */

.main {
  background: #232e3c;
  padding: 30px 15px 15px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.spoiler {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.spoiler-content {
  filter: blur(50px);
  transition: filter 0.3s ease;
}

.spoiler.revealed .spoiler-content {
  filter: blur(0);
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.spoiler-content {
  position: relative;
}

/* --------- GIFTS CONTAINER --------- */
.subtitle {
    color: #7f8c8d;
    font-size: 18px;
}

.gift-card {
  background: #17212b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin:24px;
}

.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gift-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gift-details {
  padding: 20px;
}

.gift-name {
  font-size: 20px;
  font-weight: 600;
  color: #6ab2f2;
  margin-bottom: 10px;
}

.gift-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.gift-price {
  font-size: 22px;
  font-weight: 700;
  color: #3498db;
}

.gift-provider {
  background-color: #5288c1;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}
        
.timestamp {
  color: #95a5a6;
  font-size: 12px;
  text-align: right;
  margin-top: 10px;
}

.empty-state {
  text-align: center;
  padding: 40px;
  color: #7f8c8d;
  grid-column: 1 / -1;
}

.event-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #e74c3c;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.image-container {
  position: relative;
}

@media (max-width: 768px) {
  main {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  main {
      grid-template-columns: 1fr;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --------- *Before::After ---------- */
.lang:after,
.header__box--1:after,
.form__field--star:after,
.check__mark:after {
  content: " ";
  position: absolute;
}

/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
  
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  
}

@media only screen and (max-width : 460px) {
  .orders__item {
    font-size: 10px;
    padding-right: 100px;
  }
  .orders__type {
    width: 90px;
  }
  .orders__item .btn {
    width: 90px;
  }
  .nav__link {
    font-size: 10px;
  }
  .nav__link i {
    height: 18px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 399px) {
  h1 {
    font-size: 18px;
  }
  h2 {
    font-size: 15px;
  }
  .header__up .title i {
    width: 20px;height: 20px;
  }
  .check--bg .check__item {
    font-size: 10px;
    padding: 0 10px;
  }
  .btn-questions {
    font-size: 10px;
    width: 16px;height: 16px;
  }
  .stars__form .form__item--3 .title__h2 {
    font-size: 12px;
  }
  .orders__item {
    padding-right: 0;
  }
  .orders__item .btn {
    width: 100%;
    margin-top: 10px;
    position: static;
    -webkit-transform: translate(0);
        -ms-transform: translate(0);
            transform: translate(0);
  }
}

@media only screen and (max-width : 369px) {
  .header__body {
    display: block;
  }
  .header__box {
    width: 100%;
  }
  .header__box:not(:last-child) {
    margin-bottom: 10px;
  }
  .header__box--1 {
    padding-right: 105px;
  }
  .info-list li {
    display: block;
  }
  .info-list li > span {
    width: 100% !important;
  }
  .info-list li > span:last-child,
  .info-list li span span {
    text-align: left;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .info-list li span span {
    width: 100%;
    text-align: left;
  }
  .info-list li > span:last-child {
    margin-top: 5px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  
}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  
}
