.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: 0.625rem;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
  height: 4.0625rem;
  background-color: #fff;
}

.proxypurchase-url-input .styled-input {
  flex: 1;
  border: none !important;
  padding: 24px 20px 24px 32px !important;
  outline: none;
  font-size: 18px;
  background: transparent;
  min-width: 0;
}

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

.proxypurchase-url-input .submit-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ff6b57;
  color: #fff;
  border: none;
  margin: 0;
  padding: 24px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0 0.625rem 0.625rem 0;
  flex-shrink: 0;
}

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

.proxypurchase-url-input .submit-button__icon {
  flex-shrink: 0;
}

.proxypurchase-url-input .submit-button__label {
  display: inline;
}

@media (max-width: 768px) {
  .proxypurchase-url-input .styled-input {
    padding: 18px 14px 18px 18px !important;
    font-size: 16px;
  }

  .proxypurchase-url-input .submit-button {
    padding: 0;
    width: 4.0625rem;
    justify-content: center;
  }

  .proxypurchase-url-input .submit-button__label {
    display: none;
  }
}

.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;
  padding-top: 4.5rem;
}

.woocommerce div.product .onsale {
  top: 5rem;
}

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 {
  float: unset !important;
  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;
}

/* 手動入力モード専用スタイル */
.pp-manual-entry-mode div.product {
  display: block;
  max-width: 600px;
  margin: 0 auto;
}

.pp-manual-entry-mode .woocommerce-product-gallery {
  display: none !important;
}

.pp-manual-entry-mode .pp-product-price-card {
  display: none !important;
}

.pp-manual-entry-mode .pp-product-source {
  display: none !important;
}

.pp-manual-entry-mode .pp-product-info-links {
  display: none !important;
}

.pp-manual-entry-mode .pp-product-quantity {
  display: none !important;
}

.pp-manual-entry-mode .quantity {
  display: none !important;
}

.pp-manual-entry-mode table.variations {
  display: none !important;
}

.pp-manual-entry-mode .single_variation .price {
  display: none !important;
}

.pp-manual-entry-mode .reset_variations {
  display: none !important;
}

.pp-manual-entry-mode .pp-manual-entry-header {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.pp-manual-entry-mode .pp-manual-entry-description {
  font-size: 16px;
  color: #5f5f5f;
  line-height: 1.6;
  margin: 12px 0 0;
}

.pp-manual-entry-mode .pp-product-request {
  margin-bottom: 20px;
}

.pp-manual-entry-mode .pp-product-request__label {
  display: none;
}

.pp-manual-entry-mode .single_add_to_cart_button {
  margin-top: 16px;
}

.pp-manual-entry-mode .related.products,
.pp-manual-entry-mode .upsells.products {
  display: none !important;
}

@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;
  }
}

/* カート */
.wc-block-cart {
  max-width: calc(1200px + 6.25rem);
  padding-top: 4.5rem !important;
  padding: 4.5rem 3.125rem;
}

.wp-block-woocommerce-empty-cart-block {
  padding-top: 7rem !important;
}

@media (max-width: 768px) {
  .wc-block-cart {
    padding: 4.5rem 1.25rem;
  }
}

.pp-cart-list-heading {
  margin: 40px 0;
}

.wc-block-cart-items__header {
  display: none;
}

.wc-block-cart-item__prices {
  display: none;
}

.pp-cart-product-short-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #5f5f5f;
  margin-top: 6px;
}

.wc-block-cart-item__quantity {
  display: flex;
  gap: 32px;
  align-items: center;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
  margin-bottom: 0 !important;
}

.wc-block-cart-item__remove-link {
  color: #0486c2 !important;
}

.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
  font-size: 20px;
  font-weight: 700;
}

.wp-block-woocommerce-cart-order-summary-block {
  display: none;
}

.wc-block-components-sidebar {
  padding-top: 110px;
}

.wc-block-cart__submit-button {
  background-color: #ff6243;
  color: #fff;
  border: none;
  border-radius: 16px;
  margin: 20px;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  white-space: nowrap;
}

.wc-block-cart__submit-button:hover {
  background-color: #ff5252;
}

/* チェックアウトページ */
.pp-checkout-page-wrapper {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  max-width: calc(1200px + 6.25rem);
  padding: 4.5rem 3.125rem 1rem;
}

@media (max-width: 768px) {
  .pp-checkout-page-wrapper {
    grid-template-columns: 1fr;
    padding: 4.5rem 1.25rem 1rem;
  }
}

.woocommerce-checkout {
  max-width: 1200px;
  margin: 0 auto;
}

.woocommerce-checkout .col2-set {
  display: block;
  margin-bottom: 30px;
}

.woocommerce-checkout .col2-set .col-1 {
  width: 100%;
  float: none;
}

.woocommerce-checkout .col2-set .col-2 {
  display: none !important;
}

/* 商品リストのスタイル */
.pp-review-order-list .pp-review-order-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
}

.pp-review-order-list .pp-review-order-item .pp-product-thumbnail {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.pp-review-order-list .pp-review-order-item .product-name .pp-product-name {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
}
.pp-review-order-list
  .pp-review-order-item
  .product-name
  .pp-product-short-description {
  font-size: 11px;
  color: #5f5f5f;
}

/* ヘッダー */
.pp-checkout-header {
  font-size: 20px;
  font-weight: 700;
  padding-top: 32px;
  margin-bottom: 12px;
  color: #111;
  border-top: 1px solid #eee;
}
.pp-checkout-header-shipping {
  border-top: none;
}

.pp-payment-methods {
  margin-bottom: 24px;
}

.pp-payment-methods__note {
  font-size: 13px;
  color: #5f5f5f;
  margin: 0 0 12px;
}

.pp-payment-methods__options {
  display: flex;
  gap: 12px;
}

.pp-payment-method-card {
  cursor: pointer;
}

.pp-payment-method-card input[type="radio"] {
  accent-color: #000;
}

.pp-payment-method-card__body {
  background-color: #fff;
  font-weight: 600;
  font-size: 15px;
  color: #111;
}

.pp-delivery-notice {
  font-size: 12px;
  color: #5f5f5f;
  line-height: 1.6;
  margin: 0;
}

.woocommerce form .form-row .required {
  display: none;
}

.woocommerce form .form-row .optional {
  display: none;
}

/* 配送先住所フィールドを完全に非表示 */
.woocommerce-shipping-fields {
  display: none !important;
}

/* 請求先住所見出しを非表示 */
.woocommerce-billing-fields h3 {
  display: none;
}

/* 「別の住所へ配送しますか？」チェックボックスを非表示 */
.woocommerce-shipping-fields__field-wrapper,
.shipping_address {
  display: none !important;
}

/* 追加情報セクションを非表示 */
.woocommerce-additional-fields {
  display: none;
}

/* クーポンフォームのスタイル */
.woocommerce-form-coupon-toggle {
  display: none;
}

.checkout_coupon {
  display: none !important;
}

.pp-coupon-section {
  margin: 24px 0;
}

.pp-coupon-section label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.pp-coupon-input-wrapper {
  display: flex;
  gap: 12px;
}

.pp-coupon-input-wrapper input[type="text"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  font-size: 14px;
}

.pp-coupon-input-wrapper input[type="text"]:focus {
  outline: none;
  border-color: #0b87d9;
  box-shadow: 0 0 0 2px rgba(11, 135, 217, 0.15);
}

/* ご注意事項 */
.pp-checkout-notice-list {
  padding-bottom: 32px;
}

/* 注文ボタン */
.pp-checkout-submit-container {
  display: grid;
  grid-template-columns: minmax(0, 320px) auto;
  gap: 16px;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid #eee;
}
@media (max-width: 768px) {
  .pp-checkout-submit-container {
    grid-template-columns: 1fr;
  }
}

#place_order {
  width: 100%;
  padding: 18px;
  background-color: #ff6243 !important;
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
#place_order:hover {
  background-color: #ff5252 !important;
}

.pp-checkout-submit-container p {
  font-size: 11px;
}

/* エラーメッセージのスタイル */
.woocommerce-error {
  margin-top: 20px;
  padding: 16px;
  background-color: #fff7f6;
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 8px;
  color: #ff6b6b;
}

/* 注文確認サマリーのヘッダー */
.woocommerce-checkout-review-order h3,
#order_review_heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

/* フォームフィールドのスタイル */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  padding: 12px 16px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  font-size: 14px;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  outline: none;
  border-color: #0b87d9;
  box-shadow: 0 0 0 2px rgba(11, 135, 217, 0.15);
}

.woocommerce-checkout .form-row label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* チェックボックスのスタイル */
.woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.woocommerce-form__input-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* 支払い方法のスタイル */
.wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wc_payment_method {
  margin-bottom: 16px;
}

.wc_payment_method label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.payment_box {
  margin-top: 12px;
  padding: 16px;
  background-color: #f9f9f9;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}

/* ご注文内容の確認 */
.pp-checkout-confirm {
  display: flex;
  flex-flow: column;
  gap: 16px;
  padding: 20px 18px 40px 30px;
  margin-top: 32px;
  height: fit-content;
  background-color: #fefffa;
  border: 1px solid #faf7f2;
  border-radius: 10px;
}

.pp-checkout-confirm h3 {
  margin-bottom: 16px;
}

.pp-checkout-confirm-item {
  display: flex;
  justify-content: space-between;
}

.pp-checkout-confirm-total {
  display: flex;
  justify-content: space-between;
}
