@charset "UTF-8";
body {
  font-family: "Quicksand", sans-serif;
}

.title {
  font-size: 50px;
  line-height: 60px;
  font-family: "Playwrite NZ", cursive;
  font-style: italic;
}

.section-title {
  padding-top: 20px;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}

.section-title::before {
  content: "";
  background: url(../images/decor3.png) no-repeat center;
  background-size: auto;
  background-size: contain;
  display: block;
  width: 100px;
  height: 100px;
  position: absolute;
  top: -11px;
  left: 740px;
}

.section-title::after {
  content: "";
  background: url(../images/decor3.png) no-repeat center;
  background-size: auto;
  background-size: contain;
  display: block;
  width: 100px;
  height: 100px;
  position: absolute;
  top: -11px;
  right: 740px;
  transform: scaleX(-1);
}

.subtitle {
  font-size: 30px;
  line-height: 35px;
  font-family: "Playwrite NZ", cursive;
  font-style: italic;
}

section {
  margin-bottom: 50px;
}

option {
  display: block;
}

.container {
  width: 100%;
  height: 100%;
  padding: 0 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.header {
  color: #000;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  gap: 50px;
  align-items: center;
  background: linear-gradient(358deg, rgb(255, 255, 255) 1%, rgba(255, 97, 244, 0.37) 50%, rgb(255, 255, 255) 100%);
  height: 170px;
  padding: 0 50px;
  box-sizing: border-box;
  font-size: 24px;
  line-height: 35px;
  font-weight: 600;
  z-index: 20;
}
.header .icon {
  width: 35px;
}
.header .contacts,
.header .account {
  width: 37%;
  justify-content: space-between;
  display: flex;
  align-items: center;
}
.header .contacts .personal,
.header .account .personal {
  display: flex;
  gap: 30px;
}
.header .contacts {
  gap: 30px;
}
.header .contacts .contacts__social {
  max-height: 35px;
  display: flex;
  gap: 30px;
}
.header .contacts .contacts__phone {
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.header .logo {
  position: absolute;
  left: calc(50% - 140px);
  top: -31px;
  z-index: 5;
}
.header .logo img {
  width: 280px;
}

nav {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.49) 50%, rgba(0, 0, 0, 0) 100%);
  height: 60px;
  position: absolute;
  width: 100%;
  color: #fff;
  z-index: 11;
}
nav .nav-list {
  display: flex;
  padding: 10px 50px;
}
nav .nav-list .nav-list__item {
  margin-right: 50px;
}
nav .nav-list .nav-list__item .nav-list__link {
  font-size: 20px;
  line-height: 32px;
  font-weight: 480;
}

.slider {
  height: calc(100vh - 170px);
  background: url(../images/Piekarnia-Lange.webp);
  position: relative;
  z-index: 10;
}
.slider .slider-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}
.slider .slider-inner .slider-content {
  color: #ecd3f3;
}

.gallery .gallery__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
  gap: 30px;
  position: relative;
  z-index: 10;
}
.gallery img {
  width: 300px;
  height: 300px;
}

.about {
  padding-bottom: 50px;
}
.about .about-inner {
  background: url(../images/Piekarnia-Lange.webp);
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  z-index: 3;
  overflow: hidden;
}
.about .mask {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6588235294);
  top: 0;
  left: 0;
}
.about p {
  text-align: center;
  font-size: 22px;
  line-height: 24px;
}
.about .about-content {
  padding: 50px 50px;
  border-radius: 20px;
  background: rgba(240, 136, 255, 0.19);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(240, 136, 255, 0.3);
  padding: 50px 50px;
  color: #fff;
}
.about .container {
  z-index: 5;
  position: relative;
}

.order {
  z-index: 100;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(240, 136, 255, 0.19);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.order .order-inner {
  position: relative;
  background: url(../images/cake-order1.jpg) center no-repeat;
  display: block;
  margin: 0 auto;
  width: 60vw;
  padding: 50px 50px;
  border-radius: 20px;
  border: 1px solid rgba(240, 136, 255, 0.3);
  color: #000;
}
.order .order-form {
  position: relative;
}
.order .order-form #category option {
  width: 100%;
}
.order .order-form .order-item__img {
  width: 50px;
  height: 50px;
}
.order .order-form .order-item__img img {
  max-width: 100%;
  max-height: 100%;
}
.order .order-form #category {
  width: 100%;
}
.order .order-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.93) 31%, rgb(255, 255, 255) 100%);
  z-index: 0;
  border-radius: 20px;
}

@keyframes slideDown {
  from {
    transform: translate(-30vw, -30vh) rotate(0deg);
  }
  to {
    transform: translate(100vw, 100vh) rotate(360deg);
  }
}
.cake-image1 {
  animation: slideDown 8s linear infinite;
  animation: slideDown 8s linear infinite;
  position: absolute;
  z-index: 1;
}

@keyframes slideDown1 {
  from {
    transform: translate(100vw, 100vh) rotate(0deg);
  }
  to {
    transform: translate(-30vw, -30vh) rotate(360deg);
  }
}
.cake-image2 {
  animation: slideDown1 8s linear infinite;
  position: absolute;
  z-index: 1;
}

@keyframes slideDown2 {
  from {
    transform: translate(80vw, -60vh) rotate(0deg);
  }
  to {
    transform: translate(30vw, 160vh) rotate(360deg);
  }
}
.cake-image3 {
  animation: slideDown2 6s linear infinite;
  position: absolute;
  z-index: 1;
}

@keyframes slideDown3 {
  from {
    transform: translate(60vw, -60vh) rotate(0deg);
  }
  to {
    transform: translate(10vw, 160vh) rotate(360deg);
  }
}
.cake-image4 {
  animation: slideDown3 6s linear infinite;
  position: absolute;
  z-index: 1;
}

.order-container.order-form {
  background: #ffffff;
  max-width: 550px;
  width: 100%;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
}

h2, h3, h4, h5 {
  color: #4a3728;
  margin: 0 0 15px 0;
}

h2 {
  text-align: center;
  margin-bottom: 25px;
}

/* ТАБ НАВІГАЦІЯ */
.tabs-navigation {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #f3ece4;
  padding-bottom: 10px;
}

.tab-indicator {
  flex: 1;
  text-align: center;
  padding: 8px;
  font-size: 0.9em;
  font-weight: 600;
  color: #a19285;
  border-radius: 6px;
  background: #fdfcfb;
}

.tab-indicator.active {
  color: #ffffff;
  background: #ff6b81;
}

/* СТРУКТУРА ТАБІВ */
.form-tab {
  display: none;
}

.form-tab.active {
  display: block;
}

.trigger-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.select-trigger-btn {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid #e2dcd5;
  border-radius: 8px;
  font-size: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #5c4033;
  font-weight: 500;
}

.select-trigger-btn:hover {
  border-color: #ff6b81;
}

.select-trigger-btn .arrow {
  font-size: 0.8em;
  color: #8c7b70;
}

.selected-cakes-container {
  margin: 25px 0;
  background: #fffbf7;
  border: 1px solid #eee2d5;
  border-radius: 10px;
  padding: 15px;
}

.selected-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.selected-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f3ece4;
  font-size: 0.95em;
}

.selected-item:last-child {
  border-bottom: none;
}

.selected-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selected-item img {
  width: 45px;
  height: 45px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2dcd5;
}

.edit-item-btn, .delete-item-btn {
  border: 1px solid #dcdde1;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 5px;
  font-size: 0.9em;
}

.edit-item-btn {
  background: #f1f2f6;
}

.edit-item-btn:hover {
  background: #e2dcd5;
}

.delete-item-btn {
  background: #fff5f5;
  border-color: #fab1a0;
  margin-right: 15px;
}

.delete-item-btn:hover {
  background: #ff7675;
  color: #fff;
}

.right-side-box {
  display: flex;
  align-items: center;
}

.custom-label-badge {
  background: #ff6b81;
  color: white;
  font-size: 0.75em;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 3px;
}

.empty-message {
  color: #a19285;
  font-style: italic;
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: 275px;
  left: 35px;
  right: 35px;
  background: #ffffff;
  border: 2px solid #ff6b81;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 100;
  padding: 20px;
}

.dropdown-panel.show {
  display: block;
}

.cakes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.item-card {
  border: 1px solid #e2dcd5;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  transition: background 0.3s;
}

.cake-header {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.core-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #ff6b81;
}

.item-preview-img {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
}

.cake-info h5 {
  margin: 0 0 2px 0;
  font-size: 0.95em;
}

.base-price {
  margin: 0;
  font-size: 0.85em;
  color: #8c7b70;
}

.cake-params {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e2dcd5;
}

.item-card.checked {
  border-color: #ff6b81;
  background: #fffbfb;
}

.item-card.checked .cake-params {
  display: block;
}

@keyframes highlight {
  0% {
    background-color: #ffeb3b;
  }
  100% {
    background-color: #fffbfb;
  }
}
.item-card.highlighted {
  animation: highlight 1.5s ease-out;
}

.param-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.param-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.param-item label {
  font-size: 0.8em;
  margin-bottom: 4px;
}

select, .input-field input {
  padding: 8px 12px;
  border: 2px solid #e2dcd5;
  border-radius: 6px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

select:focus, .input-field input:focus, .comment-group textarea:focus {
  border-color: #ff6b81;
  outline: none;
}

.file-upload-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-upload-group label {
  font-size: 0.8em;
  color: #5c4033;
}

.close-panel-btn {
  width: 100%;
  background: #4a3728;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

/* ПОЛЯ КОНТАКТІВ */
.input-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.input-field label {
  font-size: 0.9em;
  font-weight: 500;
  color: #5c4033;
}

.comment-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.comment-group label {
  font-size: 0.9em;
  font-weight: 500;
}

.comment-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e2dcd5;
  border-radius: 8px;
  font-size: 0.95em;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}

.total-price-box {
  background: #f1f2f6;
  padding: 15px;
  text-align: center;
  font-size: 1.25em;
  font-weight: bold;
  border-radius: 8px;
  margin: 20px 0;
}

#totalPrice {
  color: #ff6b81;
}

/* КНОПКИ */
.actions-group {
  margin-top: 15px;
}

.dual-buttons {
  display: flex;
  gap: 10px;
}

.submit-btn {
  width: 100%;
  background: #ff6b81;
  color: white;
  border: none;
  padding: 14px;
  font-size: 1.05em;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #ff4757;
}

.secondary-btn {
  background: #fff;
  border: 2px solid #e2dcd5;
  color: #5c4033;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.secondary-btn:hover {
  border-color: #a19285;
}/*# sourceMappingURL=style.css.map */