.pp-display-none {
  display: none;
}

.product_meta .posted_in,
.product_meta .sku_wrapper {
  display: none;
}

.proxypurchase-url-input .input-wrapper {
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  max-width: 520px;
  background-color: #fff;
}

.proxypurchase-url-input .submit-button {
  background-color: #ff6b6b;
  color: #fff;
  border: none;
  margin: 20px;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.proxypurchase-url-input .submit-button:hover {
  background-color: #ff5252;
}

.proxypurchase-url-input .styled-input {
  flex: 1;
  border: none !important;
  padding: 12px 20px 12px 0 !important;
  outline: none;
  font-size: 16px;
}

.proxypurchase-url-input .styled-input::placeholder {
  color: #999;
}

.proxypurchase-url-input .proxypurchase-loading {
  display: none;
  margin-top: 12px;
  padding: 8px 12px 8px 32px;
  position: relative;
  border-radius: 10px;
  background-color: #fff7f6;
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  box-shadow: 0 6px 18px rgba(255, 107, 107, 0.12);
  width: fit-content;
}

.proxypurchase-url-input .proxypurchase-loading::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 107, 0.3);
  border-top-color: #ff6b6b;
  animation: proxypurchase-spin 0.9s linear infinite;
}

.proxypurchase-url-input .proxypurchase-error {
  display: none;
  color: #b00020;
  margin-top: 8px;
}

.pp-product-source {
  margin: 20px 0;
}

.pp-product-source__button {
  padding: 8px 20px;
  border-radius: 999px;
  background-color: #0b87d9;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.pp-product-source__button:hover,
.pp-product-source__button:focus-visible {
  background-color: #036fa1;
  color: #fff;
}

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

.woocommerce div.product {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 48px;
  align-items: flex-start;
}

body.single-product
  .wp-block-group.woocommerce.product
  > main
  > .wp-block-columns
  > .wp-block-column {
  flex: initial;
  width: auto;
}

body.single-product div.product .woocommerce-product-gallery {
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  background: #fff;
  position: sticky;
  top: 32px;
  width: 100%;
}

body.single-product div.product .woocommerce-product-gallery__image img {
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(19, 33, 68, 0.08);
}

body.single-product div.product .woocommerce-product-gallery__trigger {
  border: 1px solid #ededed !important;
  top: unset !important;
  right: 10px !important;
  bottom: 10px !important;
  color: #111;
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.single-product .flex-control-nav.flex-control-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.single-product .flex-control-nav.flex-control-thumbs li {
  list-style: none;
  border: 1px solid #ededed;
  border-radius: 16px;
  padding: 4px;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.single-product .flex-control-nav.flex-control-thumbs li.flex-active,
.single-product .flex-control-nav.flex-control-thumbs li:hover {
  border-color: #ff6b6b;
}

.single-product .flex-control-nav.flex-control-thumbs img {
  border-radius: 12px;
}

.single-product .summary.entry-summary {
  width: unset !important;
}

.pp-product-summary__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.single-product .product_title.entry-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin: 0;
}

.pp-product-summary__subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: #5f5f5f;
}

.pp-product-summary__subtitle .woocommerce-product-details__short-description {
  margin: 0;
}

.pp-product-price-card {
  margin-bottom: 28px;
}

.pp-product-price-card__title {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
}

.pp-product-price-card__breakdown {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 400;
}

.pp-product-price-card__breakdown span {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 3px 5px;
  border-radius: 3px;
  background-color: #0486c2;
}

.pp-product-price-card__note {
  font-size: 12px;
  font-weight: 500;
  color: #0486c2;
}

.pp-product-price-card__price .price {
  font-size: 36px !important;
  font-weight: 700;
  color: #111 !important;
  line-height: 1.2;
}

.pp-product-price-card__price del {
  font-size: 18px;
  margin-right: 8px;
  color: #9b9b9b;
}

.pp-product-price-card__price ins {
  text-decoration: none;
}

.pp-product-price-card__disclaimer {
  font-size: 12px;
  color: #9a9a9a;
  margin: 0;
}

.pp-product-purchase-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pp-product-purchase-block form.cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pp-product-quantity {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.pp-quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background-color: #fff;
  width: 285px;
  height: 60px;
  padding: 10px;
  gap: 12px;
}

.pp-quantity-control input[type="number"]::-webkit-outer-spin-button,
.pp-quantity-control input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pp-quantity-control input[type="number"] {
  -moz-appearance: textfield;
}

.pp-quantity-control__button {
  background: transparent !important;
  color: #111 !important;
  font-size: 26px !important;
  padding: 0 1rem !important;
  border: 0 !important;
  outline: none;
  box-shadow: none !important;
  appearance: none;
}

.pp-quantity-control__button:hover:not(:disabled),
.pp-quantity-control__button:focus-visible {
  background-color: rgba(0, 0, 0, 0.05);
  color: #000;
  outline: none;
}

.pp-quantity-control__button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pp-quantity-control__field {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.pp-quantity-control__field .quantity {
  width: 100%;
  text-align: center;
}

.pp-quantity-control__field .quantity input.qty {
  border: none;
  width: 100%;
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  padding: 0;
  height: 100%;
  background: transparent;
  color: #111;
}

.pp-quantity-control__field .quantity input.qty:focus {
  outline: none;
  box-shadow: none;
}

.pp-product-purchase-block form.cart .single_variation_wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pp-product-purchase-block .woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.single-product .single_add_to_cart_button {
  width: 100%;
  border: none;
  border-radius: 16px;
  margin-top: 36px;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  background: #ff6243 !important;
  color: #fff;
}

body.single-product .single_add_to_cart_button:hover {
  background: #ff5252 !important;
}

.pp-product-purchase-block table.variations {
  border: 1px solid #ededed;
  border-radius: 18px;
  padding: 0 0 6px;
  margin-bottom: 0 !important;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.pp-product-purchase-block table.variations tr {
  display: block;
  padding: 16px 0;
}

.pp-product-purchase-block table.variations th,
.pp-product-purchase-block table.variations td {
  display: block;
  width: 100%;
  padding: 0;
  background-color: unset;
}

.pp-product-purchase-block table.variations th {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #5d5d5d;
  margin-bottom: 8px;
}

.pp-product-purchase-block table.variations select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dfdfdf;
  padding: 12px 16px;
  font-size: 15px;
  background-color: #fff;
}

.pp-product-purchase-block table.variations select:focus {
  outline: none;
  border-color: #0b87d9;
  box-shadow: 0 0 0 2px rgba(11, 135, 217, 0.15);
}

.pp-product-purchase-block .single_variation .price {
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.pp-product-purchase-block .reset_variations {
  font-size: 13px;
  color: #ff6b57;
}

.pp-product-request {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-product-request__label {
  font-weight: 600;
  color: #333;
}

.pp-product-request__textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e4e4e4;
  padding: 16px;
  font-size: 14px;
  resize: vertical;
  min-height: 120px;
}

.pp-product-request__textarea:focus {
  outline: none;
  border-color: #0b87d9;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(11, 135, 217, 0.12);
}

.pp-product-info-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.pp-product-info-links__item {
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  color: #4a4a4a;
  background: #f7f7f7;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.pp-product-info-links__item:hover {
  background: #fff;
  border-color: #cfcfcf;
}

.woocommerce-tabs {
  display: none;
}

@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

  body.single-product
    .wp-block-group.woocommerce.product
    > main
    > .wp-block-columns
    > .wp-block-column {
    width: 100%;
  }

  body.single-product div.product .woocommerce-product-gallery {
    position: static;
  }
}
