/* GG Smart Gift Cards — frontend app style */
.gg-sgc-box{
  position:relative;
  background:#fff;
  border:1px solid #ece4df;
  border-radius:28px;
  padding:22px 24px 24px;
  margin:20px 0;
  font-family:Arial,Helvetica,sans-serif;
  box-shadow:0 18px 44px rgba(24,24,27,.06);
}
.gg-sgc-box:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(226,36,190,.06),rgba(255,255,255,0) 48%,rgba(226,36,190,.045));
}
.gg-sgc-title{
  position:relative;
  margin:0 0 14px;
  color:#151518;
  font-size:18px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.02em;
}
.gg-sgc-pills{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0 0 18px;
}
.gg-sgc-pill{
  appearance:none;
  -webkit-appearance:none;
  min-height:52px;
  border:1px solid #e5ddd8;
  background:#fff;
  border-radius:16px;
  padding:12px 12px;
  cursor:pointer;
  color:#151518!important;
  font-size:15px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.02em;
  text-align:center;
  box-shadow:0 8px 20px rgba(24,24,27,.035);
  transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease,color .14s ease;
}
.gg-sgc-pill:hover{
  transform:translateY(-1px);
  border-color:#d9cec7;
  box-shadow:0 12px 28px rgba(24,24,27,.07);
}
.gg-sgc-pill.is-active{
  background:#151518!important;
  border-color:#151518!important;
  color:#fff!important;
  box-shadow:0 14px 34px rgba(24,24,27,.20);
}
.gg-sgc-pill.is-active *,
.gg-sgc-pill.is-active .woocommerce-Price-amount,
.gg-sgc-pill.is-active .woocommerce-Price-currencySymbol,
.gg-sgc-pill.is-active bdi{
  color:#fff!important;
}
.gg-sgc-pill .woocommerce-Price-amount,
.gg-sgc-pill .woocommerce-Price-currencySymbol,
.gg-sgc-pill bdi{
  color:inherit!important;
}
.gg-sgc-custom{
  position:relative;
  display:block;
  margin:2px 0 0;
  color:#5f5a56;
  font-size:16px;
  font-weight:800;
}
.gg-sgc-custom span{
  display:block;
  margin:0 0 8px;
}
.gg-sgc-custom input{
  width:100%;
  max-width:280px;
  min-height:52px;
  border:1px solid #e5ddd8;
  border-radius:16px;
  padding:12px 16px;
  font-size:17px;
  font-weight:800;
  background:#fff;
  color:#151518;
  box-shadow:0 8px 22px rgba(24,24,27,.05) inset,0 8px 18px rgba(24,24,27,.035);
  outline:none;
}
.gg-sgc-custom input:focus{
  border-color:#151518;
  box-shadow:0 0 0 4px rgba(226,36,190,.10),0 8px 18px rgba(24,24,27,.035);
}
.gg-sgc-custom input::placeholder{
  color:#8a8580;
  opacity:1;
}

/* Smart Coupons defaults hidden when GG UI manages the amount/recipient. */
.gg-sgc-product #call_for_credit{display:none!important}
.gg-sgc-product .wc-sc-gift-card-receiver-detail-container{display:none!important}

/* Product-level inherited blocks that do not make sense for gift cards. */
.gg-sgc-hide-size-blocks .size-guide,
.gg-sgc-hide-size-blocks .sizeguide,
.gg-sgc-hide-size-blocks .gg-size-guide,
.gg-sgc-hide-size-blocks .gg-size-help,
.gg-sgc-hide-size-blocks [data-size-guide],
.gg-sgc-hide-size-blocks [data-sizeguide]{display:none!important}


@media (max-width:600px){
  .gg-sgc-box{border-radius:18px;padding:14px 12px 16px;margin:12px 0}
  .gg-sgc-title{font-size:15px;margin-bottom:10px}
  .gg-sgc-pills{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:12px}
  .gg-sgc-pill{min-height:38px;border-radius:11px;font-size:11px;padding:7px 4px;letter-spacing:-.03em}
  .gg-sgc-custom{font-size:13px}
  .gg-sgc-custom span{margin-bottom:6px}
  .gg-sgc-custom input{max-width:100%;min-height:42px;font-size:15px;padding:9px 12px;border-radius:13px}
}


/* Compact treatment for sticky add-to-cart / bottom bars. */
.sticky-add-to-cart .gg-sgc-box,
.ux-sticky-add-to-cart .gg-sgc-box,
.product-sticky-form .gg-sgc-box,
.single-product div[class*='sticky'] .gg-sgc-box,
.single-product div[class*='bottom-bar'] .gg-sgc-box,
.single-product div[class*='scroll'] .gg-sgc-box{
  padding:10px 10px 12px;
  margin:8px 0 0;
  border-radius:16px;
}
.sticky-add-to-cart .gg-sgc-title,
.ux-sticky-add-to-cart .gg-sgc-title,
.product-sticky-form .gg-sgc-title,
.single-product div[class*='sticky'] .gg-sgc-title,
.single-product div[class*='bottom-bar'] .gg-sgc-title,
.single-product div[class*='scroll'] .gg-sgc-title{
  font-size:14px;
  margin-bottom:8px;
}
.sticky-add-to-cart .gg-sgc-pills,
.ux-sticky-add-to-cart .gg-sgc-pills,
.product-sticky-form .gg-sgc-pills,
.single-product div[class*='sticky'] .gg-sgc-pills,
.single-product div[class*='bottom-bar'] .gg-sgc-pills,
.single-product div[class*='scroll'] .gg-sgc-pills{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
  margin-bottom:10px;
}
.sticky-add-to-cart .gg-sgc-pill,
.ux-sticky-add-to-cart .gg-sgc-pill,
.product-sticky-form .gg-sgc-pill,
.single-product div[class*='sticky'] .gg-sgc-pill,
.single-product div[class*='bottom-bar'] .gg-sgc-pill,
.single-product div[class*='scroll'] .gg-sgc-pill{
  min-height:34px;
  border-radius:10px;
  padding:6px 4px;
  font-size:11px;
}
.sticky-add-to-cart .gg-sgc-custom,
.ux-sticky-add-to-cart .gg-sgc-custom,
.product-sticky-form .gg-sgc-custom,
.single-product div[class*='sticky'] .gg-sgc-custom,
.single-product div[class*='bottom-bar'] .gg-sgc-custom,
.single-product div[class*='scroll'] .gg-sgc-custom{
  font-size:13px;
}
.sticky-add-to-cart .gg-sgc-custom span,
.ux-sticky-add-to-cart .gg-sgc-custom span,
.product-sticky-form .gg-sgc-custom span,
.single-product div[class*='sticky'] .gg-sgc-custom span,
.single-product div[class*='bottom-bar'] .gg-sgc-custom span,
.single-product div[class*='scroll'] .gg-sgc-custom span{
  margin-bottom:6px;
}
.sticky-add-to-cart .gg-sgc-custom input,
.ux-sticky-add-to-cart .gg-sgc-custom input,
.product-sticky-form .gg-sgc-custom input,
.single-product div[class*='sticky'] .gg-sgc-custom input,
.single-product div[class*='bottom-bar'] .gg-sgc-custom input,
.single-product div[class*='scroll'] .gg-sgc-custom input{
  min-height:36px;
  max-width:100%;
  border-radius:10px;
  font-size:13px;
  padding:7px 10px;
}
