/* === ÜLDISED STIILID === */
html,
body {
  overflow-x: hidden;
}

.single-product {
background: linear-gradient(
    to bottom,
    #a9699f 3%,   /* algusvärv */
    #4048a4 15%,  /* keskosa */
    #a9699f 95%   /* lõppvärv */
  );}

.single-product .single_add_to_cart_button {
  display: none !important;
}

.single-product .product-page-title {
  font-size: xx-large;
  text-align: center;
  margin-bottom: 0;
  position: relative;
}

.single-product .product-page-subtitle p {
  font-size: x-large;
  font-weight: 700;
  margin-bottom: 2rem;
  font-style: italic;
  text-wrap: normal;
  text-align: center;
}

.single-product .product-page-short-description,
.single-product .product-page-description {
  margin-bottom: 16px;
  text-align: justify;
}

.single-product .product-page-description p {
  margin-bottom: 16px;
}

.single-product .product-page-description h3 {
  font-size: 20px;
  margin: 10px 0;
  text-decoration: underline;
}

.single-product .wp-block-columns.alignwide {
  max-width: 800px;
  margin: 0 auto;
}

.single-product .product-page-deliverables-wrapper {
  background-color: #a9699f;
  padding: 2rem;
  border: 1px solid #ffffff;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  margin: 2.5rem auto 1rem auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.single-product .starter-deliverables-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: left;
  display: block;
  width: 100%;
}

.single-product .starter-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-product .starter-deliverables-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: #ffffff;
  line-height: 1.4;
  align-items: center;
}

.single-product .starter-deliverables-list li img {
  width: 50px;
  height: 50px;
  margin-top: 0.3em;
  flex-shrink: 0;
  display: block;
}

.single-product .starter-deliverables-list.short li span {
  font-size: 0.95em;
  font-weight: 500;
}

.single-product .product-page-price {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.wc-block-grid__product-price {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
}

.single-product .product-page-character-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  gap: 1px;
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
}

.single-product .product-page-character-description,
.single-product .product-page-character-image {
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: justify;
}

.single-product .product-page-character-description {
  flex: 0 0 55%;
  margin-bottom: 16px;
}

.single-product .product-page-character-description strong{
    font-size: 1.25rem;
    font-weight: bold;
}




.single-product .product-page-character-image {
  flex: 0 0 45%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
}

.single-product .wp-post-image {
  border-radius: 20px;
}

.single-product .product-page-character-name {
  font-size: 20px;
  margin-bottom: 8px;
}

.single-product .product-page-call-to-action {
  position: relative;
}

.single-product .product-page-call-to-action p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
  font-style: italic;
}

/* === IKONIDE STIILID === */
.product-page-floating-icon {
  position: absolute;
  width: 70px;
  height: auto;
  z-index: 100;
  display: inline-block;
}

.product-starter-access-message {
  margin-top: 1.5rem;
  text-align: center;
  width: 40%;
}

.product-starter-access-message p {
  font-style: italic;
  margin-top: 1rem;
  font-size: 0.85rem;
}


@keyframes rotate-clockwise {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotate-counterclockwise {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.spin-top-right {
  animation: rotate-clockwise 30s linear infinite;
}

.spin-middle-left {
  animation: rotate-counterclockwise 25s linear infinite;
}

.spin-bottom-right {
  animation: rotate-clockwise 15s linear infinite;
}

.product-page-icon-top-right {
  top: 1rem;
  right: -3rem;
}

.product-page-icon-middle-left {
  top: -1rem;
  left: -6rem;
}

.product-page-icon-bottom-right {
  bottom: -3rem;
  right: -3rem;
}

main.wp-block-group {
  position: relative;
  min-height: 100vh;
}

.wp-element-button:focus,
.wp-block-button__link:focus {
  outline: white 1px solid;
}

@media screen and (max-width: 767px) {
  .single-product .product-page-character-wrapper {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0px;
     gap: 1px;
  }




  .single-product .product-page-character-description,
  .single-product .product-page-character-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .single-product .product-page-subtitle p {
    font-size: large;
  }

  .single-product .product-page-deliverables-wrapper {
    width: 100%;
  }

  .product-page-icon-top-right {
    top: -1rem;
    right: -2rem;
  }

  .product-page-icon-middle-left {
    top: -3.2rem;
    left: -3.5rem;
  }

  .product-page-icon-bottom-right {
    bottom: -55px;
    right: -2.5rem;
  }

  .product-starter-access-message {
  margin-top: 1.5rem;
  text-align: center;
  width: 100%;
}
}

/* iPad portrait & tablet-size (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .single-product-content-wrapper {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .product-page-icon-middle-left {
  top: -3rem;
  left: -4rem;
}

  }