

/* ===== STICKY HEADER + PRICE ===== */

.sticky-price {
  position: sticky;
  top: 0;
 background: #702fde;
  color: #fff;
  padding: 20px 0;
  z-index: 999;
}


.price-breakdown {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.4;
}

.price-breakdown span {
  background: rgba(255,255,255,0.15);
  padding: 3px 8px;
  border-radius: 20px;
}
.sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-wrap small {
  opacity: .7;
  font-size: 14px;
}

.price-wrap strong {
  font-size: 42px; /* väčšia suma */
  font-weight: 800;
}

/* ===== FORM LAYOUT ===== */

.fp-form {
  max-width: 1280px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-card {
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}


form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

form input,
form textarea:focus {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #702fde;
  border-radius: 6px;
  font-family: inherit;
}


.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  font-family: inherit;
  transition: .2s ease;
}


.textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-family: inherit;
    transition: .2s ease;
}

 .textarea:focus {
  width: 100%;
  padding: 14px;
  border: 1px solid #702fde;
  border-radius: 10px;
  font-family: inherit;
  transition: .2s ease;
}



/* ===== INPUTS ===== */



.input-group input:focus,
.input-group textarea:focus {
  border-color:#702fde;
  outline: none;
}

/* ===== RADIO PILLS ===== */

.radio-pills {
  display: flex;
  gap: 15px;
}

.pill input {
  display: none;
}

.pill span {
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 30px;
  cursor: pointer;
  transition: .2s ease;
}

.pill input:checked + span {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* ===== MODE SWITCH ===== */

.mode-switch {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.switch {
  position: relative;
  width: 50px;
  height: 28px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 50px;
  transition: .3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}

.switch input:checked + .slider {
  background: #6C2BD9;
}

.switch input:checked + .slider:before {
  transform: translateX(22px);
}

/* ===== ADDON CARDS ===== */

.addon-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-top: 15px;
  cursor: pointer;
  transition: .2s ease;
}

.addon-card input {
  display: none;
}

.addon-card:hover {
  border-color: #702fde;
}

.addon-card input:checked ~ span {
  font-weight: 700;
      color: #702fde;
}

/* ===== SUBMIT BUTTON ===== */

.form-submit {
  text-align: center;
  margin-top: 40px;
   border: none;
}

.big-btn {
  padding: 16px 50px;
  font-size: 18px;
  border: none;
}




/* ===== DESIGN THUMBS ===== */

.design-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.thumb-card {
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    text-align: center;
    background: #fff;
}

/* 🔥 HOVER EFFECT */
.thumb-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);

}

/* jemný zoom obrázka vo vnútri */
.thumb-card img {
    transition: transform 0.5s ease;
}

.thumb-card:hover img {
    transform: scale(1.05);
}


.thumb-card input {
  display: none;
}

.thumb-card img {
  width: 100%;
  display: block;
}

.thumb-card span {
  display: block;
  padding: 12px;
  font-weight: 600;
}

.thumb-card.active {
  border-color:  #702fde;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



.margin-top{

  margin-top: 100px;
}

/* ===== PRICE ===== */

.price-wrap {
    position: relative;
    color: #fff;
}

.price-summary {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);

  width: 340px;

  background: #ffffff;
  color: #111;

  border-radius: 14px;
  padding: 18px 18px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.18);

  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 1000;
}

.price-summary.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.price-summary h4 {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 12px;
}

.price-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
}

.price-summary-total {
  border-top: 1px solid #eee;
  margin-top: 12px;
  padding-top: 10px;
  font-weight: 700;
}

.price-summary::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
}
/* ===== CUSTOM CARD ===== */

.custom-card {
  display: block;

  border: 2px solid #ddd;
  border-radius: 14px;
  padding: 25px;
  cursor: pointer;
  transition: .3s ease;
  background: #fff;
}

.custom-card input {
  display: none;
}
/* ===== SUPPORT BOX ===== */

.support-box {
  margin-top: 40px;
  text-align: center;
  padding: 25px;
  background: #f8f9fb;
  border-radius: 14px;
  border: 1px solid #eee;
}

.support-links {
  margin: 10px 0;
  font-weight: 600;
}

.support-links a,
.support-links a:visited,
.support-links a:active,
.support-links a:focus {
  text-decoration: none;
  background: var(--primary);
  color: #fff;
}

.support-links a:hover {
  text-decoration: underline;
  opacity: 0.9;
   background: #8653de;
  color: #fff;
}

.support-link {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8f7ff;
  color: var(--primary);
  transition: .2s ease;
  text-align: center;
}

.support-link:hover {
  background: #ede9fe;
}



.support-box small {
  display: block;
  margin-top: 8px;
  opacity: .7;
}

/* ===== FLOATING SUPPORT ===== */

.floating-support {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

/* BUTTON */

.support-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #6C2BD9);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(108,43,217,0.35);
  transition: .3s ease;
}

.support-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 45px rgba(108,43,217,0.45);
}

/* POPUP */

.support-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 260px;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid #eee;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(.95);
  transition: .3s ease;
}

.support-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}



/* LINKS */

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.custom-card.active {
  border-color: #702fde;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.custom-top p {
  margin: 6px 0 0 0;
  font-size: 14px;
  opacity: .7;
}

.custom-price {
  font-size: 22px;
  font-weight: 700;
}

/* ===== UPLOAD BLOCK ===== */

.upload-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

input[type="file"] {
  width: 100%;
  padding: 30px;
  border: 2px dashed #ddd;
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: .3s ease;
}

input[type="file"]:hover {
  border-color: #702fde;;
  background: #f4f4f4;
}

textarea {
  resize: vertical;
}

/* ===== SMART UPLOAD ===== */

.upload-area {
  border: 2px dashed #ddd;
  border-radius: 16px;
  padding: 50px 20px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: .3s ease;
}

.upload-area:hover {
  border-color: #111;
  background: #f4f4f4;
}

.upload-icon {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.preview-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
}

.preview-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  padding: 10px;
  text-align: center;
}

.preview-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.preview-item span {
  font-size: 12px;
  display: block;
  margin-top: 5px;
  word-break: break-word;
}

.remove-file {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #111;
  color: #fff;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== TRANSFER BOX ===== */

.transfer-box {
  margin-top: 30px;
  padding: 25px;
  background: #f8f9fb;
  border: 1px solid #eee;
  border-radius: 14px;
}

.transfer-box h4 {
  margin-bottom: 10px;
}

.transfer-text {
  font-size: 14px;
  opacity: .8;
  margin-bottom: 15px;
}

.transfer-text a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.transfer-text a:hover {
  text-decoration: underline;
}

.transfer-steps {
  margin: 0 0 15px 18px;
  font-size: 14px;
  opacity: .8;
}

/* ===== SUPPORT BOX ===== */

.support-box {
  margin-top: 40px;
  text-align: center;
  padding: 25px;
  background: #f8f9fb;
  border-radius: 14px;
  border: 1px solid #eee;
}


.support-box small {
  display: block;
  margin-top: 8px;
  opacity: .7;
}

/* ===== FLOATING SUPPORT ===== */

.floating-support {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

/* BUTTON */

.support-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #6C2BD9);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(108,43,217,0.35);
  transition: .3s ease;
}

.support-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 45px rgba(108,43,217,0.45);
}

/* POPUP */

.support-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 260px;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid #eee;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(.95);
  transition: .3s ease;
}

.support-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* HEADER */

.support-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.support-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
}

.support-header small {
  display: block;
  font-size: 12px;
  opacity: .6;
  margin-top: 2px;
}

/* LINKS */

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}



.small-price{
  font-size: 24px;
  display:block;
  margin-top:5px;
  font-weight:800;
  color:#702fde;
}


.order-trust {
    display: flex;
    gap: 2px;
    font-size: 12px;
    flex-direction: column;
    align-items: center;
    background: #f8f9fb;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    width: 90%;
    margin: 20px auto;
}

/* =========================
   FOOTER
========================= */

.main-footer {
  background: #702fde;
  color: #fff;
  padding: 80px 0 0;
}

/* GRID */

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 0 30px;
}

/* BRAND */

.footer-logo {
  width: 140px;
  margin-bottom: 20px;
}

.footer-description {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.6;
  max-width: 280px;
}

/* HEADINGS */

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 700;
}

/* LINKS */

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  transition: 0.2s ease;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

/* CONTACT TEXT */

.footer-col p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.6;
}

/* BOTTOM */

.footer-bottom {
  text-align: center;
  padding: 30px 20px;
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}


.order-trust {
    display: flex;
    gap: 2px;
    font-size: 12px;
    flex-direction: row;
    align-items: center;
    background: #f8f9fb;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    width: 100%;
    margin: 20px auto;
    justify-content: space-evenly;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

}



/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .main-footer {
    padding-top: 60px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 40px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-col {
    width: 100%;
    max-width: 320px;
  }

}

/* =====================================
   MOBILE ORDER FORM OPTIMIZATION
===================================== */

@media (max-width: 768px) {

  /* ======================
     STICKY HEADER
  ====================== */

  .sticky-price {
    padding: 10px 0;
  }

  .order-trust {
    display: flex;
    gap: 2px;
    font-size: 12px;
    flex-direction: column;
    align-items: center;
    background: #f8f9fb;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    width: 90%;
    margin: 20px auto;
}


     .sticky-inner {
        display: flex;
        align-items: center;
        align-content: center;
        flex-direction: column;
        padding: 0px 20px;
        flex-wrap: nowrap;
        justify-content: center;
        height: 120px;
    }

    .custom-top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    align-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
}

.logo {
    /* font-size: 26px; */
    font-weight: 800;
    transition: all 0.3s ease;
    width: 37%!important;
}




  .price-wrap small {
    font-size: 11px;
    opacity: 0.7;
  }

  .price-main strong {
        font-size: 22px;
  }

  .price-arrow {
    font-size: 14px;
  }

  /* ======================
     DESIGN THUMBS POD SEBA
  ====================== */

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

  .thumb-card {
    width: 100%;
    padding: 16px;
  }

  .thumb-card img {
    width: 100%;
    height: auto;
  }

  .thumb-card span {
    font-size: 16px;
  }

  .small-price {
    font-size: 18px;
    font-weight: 600;
  }

  /* ======================
     FORM CARD PADDING
  ====================== */

  .form-card {
    padding: 22px 18px;
  }

  h1 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  /* ======================
     ADDONS LEPŠIE TAP ZÓNY
  ====================== */

  .addon-card {
    padding: 16px;
    font-size: 15px;
  }

}

/* =========================
   MOBILE PRICE SUMMARY FIX
========================= */


@media (max-width: 768px) {
    .price-summary {
        width: 90vw !important;
        max-width: 90vw !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(8px) !important;
    }
  
}


/* vypne scroll animácie na objednávke */

.form-card,
.section-alt,
.container,
.design-thumbs,
.addon-card,
.custom-card {
  opacity: 1 !important;
  transform: none !important;
}