/* gift-card.css — default styling bundled with the plugin.
   Deliberately generic (not matching any one client's specific design
   tokens/fonts) so the page looks reasonable out of the box on any
   WooCommerce site. A developer installing this for a specific client
   can always override these classes from the theme's own stylesheet. */

.lc-giftcard {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.lc-giftcard-hero {
  text-align: center;
  margin-bottom: 24px;
}

.lc-giftcard-hero-title {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px;
}

.lc-giftcard-hero-desc {
  max-width: 480px;
  margin: 0 auto;
  opacity: 0.7;
  line-height: 1.5;
}

.lc-giftcard-toolbar {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
  padding: 12px 0;
  border-top: 1px solid #e5e0d8;
  border-bottom: 1px solid #e5e0d8;
  margin-bottom: 32px;
}

.lc-giftcard-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 901px) {
  .lc-giftcard-shell {
    grid-template-columns: 1fr 1fr;
  }
}

.lc-giftcard-panel {
  border: 1px solid #e5e0d8;
  padding: 28px;
}

.lc-giftcard-section-title {
  font-size: 18px;
  margin: 0 0 6px;
}

.lc-giftcard-sub {
  opacity: 0.65;
  font-size: 13px;
  margin: 0 0 24px;
}

.lc-giftcard-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lc-giftcard-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc-giftcard-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.lc-giftcard-label-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.6;
}

.lc-giftcard-input,
.lc-giftcard-textarea {
  border: 1px solid #d8d2c8;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.lc-giftcard-textarea {
  min-height: 90px;
  resize: vertical;
}

.lc-giftcard-inline-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 601px) {
  .lc-giftcard-inline-row {
    grid-template-columns: 1fr 1fr;
  }
}

.lc-giftcard-divider {
  border-top: 1px solid #eee;
  margin: 4px 0;
}

.lc-giftcard-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 480px) {
  .lc-giftcard-amount-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lc-giftcard-amountbtn {
  appearance: none;
  cursor: pointer;
  border: 1px solid #d8d2c8;
  background: #fff;
  padding: 12px 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lc-giftcard-amountbtn.is-active {
  border-color: #333;
  background: #f7f5f2;
  font-weight: 600;
}

.lc-giftcard-note {
  font-size: 12px;
  opacity: 0.55;
  margin: 0;
}

.lc-giftcard-primarybtn {
  appearance: none;
  cursor: pointer;
  border: none;
  background: #2a2a2a;
  color: #fff;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.15s ease;
}

.lc-giftcard-primarybtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lc-giftcard-primarybtn svg {
  width: 16px;
  height: 16px;
}

.lc-giftcard-preview {
  border: 1px solid #eee;
  padding: 20px;
}

.lc-giftcard-card-media {
  aspect-ratio: 16 / 10;
  background: #f2f0ec;
  margin-bottom: 20px;
  overflow: hidden;
}

.lc-giftcard-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lc-giftcard-card-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-giftcard-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.lc-giftcard-meta-block {
  margin-top: 6px;
}

.lc-giftcard-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.5;
  margin-bottom: 4px;
}

.lc-giftcard-meta-longtext {
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.lc-giftcard-fineprint {
  font-size: 12px;
  opacity: 0.55;
  margin-top: 16px;
}
