/* Gift-page presentation only. The provider owns its form, preview values and emails. */
.gift-art > .native-surface-gift-preview { width: 100%; }
.gift-art > .native-surface-gift-preview:empty { display: none; }
.gift-art .native-surface-gift-preview .wt_gc_email_preview {
  float: none;
  width: 100%;
  padding: 0;
  margin: 0;
  color: var(--ink);
  font: 400 13px/normal Manrope, Arial, sans-serif;
}
.gift-art .native-surface-gift-preview .wt_gc_email_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: min-content;
  height: auto !important;
  aspect-ratio: 1.55;
  padding: 40px !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 16px 40px #25291c0d !important;
  font: inherit !important;
}
.gift-art .native-surface-gift-preview .wt_gc_email_wrapper::before {
  content: "";
  display: block;
  flex: none;
  order: -1;
  width: 65%;
  aspect-ratio: 457 / 70;
  margin-bottom: 0;
  background: url("/wp-content/plugins/chanand-landing-trial/frontend/assets/logo.svg") left center / contain no-repeat;
}
.gift-art .native-surface-gift-preview .wt_gc_email_wrapper_inner {
  display: contents;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
}
.gift-art .native-surface-gift-preview .wt_gc_email_img {
  order: 0;
  padding: 0 !important;
  margin: 24px 0 !important;
  background: transparent !important;
}
/* Keep the selected template image node for provider scripting and email selection. */
.gift-art .native-surface-gift-preview .wt_gc_email_img img { display: none !important; }
.gift-art .native-surface-gift-preview .wt_gc_email_img::after { content: "Digital Gift Card"; font-size: 13px; }
.gift-art .native-surface-gift-preview .wt_gc_email_top {
  display: contents !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  background: transparent !important;
  font: inherit !important;
  overflow-wrap: anywhere;
}
.gift-art .native-surface-gift-preview .wt_gc_email_message {
  order: 3;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  font: 400 14px/normal Manrope, Arial, sans-serif !important;
  overflow-wrap: anywhere;
}
.gift-art .native-surface-gift-preview .wt_gc_from_name_block,
.gift-art .native-surface-gift-preview .wt_gc_email_coupon_code_block,
.gift-art .native-surface-gift-preview .wt_gc_email_price_expiry_block > b { display: none !important; }
.gift-art .native-surface-gift-preview .wt_gc_reciever_name_block { display: none; order: 2; margin: 0 !important; font-size: 0 !important; line-height: 0 !important; }
.gift-art .native-surface-gift-preview [data-chanand-recipient="true"] .wt_gc_reciever_name_block { display: block; }
.gift-art .native-surface-gift-preview .wt_gc_reciever_name { display: block; font: 400 14px/normal Manrope, Arial, sans-serif; }
.gift-art .native-surface-gift-preview .wt_gc_reciever_name::before { content: "For "; }
.gift-art .native-surface-gift-preview .wt_gc_email_bottom { order: 1; margin: 0 !important; padding: 0 !important; background: transparent !important; }
.gift-art .native-surface-gift-preview .wt_gc_email_bottom :where(table, tbody, tr) { display: block; padding: 0; margin: 0; background: transparent !important; border: 0 !important; }
.gift-art .native-surface-gift-preview .wt_gc_email_bottom tr { display: flex; flex-direction: column-reverse; gap: 20px; }
.gift-art .native-surface-gift-preview .wt_gc_email_bottom td { display: block; width: 100%; padding: 0 !important; text-align: left !important; color: inherit !important; background: transparent !important; border: 0 !important; }
.gift-art .native-surface-gift-preview .wt_gc_email_bottom b { font-weight: 400; font-size: 12px; }
.gift-art .native-surface-gift-preview .wt_gc_email_coupon_price { margin: 0 !important; color: inherit !important; font: 400 36px/normal Manrope, Arial, sans-serif !important; }
.gift-art .native-surface-gift-preview .wt_gc_email_coupon_price :where(span, bdi) { color: inherit !important; font: inherit !important; }
.gift-art .native-surface-gift-preview .wt_gc_email_coupon_price .woocommerce-Price-currencySymbol { margin-inline-start: .2em; }
.gift-art .native-surface-gift-preview .wt_gc_email_coupon_code { margin-top: 4px !important; font: 400 13px/1.7 Manrope, Arial, sans-serif !important; overflow-wrap: anywhere; }
.gift-art .native-surface-gift-preview .wt_gc_email_coupon_expiry { margin-top: 0 !important; font-size: 12px !important; }

/* Only duplicate product presentation is hidden; native inputs and hooks stay visible. */
.gift-copy .native-surface-gift-card :where(.woocommerce-breadcrumb, .ct-breadcrumbs, .woocommerce-product-gallery),
.gift-copy .native-surface-gift-card .hero-section .page-title,
.gift-copy .native-surface-gift-card .summary > .product_title,
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_title,
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_preview_wrapper:not(:has(*)) { display: none; }
.gift-copy .native-surface-gift-card :where(.ct-container, .ct-container-full, .ct-container-narrow, .product-entry-wrapper) { display: block; width: 100%; max-width: none; padding: 0; margin: 0; }
.gift-copy .native-surface-gift-card .hero-section:has(.page-title) { padding: 0; margin: 0; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_bottom { display: block; padding: 0; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_preview_wrapper { flex: 0; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form { width: 100%; padding: 0; }
.gift-copy .native-surface-gift-card form.cart { margin: 0; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_wrapper { flex-basis: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_wrapper > * { grid-column: 1 / -1; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_wrapper > :is(.wt_gc_gift_card_reciever_email_wt_gc_form_item, .wt_gc_gift_card_reciever_name_wt_gc_form_item, .wt_gc_gift_card_sender_email_wt_gc_form_item, .wt_gc_gift_card_sender_name_wt_gc_form_item) { grid-column: auto; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_wrapper > div[style*="clear:both"] { display: none; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_item { float: none; min-width: 0; width: 100%; padding: 0; margin: 0; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_item:has(> .wt_gc_credit_denominations) { margin-bottom: 12px; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_item > label { display: block; margin: 0 0 8px; color: var(--ink); font-size: 13px; font-weight: 400; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_item .wt_gc_gift_card_field { float: none; width: 100%; height: auto; min-height: 50px; margin: 0; padding: 12px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 0; box-shadow: none; font: 400 16px/normal Manrope, Arial, sans-serif; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_item .wt_gc_gift_card_field::placeholder { font: inherit; }
.gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_item textarea.wt_gc_gift_card_field { min-height: 112px; resize: vertical; }
.gift-copy .native-surface-gift-card .wt_gc_credit_denominations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; float: none; width: 100%; margin: 0 0 8px; }
.gift-copy .native-surface-gift-card .wt_gc_credit_amount_label { grid-column: 1 / -1; float: none; margin: 0 0 8px; color: var(--ink); font-size: 14px; font-weight: 400; }
.gift-copy .native-surface-gift-card .wt_gc_credit_denomination { position: relative; float: none; height: auto; margin: 0; }
.gift-copy .native-surface-gift-card .wt_gc_credit_denominations .denominaton_label { display: block; float: none; height: auto; margin: 0; padding: 14px 8px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); text-align: center; font-size: 14px; font-weight: 400; cursor: pointer; }
.gift-copy .native-surface-gift-card .wt_gc_credit_denominations :is(input:checked + .denominaton_label, .denominaton_label.wt_gc_selected_amount) { background: #414a38; border-color: #414a38; color: white; }
.gift-copy .native-surface-gift-card .wt_gc_credit_denominations input:focus-visible + .denominaton_label { outline: 2px solid var(--ink); outline-offset: 3px; }
.gift-copy .native-surface-gift-card .single_add_to_cart_button { width: 100%; }

@media (max-width: 1024px) {
  .gift-art .native-surface-gift-preview .wt_gc_email_wrapper { padding: 24px !important; }
}
@media (max-width: 767px) {
  .gift-copy .native-surface-gift-card .wt_gc_gift_card_product_page_form_wrapper { grid-template-columns: minmax(0, 1fr); }
  .gift-art .native-surface-gift-preview .wt_gc_email_coupon_price { font-size: 28px !important; }
}
