.gc-checkout {
    font-family: "Inter", sans-serif;
    color: #111827;
    background: #f9fafb;
    min-height: 100vh;
}

.gc-checkout * {
    box-sizing: border-box;
}

.gc-checkout-hidden {
    display: none !important;
}

.gc-checkout-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.gc-checkout-header-inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gc-checkout-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gc-checkout-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.gc-checkout-brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gc-brand-500);
    color: #ffffff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.25);
}

.gc-checkout-brand-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.gc-checkout-progress {
    flex: 1;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gc-checkout-progress-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    background: #f3f4f6;
    transform: translateY(-50%);
    z-index: 0;
}

.gc-checkout-progress-line {
    position: absolute;
    left: 0;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    background: var(--gc-brand-500);
    transform: translateY(-50%);
    width: 0%;
    transition: width 0.4s ease;
    z-index: 1;
}

.gc-checkout-progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.gc-checkout-progress-circle {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    background: #e5e7eb;
    color: #6b7280;
    box-shadow: 0 0 0 4px #ffffff;
    transition: all 0.3s ease;
}

.gc-checkout-progress-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    background: #ffffff;
    padding: 0 6px;
}

.gc-checkout-progress-step.gc-checkout-progress-step--active .gc-checkout-progress-circle {
    background: var(--gc-brand-500);
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.18);
}

.gc-checkout-progress-step.gc-checkout-progress-step--active .gc-checkout-progress-label {
    color: var(--gc-brand-600);
}

.gc-checkout-progress-step.gc-checkout-progress-step--completed .gc-checkout-progress-circle {
    background: #10b981;
    color: #ffffff;
}

.gc-checkout-secure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #f3f4f6;
    background: #f9fafb;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

.gc-checkout-progress-mobile {
    display: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    margin-top: 10px;
}

.gc-checkout-progress-mobile-line {
    height: 100%;
    width: 33%;
    background: var(--gc-brand-500);
    transition: width 0.4s ease;
}

.gc-checkout-main {
    max-width: 1152px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.gc-checkout-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
}

.gc-checkout-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px;
}

.gc-checkout-left {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gc-checkout-right {
    grid-column: span 5;
}

.gc-checkout-grid--vertical .gc-checkout-left,
.gc-checkout-grid--vertical .gc-checkout-right {
    grid-column: span 12;
}

.gc-checkout-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.gc-checkout-step {
    padding: 24px;
    transition: all 0.3s ease;
}

.gc-checkout-step--locked {
    opacity: 0.55;
    filter: grayscale(0.2);
}

.gc-checkout-step--active {
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.18);
}

.gc-checkout-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gc-checkout-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
}

.gc-checkout-step-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.gc-checkout-step--active .gc-checkout-step-circle {
    background: var(--gc-brand-500);
    color: #ffffff;
    border-color: var(--gc-brand-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.gc-checkout-step--completed .gc-checkout-step-circle {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.gc-checkout-step-edit {
    font-size: 13px;
    color: var(--gc-brand-600);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
}

.gc-checkout-step-content {
    margin-top: 20px;
}

.gc-checkout-section-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gc-checkout-section-content.gc-checkout-section-content--active {
    max-height: 3000px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 20px;
}

.gc-checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.gc-checkout-col-12 {
    grid-column: span 12;
}

.gc-checkout-col-6 {
    grid-column: span 6;
}

.gc-checkout-col-4 {
    grid-column: span 4;
}

.gc-checkout-col-3 {
    grid-column: span 3;
}

.gc-checkout-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gc-checkout-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.gc-checkout-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 14px;
    color: #111827;
    transition: all 0.2s ease;
}

.gc-checkout-input:focus {
    border-color: var(--gc-brand-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
    outline: none;
}

.gc-checkout .woocommerce input.input-text,
.gc-checkout .woocommerce select,
.gc-checkout .woocommerce textarea,
.gc-checkout-payment-box input,
.gc-checkout-payment-box select,
.gc-checkout-payment-box textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 14px;
    color: #111827;
    transition: all 0.2s ease;
}

.gc-checkout .woocommerce input.input-text:focus,
.gc-checkout .woocommerce select:focus,
.gc-checkout .woocommerce textarea:focus,
.gc-checkout-payment-box input:focus,
.gc-checkout-payment-box select:focus,
.gc-checkout-payment-box textarea:focus {
    border-color: var(--gc-brand-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
    outline: none;
}

.gc-checkout-input--muted {
    background: #f9fafb;
}

.gc-checkout-input--error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.gc-checkout-input--success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.gc-checkout-field-error {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #b91c1c;
}

.gc-checkout-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gc-checkout-button {
    border: none;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gc-checkout-button-primary {
    background: var(--gc-brand-600);
    color: #ffffff;
    box-shadow: 0 12px 20px rgba(14, 165, 233, 0.18);
}

.gc-checkout-button-primary:hover {
    filter: brightness(0.95);
}

.gc-checkout-button-outline {
    background: #f3f4f6;
    color: #4b5563;
}

.gc-checkout-shipping-box {
    margin-top: 12px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 16px;
}

.gc-checkout-shipping-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gc-checkout-payment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gc-checkout-payment-list--horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin: 10px 0 16px;
}

.gc-checkout-payment-list--vertical {
    display: flex;
    flex-direction: column;
}

.gc-checkout-payment-item {
    position: relative;
}

.gc-checkout-payment-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    min-height: 104px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.gc-checkout-payment-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.gc-checkout-payment-card-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.gc-checkout-payment-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.gc-checkout-payment-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.gc-checkout-payment-hint {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.2;
}

.gc-checkout-payment-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    flex-shrink: 0;
}

.gc-checkout-payment-list--horizontal .gc-checkout-payment-card {
    padding: 12px 14px;
    min-height: 88px;
}

.gc-checkout-payment-list--horizontal .gc-checkout-payment-card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.gc-checkout-payment-list--horizontal .gc-checkout-payment-meta {
    order: 1;
    width: 100%;
    justify-content: flex-start;
}

.gc-checkout-payment-list--horizontal .gc-checkout-payment-main {
    order: 2;
    width: 100%;
}

.gc-checkout-payment-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    text-transform: uppercase;
}

.gc-checkout-payment-icon img,
.gc-checkout-payment-icon svg {
    height: 22px;
    width: auto;
    max-width: 72px;
}

.gc-checkout-payment-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--gc-brand-500);
    border-radius: 999px;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.2s ease;
}

.gc-checkout-payment-card:focus-within {
    border-color: var(--gc-brand-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.gc-checkout-payment-item.gc-checkout-payment-item--active .gc-checkout-payment-card {
    border-color: var(--gc-brand-500);
    background: #f0f9ff;
    box-shadow: 0 12px 20px rgba(14, 165, 233, 0.12);
    transform: translateY(-1px);
}

.gc-checkout-payment-item.gc-checkout-payment-item--active .gc-checkout-payment-check {
    opacity: 1;
    transform: scale(1);
}

.gc-checkout-payment-panels {
    display: block;
    width: 100%;
    margin-top: 18px;
}

.gc-checkout-payment-panel {
    width: 100%;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 0 20px;
    font-size: 14px;
    color: #4b5563;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    overflow: hidden;
    pointer-events: none;
    content-visibility: auto;
    contain-intrinsic-size: 0 360px;
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease, margin-top 0.25s ease, box-shadow 0.25s ease;
    margin-top: 0;
}

.gc-checkout-payment-panel--active {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding: 20px;
    margin-top: 12px;
}

.gc-checkout-payment-panel--card {
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    border-color: #bfdbfe;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform-style: preserve-3d;
}

.gc-checkout-payment-panel--card.gc-checkout-payment-panel--active {
    box-shadow: 0 28px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gc-checkout-payment-panel--card .woocommerce-credit-card-form,
.gc-checkout-payment-panel--card .wc-credit-card-form {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(191, 219, 254, 0.8);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.15);
    transform: translateZ(0);
}

.gc-checkout-payment-panel--card .woocommerce-credit-card-form input,
.gc-checkout-payment-panel--card .wc-credit-card-form input,
.gc-checkout-payment-panel--card .woocommerce-credit-card-form select,
.gc-checkout-payment-panel--card .wc-credit-card-form select {
    background: #ffffff;
    border-color: #cbd5f5;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.gc-cc-visual {
    position: relative;
    margin-bottom: 18px;
    perspective: 1200px;
}

.gc-cc-card {
    position: relative;
    height: 200px;
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.28s ease;
    transform: rotateY(var(--gc-cc-flip, 0deg)) rotateX(var(--gc-cc-tilt-x, 0deg)) rotateY(var(--gc-cc-tilt-y, 0deg));
}

.gc-cc-card-face {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    backface-visibility: hidden;
    overflow: hidden;
    color: #0f172a;
}

.gc-cc-card-front {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 45%, #0ea5e9 100%);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.15);
}

.gc-cc-card-front::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    transform: rotate(20deg);
}

.gc-cc-card-back {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    transform: rotateY(180deg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #e2e8f0;
}

.gc-cc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.gc-cc-card-chip {
    width: 44px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fef3c7, #f59e0b);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.gc-cc-card-number {
    font-size: 18px;
    letter-spacing: 2px;
    color: #ffffff;
    z-index: 1;
}

.gc-cc-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e2e8f0;
    font-size: 12px;
    text-transform: uppercase;
    z-index: 1;
}

.gc-cc-card-name {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gc-cc-card-strip {
    height: 40px;
    background: #0f172a;
    border-radius: 8px;
    opacity: 0.9;
}

.gc-cc-card-cvv {
    align-self: flex-end;
    width: 90px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 8px 10px;
    text-align: right;
    letter-spacing: 2px;
}

.gc-cc-glow {
    position: absolute;
    inset: -10px;
    border-radius: 24px;
    pointer-events: none;
    transition: background 0.2s ease;
}

.gc-cc-flip .gc-cc-card {
    --gc-cc-flip: 180deg;
}

.gc-cc-field {
    position: relative;
    margin-bottom: 14px;
}

.gc-cc-field--expiry,
.gc-cc-field--cvc {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 0;
    width: 100%;
    justify-self: stretch;
}

.gc-cc-field--cvc .gc-cc-input {
    padding-right: 20px;
}

.gc-cc-field--cvc .gc-cc-label {
    max-width: calc(100% - 72px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gc-cc-field .woocommerce-input-wrapper,
.gc-cc-field .woocommerce-input-wrapper input,
.gc-cc-field input,
.gc-cc-field select {
    width: 100%;
}

.gc-cc-label {
    position: absolute;
    top: 14px;
    left: 44px;
    font-size: 12px;
    color: #64748b;
    transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.gc-cc-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gc-cc-icon svg {
    width: 18px;
    height: 18px;
}

.gc-cc-brand {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    background: #e2e8f0;
    color: #0f172a;
    z-index: 2;
}

.gc-cc-brand--visa {
    background: #1d4ed8;
    color: #ffffff;
}

.gc-cc-brand--mastercard {
    background: #f97316;
    color: #ffffff;
}

.gc-cc-brand--amex {
    background: #0ea5e9;
    color: #ffffff;
}

.gc-cc-brand--elo {
    background: #111827;
    color: #ffffff;
}

.gc-cc-brand--hipercard {
    background: #ef4444;
    color: #ffffff;
}

.gc-cc-brand--diners {
    background: #334155;
    color: #ffffff;
}

.gc-cc-brand--discover {
    background: #f59e0b;
    color: #ffffff;
}

.gc-cc-input {
    border-radius: 14px;
    padding: 22px 48px 12px 44px;
    border: 1px solid #cbd5f5;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gc-cc-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.gc-cc-field--focused .gc-cc-label,
.gc-cc-field--filled .gc-cc-label {
    transform: translateY(-12px);
    font-size: 10px;
    color: #0f172a;
}

.gc-cc-input--error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15), inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.gc-cc-input--success {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15), inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.gc-cc-field select.gc-cc-input {
    padding-right: 14px;
}

.gc-checkout-payment-panel--card .woocommerce-credit-card-form,
.gc-checkout-payment-panel--card .wc-credit-card-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
}

.gc-checkout-payment-panel--card .woocommerce-credit-card-form .form-row-wide,
.gc-checkout-payment-panel--card .wc-credit-card-form .form-row-wide {
    grid-column: 1 / -1;
    width: 100%;
}

.gc-checkout-payment-panel--card .woocommerce-credit-card-form .form-row-first,
.gc-checkout-payment-panel--card .woocommerce-credit-card-form .form-row-last,
.gc-checkout-payment-panel--card .wc-credit-card-form .form-row-first,
.gc-checkout-payment-panel--card .wc-credit-card-form .form-row-last {
    float: none;
    clear: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (max-width: 640px) {
    .gc-checkout-payment-panel--card .woocommerce-credit-card-form .form-row-first,
    .gc-checkout-payment-panel--card .woocommerce-credit-card-form .form-row-last,
    .gc-checkout-payment-panel--card .wc-credit-card-form .form-row-first,
    .gc-checkout-payment-panel--card .wc-credit-card-form .form-row-last {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .gc-cc-card {
        height: 180px;
    }
    .gc-cc-card-number {
        font-size: 16px;
        letter-spacing: 1px;
    }
}

.gc-checkout-payment-template {
    font-size: 12px;
    color: #475569;
    margin-bottom: 12px;
}

.gc-checkout-payment-template-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.gc-checkout-payment-template-line + .gc-checkout-payment-template-line {
    margin-top: 2px;
}

@media (max-width: 768px) {
    .gc-checkout-payment-list--horizontal {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    .gc-checkout-payment-card {
        padding: 14px 16px;
        min-height: 96px;
    }
    .gc-checkout-payment-list--horizontal .gc-checkout-payment-card {
        padding: 12px 14px;
        min-height: 86px;
    }
}

@media (min-width: 1024px) {
    .gc-checkout-payment-list--horizontal {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.gc-checkout-summary-card {
    position: sticky;
    top: 120px;
    overflow: hidden;
}

.gc-checkout-summary-header {
    padding: 20px 24px;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 600;
}

.gc-checkout-summary-items {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 320px;
    overflow: auto;
}

.gc-checkout-summary-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.gc-checkout-summary-thumb {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.gc-checkout-summary-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.gc-checkout-summary-meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.gc-checkout-summary-price {
    font-weight: 700;
    color: #111827;
    margin-left: auto;
}

.gc-checkout-summary-footer {
    padding: 20px 24px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gc-checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6b7280;
}

.gc-checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
}

.gc-checkout-summary-total .gc-checkout-summary-total-label {
    font-weight: 700;
    color: #1f2937;
}

.gc-checkout-summary-total .gc-checkout-summary-total-value {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.gc-checkout-ai-validation {
    margin: 16px 24px 0;
    padding: 12px 14px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.gc-checkout-upsell {
    margin: 16px 24px 0;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(90deg, #eff6ff, #eef2ff);
    border: 1px solid #dbeafe;
}

.gc-checkout-upsell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gc-checkout-upsell-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1e3a8a;
}

.gc-checkout-upsell-price {
    font-weight: 700;
    color: #1d4ed8;
}

.gc-checkout-faq {
    margin-top: 24px;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.gc-checkout-faq-card {
    background: rgba(239, 246, 255, 0.7);
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 16px;
}

.gc-checkout-faq-row {
    display: flex;
    gap: 10px;
}

.gc-checkout-faq-response {
    margin-top: 12px;
    font-size: 12px;
    color: #374151;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    font-style: italic;
}

.gc-checkout-place-order {
    margin-top: 20px;
}

.gc-checkout-place-order .gc-checkout-button-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
}

.gc-checkout-footer {
    padding: 24px 20px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

@media (max-width: 1024px) {
    .gc-checkout-grid {
        grid-template-columns: 1fr;
    }
    .gc-checkout-left,
    .gc-checkout-right {
        grid-column: span 12;
    }
    .gc-checkout-summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .gc-checkout-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .gc-checkout-progress {
        display: none;
    }
    .gc-checkout-progress-mobile {
        display: block;
    }
    .gc-checkout-form-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .gc-checkout-col-6,
    .gc-checkout-col-4,
    .gc-checkout-col-3 {
        grid-column: span 6;
    }
}

.gc-pix-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
}

.gc-pix-modal {
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gc-pix-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.gc-pix-status {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
}

.gc-pix-status--warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.gc-pix-status--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.gc-pix-status--success {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.gc-pix-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
}

.gc-pix-qr {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gc-pix-qr img {
    max-width: 100%;
    max-height: 100%;
}

.gc-pix-code {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-pix-code-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.gc-pix-code textarea {
    width: 100%;
    min-height: 110px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 13px;
    color: #111827;
    resize: vertical;
}

.gc-pix-copy,
.gc-pix-retry {
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gc-pix-copy {
    background: var(--gc-brand-500);
    color: #ffffff;
}

.gc-pix-copy:hover {
    background: var(--gc-brand-600);
}

.gc-pix-retry {
    background: #0f172a;
    color: #ffffff;
}

body.gc-pix-active .woocommerce-error,
body.gc-pix-active .woocommerce-message,
body.gc-pix-active .woocommerce-notice {
    display: none !important;
}

.gc-checkout-coupon {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-checkout-coupon-toggle {
    background: none;
    border: none;
    color: var(--gc-brand-600);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.gc-checkout-coupon-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.gc-checkout-coupon-message {
    font-size: 12px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
}

.gc-checkout-coupon-message--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.gc-checkout-coupon-message--success {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.gc-checkout-coupon-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 700;
}

.gc-checkout-coupon-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gc-checkout-coupon-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.gc-checkout-coupon-code {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.gc-checkout-coupon-value {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
}

.gc-checkout-coupon-remove {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #0f172a;
}

.gc-checkout-coupon-remove:hover {
    border-color: #fecaca;
    color: #b91c1c;
}

@media (min-width: 768px) {
    .gc-pix-body {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 640px) {
    .gc-checkout-coupon-form {
        grid-template-columns: 1fr;
    }
    .gc-checkout-coupon-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .gc-checkout-coupon-remove {
        width: 100%;
    }
}
