/* ══════════════════════════════════════════════
   LL Gift Cards — Frontend Styles
   ══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ── Product Page Form ── */
.ll-gc-form {
    font-family: 'Poppins', sans-serif;
    margin: 18px 0 24px;
}
.ll-gc-section {
    margin-bottom: 18px;
}
.ll-gc-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 10px;
}
.ll-gc-label small {
    font-weight: 400;
    color: #999;
    letter-spacing: .5px;
    text-transform: none;
    margin-left: 4px;
}
.ll-gc-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.ll-gc-preset {
    flex: 0 0 auto;
    min-width: 80px;
    padding: 11px 16px;
    background: #fff;
    color: #111;
    border: 1.5px solid #ddd;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    border-radius: 0;
}
.ll-gc-preset:hover {
    border-color: #111;
}
.ll-gc-preset.active {
    background: #111;
    color: #fff;
    border-color: #111;
}
.ll-gc-preset-custom {
    border-style: dashed;
}
.ll-gc-custom-wrap {
    margin-top: 8px;
}
.ll-gc-custom-wrap input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border-radius: 0;
}
.ll-gc-custom-wrap small {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}
.ll-gc-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #111;
    border-radius: 0;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.ll-gc-input:focus {
    outline: none;
    border-color: #111;
}
.ll-gc-input::placeholder {
    color: #999;
}
textarea.ll-gc-input {
    resize: vertical;
    min-height: 70px;
}
.ll-gc-cart-note {
    background: #fffbe6;
    border: 1px solid #ffd966;
    padding: 10px 12px;
    font-size: 12px;
    color: #856404;
    border-radius: 4px;
    margin: 0 0 14px;
}
.ll-gc-error {
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* ── Cart Page Form ── */
.ll-gc-cart-form {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 14px;
    margin: 10px 0 0;
    font-family: 'Poppins', sans-serif;
    border-radius: 4px;
}
.ll-gc-cart-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #b76e79;
}
.ll-gc-cart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}
.ll-gc-cart-input {
    margin-bottom: 0 !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
}
.ll-gc-cart-status {
    font-size: 11px;
    margin: 6px 0 0;
    min-height: 14px;
    color: #27ae60;
}
.ll-gc-cart-status.error { color: #c0392b; }
@media (max-width: 600px) {
    .ll-gc-cart-row { grid-template-columns: 1fr; }
}

/* ── Checkout Redemption Field ── */
.ll-gc-redeem-wrap {
    background: #fbf7f4;
    border: 1px solid #f0e6e0;
    border-radius: 4px;
    padding: 14px 18px;
    margin: 0 0 22px;
    font-family: 'Poppins', sans-serif;
}
.ll-gc-redeem-head {
    font-size: 13px;
    font-weight: 600;
    color: #111;
}
.ll-gc-redeem-toggle {
    color: #b76e79;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    margin-left: 4px;
}
.ll-gc-redeem-toggle:hover { color: #111; }
.ll-gc-redeem-body {
    margin-top: 12px;
}
.ll-gc-redeem-input-row {
    display: flex;
    gap: 6px;
}
.ll-gc-redeem-code {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
}
.ll-gc-redeem-apply {
    background: #111;
    color: #fff;
    border: none;
    padding: 0 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
}
.ll-gc-redeem-apply:hover { background: #333; }
.ll-gc-redeem-apply:disabled { opacity: .5; cursor: not-allowed; }
.ll-gc-redeem-msg {
    margin-top: 10px;
    font-size: 12px;
    min-height: 14px;
}
.ll-gc-redeem-msg.success { color: #27ae60; }
.ll-gc-redeem-msg.error   { color: #c0392b; }
.ll-gc-redeem-active {
    margin-top: 10px;
}
.ll-gc-active-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #f0e6e0;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 6px;
}
.ll-gc-redeem-remove {
    background: transparent;
    border: none;
    color: #c0392b;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    text-decoration: underline;
}

/* ── Block checkout compatibility (injected field) ── */
.ll-gc-redeem-wrap.ll-gc-block {
    margin: 0 0 16px 0;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
}
.ll-gc-redeem-wrap.ll-gc-block .ll-gc-redeem-head {
    margin-bottom: 0;
}
